work-folder
by CJ · ★ 0 · updated yesterday
Denies a new agent working file (plan, evidence, prototype, scratch, report, probe test) outside .claude/work/, which is gitignored, with a per-repo allow list
Install
/plugin marketplace add cpeaustriajc/cj-stack/plugin install work-folder@cj-stackThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
tool.call- API calls
$.fs.exists$.fs.read- Can see
Write callsNotebookEdit calls- Reach
- level 1 of 3 reads files
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/cpeaustriajc/cj-stack
- Path in repo
mods/work-folder- Source commit
622b77dthe exact code the scan read- Author
- CJ @cpeaustriajc
- License
- No license declared — ask the author before reusing code.
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.
More from cpeaustriajc/cj-stack
denial-explainer
cpeaustriajc/cj-stack
Says which rule blocked an action in auto mode and the allow rule that would cover it
hone-nudge
cpeaustriajc/cj-stack
Suggests /hone when you corrected Claude during a cj-stack skill run
kill-guard
cpeaustriajc/cj-stack
Denies a Bash command that stops processes by name or by port, because it can also stop another checkout's dev server; a kill of a named PID passes
linear-gate
cpeaustriajc/cj-stack
Holds every Linear write until you allow it.
loop-brake
cpeaustriajc/cj-stack
Ends a turn after N forced Stop-hook continuations so a looping goal hook cannot burn your usage
memory-lint
cpeaustriajc/cj-stack
Denies an auto-memory write that holds task state, one-off references or repo detail, so memory keeps only what is worth relearning
session-modes
cpeaustriajc/cj-stack
/mode readonly, research and edit: a working mode enforced for the whole session
usage-pace
cpeaustriajc/cj-stack
Weekly usage in the status line, and whether it lasts until the reset