agent-engineering
Skill1 starsChanged 42 days agoApache-2.0View on GitHub
Design or improve tool-using AI agents, including planning, routing, orchestration, bounded state, memory, approvals, evaluation, and failure recovery.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- juninmd/skillstheir own version, first seen Nov 8, 2026
- six-ddc/skillstheir own version, first seen Jul 28, 2026
- ckorhonen/claude-skillstheir own version, first seen Jul 5, 2026
- thekernelkiller/skillstheir own version, first seen May 13, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- ckorhonen/claude-skills★ 17same name
- six-ddc/skills★ 3same name
- juninmd/skills★ 2same name
- thekernelkiller/skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository8 other files it gives its agents.
- ai-system-designSkill
- break-my-agentSkill
- code-reviewSkill
- llm-evaluationSkill
- mcp-engineeringSkill
- python-productionSkill
- rag-engineeringSkill
- security-reviewSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Use this skill when a system can choose and sequence actions at runtime.
- Distinctive: line 19
Evaluate beyond the final answer: Create cases for goal completion, tool choice/arguments, policy compliance, step efficiency, side …
- Distinctive: line 23
Document the state machine, tool contracts, identity/authorization enforcement, limits, approval points, persistence/expiry, retry and …
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Agent Engineering
Use this skill when a system can choose and sequence actions at runtime. First confirm that an agent is warranted for the required variability; use a simpler deterministic workflow when it meets the need with lower risk and operating cost.
Workflow
- Define the contract and authority. State the user goal, allowed actions, data boundaries, identity, tools, success criteria, failure cases, and which effects require explicit human approval. The model may propose actions; trusted application code must enforce identity, authorization, scope, and policy on every tool call.
- Model execution as bounded state. Define typed states and transitions for plan, action, observation, completion, failure, and interruption. Set use-case-based limits for steps, tool calls, wall time, tokens/spend, concurrency, and retries. Validate tool arguments and results. Use idempotency keys, checkpoints, deduplication, and compensating actions where repeated or partial execution can mutate external state.
- Choose orchestration intentionally. Use routing, hand-offs, parallel work, or multiple agents only where decomposition or specialization yields a measurable benefit. Bound fan-out, isolate permissions and state, define merge/conflict handling, and prevent cycles or uncontrolled delegation. Use MCP for tool/context access; evaluate A2A when independent agent systems need to exchange task work.
- Control memory and context. Define what is ephemeral versus persisted, how it is scoped to a principal/tenant, how it is updated/deleted, and what may be retrieved later. Treat conversation, retrieved documents, tool results, and agent-to-agent messages as untrusted. Do not let memory or model text grant access, change policy, or silently widen scope.
- Design interruption and recovery. Handle user cancellation, timeouts, provider/tool failure, malformed output, partial side effects, and process restart. Persist only the minimum state needed for recovery, protect it with authorization and expiry, and make uncertain outcomes visible rather than silently repeating actions. Provide a safe stop path and human handoff.
- Observe the trajectory safely. Trace decisions, state transitions, tool names, validated outcomes, retries, duration, resource use, and failure categories. Avoid recording raw chain-of-thought, credentials, sensitive prompts, retrieved content, or PII by default. Maintain protected audit events for consequential actions.
- Evaluate beyond the final answer. Create cases for goal completion, tool choice/arguments, policy compliance, step efficiency, side effects, interruption, recovery, and adversarial context. Replay deterministically where possible; compare trajectories and task outcomes against a baseline. Use human review for high-impact outcomes.
Deliverable
Document the state machine, tool contracts, identity/authorization enforcement, limits, approval points, persistence/expiry, retry and compensation behavior, telemetry, evaluation cases, and failure/stop semantics. For implementation, pair with python-production; for connected tools, mcp-engineering; for release criteria, llm-evaluation; and for adversarial risks, security-review.
Current references
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

