Install
$ agentstack add skill-josephsanjaya-skills-subagent-expert ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo 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.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
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 →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.
- Author: JosephSanjaya
- Source: JosephSanjaya/skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.