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 when working on production systems or running autonomous agents. Provides careful mode, freeze mode, and guard mode to block risky commands and restrict file edits.
Enforces honesty and safety guardrails for all file modifications, command execution, and result reporting. Automatically activated for any working task.
Enforces the Four Laws of Agent Safety on all operations, halting when uncertain. Ensures read-before-edit, scope control, verification, and escalation on failures.