skills/create-subagent/SKILL.md
Scaffolds a new subagent in the ai-dev-tools marketplace repository: creates the agent directory, AGENTS.md file, and symlinks it into the chosen plugin. Use when the user asks to add a subagent, create an agent, or scaffold a subagent in the marketplace.
npx skillsauth add lichens-innovation/ai-dev-tools create-subagentInstall 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.
Scaffold a new subagent in agents/ and link it into the right plugin.
For Claude Code, subagents are distributed via plugins. The AGENTS.md format is also compatible with other coding tools (Cursor, Copilot, Codex, Gemini, VS Code, Zed).
Find repo root
Run: git rev-parse --show-toplevel
Store result as <repo-root>.
Gather info via script
Run: node <skill-dir>/scripts/gather-subagent-info.cjs
The script prompts the user in the terminal and returns one JSON line:
{ name, description, triggers, tools, plugin }
Create agent directory and AGENTS.md
Create <repo-root>/agents/<name>/AGENTS.md with a minimal skeleton — do not impose a structure:
# <Title Case of name>
Instructions for AI coding agents acting as <name>. See [agents.md](https://agents.md/) for the format.
<description>
---
## Role — workflow
### When to apply
<triggers>
**Tools:** <tools>
### Workflow
1. Step one
2. Step two
### Output
Describe the expected output format here.
Symlink into plugin
This repo keeps canonical agent source in agents/ and symlinks into plugins — a repo-specific convention.
mkdir -p <repo-root>/plugins/<plugin>/agents
ln -s ../../../agents/<name> <repo-root>/plugins/<plugin>/agents/<name>
Report to user
agents/<name>/AGENTS.md createdplugins/<plugin>/agents/<name>agents/<name>/AGENTS.md with the full workflowAgent toolmemory: project in its settings — see Claude Code docsagent key in settings.jsonTaskCreate in the coordinator session so it does not lose track of delegated worktools
Reference for managing Claude Code plugins and marketplaces: install, update, remove plugins; add, update, remove marketplaces. Use when the user asks how to install a plugin, remove a marketplace, update plugins, or manage their Claude Code plugin setup.
tools
Scaffolds a new skill in the ai-dev-tools marketplace repository: creates the skill directory and SKILL.md boilerplate directly inside the chosen plugin. Use when the user asks to add a new skill, create a skill, or scaffold a skill in the marketplace.
tools
Scaffolds a new plugin in the ai-dev-tools marketplace repository: creates the plugin directory, plugin.json manifest, skills/ folder, and registers it in marketplace.json. Use when the user asks to add a new plugin, create a plugin, or register a plugin in the marketplace.
tools
Scaffolds a new Claude Code plugin marketplace: creates the directory structure, marketplace.json manifest, README, and CLAUDE.md context file. Guides the user through local testing, private repository setup, and auto-update configuration. Use when the user asks to create a marketplace, scaffold a marketplace, or set up a plugin marketplace.