pause

A session command that temporarily pauses PACEflow, a workflow that controls project changes. The pause ends automatically when the current session ends.

In plain words
What is it for?
It is for pausing PACEflow's stop-and-write gates during a session while keeping artifact-writing rules active.
Why use it?
It lets a user stop the workflow gate for the current session without removing protections for required project artifacts. The normal workflow can be resumed later.

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/pause
Clone the repo
git clone --depth 1 https://github.com/paceaitian/paceflow
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 436 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.00027 $0.00436
Opus 5 $0.00014 $0.00218
Sonnet 5 $0.00005 $0.00087
Haiku 4.5 $0.00003 $0.00044

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

Security

Grade A, and why

pause 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/pause.md · 17 lines

What it actually says

/paceflow:pause

用户运行了 /paceflow:pause。运行 Bash:node "${CLAUDE_PLUGIN_ROOT}/hooks/set-activation.js" --pause --cwd "<当前项目 cwd 绝对路径>"。向用户确认:PACEflow 流程门(Stop / 写码门)已在本 session 暂停,本 session 结束自动失效,随时可 /paceflow:resume 恢复。

规则

  • --cwd 必须传当前项目根的绝对路径(避免 shell cd 漂移把标志写错 runtime)。
  • helper 是唯一写入路径;不要手写 .pace/paused-* 标志,一律经 helper。
  • 把 helper 的 stdout 原样作为依据向用户报告,不要臆测状态。
  • pause 只免流程门,不免 artifact 完整性门:暂停期间 artifact(task.md / changes/** 等)仍必须经 artifact-writer 写入,主 session 直接 Edit artifact 照常被拦。
  • pause 是用户的 session 级退出权,不是 AI 绕过门控的手段(对称 disable 的退出权约束,且更严):本 command 由用户主动运行(用户已表达意图),直接执行即可。但在其他场景你(AI)被 PACE deny 拦住时,不得为绕过单次 deny 自行运行 set-activation --pause——正确做法是走 PACE 流程(建 CHG / approve-and-start / 经用户确认接手)。只有用户**明确表达「本 session 不想要 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 · 17 lines · 27 tokens per session scan A c2469528957c

Subscribe to this mod's changes

pause is a command published in the GitHub repository paceaitian/paceflow (38 stars, last pushed 14d ago), licensed MIT. It adds 27 tokens to every session and 436 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.