agentleFS
hugoguerraphugoguerrap/crypto-claude-desk/skills/create/SKILL.md

create

Skill33 starsChanged 5 months agoMITView on GitHub

Extend the system by creating new MCP servers, agents, or skills. Usage: /create a DeFi protocol tracker or /create an agent for macro analysis

12 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

16 rules. 0 are common, 7 are distinctive, and 9 are very specific to this project.

  • 0

    Common

    Most of the 11 edited versions we read keep these.

  • 7

    Distinctive

    This author's own choices. Worth a look.

  • 9

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If unclear, ask the user what type of component they want.

    line 19
  2. Very specific:

    After research completes, delegate to system-builder agent: "Based on the research in data/create/{name}-research.md, generate a new {type} …

    line 26
  3. Very specific:

    Write a creation summary to data/create/{name}-summary.md."

    line 31
  4. Very specific:

    If the component is an MCP server, delegate to system-builder agent: "Generate a test file for the new MCP server mcp-servers/{name}.py.

    line 34
  5. Very specific:

    Use from helpers import call_tool wrapper for FastMCP tools

    line 37
  6. Very specific:

    Write the test to tests/test_{name}.py."

    line 42
  7. Distinctive:

    After the component is generated, present:

    line 45
  8. Very specific:

    Add the server configuration to mcp-servers.plugin.json

    line 52
  9. Very specific:

    Add the server name to relevant agents' mcpServers list in their frontmatter

    line 53
  10. Distinctive:

    Add the server to the MCP table in CLAUDE.md

    line 54
  11. Very specific:

    Run uv run --frozen pytest tests/test_{name}.py -v to verify the tests pass

    line 55
  12. Very specific:

    Run /setup to verify the new server starts correctly

    line 56
  13. Distinctive:

    Add routing rules in CLAUDE.md (which queries should route to this agent)

    line 59
  14. Distinctive:

    Add the agent to the agents table in CLAUDE.md

    line 60
  15. Distinctive:

    Add to the skills table in CLAUDE.md for documentation

    line 64
  16. Distinctive:

    Test results (MCP servers: show pytest output)

    line 70

“Common” is measured: kept by at least 6 in 10 of the 11 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.

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

Create New Component

Extend the crypto trading desk with a new component based on the user's natural language description: $ARGUMENTS

Workflow

Step 1: Parse Request

Determine what the user wants to create:

  • MCP server — if the request involves new data sources, APIs, or tools (e.g., "on-chain analytics", "DeFi tracker", "social media monitor")
  • Agent — if the request involves a new specialist role (e.g., "macro analyst", "DeFi strategist", "on-chain detective")
  • Skill — if the request involves a new workflow or command (e.g., "multi-coin comparison", "rebalance portfolio", "alert system")

If unclear, ask the user what type of component they want.

Step 2: Research

Delegate to system-builder agent: "Research what's needed to create: $ARGUMENTS. Use WebSearch to find relevant public APIs (prefer no-API-key-required). Use WebFetch to read API documentation. Read existing components in the project to understand patterns — read at least 2 files from the relevant directory (mcp-servers/, agents/, or skills/). Read mcp-servers/validators.py for reusable validation. Write a research summary to data/create/{name}-research.md with: APIs found, rate limits, data available, recommended approach."

Step 3: Generate

After research completes, delegate to system-builder agent: "Based on the research in data/create/{name}-research.md, generate a new {type} for: $ARGUMENTS. Follow the exact patterns from existing files. Write the component to the correct location:

  • MCP server → mcp-servers/{name}.py
  • Agent → agents/{name}.md
  • Skill → skills/{name}/SKILL.md Write a creation summary to data/create/{name}-summary.md."

Step 3b: Generate Tests (MCP servers only)

If the component is an MCP server, delegate to system-builder agent: "Generate a test file for the new MCP server mcp-servers/{name}.py. Read tests/helpers.py to understand the call_tool() helper. Read at least 2 existing test files (e.g., tests/test_crypto_data.py, tests/test_crypto_exchange.py) to understand the testing pattern:

  • Import with sys.path.insert(0, str(Path(__file__).resolve().parent.parent / 'mcp-servers'))
  • Use from helpers import call_tool wrapper for FastMCP tools
  • Mock ALL external API calls (HTTP, CCXT, etc.) — tests must run offline
  • One test class per tool, with at least: test_success and test_error_handling
  • Assert result['status'] == 'success' on happy path
  • Assert result['status'] == 'error' on failure path Write the test to tests/test_{name}.py."

Step 4: Integration Guidance

After the component is generated, present:

  1. What was created — show the file path and a brief description
  2. Review — show the key parts of the generated file for the user to review
  3. Next steps — tell the user what they need to do:

For MCP servers:

  • Add the server configuration to mcp-servers.plugin.json
  • Add the server name to relevant agents' mcpServers list in their frontmatter
  • Add the server to the MCP table in CLAUDE.md
  • Run uv run --frozen pytest tests/test_{name}.py -v to verify the tests pass
  • Run /setup to verify the new server starts correctly

For agents:

  • Add routing rules in CLAUDE.md (which queries should route to this agent)
  • Add the agent to the agents table in CLAUDE.md

For skills:

  • Auto-discovered by Claude Code — no configuration needed
  • Add to the skills table in CLAUDE.md for documentation

Output

Present:

  1. Research findings (APIs, feasibility)
  2. Generated component (file path + key capabilities)
  3. Test results (MCP servers: show pytest output)
  4. Integration checklist (numbered steps)

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.