prompt-evaluation-runn…
Use when evaluating prompts, LLM outputs, red-team suites, or model behavior with local eval configs and safe provider/cost controls.
Use when optimizing agent runtime loops, card packs, MCP session lifecycle, tool-call count, or multi-agent orchestration patterns.
$ npx -y skills add yeaight7/agent-powerups --skill agent-runtime-patterns --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/agent-runtime-patternsContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when optimizing agent runtime loops, card packs, MCP session lifecycle, tool-call count, or multi-agent orchestration patterns.
name: agent-runtime-patterns description: Use when optimizing agent runtime loops, card packs, MCP session lifecycle, tool-call count, or multi-agent orchestration patterns.
| 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.
1. **Identify the bottleneck** — measure before optimizing: count tool calls, token usage, and latency. Name the specific slow or expensive step. 2. **Choose the right pattern** — use the table above. Default to direct execution; add orchestration only when simpler approaches are insufficient. 3. **Pack knowledge as cards** — replace large prompt docs with targeted 5–10 line cards per operation. 4. **Bound search loops** — cap retries (e.g., max 3 search attempts), normalize query construction, prefer a dedicated search subagent over inline ad-hoc loops. 5. **Model MCP sessions explicitly** — for experimental sessions: track create/delete lifecycle, request `_meta` session IDs, handle missing-session errors without silent retries. 6. **Measure after** — compare latency, tool-call count, token use, and task success rate before/after.
Curated power-ups for coding agents: skills, slash commands, MCP configs, hooks, AGENTS.md templates, and workflows for serious software engineering. Claude Code, Codex, Antigravity CLI, Cursor and more
Repo: yeaight7/agent-powerups
Use when evaluating prompts, LLM outputs, red-team suites, or model behavior with local eval configs and safe provider/cost controls.
Use when creating or reviewing red-team eval plugins, attack templates, grader rubrics, safety fixtures, or model-risk test metadata.
Use when designing, running, debugging, or hardening deterministic eval suites for agent skills, prompts, tool workflows, or MCP-backed cases.
Use when designing tool definitions for a new agent or subagent, an agent shows high retry rates, ambiguous tool invocations, or silent failures, or an…
Use when routing a prompt to a local provider CLI for a second opinion, review, or plan -- you are about to call a provider directly, need the response saved…
Use when starting work in an unfamiliar area of a codebase, spawning a subagent that needs targeted file context, a first search pass missed the relevant file,…