From dev-vitals
Optimizes agent runtime loops, multi-agent orchestration, and MCP session lifecycle. Reduces tool-call count and token usage with card packs and bounded search loops.
How this skill is triggered — by the user, by Claude, or both
Slash command
/dev-vitals:agent-runtime-patternsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- Optimizing a slow or over-spending agent loop (too many tool calls, high token use).
| Pattern | Use when | Avoid when |
|---|---|---|
| Direct execution | Single agent, clear scope, no subagent benefits | Task genuinely requires parallel sub-agents or specialized routing |
| Routing | Input type determines which specialized agent to invoke | Agents share context and can't be isolated |
| Chaining | Output of A is strict input of B | Agents need to share partial context |
| Orchestrator-worker | Parallel independent subtasks with a coordinator | Tasks are tightly coupled or sequential |
| Agents-as-tools | Callable child agent inside a parent's tool loop | The child needs user interaction |
A card is a compact, high-signal instruction block — typically 3–10 lines — for a specific operation. Cards are preferable to loading full documentation into context.
Good card: step sequence + key constraint + example invocation. Bad card: copied README sections, multiple unrelated topics in one block.
Pack cards for the current task only. Swap cards between phases rather than accumulating them.
_meta session IDs, handle missing-session errors without silent retries.references/runtime-patterns.mdnpx claudepluginhub yeaight7/agent-powerups --plugin dev-vitalsCreates, edits, and verifies skills using a test-driven development approach with pressure scenarios and subagents.
2plugins reuse this skill
First indexed Jul 28, 2026