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

Stop Asking Which AI Model to Use: Route Tasks to Haiku, Sonnet, and Opus Tiers
Use at least three models by task type: Haiku-tier for reading/summarizing, Sonnet-tier for writing code, and Opus-tier only for multi-file refactors and debugging. One user's setup routes 40% to cheap models, 35% to mid, 25% to frontier, costing ~$30-40/month.

Debugging OpenClaw + Ollama Local Model Timeouts: Five Fixes for Silent Failures
A developer identified five root causes for OpenClaw agents silently timing out with local Ollama models like Gemma 4 26B, including a blocking slug generator, a 38K character system prompt, and hidden timeouts. The fixes involve disabling hooks, modifying configs, and adjusting Ollama settings.

OpenClaw installation hurdles on Windows 11 for non-developers
A recreational tinkerer details three specific obstacles when installing OpenClaw on a $200 Mini PC running Windows 11, including PowerShell execution policies, Windows Defender blocks, and missing dependencies like Node.js and Git.

Opus 4.7 Broke 40% of Prompts; Fix Was Structuring CLAUDE.md and Skills
After Opus 4.7 degraded ~40% of prompts across 6 setups, a fractional head of AI fixed it by replacing ad-hoc prompts with structured Skill files, hierarchical CLAUDE.md, and separate memory files — reducing token usage 22% and iteration turns from 3-4 to 1-2.