/agent-engineer:agent-promptingfrom Agent Engineer
Writes, reviews, and versions agent system prompts: structure, altitude, tool-use policy, output format, few-shot examples, structured outputs with validation, reasoning settings, and per-model quirks. Use when writing or editing prompts, reviewing prompts, fixing ignored instructions, or retuning for a new model.
Ships in Agent Engineer. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Goal: fewer, clearer instructions that fix observed failures, versioned like code. Length and emphasis are not goals.
agent-evals → "Minimal eval"; ~20 real cases is enough while
effects are large) and run it before and after. If the user declines, or the change is
cosmetic, make it and say plainly that it's unevaluated.design.md, failure-taxonomy.md and recent traces. Establish the
model, the tools and who consumes the output (human, code, another agent). Ask the user
for edge-case policy and tone.references/system-prompt-structure.md.agent-tools).references/examples-and-structured-output.md).references/model-quirks.md.references/prompt-review-checklist.md: delete any line whose removal
wouldn't cause a mistake.agent-accuracy. Long runs or
multi-turn state → agent-context.| If | Then |
|---|---|
| Code parses the output | Structured outputs / strict tool schema, not "respond in JSON" prose. Validate anyway. |
| Classification or routing label | Enum in a schema or enum-typed tool argument, with an other value. |
| Format or style drifts | 3–5 diverse examples before more rules. |
| Agent ignores a rule | Look for a contradiction, vague altitude or buried position first. Must always hold → code. |
| Agent over-uses a tool or behaviour | Remove emphasis; state when to use it and when not. |
| SOP or policy doc is the spec | Numbered routine, one action per step, branches for missing information. |
| Prompt has grown nested if/else | Split: routing workflow, or one template with policy variables (agent-design). |
| Long documents (20K+ tokens) | Documents first, question last, each in <document> tags, "quote relevant passages first". |
| Reasoning needed | Native thinking/effort. A "think" tool only for policy-heavy sequential tool chains. |
| Switching models | Strip over-prompting, sweep effort fresh, re-run evals (agent-production). |
| One bad trace | Add it to the dataset; patch only when the category recurs. |
tools field.Write these to agent-engineering/ only if the project keeps one (see agent-engineer → Project record (optional)); otherwise put them in your reply or the PR description.
prompts/<agent>/system.md), versioned and loaded
by name.gen_ai.prompt.name / .version, or
OpenInference llm.prompt_template.version); see agent-observability.experiment-log.md entry per prompt change, with the eval delta.references/system-prompt-structure.md — section order, altitude, skeleton, tool
steering, reasoning, prompts as code. Read when drafting or restructuring.references/examples-and-structured-output.md — choosing examples, structured output,
schema design, validation and retry. Read when output feeds code or format drifts.references/model-quirks.md — per-model behaviour (Claude, GPT-5). Read before
targeting or migrating to a model.references/prompt-review-checklist.md — pass/fail review checklist and report format.
Read when asked to review or improve a prompt.What SKILL.md sets; muted values are Claude Code's defaults
13 skills in this plugin
/agent-accuracyDebug and fix an LLM agent or RAG system that gives wrong, inconsistent, hallucinated or low-quality results: reproduce, localise the failing component, one hypothesis, the least-powerful fix, measure, check regressions, log. Use when the user says "it hallucinates", "wrong answers", "accuracy dropped", "flaky / right only sometimes", "worse after the model upgrade", "should I add RAG / a bigger model / fine-tune?", or wants a pass rate up. Not for building evals (agent-evals), errors/timeouts/migrations (agent-production), retrieval internals (agent-rag), prompt rewrites (agent-prompting) or tool redesign (agent-tools)./agent-contextEngineer what an agent's context window holds over long or multi-turn runs: ordering and token budgets, just-in-time loading, tool-result clearing and compaction, scratchpads, progress files, long-term memory, subagent isolation, prompt-cache hit rate, and measuring context from traces. Use when the agent forgets instructions or decisions, degrades or loops as runs grow, hits context limits, has token bloat or low cache hits, needs memory across sessions, or runs for hours. Not for prompt wording (agent-prompting), document search (agent-rag), one tool's output size (agent-tools), or overall cost and latency (agent-production).npx claudepluginhub sarthakrastogi/agent-engineer --plugin agent-engineerOther plugins' skills for the same job