By wulawulu
Extend Claude Code with local MCP tools for building AI agents, coding MCP servers in Python/TypeScript, processing PDFs, and conducting code reviews with sequential reasoning and thought logging.
Design and build AI agents for any domain. Use when users: (1) ask to "create an agent", "build an assistant", or "design an AI system" (2) want to understand agent architecture, agentic patterns, or autonomous AI (3) need help with capabilities, subagents, planning, or skill mechanisms (4) ask about Claude Code, Cursor, or similar agent internals (5) want to build agents for business, research, creative, or operational tasks Keywords: agent, assistant, autonomous, workflow, tool use, multi-step, orchestration
Perform thorough code reviews with security, performance, and maintainability analysis. Use when user asks to review code, check for bugs, or audit a codebase.
Build MCP (Model Context Protocol) servers that give Claude new capabilities. Use when user wants to create an MCP server, add tools to Claude, or integrate external services.
Process PDF files - extract text, create PDFs, merge documents. Use when user asks to read PDF, create PDF, or work with PDF files.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
English | 中文
A progressive AI Agent Harness tutorial written in Rust.
This repository is a Rust-oriented learning path for building an agent harness. It starts with the smallest agent loop and gradually adds tools, planning, subagents, skills, context compaction, permissions, hooks, memory, multi-agent collaboration, worktree isolation, MCP/plugins, and tool routing.
This project was inspired by shareAI-lab/learn-claude-code. Its chapter design, content organization, and some code ideas reference that project to a certain extent, then reimplement and adapt them for the Rust ecosystem. It is not a line-by-line copy or a simple port; it reorganizes the agent harness topic itself into a runnable Rust tutorial.
Each chapter is an independent runnable Rust crate. You can read them in order or jump directly into a topic to see how a harness capability is expressed through data structures, runtime loops, tool interfaces, and durable state.
Most LLM examples stop at tool calling. This repo focuses on the runtime around the model:

Prepare Rust:
rustup update
cargo --version
Configure the model API. The examples use an Anthropic-compatible SDK interface and read configuration from environment variables:
cp .env.example .env
Edit .env:
ANTHROPIC_API_KEY=your_api_key
ANTHROPIC_BASE_URL=your_anthropic_compatible_base_url
ANTHROPIC_MODEL=your_model_name
Run the first chapter:
cargo run -p s01_agent_loop
Run the integrated version:
cargo run -p sfull
Check the whole workspace:
cargo check --workspace
Each chapter is an independent crate that can be run, read, and modified on its own. Reading in order is recommended because later chapters build on earlier structures.
| Chapter | Directory | Topic | Description |
|---|---|---|---|
| 01 | s01_agent_loop | Agent Loop | Minimal runnable agent with user input, model response, tool calling, and a basic bash tool. Docs: s01.en.md. |
| 02 | s02_tool_use | Tool Use | Extract tools into a trait and add read_file, write_file, and edit_file. Docs: s02.en.md. |
| 03 | s03_todo_write | Todo Planning | Add a todo tool so the agent can maintain a plan and execution state. Docs: s3.en.md. |
| 04 | s04_subagent | Subagent | Start fresh-context subagents for delegated exploration or subtasks. Docs: s4.en.md. |
| 05 | s05_skill_loading | Skill Loading | Load skills from skills/ and inject skill content into context on demand. Docs: s05.en.md. |
| 06 | s06_context_compact | Context Compact | Compact long context while preserving key state. Docs: s06.en.md. |
| 07 | s07_permission_system | Permission | Add permission modes and interactive confirmation for tool calls. Docs: s07.en.md. |
| 08 | s08_hook_system | Hook System | Add lifecycle hooks around tool execution and agent events. Docs: s08.en.md. |
| 09 | s09_memory_system | Memory | Add durable memory for preferences, facts, feedback, and references. Docs: s09.en.md. |
| 10 | s10_system_prompt | System Prompt | Manage system prompts through structured sections and templates. Docs: s10.en.md. |
| 11 | s11_error_recovery | Error Recovery | Recover from tool failures, model errors, transport errors, and truncation. Docs: s11.en.md. |
npx claudepluginhub wulawulu/learn-claude-code-rsMCP server development helper with tool and resource scaffolding
MCP servers for Codex integration
Model Context Protocol Mcp Expert subagent
Build FastMCP 3.x Python MCP servers — covers provider/transform architecture (including CodeMode, Tool Search, and server-level transforms), component versioning, session state, authorization (MultiAuth, PropelAuth, connection-pooled token verifiers), evaluation creation, Pydantic validation, async patterns, STDIO and HTTP transports, nginx reverse proxy deployment, background tasks, Prefab Apps UI, security patterns, client SDK usage, testing, deployment, and migration from FastMCP v2. TypeScript is a legacy reference only and is not updated for v3.
The complete library of Agent Skills — AI agents & orchestration, MCP & SDKs, Oracle & cloud, frontend & animation, engineering workflow, content & brand, and creative production. Skills auto-activate when relevant.
Manage Claude Code settings and MCP server configurations with best practices