Microagent — Development skill for Claude Code
A barebones demo of a coding agent, generated by claude code.
How to install Microagent
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open benjamin-recht/microagent and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Microagent does
A barebones demo of a coding agent, generated by claude code.
Alternatives in Development
- /install-hook - Install Generated Hook To Settings — Install a generated hook to Claude Code settings (user-level or project-level) 618 ★
- Citations Agent — You are an agent for adding correct citations to a research report 129 ★
- Claude Managed Agents Demo — Example for connecting Linear Agents SDK with Claude Managed Agents 88 ★
README
microagent
A minimalist coding agent that exposes the agent loop to help understand how LLM-based agents work.
What This Is
The agent receives a task, uses an LLM to decide what to do, executes tools, and continues until complete. All steps are displayed with colored output so you can see exactly what's happening.
Installation
pip install -r requirements.txt
export ANTHROPIC_API_KEY=your-api-key
Usage
python main.py "Create a file called hello.py that prints Hello World"
Example Output
╭─ Task ──────────────────────────────────────────╮
│ Create a file called hello.py that prints │
│ Hello World │
╰─────────────────────────────────────────────────╯
╭─ LLM Request ───────────────────────────────────╮
│ { │
│ "messages": [{"role": "user", "content":...}],│
│ "tools": ["read_file", "write_file", "shell"] │
│ } │
╰─────────────────────────────────────────────────╯
⠋ Thinking...
╭─ LLM Response ──────────────────────────────────╮
│ { │
│ "tool_calls": [{ │
│ "name": "write_file", │
│ "parameters": {"path": "hello.py", ...} │
│ }] │
│ } │
╰─────────────────────────────────────────────────╯
╭─ Tool Call ─────────────────────────────────────╮
│ write_file │
│ path: "hello.py" │
│ content: "print(\"Hello World\")" │
╰─────────────────────────────────────────────────╯
╭─ Result ────────────────────────────────────────╮
│ ✓ Wrote 20 bytes to hello.py │
╰─────────────────────────────────────────────────╯
╭─ Answer ────────────────────────────────────────╮
│ I've created hello.py. Run it with
Related Skills
Territory
The Territory Game for Team Competitions with Players generated by Coding Agents
/install-skill - Install Generated Skills Or Agents
Step-by-step guide to install your generated skills and agents to the correct locations. ---
/validate-output - Validate Generated Skills, Prompts, Agents, Or Hooks
Check that your generated output is properly formatted and ready to use. ---
Review Changes
Use when asked to review changes in this repository. Focus on bugs, regressions, API contract drift, retrieval
Lathe
Agentic-friendly CLI generator for APIs: turn Swagger, OpenAPI, and google.api.http protos into single-binary
Claude Code Info
Leaked Claude Code source tree, documented: every file under claude/src with generated summaries, exports, dep
Related Agents
Media Producer
Produces short-attention media - feature demo videos, social cuts, screenshots, generated images - built as co
AI Code Security Auditor
Security reviewer for AI-generated and vibe-coded apps — hunts the hardcoded secrets, broken row-level securit
Security AI Generated Code Auditor
Security reviewer for AI-generated and vibe-coded apps — hunts the hardcoded secrets, broken row-level securit