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.
npx agentmods add skills/xtyooo/specpilot-codex/specpilot-archivenpx skills add xtyooo/specpilot-codex --skill specpilot-archivegit clone --depth 1 https://github.com/xtyooo/specpilot-codexWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/xtyooo/specpilot-codex/specpilot-archive)<a href="https://agentmods.dev/skills/xtyooo/specpilot-codex/specpilot-archive"><img src="https://agentmods.dev/badge/skills/xtyooo/specpilot-codex/specpilot-archive.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00047 | $0.01293 |
| Opus 5 | $0.00023 | $0.00647 |
| Sonnet 5 | $0.00009 | $0.00259 |
| Haiku 4.5 | $0.00005 | $0.00129 |
Grade A, and why
specpilot-archive 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 6d 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.
How it starts
The opening of the file, as written. The whole thing — 197 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SpecPilot: 存档需求
存档已完成的需求,更新索引文件。
参数
the user-provided arguments after the command text- 要存档的需求编号(如 REQ-001)
规则约束
- 只存档已完成开发的需求
- 必须更新 index.md 状态
- 如果是迭代需求,需要处理旧需求状态
- 保持实现最小化、聚焦
- 保留 draft 文件作为完整技术方案参考
执行步骤
步骤一:确定需求编号
- 从
the user-provided arguments after the command text解析需求编号(去除空格) - 如果未提供编号:
- 运行
ls docs/specpilot/requirements/查看文件 - 读取
docs/specpilot/requirements/index.md找到in_progress状态的需求 - 询问用户要存档哪个需求
- 运行
- 如果无法确定编号,停止并告知用户
步骤二:验证需求
- 检查草稿文件是否存在:
docs/specpilot/requirements/REQ-{编号}-draft.md - 如果不存在草稿(快速模式),直接创建存档文件
步骤三:生成存档文件
- 从需求内容提取描述关键词(英文小写+连字符格式)
- 创建存档文件:
docs/specpilot/requirements/REQ-{编号}-{描述}.md - 按照
REQ-000-template.md模板补全存档内容(精简版,便于快速查阅):
# REQ-{编号}-{描述}
> {需求简短描述}
---
## 基本信息
| 字段 | 值 |
|------|-----|
| **编号** | REQ-{编号} |
| **状态** | completed |
| **创建时间** | {创建时间} |
| **完成时间** | {当前时间} |
| **关联需求** | {关联信息或"无"} |
| **业务模块** | {所属模块} |
---
## 需求描述
### 原始需求
[精简的原始需求摘要]
### 需求确认
#### 术语定义
[关键术语]
#### 业务规则
[核心业务规则]
#### 边界条件
[关键边界条件]
### 需求理解
- **核心目标**:
- **主要改动**:
- **影响范围**:
---
## 技术方案
### 改动范围
| 文件 | 改动类型 | 说明 |
|------|----------|------|
| {文件路径} | 新增/修改 | {说明} |
### 实现思路
[核心实现逻辑]
### 数据流
[关键数据流说明]
---
## 关键代码
[关键代码片段]
---
## 业务规则
| 规则编号 | 规则描述 |
|----------|----------|
| R1 | |
---
## 上下文信息
### 相关代码位置
| 功能 | 文件 | 方法/结构体 |
|------|------|-------------|
| | | |
---
## 备注
- **踩坑点**:[实施过程中发现的问题]
- **注意事项**:[需要注意的点]
---
## 变更历史
| 时间 | 变更内容 |
|------|----------|
| {创建时间} | 需求创建 |
| {完成时间} | 需求完成 |
步骤四:更新 draft 文件
不删除 draft 文件,而是更新其状态:
- 将 draft 文件头部状态改为:
> 状态:✅ 已完成(保留作为技术方案参考) - 确保 draft 文件包含完整的:
- 【原始需求】
- 【需求确认】(完整版)
- 【技术方案审查记录】(如有,记录发现的问题和修正过程)
- 【实施提交记录】(git commit 记录)
- 【经验总结】(踩坑点和教训)
步骤五:更新索引文件
更新 docs/specpilot/requirements/index.md:
-
更新需求总览表格:
- 状态改为
✅ completed - 填写描述
- 填写完成时间
- 填写业务模块
- 状态改为
-
更新需求关联(如有关联需求):
- 添加关联记录,如:
REQ-{编号} 迭代自 REQ-xxx
- 添加关联记录,如:
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.
- 6d ago First seen · 197 lines · 47 tokens per session scan A 3ad163c48218
specpilot-archive is a skill published in the GitHub repository xtyooo/specpilot-codex (10 stars, last pushed 9d ago), licensed MIT. It adds 47 tokens to every session and 1,293 once invoked, about $0.0002 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-31.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
next-partial-prefetching-adoption
Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…
chronicle
Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…
imagegen
Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…