Build AI agents using the same architecture patterns as Claude Code. Skill + 6 examples + runnable Python code. No framework.
Build AI agents with the same architecture patterns used by Claude Code — without a framework and without reverse-engineering it yourself.
This repo gives you the production checklist, 6 worked examples, and a runnable Python agent you can clone and adapt to your domain in 30 minutes.
When you ask an AI coding agent to "build me an agent," you get a script that calls an API once and prints the answer. That is not an agent. It is a wrapper.
Production agents like Claude Code use a fundamentally different architecture: a controller loop, tool contracts with schemas, runtime permission enforcement, session state with compaction, hook pipelines for safety, observability, and evaluation.
You should not have to study a production codebase to learn these patterns. This skill packages them so your coding agent produces production-grade designs automatically.
| Without this skill | With this skill installed |
|---|---|
| One-shot script | Loop-based controller that iterates until the task is done |
| No tool boundaries | Explicit tool contracts with schemas, permissions, and timeouts |
| No safety | Runtime permission enforcement (auto-allow / ask-first / deny) — the same tiered model used by Claude Code |
| No approval flow | Human-in-the-loop approval before high-risk actions |
| No memory | Structured session state with persistence and compaction |
| No logging | Structured JSON observability for every tool call and turn |
| No evaluation | Quality rubrics, safety metrics, and testing cadence |
| No failure handling | Classified failures with bounded retries and graceful degradation |
| "Ship it" | Rollout phases from prototype to production |
Requires Python 3.10+ and an Anthropic API key.
git clone https://github.com/xuanhieu2611/build-your-own-agents-skill.git
cd build-your-own-agents-s
Mine your Claude Code and Codex logs into a local you.md agent profile.
Local-first AI coding agent for VS Code & Cursor. Ollama, LM Studio & your inference fleet. Cursor-grade agent UX — offline, private, zero token cost.
A self-improving skill for AI coding agents (Claude Code, Cursor, AGENTS.md): recognize a hard-won golden path in a session and harvest it into a reusable skill/rule for next time.
Second brain for Forward Deployed Engineers. Engagement memory + 35 skills across 6 domains, all behind one @fde... Works with any AI coding agent.
Game-development Agent Skills for AI coding agents: install once and a master router loads the right skill for your engine and task. 66 original, version-pinned skills (plus a master router) in the portable SKILL.md format that runs across Claude Code, Cursor, Codex, Copilot, Gemini CLI and more, for Godot, Unity, Unreal, web and beyond.
Honey (I Shrunk the AI) by GreenPT: a cross-tool coding skill that cuts AI coding-agent token usage and LLM API costs — write less code, less prose, and denser agent-to-agent handoffs (−53%, lossless in benchmarks) with no loss of quality. Works with Claude Code, Cursor, GitHub Copilot, Codex, Gemini CLI, Windsurf, Cline & Kiro.
Workflows from the Neura Market marketplace related to this Cursor resource