Skip to content
Agentmart
Submit a tool
This entry duplicates implement-sub-agents, which is the one we list in search.

implement-sub-agents

Create and validate Claude sub-agent definitions with correct frontmatter, tool permissions, and delegation boundaries.

Skill by yu-iskw

IndexedApache-2.0
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/yu-iskw-implement-sub-agents

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Create and validate Claude sub-agent definitions with correct frontmatter, tool permissions, and delegation boundaries.

Use cases: agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions: not checked yet.

What's inside

Skill name
implement-sub-agents
Description
Create and validate Claude sub-agent definitions with correct frontmatter, tool permissions, and delegation boundaries.
License
Apache-2.0
Instructions
56 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (13)

  • SKILL.md
  • subagent-autonomous.md · assets/templates/
  • subagent-readonly.md · assets/templates/
  • subagent-template.md · assets/templates/
  • subagent-with-hooks.md · assets/templates/
  • subagent-with-skills.md · assets/templates/
  • subagent-delegation.md · references/
  • subagent-frontmatter.md · references/
  • subagent-models.md · references/
  • subagent-permissions.md · references/
  • subagent-tools.md · references/
  • check-subagent-frontmatter.sh · scripts/
  • validate-subagent.sh · scripts/

SKILL.md (first lines)

# Implement Sub-Agents

Create or update agent files under `agents/` with explicit role boundaries, model/tool settings, and delegation patterns.

## Workflow

1. **Assess complexity**: Verify that sub-agent is needed (score 7-8). If simpler approach works, use skill instead.
2. **Define role**: Clear purpose, responsibilities, and explicit boundaries
3. **Set decision authority**: What agent can/cannot do autonomously
4. **Configure tools**: Least privilege access to required tools only
5. **Author/update**: Agent markdown with valid frontmatter
6. **Context strategy**: Define how agent manages context (retrieval, summarization, state)
7. **Plan evaluations**: Identify 20-50 test scenarios covering success and failure modes
8. **Validate**: Check frontmatter and agent file structure
9. **Connect selectively**: Link related skills/hooks only when required

## Progressive Disclosure

### Best Practices (Anthropic Guidelines)

- **Complexity decision framework**: `../implement-claude-extensions/references/decision-framework.md`
- **Context management patterns**: `../implement-claude-extensions/references/context-management.md`
- **Evaluation strategy**: `../implement-claude-extensions/references/evaluation-strategy.md`

### Sub-Agent Design

- Agent frontmatter rules: `references/subagent-frontmatter.md`
- Tool access strategy: `references/subagent-tools.md`
- Model selection guidance: `references/subagent-models.md`
- Permission boundaries: `references/subagent-permissions.md`
- Delegation patterns: `references/subagent-delegation.md`

### Validation Tools

- Agent file validator: `scripts/validate-subagent.sh`
- Frontmatter checker: `scripts/check-subagent-frontmatter.sh`

### Templates (by Complexity)

- **Level 3 - Autonomous Agent** (Score 7-8): `assets/templates/subagent-autonomous.md`
- Base sub-agent template: `assets/templates/subagent-template.md`
- Read-only sub-agent example: `assets/templates/subagent-readonly.md`
- Sub-agent with skills example: `assets/templates/subagent-with-skills.md`
- Sub-agent with hooks example: `assets/templates/subagent-with-hooks.md`

## Related Skills

- Umbrella routing and architecture: `../implement-claude-extensions/SKILL.md`
- Agent team coordination: `../implement-agent-teams/SKILL.md`

## Sources

- https://code.claude.com/docs/en/sub-agents
- https://code.claude.com/docs/en/plugins

From yu-iskw/google-cloud-observability-plugin, Apache-2.0.

Signals

Stars
0
Forks
0
Open issues
2
Last commit (this folder)
Feb 13, 2026 (8 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Same skill elsewhere

Copies of this SKILL.md published by others; search shows only one of them.

More from yu-iskw

Cite this page

implement-sub-agents skill. Agent Mart. https://agentmart.dev/skills/yu-iskw-implement-sub-agents (last updated 2026-10-24)