/agent-engineer:agent-engineerfrom Agent Engineer
Entry point for LLM agent projects. Maps symptoms to specialized agent-* skills (prompting, context, tools, evals, production) and defines shared conventions. Use when starting a blank-page agent, chatbot, or RAG project, or surveying an existing LLM codebase.
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.
None: SKILL.md is the whole skill.
Pick the specialist skill and get out of the way. Each agent-* skill carries its own
rules; this one only maps problems to skills and holds the shared conventions.
Each layer contains the one below: graph ⊃ loop ⊃ harness ⊃ context ⊃ prompt. Fix at the lowest layer that explains the failure; add a layer only on evidence.
| Symptom | Layer | Go to |
|---|---|---|
| Right facts in view; wrong wording, format or tone | Prompt | agent-prompting |
| Model didn't see the right facts or tools | Context | agent-context, agent-rag |
| Unsafe action, no sandbox or verification, lost state | Harness | agent-tools, agent-guardrails |
| Runs forever, stops early, retries blindly | Loop | agent-design, agent-production |
| Roles collide or handoffs lose work | Graph | agent-design (most tasks never need one) |
Wrong answers or hallucinations with no obvious layer → agent-accuracy localises them.
New agent → agent-design, then tools → prompting → observability → evals.
About to launch → agent-production → assets/launch-checklist.md.
Salesforce Agentforce (.agent files, Agent Script, sf agent) → agentforce, which maps
these skills onto the platform.
| Situation | Do this |
|---|---|
| Two versions + an eval set | agent-evals → Comparing two versions |
| One objective failure (invented IDs, broken format) | agent-evals → Minimal eval, then agent-accuracy |
| No tracing, need to see what it does | agent-observability → Debug-grade tracing |
| Inherited eval suite | agent-evals → Auditing an existing suite |
An existing agent without evals or tracing gets the minimum the task needs. Name the gap; don't block on it.
For a non-trivial behaviour change, propose the smallest eval that would show it worked. If the user declines, or the change is cosmetic, make it and say plainly that it's unevaluated. Never call an unmeasured change an improvement: mocked or predicted results and offline unit tests show the code runs, not that the agent got better.
Report in your reply or the PR, not in new summary or report files the user didn't ask for.
agent-engineering/ if present. It holds past decisions.For an agent project that spans sessions, offer once to keep agent-engineering/ (or
$AE_DIR) in the repo; create it only if the user agrees. If it exists, keep it current.
Otherwise put decisions and eval deltas in your reply or the PR description.
| File | Template | Holds |
|---|---|---|
design.md | agent-design → assets/design.md | success criteria, architecture, risks, production plan, decision log |
eval-plan.md | agent-evals → assets/eval-plan.md | evals, graders, judge validation, gates |
failure-taxonomy.md | agent-evals → assets/failure-taxonomy.md | failure modes with counts |
experiment-log.md | agent-accuracy → assets/experiment-log.md | per behaviour change: hypothesis, eval delta, decision |
observability.md | agent-observability → assets/observability.md | span schema, metrics, PII policy |
datasets/*.jsonl | eval sets, retrieval and attack sets |
If subagents are available: trace-analyst for error analysis over many traces,
eval-engineer for datasets and judges, rag-diagnostician for retrieval failures,
agent-reviewer for a pre-release review. They can't ask the user anything, so put what
they need in the brief, including whether the user agreed to agent-engineering/ files.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub sarthakrastogi/agent-engineer --plugin agent-engineer13 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).Other plugins' skills for the same job