pace-role

A view-switching skill for Devpace that changes how project information is presented. It supports perspectives such as business owner, product manager, developer, tester, and operations.

In plain words
What is it for?
It is for switching roles, setting a default perspective, returning to automatic selection, or comparing several role-based views.
Why use it?
Different roles need different details and terminology when reviewing the same project.

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

Made for: Claude Code, Codex.

Per session 85 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 664 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.00085 $0.00664
Opus 5 $0.00043 $0.00332
Sonnet 5 $0.00017 $0.00133
Haiku 4.5 $0.00009 $0.00066

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

Security

Grade A, and why

pace-role 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.

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-role/SKILL.md · 48 lines

What it actually says

/pace-role — 角色视角切换

显式切换角色视角,调整 Claude 的输出关注点和术语。

输入

$ARGUMENTS:

  • biz → Biz Owner(业务视角)
  • pm → PM(产品视角)
  • dev → Dev(开发视角,默认)
  • tester → Tester(测试视角)
  • ops → Ops(运维视角)
  • auto → 回到自动推断模式(清除显式角色设置)
  • compare → 输出多视角快照
  • set-default <角色> → 设置跨会话默认角色(写入 project.md)
  • (空)→ 显示当前角色(含来源:"自动推断" / "你设置的" / "项目默认")+ 可选角色列表

执行路由表

重要:根据 $ARGUMENTS 值,仅读取对应的 procedures 文件,不加载其他 procedures。

参数 加载文件
biz/pm/dev/tester/ops skills/pace-role/role-procedures-switch.md
auto skills/pace-role/role-procedures-switch.md(auto 章节)
set-default skills/pace-role/role-procedures-switch.md(set-default 章节)
compare skills/pace-role/role-procedures-compare.md(自包含)
(空) 无外部文件——直接输出当前角色 + 可选列表

角色关注维度权威定义及跨 Skill 适配原则见 knowledge/role-adaptations.md

隐式依赖skills/pace-role/role-procedures-inference.md 不在路由表中直接路由,但由 rules/devpace-rules.md §10 在运行时加载(自动推断模式的关键词映射权威源)。

输出

  • 角色切换:确认信息(1-3 行,含相关性评估摘要)
  • 无参调用:当前角色(含来源)+ 可选角色列表
  • compare:多视角快照(5 行紧凑输出)
  • auto:回到自动推断确认(1 行)
  • set-default:持久化确认(1 行)
Files

What ships with it

3 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 · 48 lines · 85 tokens per session scan A e8bf074671fa

Subscribe to this mod's changes

pace-role is a skill published in the GitHub repository arch-team/devpace (73 stars, last pushed 4mo ago), licensed MIT. It adds 85 tokens to every session and 664 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.