Claude Code folder structure cheat sheet from Reddit user

✍️ OpenClawRadar📅 Published: April 5, 2026🔗 Source
Claude Code folder structure cheat sheet from Reddit user
Ad

A Reddit user shared a cheat sheet for Claude Code's folder structure after repeatedly getting tripped up by documentation that required jumping between multiple pages. The cheat sheet covers practical implementation details that caused real time-wasting issues.

Key folder structure details

  • Skills belong in .claude/skills/, not a top-level skills/ folder
  • Each skill needs its own directory with an SKILL.md file inside it
  • Subagents live in .claude/agents/, not a standalone agents/ folder at the root

Hook configuration specifics

  • For PostToolUse hooks, the matcher needs to be "Edit|MultiEdit|Write" — using just "Write" misses edits
  • SessionStart and SessionEnd are real hook events (contrary to some community discussions)
Ad

Installation and documentation notes

  • npm install is no longer the recommended install path
  • The native installer is: curl -fsSL https://claude.ai/install.sh | bash
  • Documentation updates happen quietly, so the cheat sheet may contain inaccuracies as docs evolve

The cheat sheet is currently available as an image, though the creator mentioned potentially converting it to a proper Markdown file if there's sufficient interest. The image format was chosen for faster initial creation.

📖 Read the full source: r/ClaudeAI

Ad

👀 See Also

OpenClaw v2.0 update requires manual checks before installation
Guides

OpenClaw v2.0 update requires manual checks before installation

OpenClaw's latest update includes 12 breaking changes, a new plugin system, and 30+ security patches. The update will silently break setups if users run npm update without first checking environment variables, state directories, and browser automation configurations.

OpenClawRadar
Practical Framework for Choosing Between Claude's Haiku, Sonnet, and Opus Models
Guides

Practical Framework for Choosing Between Claude's Haiku, Sonnet, and Opus Models

A developer tested Claude's three models on a 400-line Express.js refactoring task and found the key difference is reasoning depth, not intelligence. Haiku 4.5 handled straightforward parts but missed middleware ordering, Sonnet 4.6 caught the ordering issue and added TypeScript types, while Opus 4.6 identified a security flaw in auth middleware.

OpenClawRadar
OpenClaw Memory Plugin Testing Results and Recommended Stack
Guides

OpenClaw Memory Plugin Testing Results and Recommended Stack

A Reddit user tested every OpenClaw memory plugin and found the default markdown setup causes token bloat and instruction compression. The recommended setup combines Obsidian for human-readable notes, QMD for token-free searching, and SQLite for structured data.

OpenClawRadar
OpenClaw Memory Journey: Built-in Search vs MemPalace for Real-Time Session Recall
Guides

OpenClaw Memory Journey: Built-in Search vs MemPalace for Real-Time Session Recall

A developer benchmarks built-in memorySearch, QMD, and MemPalace on Intel Mac. Real-time session indexing hits snags; settles on split recall strategy with cron'd reindex.

OpenClawRadar