No slash command · from agentic-behavior
Reference material for Claude Code internals: on-disk layout under ~/.claude and .claude, plugin cache, session-env propagation, and hook lifecycle. Auto-recalls when debugging hooks, authoring plugins, inspecting session state, or troubleshooting env var visibility in Bash tool calls.
Ships in agentic-behavior. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Reference material for how Claude Code (the CLI harness) is laid out on disk and how its hook system works. This is auto-recalled when an agent needs to reason about Claude Code internals; the body here is intentionally short so it doesn't bloat context. Read the supplementary docs in this directory for detail when the task warrants it.
| Task | Doc |
|---|---|
| "Where does Claude store sessions / projects / plugins?" | folder-structure.md |
"What's in ~/.claude/session-env/<id>/ and is it a leak?" | folder-structure.md (session-env section) |
"How is project path encoded under ~/.claude/projects/?" | folder-structure.md |
| "What hook events exist? When does X fire?" | hooks.md |
"What JSON does a PreToolUse hook receive / return?" | hooks.md |
"Difference between command, prompt, agent, http, mcp_tool hook types" | hooks.md |
| "How do SessionStart hooks propagate env to Bash calls?" | hooks.md (CLAUDE_ENV_FILE section) |
~/.claude/ (shared across projects on this machine)<repo>/.claude/ (committed to the repo, project-specific)~/.claude/plugins/cache/<marketplace>/<plugin>/<version>/settings.json under a top-level hooks key,
or bundled inside a plugin at <plugin>/hooks/hooks.json.plugin-dev:plugin-structure — authoring plugin manifests and layoutplugin-dev:hook-development — writing hooks (events, output contracts)plugin-dev:skill-development — authoring skills like this oneupdate-config — modifying settings.json / settings.local.jsonWhen this skill and the official docs disagree, the official docs win: https://code.claude.com/docs/en/hooks. File a follow-up to update this skill if you find a discrepancy.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
claude-code-internals, hooks, plugin-development, session-env
Other plugins' skills for the same job
9 skills in this plugin
/brainGit-backed memory and prompt tracking with self-checking reminders. Auto-saves prompts, syncs memory to git, and implements the Ralph loop pattern for work validation./continue-workSession recovery skill. Use on startup, after compaction, or when resuming work after any interruption. Restores crons, audits recent history to determine current state, and identifies what to work on next./correct-behaviorUse this skill when the user says you did something wrong, made a mistake, or wants to correct your behavior. Trigger phrases include "don't do that", "that's wrong", "stop doing X", "you should have done Y", "correct yourself", "fix your behavior", "remember to always/never", or any feedback about incorrect AI actions that should be prevented in the future.npx claudepluginhub nsheaps/ai-mktpl --plugin agentic-behavior