next-step

next-step is a command for Claude Code from Awesome-Embedded-Learning-Studio/CFDesktop. It costs 0 tokens per session (570 once invoked), scanned A, original, MIT.

A command that reads a project's progress documents and recommends the next development tasks. It follows the project's unfinished phases and their design documents.

In plain words
What is it for?
Use it to find the next two to four tasks, prioritize dependencies and nearly finished work, and identify missing tests. The recommendations include files, changes, risks, dependencies, and reference documents.
Why use it?
It reduces guesswork about what to work on next and helps avoid recommending tasks that are already complete or blocked by earlier work.

Command for Claude Code

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 commands/awesome-embedded-learning-studio/cfdesktop/next-step
Clone the repo
git clone --depth 1 https://github.com/Awesome-Embedded-Learning-Studio/CFDesktop

Made for: Claude Code.

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 next-step

README.md
[![agentmods](https://agentmods.dev/badge/commands/awesome-embedded-learning-studio/cfdesktop/next-step.svg)](https://agentmods.dev/commands/awesome-embedded-learning-studio/cfdesktop/next-step)
Your own site
<a href="https://agentmods.dev/commands/awesome-embedded-learning-studio/cfdesktop/next-step"><img src="https://agentmods.dev/badge/commands/awesome-embedded-learning-studio/cfdesktop/next-step.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 570 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.00000 $0.00570
Opus 5 $0.00000 $0.00285
Sonnet 5 $0.00000 $0.00114
Haiku 4.5 $0.00000 $0.00057

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

Security

Grade A, and why

next-step 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 3d 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.

.claude/commands/next-step.md · 76 lines

What it actually says

/next-step — 开发指引

根据项目阶段文档和当前进度,推荐下一步开发任务。

触发方式

  • /next-step — 推荐下一步开发任务
  • 用户说"下一步开发什么"

工作流程

Step 1: 评估当前状态

  1. 读取 document/status/current.md(项目进度唯一事实来源)获取当前进度与下一步路线
  2. 识别哪些 Phase / 模块未完成

Step 2: 映射设计文档

对每个未完成阶段,读取对应的设计文档获取具体任务列表:

Phase 设计文档
1 document/design_stage/01_phase1_hardware_probe.md
2 document/design_stage/02_phase2_base_library.md
3 document/design_stage/03_phase3_input_layer.md
6 document/design_stage/04_phase6_simulator.md
8 document/design_stage/05_phase8_testing.md

Step 3: 优先排序

按以下顺序推荐:

  1. 阻塞依赖项 — 其他模块依赖此任务才能推进
  2. 接近完成的模块 (90%+) — 收尾效率最高
  3. 当前活跃阶段 — 保持开发连续性
  4. 测试覆盖缺口 — 为已完成的代码补充测试

Step 4: 输出格式 (中文)

对每个推荐任务:

## 推荐任务 N: <任务名称>

**优先级**: 高/中/低
**所属阶段**: Phase X — <阶段名>

### 目标文件
- `path/to/file.h` — 修改说明
- `path/to/file.cpp` — 修改说明
- `path/to/new_file.h` — 新建说明

### 改动要点
1. ...
2. ...

### 风险评估
- **风险等级**: 低/中/高
- **风险说明**: ...
- **缓解措施**: ...

### 依赖关系
- 前置依赖: ...
- 后续可解锁: ...

### 参考文档
- `document/design_stage/XX_phaseX.md` — 具体章节

规则

  • 推荐前验证目标文件是否存在(避免推荐已完成的任务)
  • 不推荐违反层级依赖规则的任务
  • 每次推荐 2-4 个任务,按优先级排序
  • 如果有近完成的模块,优先推荐收尾
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. 3d ago First seen · 76 lines · 0 tokens per session scan A 0d63208a3982

Subscribe to this mod's changes

next-step is a command published in the GitHub repository Awesome-Embedded-Learning-Studio/CFDesktop (10 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 570 tokens. 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.