cancel
Safely request termination of a tracked detached process group using PID identity validation and a SIGTERM-to-SIGKILL grace period. Use only when th…
它会碰到什么
这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。
技能内容
Cancel Process Job
Resolve <plugin-root> as two directories above this SKILL.md and run:
node "<plugin-root>/scripts/job.mjs" cancel <job-id> [--force] --json
Never search memory for CPJ work; use validated CPJ state.
If ${CODEX_HOME:-$HOME/.codex}/process-jobs is not writable in the current
sandbox, request narrow controller escalation on the first call; do not probe
for a predictable EPERM.
Never cancel because a Codex task, client, or terminal is closing. Require a
specific job id; use $status <job-id> first only if identity/state is unclear.
A direct request authorizes normal cancellation of a non-critical job.
For a CRITICAL job, explain that interruption can worsen partial state and
obtain explicit approval immediately before --force. This bypasses only the
critical guard: the controller still validates PID identity, sends SIGTERM to
the process group, waits up to five seconds, and uses SIGKILL only if needed.
Never bypass an identity refusal with untracked kill without separate
authorization after inspection.
Filesystem/device repair can leave metadata partially rewritten. Prefer waiting
unless continued execution presents a greater concrete risk.
想直接用这个技能?
本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。
它属于哪个仓库
plugins/joelfarthing/codex-process-jobs/skills/cancel/SKILL.md同一个仓库里的其他技能
同名技能的其他版本
有 2 个不同仓库或目录里都有叫 cancel 的技能。它们内容并不相同,别混用:
- hashgraph-online/awesome-codex-plugins — Cancel an active tracked Claude Code job in this repository. Args: [job-id]. Use only when