ai-agent-builder
Skill1 starsChanged 3 months agoApache-2.0View on GitHub
Design, implement, review, evaluate, or improve AI agents and agentic workflows in English. Use for English-language work that decides whether an agent is needed; defines context, tools, memory, control loops, guardrails, evaluation, or multi-agent architecture; turns an agent idea into an implementable system; or diagnoses an existing agent. Do not use for primarily Chinese deliverables, ordinary deterministic software, isolated prompt editing, model fine-tuning without an agent system, or creating Codex SKILL.md packages.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- alizafarbati/opencode-agents-mcptheir own version, first seen Sep 8, 2026
- claude-office-skills/skillstheir own version, first seen Jan 30, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- claude-office-skills/skills★ 433same name
- alizafarbati/opencode-agents-mcp★ 1same 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 repositoryOne other file it gives its agents.
- ai-agent-builder-cnSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 17
Use English for discussion and deliverables.
- Distinctive: line 22
Do not assume an agent is necessary.
- Distinctive: line 42
If traces exist, find the first divergence and locate it in observation/context, model decision, action/tool, environment, state/recovery, …
- Distinctive: line 50
Read only the files needed for the current request:
- Very specific: line 62
Do not load every reference by default.
- Distinctive: line 74
Do not invent implementation evidence, treat tool-call success as task completion, or equate a plausible answer with a verified environment …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<!-- Modified derivative work; see the repository NOTICE file. -->AI Agent Builder
Turn an agent idea or existing system into the simplest implementation that can complete real tasks reliably, safely, and measurably.
Use English for discussion and deliverables. If the user primarily requests Chinese output, prefer $ai-agent-builder-cn. This Skill is a self-contained knowledge package; do not assume the source book repository is available at runtime.
Working Boundaries
- Preserve the user's stated scope, stack, providers, and authorization boundaries.
- Do not assume an agent is necessary. Prefer, in order: ordinary code, one model call, a deterministic workflow, one autonomous agent, then multiple agents. Move right only when the task genuinely needs additional adaptability.
- Model an agent as
LLM + context + tools, interacting with an external environment through observation and action interfaces. Keep environment state distinct from agent state. - Let the model handle flexible interpretation and planning. Put permissions, irreversible constraints, verification, budgets, retries, and stopping conditions in deterministic Harness code.
- Preserve principles that survive model upgrades, but treat compatibility prompts, parsing repairs, and capability bridges as testable adapters. Re-evaluate their net value after model or provider changes and retire scaffolding that no longer helps.
- Models, SDKs, frameworks, APIs, pricing, and provider behavior can change. Before committing to implementation details, inspect the target project and consult current primary official documentation.
Choose the Working Mode
Infer the narrowest mode that satisfies the request. A request may pass through several modes, but do not force the user through all of them.
- Explore: Clarify the objective, users, environment, risk, and evidence of success when the idea is still vague.
- Design: Produce an implementable agent design or architecture decision.
- Build: Implement an established design in an existing or new codebase. Inspect and reuse the local stack before choosing libraries or abstractions.
- Review: Inspect and evaluate an existing agent. Prioritize concrete reliability, safety, and evaluation gaps instead of redesigning to personal taste.
- Improve: Diagnose evaluated failures, propose attributable minimal changes, and protect behavior that already works.
Shared Workflow
- Establish the task contract: desired outcome, actors, environment, inputs, outputs, non-goals, constraints, risks, and observable completion state. Ask only about unknowns that would materially change the design or create unacceptable risk.
- Apply the complexity ladder. Before adding an autonomous loop or multiple agents, explain why a simpler option is insufficient.
- If traces exist, find the first divergence and locate it in observation/context, model decision, action/tool, environment, state/recovery, or verification. Do not hide an interface or Harness defect behind a stronger model.
- Define the control contract: observations, actions, state, decision points, trace integrity, progress signals, completion checks, retry policy, budgets, escalation, and failure behavior.
- Design context and tools around the task contract. Expose only the information and actions needed by the current role; assess risk from the tool, normalized arguments, and scope. Keep high-risk actions narrowly permissioned, strongly typed, auditable, and previewable. If required approval is absent, pause and preserve recoverable state.
- Define evaluation before a design or implementation is deliverable: representative tasks, boundary and adversarial cases, allow/deny pairs, deterministic checks where possible, process evidence, cost, latency, and regression protection.
- In explore mode, clarify; in design mode, specify; in build mode, implement and test in proportion to risk; in review mode, separate facts from recommendations; in improve mode, bind every change to failure evidence and verify both the target repair and retained behavior.
Reference Routing
Read only the files needed for the current request:
- For deciding between code, workflow, and autonomy, or for control-loop, Harness-boundary, and agent-specification work, read references/architecture.md.
- For API message protocols, Chat Templates, KV/Prompt Cache, prompts and context construction, Skills, status bars, memory, RAG, knowledge organization, or context compression, read references/context-memory.md.
- For tool selection, schemas, execution, permissions, errors, recovery, sandboxing, MCP trust, or tool discovery, read references/tools-harness.md.
- For coding agents, code interpreters, executable rules, artifacts/generative UI, adaptive programs, or agent bootstrapping, read references/coding-agent.md. Also read
tools-harness.mdwhen the request includes low-level tool contracts or sandbox implementation. - For events, asynchronous work, user interruption, voice, GUI/computer use, or embodied interaction, read references/interaction.md.
- For acceptance criteria, evaluation datasets, metrics, memory/RAG retrieval, prompt ablations, judges, trace analysis, observability, cost, or model selection, read references/evaluation.md.
- For learning from feedback, deciding whether experience belongs in knowledge, instructions, code, or parameters, and safe continual improvement, read references/improvement.md.
- For agent-model mid-training, SFT, distillation, preference optimization, RL, training environments, or reward design, read references/post-training.md. If production feedback supplies training data, also read
improvement.mdandevaluation.md. - For deciding whether multiple agents add value, or for context sharing, topology, communication, concurrency, and coordination-failure design, read references/multi-agent.md.
Do not load every reference by default. Architecture and build requests usually need architecture.md plus one or two specialist files; pure evaluation, improvement, or post-training requests can load only the relevant specialist files.
Deliverables
Match the artifact to the request:
- Give a concise recommendation for a single decision.
- For architecture work, produce an Agent Design Specification covering the task contract, simplest sufficient architecture, environment, observations, actions/tools, context/state/memory, control flow, guardrails, failure handling, evaluation, and open decisions.
- For implementation work, produce runnable code and focused verification, with brief design rationale.
- For review work, order findings by severity and cite the responsible component and missing test evidence.
- For improvement work, produce a failure-to-change record: evidence, first attributable error, minimal change, expected gain, regression risk, and verification result.
Do not invent implementation evidence, treat tool-call success as task completion, or equate a plausible answer with a verified environment result.
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.

