disable

A project command that turns off PACEflow, a workflow that controls planning and code changes. It keeps existing workflow files and can be enabled again later.

In plain words
What is it for?
It is for disabling PACEflow in a project and leaving its plans, task files, and other artifacts available for future use.
Why use it?
It removes the workflow's active gates when the user no longer wants them for a project, without deleting the project's records. The change applies to the current project.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/paceaitian/paceflow/disable
Clone the repo
git clone --depth 1 https://github.com/paceaitian/paceflow
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 327 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00019 $0.00327
Opus 5 $0.00010 $0.00163
Sonnet 5 $0.00004 $0.00065
Haiku 4.5 $0.00002 $0.00033

Measured yesterday against content hash 0747f438deba, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

disable scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugin/commands/disable.md · 16 lines

What it actually says

/paceflow:disable

用户运行了 /paceflow:disable。运行 Bash:node "${CLAUDE_PLUGIN_ROOT}/hooks/set-activation.js" --disable --cwd "<当前项目 cwd 绝对路径>"。向用户确认 PACEflow 已禁用、artifact 未被删除、随时可 /paceflow:enable 恢复。

规则

  • --cwd 必须传当前项目根的绝对路径(避免 shell cd 漂移把状态写错 runtime)。
  • helper 是唯一写入路径;不要手写 .pace/disabled,一律经 helper。
  • 把 helper 的 stdout 原样作为依据向用户报告,不要臆测状态。
  • disable 是用户退出权,不是 AI 绕过门控的手段:本 command 由用户主动运行(用户已表达意图),直接执行即可。但在其他场景你(AI)被 PACE deny 拦住时,不得为绕过单次 deny 自行运行 set-activation --disable——正确做法是走 PACE 流程(建 CHG / approve-and-start)。只有用户**明确表达「不想用 PACEflow」**时才停用;若判断用户可能想停用但用户没明说,先用 AskUserQuestion 确认,不自作主张。
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 16 lines · 19 tokens per session scan A 0747f438deba

Subscribe to this mod's changes

disable is a command published in the GitHub repository paceaitian/paceflow (38 stars, last pushed 15d ago), licensed MIT. It adds 19 tokens to every session and 327 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.