Claude Code Workflow Visual: Memory Hierarchy, Skills, Hooks, and Loop

A Reddit user shared a workflow visual that maps out how Claude Code's components fit together: CLAUDE.md, memory hierarchy, skills, hooks, project structure, and the workflow loop.
Memory Layering
The visual clarifies context loading order:
~/.claude/CLAUDE.md→ global memory/CLAUDE.md→ repo context./subfolder/CLAUDE.md→ scoped context
Subfolders append context, not replace it. This explains why sessions can feel overloaded when those files grow large.
Skills
Instead of repeating prompts, define reusable patterns in .claude/skills/. Examples:
.claude/skills/testing/SKILL.md .claude/skills/code-review/SKILL.md
Claude auto-invokes skills when the description matches.
Workflow Loop
The recommended loop:
cd project && claude Plan mode Describe feature Auto accept /compact commit frequently
No single element is groundbreaking, but seeing it all together helps organize Claude Code usage.
The ecosystem is still evolving, and workflows remain personal.
📖 Read the full source: r/ClaudeAI
👀 See Also

Trellis 2 Successfully Running on ROCm 7.11 with AMD RX 9070 XT
A developer got Trellis 2 working on Linux Mint 22.3 with an AMD RX 9070 XT using ROCm 7.11, fixing two key issues: ROCm instability with high N tensors and a broken hipMemcpy2D in CuMesh.

Practical setup and configuration guide for OpenClaw self-hosted AI agent
OpenClaw is a self-hosted AI agent that integrates with messaging apps and maintains persistent memory through a file-based system. Key setup recommendations include starting with the terminal interface, connecting only one messaging channel initially, and properly configuring the SOUL.md file for personality and security rules.

Fix for sub-agents not showing up in OpenClaw v2026.3.13
A workaround for OpenClaw v2026.3.13 where custom sub-agents don't appear in the agent list: simplify the openclaw.json agent list to only include IDs and manually register agents in runs.json with status set to 'idle'.

Using AI to Write Better Code More Slowly: A Bug-Finding Workflow
Nolan Lawson describes a workflow using multiple AI agents (Claude, Codex, Cursor Bugbot) to find and prioritize bugs in PRs, improving code quality over raw velocity.