agent-chaining
Use when designing or reviewing multi-agent systems, subagent orchestration, parallel vs sequential agent execution, context passing between agents, tool…
Skill by giggsoinc
Install
Works with Claude Code. Read the repository before you give any tool access to your data.
npx agentmarket install skill/giggsoinc-agent-chaining
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.
About
Use cases: agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/agent-chaining
Tools it pre-approves 4
From allowed-tools in SKILL.md: the agent may use these without asking you each time.
Read,Bash,Grep,WebFetch
What's inside
- Skill name
agent-chaining- Description
- Use when designing or reviewing multi-agent systems, subagent orchestration, parallel vs sequential agent execution, context passing between agents, tool delegation, and agent memory patterns. Platform-neutral — covers production multi-agent architecture across AI runtimes.
- License
- MIT
- Allowed tools
- Read,, Bash,, Grep,, WebFetch
- Instructions
- 130 lines in SKILL.md · view on GitHub
Before installing
- Pre-approves some shell commands
Files (1)
- SKILL.md
SKILL.md (first lines)
# Agent Chaining Specialist Domain: Multi-Agent Systems · Orchestration · Context Management · Subagent Design --- ## Pre-flight — ask before designing any chain 1. What problem actually requires multiple agents? → single agent first, always 2. Sequential or parallel? → depends on step dependencies 3. What's the token budget? → each subagent call costs tokens 4. What are the failure modes? → what happens if a subagent fails mid-chain? 5. Where does shared state live? → agents don't share memory **Rule:** If one agent with the right tools can do it → don't chain. Chaining adds latency, cost, and failure surface. Justify it. --- ## When to chain vs not | Chain when... | Don't chain when... | |---|---| | Work can run in parallel | Single-domain task | | Specialist isolation needed | Tightly sequential, no parallelism | | Context window exceeded | Shared mutable state needed | | Independent verification needed | Low latency requirement | | Long-running background work | You're adding complexity for no gain | --- ## Spawning — the critical rules **Subagent has NO memory of the parent conversation.** The prompt must be fully self-contained. Every subagent prompt must include: 1. Goal in the first sentence 2. Absolute file paths — no relative references 3. What you've already done / ruled out 4. Expected output form 5. Scope cap — "only look at src/api/, not tests/" 6. Failure instruction — "if X not found, report that, don't guess" **Parallel:** send multiple agent calls in a single message — they run concurrently. Never send independent agents sequentially — doubles latency for no reason. **Background:** for long-running tasks where the parent has other work to do. Parent continues; notified when subagent completes. --- ## Context passing — 3 patterns - **Self-contained prompt** — include all context inline. Best default. - **File handoff** — orchestrator writes to a temp file; subagent reads it. Good for large context. Bad for parallel agents that might conflict. - **Summary handoff** — orchestrator compresses Phase 1; subagent gets the summary. Good for sequential chains. --- ## Orchestrator design — lean ``` ✅ Orchestrator: decides what, in what order, who does it — synthesizes results ❌ Orchestrator: heavy computation, large file reads, code writing — push to subagents ``` Keep orchestrator context budget for coordination. Subagents do the work. --- ## Common patterns | Pattern | Structure | |---|---| | Research → Implement → Verify | Read-only analysis → plan → implement → verify | | Parallel domain analysis | [Security · DB · API] in parallel → Orchestrator synthesizes | | Map-Reduce | Orchestrator splits → N agents process chunks → Orchestrator reduces | | Cross-Check | Agent A implements → Agent B reviews independently → Orchestrator reconciles | --- ## Failure handling | Failure | Handle with | |---|---| | Empty / error response | Retry once with expanded context | | Parallel agents conflict | Orchestrator resolves, flags conflict | | Background agent stalls | Check status, set timeout | | Context too long for subagent | Summarise before passing | | Subagent goes off-scope | Narrow prompt, add explicit scope boundaries | --- ## Anti-patterns — hard stops ``` ❌ Chaining when one agent suffices ❌ Passing secrets in subagent prompts ❌ Assuming subagent has parent context ❌ Sequential chain where steps are independent — use parallel ❌ Orchestrator doing all the heavy work itself ❌ No failure handling — assuming success ❌ Infinite agent recursion ❌ Shared mutable file writes without locking ``` --- ## Raven integration ``` 1. Declare agent dependencies in manifest 2. Subagents respect Raven rules — no manifest bypass 3. Never pass manifest.secrets.json in subagent prompts 4. Orchestrator logs what each subagent was asked to do ``` --- ## Deliverable format ```markdown
From giggsoinc/raven, MIT.
More from giggsoinc/raven
- 0.619score
andie
giggsoinc
USE PROACTIVELY whenever the user asks for: planning, design, architecture decision, tradeoff analysis, comparing approaches, strategy, system design…
SkillAFreshness: A★ 5Claude Code +9 - 0.579score
dynamic-specialist
giggsoinc
Use for ANY platform, library, or domain with no curated specialist skill.
SkillBFreshness: B★ 5Claude Code - 0.576score
devops-specialist
giggsoinc
Use for any DevOps / SRE question.
SkillBFreshness: B★ 5Claude Code +9 - 0.571score
router
giggsoinc
Toggle the Raven model router.
SkillBFreshness: B★ 5Claude Code +9 - 0.529score
db-specialist
giggsoinc
Universal database orchestrator.
SkillCFreshness: C★ 5Claude Code - 0.529score
log-management-specialist
giggsoinc
Use when designing or reviewing logging pipelines, structured logging, log aggregation (ELK, Loki, CloudWatch), retention policies, PII scrubbing, alerting on…
SkillCFreshness: C★ 5Claude Code +9 - 0.529score
odoo-specialist
giggsoinc
Use for any Odoo question — module development, ORM, XML views, QWeb, security rules, multi-company, accounting, manufacturing, deployment on Odoo.sh.
SkillCFreshness: C★ 5Claude Code - 0.526score
k8s-specialist
giggsoinc
Use for any Kubernetes question.
SkillCFreshness: C★ 5Claude Code +9 - 0.526score
kafka-specialist
giggsoinc
Use for any Kafka / Streaming question.
SkillCFreshness: C★ 5Claude Code +9 - 0.526score
fastapi-specialist
giggsoinc
Use for any FastAPI question.
SkillCFreshness: C★ 5Claude Code +9 - 0.526score
bigdata-specialist
giggsoinc
Use for any Big Data / Analytics question.
SkillCFreshness: C★ 5Claude Code +9 - 0.526score
nicegui-specialist
giggsoinc
Use for any NiceGUI question.
SkillCFreshness: C★ 5Claude Code +9
Signals
- Stars
- 5
- Forks
- 5
- Open issues
- 0
- Last commit (this folder)
- Aug 7, 2026 (2 months ago)
- Last release
- Jun 7, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/giggsoinc/raven
- Website
- github.com/giggsoinc/raven
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from giggsoinc
- 0.619score
andie
giggsoinc
USE PROACTIVELY whenever the user asks for: planning, design, architecture decision, tradeoff analysis, comparing approaches, strategy, system design…
SkillAFreshness: A★ 5Claude Code +9 - 0.579score
dynamic-specialist
giggsoinc
Use for ANY platform, library, or domain with no curated specialist skill.
SkillBFreshness: B★ 5Claude Code - 0.576score
devops-specialist
giggsoinc
Use for any DevOps / SRE question.
SkillBFreshness: B★ 5Claude Code +9 - 0.571score
router
giggsoinc
Toggle the Raven model router.
SkillBFreshness: B★ 5Claude Code +9 - 0.529score
db-specialist
giggsoinc
Universal database orchestrator.
SkillCFreshness: C★ 5Claude Code - 0.529score
odoo-specialist
giggsoinc
Use for any Odoo question — module development, ORM, XML views, QWeb, security rules, multi-company, accounting, manufacturing, deployment on Odoo.sh.
SkillCFreshness: C★ 5Claude Code
Cite this page
agent-chaining skill. Agent Mart. https://agentmart.dev/skills/giggsoinc-agent-chaining (last updated 2026-10-24)