Blog
Systems, patterns, and lessons from building with Claude Code.

Connect Claude.ai, Cowork & Claude Code with Shared Memory
Stop losing context between Claude.ai, Cowork, and Claude Code. One free system prompt and Kairn MCP give all three Claude Code surfaces shared memory.

59 Experiments on Claude Code Agent Behavior
I tested 6 psychological personality profiles across 59 Claude Code agent runs. One paragraph changes agent behavior by 300% on ambiguous tasks.

Claude Code Adaptive Research: Autonomous Loops That Learn
Claude Code adaptive research automates the entire loop. One command, quality-gated reports, personalized to your projects. Gets smarter every run.

Claude Code System Design: 5 Breakthroughs from Biology, Not CS
How slime mold routing, PageRank, and quantum physics built a better Claude Code system architecture than 18 months of AI papers ever could.

Claude Code tmux Orchestration: Parallel AI Sessions
Claude Code sub-agents hit turn limits fast. tmux orchestration spawns full sessions with hooks, MCP, and 1M context. Here's how to build it.

Claude Code Persistent Memory with Evolving Lite
Give Claude Code persistent memory that learns automatically. Evolving Lite + Kairn replace manual session logging with a self-evolving knowledge graph.

CLAUDE.md Rules: Split Instructions Across Files
Claude Code's .claude/rules/ directory lets you modularize CLAUDE.md instructions. Here's how I cut context bloat by 73% using a 2-tier rules system.

Why Your Claude Code Agents Agree With Each Other
Multi-agent Claude Code analysis converges on shared blind spots. Structural divergence with 7 cognitive lenses fixes it. Open source.

Claude Code Team Guardrails That Stop AI Chaos
5 devs prompting Claude Code differently means 5 different outputs. Shared configs, rules, and hooks enforce consistency across your team.

Claude Code Planning Framework: UPF + DSV Reasoning in One System
How I use a 4-stage Claude Code planning framework built on DSV reasoning to catch wrong questions before they become expensive wrong answers.

Claude Code Session Memory: Build Systems, Not Sessions
Most Claude Code memory plugins solve storage. This free plugin adds a complete session management system - memory, handoffs, learnings - in 60 seconds.
![Claude Code Prompt Caching: The One Rule Behind It [2026]](/_next/image?url=%2Fblog%2Fprompt-caching-hero.webp&w=3840&q=75)
Claude Code Prompt Caching: The One Rule Behind It [2026]
Prompt caching drives every Claude Code design decision. Here's how prefix matching works and how to stop accidentally breaking your cache.

Claude Code Session Management: Why I Stopped Restarting
I tested Claude Code's prompt cache with a marker injection. Here's what breaks it, what's safe, and a loop strategy that keeps your cache warm.
![Claude Code MCP: From One Server to a Full Tool System [2026]](/_next/image?url=%2Fblog%2Fclaude-code-mcp-hero.webp&w=3840&q=75)
Claude Code MCP: From One Server to a Full Tool System [2026]
Claude Code MCP goes beyond single-server setups. Here's how to organize multiple servers, manage context overhead, and build a tool system that scales.
![Claude Code vs Cursor: Which AI Coding Tool Fits You? [2026]](/_next/image?url=%2Fblog%2Fclaude-code-vs-cursor-hero.webp&w=3840&q=75)
Claude Code vs Cursor: Which AI Coding Tool Fits You? [2026]
Claude Code vs Cursor in 2026 - both have agents now. Here's what actually differs and how to choose based on how you work.

Why Skill Graphs Beat Flat Files in Claude Code
Flat files break at scale. Build a Claude Code knowledge graph that lets agents navigate 400+ components with progressive disclosure.

How Claude Code Learns From Every Correction I Make
I built a hook that detects when I correct Claude Code and generates persistent behavioral rules. Corrections become permanent improvements automatically.

Auto-Delegation in Claude Code: Score-Based Task Routing
A scoring formula that automatically routes Claude Code tasks to sub-agents and selects the right model. Zero manual routing decisions needed.

Trait-Based Agent Composition in Claude Code
How I replaced 56 hardcoded Claude Code agent files with a 3-dimension trait system. 10 expertise x 8 personality x 6 approach = 480 agents on demand.

How I Plan Complex Projects With Claude Code (Open-Source)
After 117 failed plans I built a 3-stage planning framework for Claude Code. It catches the gaps that only surface during execution. Now it is open-source.
![Claude Code Hooks: Automate Your Workflow [2026]](/_next/image?url=%2Fblog%2Fhooks-automation-hero.webp&w=3840&q=75)
Claude Code Hooks: Automate Your Workflow [2026]
Claude Code hooks run shell commands on 25 event types. Here's how to configure them, what each hook type does, and 5 production hooks with working code.

5 Real CLAUDE.md Files You Can Copy Today (With Templates)
Stop staring at a blank CLAUDE.md. Here are 5 production-ready Claude Code templates for different project types - minimal, agent-heavy, and monorepo.
![Claude Code Context Window: Stop Wasting Tokens [2026]](/_next/image?url=%2Fblog%2Fcontext-management-hero.webp&w=3840&q=75)
Claude Code Context Window: Stop Wasting Tokens [2026]
Claude Code loads context before you type. Here's what fills the window, what survives compaction, and how to keep sessions sharp.

From 1 to 81 Agents: Building a Sub-Agent System in Claude Code
How I built a multi-agent delegation system with 81 specialized agents in Claude Code. The full architecture, trade-offs, and lessons learned at scale.
![Claude Code Persistent Memory: Setup Guide [2026]](/_next/image?url=%2Fblog%2Fmemory-system-hero.webp&w=3840&q=75)
Claude Code Persistent Memory: Setup Guide [2026]
Claude Code has built-in memory now. Here's how to set it up, what it misses, and how to build a full persistent memory system on top.

Self-Correcting Claude Code Workflows with PreToolUse Hooks
Build self-correcting Claude Code workflows using PreToolUse hooks that detect context drift and inject relevant context mid-session automatically.