From lacp-hardening
Hardens production agent sessions with pretool guards blocking rm -rf, data exfiltration, unsafe publishes; continuous QA running tests every N file writes; git state and focus context injection. Auto-activates via hooks.
How this skill is triggered — by the user, by Claude, or both
Slash command
/lacp-hardening:session-hardeningThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This plugin provides three layers of production hardening:
This plugin provides three layers of production hardening:
Blocks dangerous operations before they execute:
rm -rf → suggests trash insteadnpm/cargo/pip publish without approvalcurl | python/node download-first patternschmod 777 → suggests specific masksgit reset --hard, git clean -fcurl --data @.envRuns your project's test command at configurable intervals during work:
Injects at every session start:
| Env Var | Default | Purpose |
|---|---|---|
LACP_EVAL_CHECKPOINT_ENABLED | 0 | Enable continuous QA |
LACP_EVAL_CHECKPOINT_INTERVAL | 10 | Test every N writes |
LACP_CONTEXT_MODE | `` | Active mode (tdd, debugging, sprint, etc.) |
npx claudepluginhub 0xnyk/lacp --plugin lacp-hardeningPrevents destructive operations on production systems and autonomous agents by intercepting dangerous commands, restricting edits to a directory, or combining both protections.
Enforces the Four Laws of Agent Safety on all operations, halting when uncertain. Ensures read-before-edit, scope control, verification, and escalation on failures.
Installs 695 safety hooks that prevent file deletion, credential leaks, git disasters, and token waste during autonomous AI coding sessions.