Skip to content
Skills Library
AI & agents · Planning

agent-design-and-tooling

/agent-design-and-tooling

Design an agent''s loop, tools, permissions, stop conditions and traces from its autonomy levels, before any framework. Use for "make it an agent", a new tool or permission, or a framework debate.

Licence
MIT
Last repository change
13.11.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
40
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 13.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Design an agent''s loop, tools, permissions, stop conditions and traces from its autonomy levels, before any framework. Use for "make it an agent", a new tool or permission, or a framework debate.

Triggers from the description

make it an agent
Original author description

Design an agent''s loop, tools, permissions, stop conditions and traces from its autonomy levels, before any framework. Use for "make it an agent", a new tool or permission, or a framework debate.

How it works

  1. When to use
  2. Inputs
  3. Method
  4. Output
  5. Rules and red lines
  6. Links
  7. Sources
Original SKILL.md headings · 48 lines, 781 words
SKILL.md preview
---
name: agent-design-and-tooling
description: 'Design an agent''s loop, tools, permissions, stop conditions and traces from its autonomy levels, before any framework. Use for "make it an agent", a new tool or permission, or a framework debate.'
license: CC-BY-4.0
metadata:
  stage: "build"
  version: "0.3.1"
  status: "tested"
  eval_threshold: "0.80"
  autonomy_relevant: "true"
  depends_on: "llm-feature-prd, process-ai-redesign"
  feeds: "system-prompt-and-guardrails, assistant-kpis-cost-per-outcome"
  sources: "anthropic-agents, anthropic-agent-tools, mcp-spec, own-nanoagent, repo-chanmeng"
---

# agent-design-and-tooling

## When to use
- Someone asks to "make it an agent", or a workflow has branches and tools.
- A framework debate starts before the design exists.
- An agent gets a new tool, a higher cap or a new permission, and its matrix must change.
- Do not use for the prompt and guardrail wording: use `system-prompt-and-guardrails`.
- Do not use when one model call answers the need: say so and stop.
- Do not use to test the agent: that is `agent-evals`.

## Inputs
Mandatory: the process steps with their L-levels, the candidate tools.
Ask if missing: failure modes, latency and cost constraints.

## Method
1. Set the trigger (request, batch, event, schedule) and define done as a state of the world (a record written, a case ready for the adjuster), not a sentence in the transcript. Name the exits and what follows each: success, error, escalation, paused for approval, policy denied, budget exhausted. A trigger other than on-request also needs dedup of repeated signals.
2. Pick the loop type: single step, plan-execute, multi-agent. Start with a raw loop. Multi-agent needs a written justification naming what a single loop cannot do.
3. List tools with schemas, side effects and whether they can be undone. For each, write the contract the model reads: when to use it over its nearest neighbour, named parameters over a generic tool, and an empty result kept distinct from a failed call. Rate the risk by effect, not by name. Detail in references/tool-contracts.md.
4. Build the permission matrix: tool × level × approval, following references/autonomy-ladder.md. A tool that moves money or changes records carries a cap and an approval rule.
5. Write the protocol for each write tool at L3 and above: prepare is separate from commit; where the matrix requires approval, it is bound to the exact action, target and payload, and it expires; the cap is checked on the resulting state in the system of record, where other sessions and channels count too; every write has an idempotency key and is never retried blindly; a write that times out has an unknown result, so reconcile before any retry. How the gate is enforced and attacked belongs to `system-prompt-and-guardrails`.
6. Write stop conditions for the run. A run ends on a checkable done state or the API's stop signal, never on the model's prose or self-reported confidence. Maximum steps, budget per run and timeout are the safety net: a hit is an alert with its own exit (hand off to a human, never silent). Stop conditions for the initiative itself start in `ai-opportunity-assessment`; how the agent is tested over repeated trials is `agent-evals`.
7. Set the memory policy: what persists, for how long, and personal-data limits.
8. Define the trace schema: every tool call logged with input, output and cost, and an outcome field set from the exit, usable by `assistant-kpis-cost-per-outcome`.
9. Before handing the design to engineering, prototype the tool set on a local MCP server (synthetic or anonymised data, no production credentials: references/build-to-learn.md) and run about 10 representative tasks. Read the traces from step 8: which tools the agent called, in which order, where it looped or picked the wrong neighbour. Fix tool names, descriptions and response sizes before touching the prompt. The prototype is evidence for the design, not the build; record it in the Prototype check section, or "not yet run".
10. Map frameworks last: each candidate against a named need the raw loop cannot meet, or none.

## Output
`templates/agent-design.md`, all headings present. The loop line reads `Loop type: <type>`.
When the brief asks which framework to take, the answer still opens with what the design lacks, says the choice waits for it, and keeps candidates for the closing section. No conditional pick up front ("X, if you adopt one"): readers stop at the name.

## Rules and red lines
- Permissions follow the ladder; no write tool without a line in the matrix.
- No write tool at L3 or above without its protocol line.
- No agent without stop conditions and named exits.
- Multi-agent needs a written justification.
- The framework comes last, in the answer as much as in the method.

## Links
references/autonomy-ladder.md · references/tool-contracts.md · references/build-to-learn.md · system-prompt-and-guardrails · agent-evals · assistant-kpis-cost-per-outcome · process-ai-redesign

## Sources
- anthropic-agents: simple loops first, frameworks last.
- anthropic-agent-tools: prototype a few tools, run realistic tasks, read the transcripts, then refine.
- mcp-spec: tools exposed by a server to the model, which a local prototype server reuses.
- own-nanoagent: raw loop reference, trace with an outcome field.
- repo-chanmeng: ideas for tool contracts, the write protocol, trigger and exits, rewritten in our own words.
Files in this package (40)
  • SKILL.md 5 KB
  • evals/agent-design-and-tooling-001/prompt.md 1 KB
  • evals/agent-design-and-tooling-001/fixtures/bad.md 1 KB
  • evals/agent-design-and-tooling-001/fixtures/good.md 1 KB
  • evals/agent-design-and-tooling-001/graders/empty-vs-failed.md 1 KB
  • evals/agent-design-and-tooling-001/graders/matrix.md 1 KB
  • evals/agent-design-and-tooling-001/graders/outcome.md 1 KB
  • evals/agent-design-and-tooling-001/graders/redline-no-multi.md 1 KB
  • evals/agent-design-and-tooling-001/graders/single.md 1 KB
  • evals/agent-design-and-tooling-001/graders/stop.md 1 KB
  • evals/agent-design-and-tooling-001/graders/triggered.md 1 KB
  • evals/agent-design-and-tooling-002/prompt.md 1 KB
  • evals/agent-design-and-tooling-002/fixtures/bad-no-approval.md 1 KB
  • evals/agent-design-and-tooling-002/fixtures/bad.md 1 KB
  • evals/agent-design-and-tooling-002/fixtures/good.md 1 KB
  • evals/agent-design-and-tooling-002/graders/approv.md 1 KB
  • evals/agent-design-and-tooling-002/graders/budget.md 1 KB
  • evals/agent-design-and-tooling-002/graders/cap.md 1 KB
  • evals/agent-design-and-tooling-002/graders/matrix.md 1 KB
  • evals/agent-design-and-tooling-002/graders/redline-pay-capped.md 1 KB
  • evals/agent-design-and-tooling-002/graders/triggered.md 1 KB
  • evals/agent-design-and-tooling-002/graders/write-timeout-unknown.md 1 KB
  • evals/agent-design-and-tooling-003/prompt.md 1 KB
  • evals/agent-design-and-tooling-003/fixtures/bad.md 1 KB
  • evals/agent-design-and-tooling-003/fixtures/good-run1.md 3 KB
  • evals/agent-design-and-tooling-003/fixtures/good-run3.md 3 KB
  • evals/agent-design-and-tooling-003/fixtures/good.md 1 KB
  • evals/agent-design-and-tooling-003/graders/budget.md 1 KB
  • evals/agent-design-and-tooling-003/graders/done-state.md 1 KB
  • evals/agent-design-and-tooling-003/graders/max-steps.md 1 KB
  • evals/agent-design-and-tooling-003/graders/raw.md 1 KB
  • evals/agent-design-and-tooling-003/graders/redline-framework-not-first.md 1 KB
  • evals/agent-design-and-tooling-003/graders/stop.md 1 KB
  • evals/agent-design-and-tooling-003/graders/triggered.md 1 KB
  • evals/agent-design-and-tooling-004/prompt.md 1 KB
  • evals/agent-design-and-tooling-004/graders/not-triggered.md 1 KB
  • references/autonomy-ladder.md 5 KB
  • references/build-to-learn.md 6 KB
  • references/tool-contracts.md 3 KB
  • templates/agent-design.md 1 KB

Versions

The database has no other skills named agent-design-and-tooling.

Database snapshot: 13.11.2026 · package version 13ae9cb5c20c (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100agent-spec-generator
    Write a production-ready spec for an AI agent: scope, tools and permissions, autonomy levels, stop rules, escalation, failure modes, evals, and rollout. Use when you are about to build, buy, or expand an AI agent and need engineering, legal, and leadership to agree on what it may and may not do.
  • 90agent-profile-design
    Review or design a coding-agent configuration for a clearly bounded role, tools, skills, context, and permissions. Use for agent configuration work; this skill does not create or launch an agent.
  • 90agentic-workflow-design
    Designs multi-step agentic workflows in Microsoft Foundry with bounded autonomy - the steps, which are deterministic and which are agentic, the decisions each agent may take alone, checkpoints, budgets, stop conditions and recovery. Use when a process spans several agents or…
  • 95ai-agent-architectures
    Use this skill when the user says 'build an AI agent', 'agent architecture', 'design an autonomous agent', 'agent system prompt', 'agent with tools and memory', 'which agent framework'. Entry point for single-agent design: decomposes the request into loop, tools, memory,…
  • 100agent-tool-builder
    Define agent tools using the fail-closed design pattern — unified name/schema/security/execution in one class, with three-layer execution (validate → permission → call). Use this skill whenever the user wants to define a new agent tool, add permission or validation logic to an…
  • 90claude-agent-sdk-tool-integration
    Use when integrating tools, permissions, and MCP servers with Claude AI agents using the Agent SDK.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.