Claude Code internals explorer
/plugin marketplace add jongwony/cc-plugin/plugin install claude-code-internals@cc-pluginThis skill inherits all available tools. When active, it can use any tool Claude has access to.
references/known-features.mdreferences/search-patterns.mdscripts/find_installation.shAnalyze Claude Code's minified source to understand internal behavior and discover features.
UnB, cT0)Task tool (subagent_type: Explore)
Prompt: "Run ~/.claude/skills/claude-code-internals/scripts/find_installation.sh,
then search for [keyword] in cli.js. Report file paths and matching lines."
Analyze findings in main context (subagent returns summary)
Iterate with follow-up delegation if deeper investigation needed
Principle: Initial exploration consumes tokens in subagent context, preserving main context for analysis.
Call Task tool with:
subagent_type: Exploreprompt: Specify search target and expected output formatExample delegation:
Find Claude Code installation path using ~/.claude/skills/claude-code-internals/scripts/find_installation.sh.
Then search for patterns related to [feature] in cli.js.
Return: installation path, version, matching lines with context.
The subagent will:
Main agent then performs interpretation and decision-making.
Run scripts/find_installation.sh to find:
cli.js path (minified JavaScript source, ~9.9MB)Typical path: ~/.npm/_npx/*/node_modules/@anthropic-ai/claude-code/cli.js
| Goal | Approach |
|---|---|
| Specific feature | Search for known keywords |
| New version changes | Compare with known-features.md, check release notes |
| Hidden settings | Search for setting patterns |
| Beta features | Search for beta headers |
For minified code, search string literals (not variable names).
Quick example:
grep -E "anthropic-beta|context-management" cli.js
See references/search-patterns.md for comprehensive patterns by category.
When you find relevant code:
grep -n "pattern" cli.jssed -n 'LINE-10,LINE+10p' cli.jsreferences/known-features.mdUpdate references/known-features.md with:
| Task | Approach |
|---|---|
| Check feature enabled | grep -n "feature_name" cli.js -> examine conditional logic |
| Find default values | See references/search-patterns.md Settings section |
| Discover new commands | See references/search-patterns.md Commands section |
| Compare release notes | Search mentioned features -> compare with references/known-features.md |
-n flag helps locate code for context readingCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
This skill should be used when the user asks to "create a hookify rule", "write a hook rule", "configure hookify", "add a hookify rule", or needs guidance on hookify rule syntax and patterns.