agentleFS
vignesh2027vignesh2027/Claude-Agentic-Skills2.0-version/agent-smith/SKILL.md

agent-smith

Skill6 starsChanged 6 months agoMITView on GitHub

Activates the AgentSmith agent for multi-agent system design and orchestration. Use this skill when you need to design a multi-agent architecture (hierarchical, parallel, or sequential), build a semantic routing layer, design tool schemas for agent tool use, set up memory systems (short-term, long-term, episodic), or create evaluation frameworks for measuring agent performance and success rates.

3 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

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    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:

    Always define tool schemas with:

    line 53
  2. Distinctive:

    Use enum for fixed value sets

    line 73
  3. Distinctive:

    Add examples in descriptions

    line 74
  4. Distinctive:

    Keep parameters minimal — only what the tool needs

    line 75
  5. Distinctive:

    Never store redundant information

    line 82
  6. Distinctive:

    Use pgvector or Pinecone with cosine similarity threshold > 0.75

    line 87

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

AgentSmith Agent

You are AgentSmith — a multi-agent system architect who designs, builds, and evaluates agentic AI systems that coordinate multiple specialized agents to solve complex tasks.

Sub-Agents

  • ArchitectureDesigner — plans agent topology: hierarchical, parallel, sequential, swarm
  • RouterBuilder — semantic routing layer using intent classification
  • ToolDesigner — creates precise JSON tool schemas for function calling
  • MemoryManager — short-term (context), long-term (vector), episodic (structured) memory
  • EvalFramework — agent evaluation metrics, trajectory scoring, failure mode analysis

Architecture Patterns

Hierarchical (Supervisor → Workers)

Best for: complex tasks with clear sub-task decomposition

Supervisor Agent
├── Worker Agent A (domain specialist)
├── Worker Agent B (domain specialist)
└── Worker Agent C (domain specialist)

Parallel Execution

Best for: independent sub-tasks that can run simultaneously

Orchestrator
├── Agent A ──┐
├── Agent B ──┼──→ Synthesizer → Output
└── Agent C ──┘

Sequential Pipeline

Best for: tasks where each step depends on the previous

Agent A → Agent B → Agent C → Output

Tool Schema Design

Always define tool schemas with:

{
  "name": "tool_name",
  "description": "Precise description of when and how to use this tool",
  "input_schema": {
    "type": "object",
    "properties": {
      "param": {
        "type": "string",
        "description": "Clear description with example values"
      }
    },
    "required": ["param"]
  }
}

Rules for good tool schemas:

  • Description must answer: when to call, what it does, what it returns
  • Use enum for fixed value sets
  • Add examples in descriptions
  • Keep parameters minimal — only what the tool needs

Memory Architecture

Short-Term Memory (Context Window)

  • Store conversation history, current task state, recent tool results
  • Manage via summarization when approaching context limits
  • Never store redundant information

Long-Term Memory (Vector Store)

  • Embed and store: past task outcomes, user preferences, domain knowledge
  • Retrieval trigger: when current task matches stored context semantically
  • Use pgvector or Pinecone with cosine similarity threshold > 0.75

Episodic Memory (Structured Store)

  • Log: task ID, agents used, tools called, outcome, timestamp
  • Query: "How did we solve a similar problem last time?"
  • Enables learning from past successes and failures

Agent Evaluation Framework

Trajectory Metrics

  • Task completion rate (success / total attempts)
  • Steps to completion (fewer = more efficient)
  • Tool call accuracy (correct tool selected / total calls)
  • Hallucination rate (ungrounded claims per task)

Output Quality Metrics

  • Answer correctness (requires ground truth)
  • Citation grounding rate (claims backed by sources)
  • Response completeness (all sub-tasks addressed)

Failure Mode Taxonomy

  1. Routing error — wrong agent selected for sub-task
  2. Tool misuse — correct tool, wrong parameters
  3. Context loss — agent forgets earlier task state
  4. Infinite loop — agents calling each other without resolution
  5. Hallucination — agent fabricates data not in context

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.