OpenClawForJun: Command for Claude Code

.codex/prompts/speckit.plan.md

speckit.plan is a command for Claude Code, Codex from IsJunNa/OpenClawForJun. It costs 14 tokens per session (925 once invoked), scanned A, original, MIT.

A planning command for a software feature that turns a specification into research notes, design documents, data models, API contracts, and a quickstart guide. It runs from the repository root and follows a defined project template.

In plain words
What is it for?
Use it to research a feature, fill in an implementation plan, create design artefacts, and update the project's agent context.
Why use it?
It gives a structured way to resolve unknowns and record design decisions before implementation starts. This reduces the risk of beginning development with missing requirements or unclear technical choices.

Command for Claude CodeCodex

Written for Claude Code and Codex: $ARGUMENTS substitution, but also installed under .codex/. Also seen: mentions Codex.

This is IsJunNa/OpenClawForJun's own configuration. It tells Claude Code and Codex how to work on OpenClawForJun itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything OpenClawForJun configures →

Reuse

Borrowing it

Nothing to install: this file belongs to IsJunNa/OpenClawForJun. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/IsJunNa/OpenClawForJun/main/.codex/prompts/speckit.plan.md
Clone the repo
git clone --depth 1 https://github.com/IsJunNa/OpenClawForJun

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 speckit.plan

README.md
[![agentmods](https://agentmods.dev/badge/commands/isjunna/openclawforjun/speckit.plan/github.svg)](https://agentmods.dev/commands/isjunna/openclawforjun/speckit.plan)
Your own site
<a href="https://agentmods.dev/commands/isjunna/openclawforjun/speckit.plan"><img src="https://agentmods.dev/badge/commands/isjunna/openclawforjun/speckit.plan/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for speckit.plan

Your own site · 80×15
<a href="https://agentmods.dev/commands/isjunna/openclawforjun/speckit.plan"><img src="https://agentmods.dev/badge/commands/isjunna/openclawforjun/speckit.plan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 925 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00014 $0.00925
Opus 5.5 $0.00006 $0.00370
Sonnet 5.5 $0.00003 $0.00185
Haiku 4.5 $0.00001 $0.00093

Measured 1mo ago against content hash 7451f0c5176d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

speckit.plan 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 1mo 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.codex/prompts/speckit.plan.md · 91 lines

What it actually says

用户输入

$ARGUMENTS

在继续之前, 你必须考虑用户输入(如果不为空).

大纲

  1. 设置: 从仓库根目录运行 .specify/scripts/bash/setup-plan.sh --json 并解析 JSON 获取 FEATURE_SPEC, IMPL_PLAN, SPECS_DIR, BRANCH. 对于参数中的单引号如 "I'm Groot", 使用转义语法: 例如 'I'''m Groot'(或尽可能使用双引号: "I'm Groot").

  2. 加载上下文: 读取 FEATURE_SPEC 和 .specify/memory/constitution.md. 加载 IMPL_PLAN 模板(已复制).

  3. 执行计划工作流: 按照 IMPL_PLAN 模板中的结构:

    • 填充技术上下文(将未知项标记为 NEEDS CLARIFICATION)
    • 从章程文档填充章程检查部分
    • 评估关卡(如果违规无正当理由则报错)
    • 阶段 0: 生成 research.md(解决所有 NEEDS CLARIFICATION)
    • 阶段 1: 生成 data-model.md, contracts/, quickstart.md
    • 阶段 1: 通过运行代理脚本更新代理上下文
    • 设计后重新评估章程检查
  4. 停止并报告: 命令在阶段 2 规划后结束. 报告分支, IMPL_PLAN 路径和生成的制品.

阶段

阶段 0: 大纲与研究

  1. 从上述技术上下文中提取未知项:

    • 每个 NEEDS CLARIFICATION → 研究任务
    • 每个依赖项 → 最佳实践任务
    • 每个集成 → 模式任务
  2. 生成和分发研究代理:

    For each unknown in Technical Context:
      Task: "Research {unknown} for {feature context}"
    For each technology choice:
      Task: "Find best practices for {tech} in {domain}"
    
  3. 在 research.md 中整合发现, 使用格式:

    • Decision: [选择了什么]
    • Rationale: [为什么选择]
    • Alternatives considered: [还评估了什么]

输出: research.md, 所有 NEEDS CLARIFICATION 已解决

阶段 1: 设计与合同

前提条件: research.md 完成

  1. 从功能规范中提取实体 → data-model.md:

    • 实体名称, 字段, 关系
    • 来自需求的验证规则
    • 状态转换(如适用)
  2. 定义接口合同(如果项目有外部接口) → /contracts/:

    • 识别项目向用户或其他系统暴露的接口
    • 为项目类型选择合适的合同格式
    • 示例: 库的公共 API、CLI 工具的命令模式、Web 服务的端点、解析器的语法、应用程序的 UI 合同
    • 如果项目是纯内部项目(构建脚本、一次性工具等), 跳过此步骤
  3. 代理上下文更新:

    • 运行 .specify/scripts/bash/update-agent-context.sh codex
    • 这些脚本检测正在使用哪个 AI 代理
    • 更新相应的代理特定上下文文件
    • 仅添加当前计划中的新技术
    • 保留标记之间的手动添加内容

输出: data-model.md, /contracts/*, quickstart.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. 1mo ago First seen · 91 lines · 14 tokens per session scan A 7451f0c5176d

Subscribe to this mod's changes

speckit.plan is a command published in the GitHub repository IsJunNa/OpenClawForJun (77 stars, last pushed 8mo ago), licensed MIT. It adds 14 tokens to every session and 925 once invoked, about $0.0001 per session on Opus 5.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-10-02.

Related

speckit.plan compared with commands from other repositories

speckit.plan next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
speckit.planIsJunNa/OpenClawForJunCommand778mo agoMITA14Claude Code, Codex
checklistgithub/spec-kitCommand148kyesterdayMITA13Claude Code
clarifygithub/spec-kitCommand148kyesterdayMITA27Claude Code
specifygithub/spec-kitCommand148kyesterdayMITA13Claude Code
analyzegithub/spec-kitCommand148kyesterdayMITA26Claude Code
convergegithub/spec-kitCommand148kyesterdayMITA35Claude Code
implementgithub/spec-kitCommand148kyesterdayMITA14Claude Code