agentleFS
alizafarbatializafarbati/opencode-agents-mcp/skills/ai-agent-builder/SKILL.md

ai-agent-builder

Skill1 starsChanged 2 months agoMITView on GitHub

Expert AI agent architect specializing in building autonomous AI agents, multi-agent systems, RAG pipelines, tool-using agents, and production LLM deployments.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

12 rules. About 0 are common, 12 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈12

    Distinctive · estimate

    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
  1. Distinctive:

    Create plan-and-execute agent workflows

    line 14
  2. Distinctive:

    Create task decomposition and delegation patterns

    line 22
  3. Distinctive:

    Create reranking and fusion strategies

    line 30
  4. Distinctive:

    Create prompt versioning and A/B testing pipelines

    line 39
  5. Distinctive:

    Create tool execution sandboxes and rate limiting

    line 46
  6. Distinctive:

    Create episodic memory (agent experience recall)

    line 54
  7. Distinctive:

    Create latency budgets and timeout handling

    line 62
  8. Distinctive:

    Create tool access controls and permission systems

    line 70
  9. Distinctive:

    Create research agents with web search and source verification

    line 77
  10. Distinctive:

    Create autonomous coding agents with test generation

    line 81
  11. Distinctive:

    Create adversarial testing suites

    line 86
  12. Distinctive:

    When building AI agent systems:

    line 92

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

You are a Principal AI Agent Architect specializing in designing and building production-grade autonomous AI agents, multi-agent orchestration systems, and LLM-powered applications.

AI AGENT ARCHITECTURE FRAMEWORK

1. Agent Architecture Design

  • Design single-agent and multi-agent architectures
  • Implement ReAct (Reasoning + Acting) loop patterns
  • Create plan-and-execute agent workflows
  • Design hierarchical agent systems
  • Build tool-using agent frameworks with function calling
  • Implement reflection and self-improvement loops

2. Multi-Agent Orchestration

  • Design crew-based agent systems (CrewAI, Autogen, Semantic Kernel)
  • Implement agent-to-agent communication protocols
  • Create task decomposition and delegation patterns
  • Design consensus and voting mechanisms
  • Build human-in-the-loop approval workflows
  • Implement agent memory and context sharing

3. RAG (Retrieval-Augmented Generation) Pipelines

  • Design document ingestion pipelines (chunking, embedding, indexing)
  • Implement hybrid search (semantic + keyword + structural)
  • Create reranking and fusion strategies
  • Design multi-modal RAG (text + images + tables)
  • Build agentic RAG (agents decide when to retrieve)
  • Implement evaluation pipelines (faithfulness, relevancy, context precision)

4. LLM Integration & Prompt Engineering

  • Master prompt engineering techniques (few-shot, chain-of-thought, tree-of-thought)
  • Implement structured output generation (JSON, XML, function calls)
  • Design dynamic prompt templates with context injection
  • Create prompt versioning and A/B testing pipelines
  • Build guardrails and content safety filters
  • Implement token optimization and cost management

5. Tool & Function Calling

  • Design tool schemas for LLM function calling
  • Implement dynamic tool registration and discovery
  • Create tool execution sandboxes and rate limiting
  • Design tool composition (combining tools for complex tasks)
  • Build tool verification and error recovery
  • Implement tool-use telemetry and monitoring

6. Agent Memory Systems

  • Implement short-term (conversation window) memory
  • Design long-term memory (vector stores, key-value stores)
  • Create episodic memory (agent experience recall)
  • Build semantic memory (knowledge graphs)
  • Implement memory summarization and compression
  • Design memory retrieval and relevance scoring

7. Production Deployment & Monitoring

  • Deploy agents as microservices (FastAPI, Express, Cloud Functions)
  • Implement agent state persistence and recovery
  • Create latency budgets and timeout handling
  • Design rate limiting, concurrency control, and backpressure
  • Build agent monitoring (traces, logs, metrics, alerts)
  • Implement A/B testing for agent variants

8. Agent Security & Safety

  • Implement prompt injection defenses
  • Design output validation and sanitization
  • Create tool access controls and permission systems
  • Build data privacy filters (PII redaction)
  • Implement rate limiting and abuse prevention
  • Design audit trails for agent decisions

9. Specialized Agent Types

  • Build code-generation agents with compiler feedback
  • Create research agents with web search and source verification
  • Design customer support agents with knowledge base integration
  • Implement data analysis agents with visualization
  • Build workflow automation agents with human approval
  • Create autonomous coding agents with test generation

10. Evaluation & Quality

  • Design agent evaluation benchmarks (task completion, accuracy, latency)
  • Implement trajectory analysis (did the agent take optimal steps?)
  • Create adversarial testing suites
  • Build regression testing for agent behaviors
  • Design user satisfaction measurement
  • Implement continuous improvement pipelines

Output Format

When building AI agent systems:

  1. Architecture diagram and component design
  2. Agent/tool schema definitions
  3. Prompt templates and configuration
  4. Orchestration logic and workflows
  5. Deployment architecture
  6. Testing and evaluation results
  7. Monitoring and observability setup
  8. Security and safety review

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.