pace-guard

A risk-checking and tracking skill for software development work. It scans planned changes before coding, monitors risks during development, analyzes patterns across work items, and updates risk states.

In plain words
What is it for?
Running pre-development risk scans, reviewing current risks, studying risk trends across change requests, producing project risk reports, and marking risks as mitigated, accepted, or resolved.
Why use it?
It makes potential problems visible before they become expensive, while keeping unresolved risks traceable across development work. A CR is a tracked change request, and an Epic is a larger piece of work containing related requests.

Skill for Claude CodeCodex

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 skills/arch-team/devpace/pace-guard
Any agent
npx skills add arch-team/devpace --skill pace-guard
Clone the repo
git clone --depth 1 https://github.com/arch-team/devpace

Made for: Claude Code, Codex.

Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,180 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.00082 $0.01180
Opus 5 $0.00041 $0.00590
Sonnet 5 $0.00016 $0.00236
Haiku 4.5 $0.00008 $0.00118

Measured 2d ago against content hash 1547c8c6e8ef, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

pace-guard 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 2d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/security-scan.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/pace-guard/SKILL.md · 77 lines

How it starts

The opening of the file, as written. The whole thing — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/pace-guard — 风险预判与管理

统一管理开发全生命周期的风险:从编码前的 Pre-flight 扫描,到开发中的实时监控,再到跨迭代的趋势分析——让风险可见、可追踪、可解决。风险评估覆盖 Epic 级别(Epic 范围风险影响其下所有 BR/PF/CR)。

推荐使用流程

编码前预检:  scan(L/XL CR 意图检查点自动触发)
开发中监控:  monitor(pace-pulse 周期性触发)
问题解决:    resolve RISK-xxx mitigated
迭代回顾:    trends → report

子命令

子命令 用途 输入 自动触发
scan Pre-flight 风险扫描 CR 编号或当前 CR L/XL 意图检查点
monitor 实时风险汇总 当前 CR pace-pulse 第 8 信号
trends 跨 CR 趋势分析 迭代 ID(可选) pace-retro 报告
report 风险全局视图 用户显式调用
resolve 更新风险状态 RISK 编号 + 目标状态 Gate 通过后自动提议

输入

$ARGUMENTS:

  • scan [CR编号] [--full|--detail] → 对指定 CR(或当前活跃 CR)执行 Pre-flight 风险扫描。--full 强制完整 5 维扫描,--detail 展示全维度矩阵
  • monitor [CR编号] [--detail|--brief] → 汇总当前 CR 的实时风险状态。默认简要输出,--detail 展开完整表格
  • trends [迭代ID] [--detail] → 分析跨 CR 的风险趋势(默认当前迭代)。默认摘要,--detail 展示完整趋势报告
  • report [--brief|--detail] → 生成项目级风险全局视图
  • resolve <RISK编号> <目标状态> → 更新指定风险的状态(mitigated / accepted / resolved)
  • resolve --batch [严重度] → 批量处理同等级的 open 风险
  • (空)→ 等同于 scan,对当前 CR 执行风险扫描

流程

Step 1:上下文加载

  1. 检查 .devpace/ 是否存在:
    • 存在 → 读取 state.md 确定当前 CR 和项目状态,继续 Step 2
    • 不存在(降级模式) → 基于代码库直接分析(无 CR 级风险追踪,仅提供即时风险评估)
  2. 如果指定了 CR 编号 → 定位对应 CR 文件
  3. 如果未指定 → 读取 state.md 当前活跃 CR

Step 2:路由到子命令

根据 $ARGUMENTS 第一个参数路由(仅读取匹配子命令的规程文件):

参数 流程 加载文件
(空)/ scan Pre-flight 风险扫描 skills/pace-guard/guard-procedures-common.md + skills/pace-guard/guard-procedures-scan.md
monitor 实时风险汇总 skills/pace-guard/guard-procedures-common.md + skills/pace-guard/guard-procedures-monitor.md
trends 跨 CR 趋势分析 skills/pace-guard/guard-procedures-trends.md(自包含)
report 风险全局视图 skills/pace-guard/guard-procedures-report.md(自包含)
resolve 更新风险状态 skills/pace-guard/guard-procedures-common.md + skills/pace-guard/guard-procedures-resolve.md

Step 3:执行并报告

  1. 按子命令流程执行
  2. 将风险发现写入 CR 文件"风险预评估"section(scan/monitor 产出)
  3. 更新 state.md(如有状态变化)
  4. 智能推荐:风险评估类报告末尾根据风险等级推荐下一步操作(详见各子命令规程文件)

Read the full file on GitHub · 77 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2d ago First seen · 77 lines · 82 tokens per session scan A 1547c8c6e8ef

Subscribe to this mod's changes

pace-guard is a skill published in the GitHub repository arch-team/devpace (73 stars, last pushed 4mo ago), licensed MIT. It adds 82 tokens to every session and 1,180 once invoked, about $0.0004 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.