custom-sub-agents/SKILL.md
Guidance for creating and organizing custom sub-agents in local repositories, including folder conventions, per-agent structure, and AGENTS.md indexing. Use when asked where to store sub-agents or how to document them.
npx skillsauth add peterbamuhigire/skills-web-dev custom-sub-agentsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
custom-sub-agents or would be better handled by a more specific companion skill.references only as needed.SKILL.md first, then load only the referenced deep-dive files that are necessary for the task.references/ directory for deep detail after reading the core workflow below.Use this skill to define sub-agents as portable repository assets instead of editor-specific features. The goal is to make agent structure, ownership, and discovery clear enough that both Claude Code and Codex can work with the same project layout.
Store sub-agents in a project-owned directory such as:
agents/
|-- agent-name/
| |-- README.md
| |-- agent.js | agent.py | agent.ts | agent.php
| `-- supporting files
`-- AGENTS.md
If a project already uses a different top-level directory, keep that convention and document it in the nearest AGENTS.md.
README.md that explains purpose, scope, inputs, outputs, and usage examples.Use a skill when the work is mostly reusable guidance, checklists, or deterministic patterns.
Use a sub-agent when the project benefits from a durable, specialized worker with clear ownership, such as:
If the logic is simple enough to explain in one short section of documentation, prefer a skill over another agent.
For each agent, document:
When a repository has more than a few sub-agents, add an AGENTS.md index near the agent root with:
data-ai
Use when adding AI-powered analytics to a SaaS platform — semantic search over business data, natural language queries, trend detection, anomaly alerts, and AI-generated insights for dashboards. Covers embeddings, NL2SQL, and per-tenant analytics...
data-ai
Design AI-powered analytics dashboards — what metrics to show, how to display AI predictions and confidence, drill-down patterns, KPI cards, trend visualisation, AI Insights panels, export design, and role-based dashboard variants. Invoke when...
development
Use when designing, building, reviewing, or upgrading production software systems that must be secure, performant, maintainable, scalable, and user-centered. Apply before writing specs, code, architecture, APIs, databases, mobile apps, SaaS platforms, or ERP systems.
development
Professional web app UI using commercial templates (Tabler/Bootstrap 5) with strong frontend design direction when needed. Use for CRUD interfaces, dashboards, admin panels with SweetAlert2, DataTables, Flatpickr. Clone seeder-page.php, use...