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

Using Claude to analyze writing patterns for better custom instructions
A Reddit user describes a method for creating more effective custom instructions by having Claude analyze 10 writing samples to identify concrete patterns like punctuation avoidance and analogy sources, rather than relying on subjective tone descriptions.

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.

Cron Jobs vs Heartbeat: Optimizing OpenClaw Token Usage and Execution Consistency
A senior developer shares practical tips on using Cron jobs instead of Heartbeat to reduce token usage and improve execution consistency in OpenClaw, with concrete examples and a shell script method.

Setting Up Qwen3.5-27B Locally: vLLM vs llama.cpp Comparison
A Reddit user shares practical tips for running Qwen3.5-27B locally, comparing llama.cpp and vLLM backends with specific configuration recommendations and benchmark results.