Claude Code Patterns — AI skill for Claude Code
Field-tested Claude Code patterns & anti-patterns for personal agents — an AI workflow that compounds: knowledge base, memory consolidation, hooks, subagents.
How to install Claude Code Patterns
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open AaronRoeF/claude-code-patterns and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Code Patterns does
Field-tested Claude Code patterns & anti-patterns for personal agents — an AI workflow that compounds: knowledge base, memory consolidation, hooks, subagents. Enterprise agent trust: agentrust-io.com. Updated monthly.
Alternatives in AI
- RAG Skill — A Skill dedicated to local knowledge base retrieval 712 ★
- Karpathy LLM Wiki — Agent Skills-compatible LLM wiki for Claude Code, Cursor, and Codex 618 ★
- Devo — Model-neutral agent desktop/runtime for private, enterprise, and OpenAI-compatible / Anthropic-compatible mode 316 ★
README
Claude Code Pattern Library
**Clone this repo. Point Claude at it. Tell it to build you a plan.**
That's the whole idea. This is a field-tested collection of patterns, architecture decisions, and operational techniques for turning Claude Code into something that compounds — where every session makes the next one smarter. Every technique is production-tested, and the whole thing is organized so both humans and AI agents can consume it.
I built the system this grew out of to run my company. Meeting prep that pulls calendar, email, CRM, and LinkedIn data in 30 seconds. Skills that ghostwrite in my voice. A knowledge base that gets richer every session without me maintaining it. Hooks that enforce discipline I'd otherwise forget. The patterns here are the genericized versions — stripped of anything company-specific, structured so you can replicate them.
**Scope: personal agents.** Everything here is for the agent you run for yourself — your files, your notes, your inbox, your calendar — not the agents your company ships to customers. Enterprise agent trust is a different problem with different machinery: policy enforcement on data flows and verifiable evidence, not a human approver. That work lives at [AgenTrust-io.com](https://agentrust-io.com), an open source community I'm heavily involved with.
**For AI agents:** This repo is designed to be consumed programmatically. Each part is self-contained with clear headings, structured examples, and implementation details. Point your agent at any part file and it has enough context to build an implementation plan.
Get Started in 60 Seconds
git clone https://github.com/AaronRoeF/claude-code-patterns.git
cd claude-code-patterns
Then open Claude Code and say:
"Read PART3-BUILD-A-KNOWLEDGE-BASE.md and build me a plan for setting this up with my stack."
Claude reads the patterns, asks what you're working with, and produces a step-by-step implementation plan. That's it.
**Already have a setup?** Poin
Related Skills
Empire AI Best Practices
Field-tested runbook + Claude Code skill for the Empire AI Alpha cluster: SSH/TOTP auth pattern for agents, Sl
Memoriki
Memoriki - LLM Wiki + MemPalace. Personal knowledge base with real memory.
Andrej Karpathy LLM Wiki
A minimal CLAUDE.md template that turns any LLM CLI into a personal knowledge base. Drop in one file, start in
MeMex Zero RAG
The Karpathy LLM Wiki, production-ready. Zero-RAG personal knowledge base with MCP server, multi-agent support
Chubbyskills
把中文全渠道内容(抖音 / B站 / 小红书 / 公众号 / X / 播客)采集进个人知识库的 13 个 AI Skill:图文存图、视频转文字稿、字幕优先免 GPU,附带知识库 MCP server。 | Ingest
Flyarchive
FlyArchive — self-hosted personal document archive and knowledge base with hybrid semantic + full-text search.
Related Agents
Thinking Partner
Intellectual conversationalist who embodies the knowledge base as personal memory. Engages as an equal thinkin
Recorder
The review seat over consolidation — the pipeline's keystone, the one error class that COMPOUNDS. The engine's
Hermes Agent
Integration file for a Hermes-style personal agent system. Use when a Hermes deployment (a self-hosted assista