specpilot-new

specpilot-new is a skill for Claude Code, Codex from xtyooo/specpilot-codex. It costs 39 tokens per session (719 once invoked), scanned A, original, MIT.

A SpecPilot command for starting a new software requirement or change request. It creates a draft requirement document after checking the project's guide and existing requirement numbers, without writing code.

In plain words
What is it for?
Use it with `/specpilot:new` to start a feature or change request, record its context and rules, and add it to the requirements index.
Why use it?
It gives an unclear or new request a documented place and keeps it in the project's numbering and review process before implementation.

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/xtyooo/specpilot-codex/specpilot-new
Any agent
npx skills add xtyooo/specpilot-codex --skill specpilot-new
Clone the repo
git clone --depth 1 https://github.com/xtyooo/specpilot-codex

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for specpilot-new

README.md
[![agentmods](https://agentmods.dev/badge/skills/xtyooo/specpilot-codex/specpilot-new.svg)](https://agentmods.dev/skills/xtyooo/specpilot-codex/specpilot-new)
Your own site
<a href="https://agentmods.dev/skills/xtyooo/specpilot-codex/specpilot-new"><img src="https://agentmods.dev/badge/skills/xtyooo/specpilot-codex/specpilot-new.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 719 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.00039 $0.00719
Opus 5 $0.00019 $0.00360
Sonnet 5 $0.00008 $0.00144
Haiku 4.5 $0.00004 $0.00072

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

Security

Grade A, and why

specpilot-new 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 5d 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/specpilot-new/SKILL.md · 124 lines

What it actually says

SpecPilot: 新建需求

按照 SpecPilot 规范创建新的需求草稿。

规则约束

  • 首先读取 docs/specpilot/project-guide.md 了解项目规范
  • 检查 docs/specpilot/requirements/index.md 获取下一个需求编号
  • 此阶段不编写任何代码,只创建需求文档
  • 如果需求描述模糊,先提问澄清

执行步骤

  1. 读取 docs/specpilot/requirements/index.md,找到当前最大需求编号
  2. 计算下一个编号(如最大是 REQ-003,则下一个是 REQ-004)
  3. 创建草稿文件 docs/specpilot/requirements/REQ-{编号}-draft.md,内容如下:
# REQ-{编号}-[待填写描述]

> 状态:📝 草稿

---

## 【执行模式】

<!-- 请选择一个,删除另一个。不填默认"先出方案" -->
- 先出方案
- 直接实施

---

## 【关联需求】

<!-- 如无关联可删除此章节 -->
- 迭代自:REQ-xxx
- 参考:REQ-xxx

---

## 【代码位置说明】

<!-- 如无可删除此章节 -->

---

## 【需求内容】

<!-- 请填写具体需求描述 -->

---

## 【业务规则】

<!-- 如无可删除此章节 -->

---

## 【上下文信息】

<!-- 可选,不填则AI自行分析代码 -->

---

<!-- 以下章节由 AI 在执行过程中填写 -->

## 【需求确认】

<!-- /specpilot:confirm 执行后填写 -->

---

## 【技术方案】

<!-- /specpilot:exec 方案确认后填写 -->

---

## 【技术方案审查记录】

<!-- 代码审查过程中发现的问题和修正记录 -->

---

## 【实施提交记录】

<!-- git commit 记录 -->

---

## 【经验总结】

<!-- 踩坑点和技术要点 -->
  1. 更新 docs/specpilot/requirements/index.md

    • 在 REQ-000 行上方添加新行(7列,与表头一致):
    | REQ-{编号} | [待填写] | 📝 draft | {当前日期} | - | - | - |
    
    • 列说明:编号 | 描述 | 状态 | 创建时间 | 完成时间 | 关联需求 | 业务模块
  2. 如果需求较复杂,同时创建:

    • docs/specpilot/requirements/REQ-{编号}-tasks.md 任务分解
    • docs/specpilot/requirements/REQ-{编号}-design.md 技术决策(涉及架构/跨模块时)
  3. 输出总结:

已创建需求草稿:docs/specpilot/requirements/REQ-{编号}-draft.md
已更新索引:docs/specpilot/requirements/index.md

下一步:
1. 编辑草稿文件填写需求详情
2. 需求确认:/specpilot:confirm REQ-{编号}
3. 执行开发:/specpilot:exec REQ-{编号}

参考文档

  • 完整规范见 docs/specpilot/README.md
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. 5d ago First seen · 124 lines · 39 tokens per session scan A 73302ae4c903

Subscribe to this mod's changes

specpilot-new is a skill published in the GitHub repository xtyooo/specpilot-codex (10 stars, last pushed 9d ago), licensed MIT. It adds 39 tokens to every session and 719 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.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

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…

microsoft/ai-agents-for-beginners · 200 tokens

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…

vercel/next.js · 95 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

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…

vercel/next.js · 103 tokens

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…

microsoft/vscode · 72 tokens