evolve
CommandEvolve skill files by integrating validated lessons from real usage
Sandboxed pre-install scan plus cooldown bypass for urgent npm/bun installs. Use when a package must ship despite the cooldown.
> /plugin marketplace add jamditis/claude-skills-journalism
description: Sandboxed pre-install scan plus cooldown bypass for urgent npm/bun installs. Use when a package must ship despite the cooldown.
`/security-toolkit:hotpatch <pkg>[@<version>] [--manager npm|bun]`
This command runs the supply-chain pre-install scan defined in the `supply-chain-hardening` skill, then performs an `--ignore-scripts` install with the cooldown bypassed if the scan is clean.
The command is the gate. The trigger phrase "hotpatch" should not bypass the cooldown without the scan; if no scan tooling is available on the machine, perform the equivalent checks in-conversation before installing.
1. **Look for a local scan script.** Check `~/.claude/hotpatch.sh` (officejawn convention), `./hotpatch.sh`, `./scripts/hotpatch.sh`, and any path stored in `$HOTPATCH_SCRIPT`. If found:
<script> <pkg>[@<version>] [--manager npm|bun]
Pass through `--yes` only if the user has explicitly authorized non-interactive execution. Pass through `--force` only if the user has reviewed red flags from a prior run and approved.
2. **If no local script exists**, perform the scan in-conversation using the supply-chain-hardening skill's heuristics. Briefly:
3. **If any RED flags fire**, do NOT install. Surface the flags, recommend either picking a different version, waiting out the cooldown, or, if the user has confirmed they understand the risk, passing `--force` on a re-run. Do not auto-`--force` without explicit user confirmation.
4. **If clean (or user approved despite flags)**, install with the cooldown bypassed AND scripts disabled:
# npm path npm install <pkg>@<version> --min-release-age=0 --ignore-scripts # bun path bun add <pkg>@<version> --minimum-release-age=0 --ignore-scripts
5. **Report what was skipped.** Tell the user the postinstall script was not executed. If the package legitimately needs postinstall (native module compilation, binary download), surface the script contents and let the user choose to run it manually after review.
If `--manager` is not given, autodetect from cwd:
For threat model and the design rationale behind each check, read `supply-chain-hardening` (SKILL.md). For the reference Bash implementation that powers the officejawn workflow, see `scripts/hotpatch.example.sh` in this plugin.
A collection of Agent Skills for journalists, researchers, academics, media professionals, and communications practitioners. The same repository serves Claude Code and Codex while keeping Claude-only commands, agents, and hooks clearly labeled.
Evolve skill files by integrating validated lessons from real usage
Initialize .autocontext/ in the current project for knowledge persistence
Initialize the current project with Scientific Writer - a deep research and writing tool that combines AI-driven research with…