Claude Code Patterns banner
AaronRoeF AaronRoeF

Claude Code Patterns

AI community

Description

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.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

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