AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Subagent Expert

skill-josephsanjaya-skills-subagent-expert · by JosephSanjaya

Expert guidance for designing, building, orchestrating, and optimizing Claude Code subagents. Make sure to use this skill whenever the user mentions subagents, multi-agent systems, agent delegation, task routing, or the Agent SDK, even if they only ask for a basic agent definition.

No reviews yet
0 installs
29 views
0.0% view→install

Install

$ agentstack add skill-josephsanjaya-skills-subagent-expert

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution Used
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-josephsanjaya-skills-subagent-expert)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Subagent Expert? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Subagent Expert — 2026 High-Performance Agentic Design

Isolate context. Prevent dilution. Keep parent thread clean. Use subagents as ephemeral, role-scoped context boundaries. Drop filler and articles. Express guidelines using compressed smart caveman style.

1. Quick Decision Matrix

| Task Nature | Design Choice | Target Topology | Key Reason | | :--- | :--- | :--- | :--- | | Breadth-first read/explore | Subagents | Fan-out/fan-in | Parallelize reads. Zero parent context bloat. | | Sequential dependencies | Single Agent | Prompt chaining | Actions carry implicit decisions. Avoid split decisions. | | Relational data / comparison | Subagents | Map-reduce-and-manage | Clean inputs, structured aggregation. | | Stateful edits / coding | Single Writer | Code-Review-Loop | Parallel writes cause merge/AST conflicts. | | Unpredictable steps | Subagents | Orchestrator-workers | Lead plans; specialized workers execute. | | Strict validation needed | Subagents | Evaluator-optimizer | Prevent simulated success via adversarial check. |

2. Directory Structure

Specialized guidelines partitioned to prevent token bloat:

  • References:
  • [architecture.md](references/architecture.md) — Topologies, single-writer rule, concurrency scaling rules.
  • [configuration.md](references/configuration.md) — Frontmatter specs, programmatic SDK (Python/TS), CLI flags, model routing.
  • [failures-mitigations.md](references/failures-mitigations.md) — 14 MAST failures, simulated success fixes, loop detection, worktrees.
  • [token-caching.md](references/token-caching.md) — 4-layer subprocess isolation, persistent streams, caching checkpoints, tool stability.
  • Auditor:
  • [checklist.md](auditor/checklist.md) — Self-auditing checklists for subagent definitions.
  • Samples:
  • [customsubagent.md](samples/customsubagent.md) — Reference read-only auditor subagent markdown.
  • [sdkorchestration.py](samples/sdkorchestration.py) — Python SDK subagent loop implementation.
  • Scripts:
  • [auditsubagent.py](scripts/auditsubagent.py) — Automated python auditing tool.

Always read the specific file containing the details required for the task. Maintain strict token efficiency. Never bloat the parent context.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.