All Claude Code modschami1221-eng/my-ai-workbench
layer0-compose
Moves the top-priority rule list (Layer 0) from per-turn UserPromptSubmit injection into the system prompt, where prompt caching applies. The injected copy is removed only when the system prompt really carries the same text.
layer0-compose reaches L1 (reads) and passed claude plugin validate with warnings.
- Events hooked: 4
- API methods referenced: 7
- Access from classified calls: L1, reads: reads files, reads env vars
- Static scan, not a runtime test
To install it, open the repository and follow the author’s setup instructions. Mods need Claude Code 2.1.287 or later.
Access
L1 Readsreads files, reads env varsValidation
Passed with warningsView the source on GitHub Back to the list
What the scan recorded
- Observed events
- classic hooks
- Hooks
session.start, prompt.compose, classic.UserPromptSubmit, command.run {command=layer0-compose}- API calls
$.clock.now, $.command.register, $.env.get, $.fs.read, $.session.cwd, $.session.usage, $.state.set- Validation
- Passed with warnings
- Scanned revision
797f047b5b3d
These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. What a mod can access and how the scan works.
More from chami1221-eng/my-ai-workbench
- bash-rewriteRewrites Bash commands that a PreToolUse guard would deny (heredoc or python -c containing backslashes, cd fo…
- hook-daemonAnswers heavy Python command hooks (PreToolUse / PostToolUse / Stop / UserPromptSubmit) from one resident pro…
- prompt-bandShows up to three hints above the prompt: tools that have been running for a while (elapsed time), what a one…
- secret-maskRedacts tokens, API keys and passwords from every row that enters the conversation (tool results, hook contex…
- send-gateBefore an outbound message is drafted, scheduled or sent (email draft script, chat post, chat MCP tools), che…
- shot-peekWhen Claude reads an image from the Screenshots folder, shows its file name and capture time above the prompt…
Badge for your README
Authors can show the latest scan result in their README. Each badge links to this page.
[](https://mods.aidojo.si/mods/chami1221-eng--my-ai-workbench--layer0-compose/)
[](https://mods.aidojo.si/mods/chami1221-eng--my-ai-workbench--layer0-compose/)