analyze

analyze is a command for coding agents from alisunstar/OpenSunstar. It costs 0 tokens per session (153 once invoked), scanned A, original, Apache-2.0.

A requirements analysis step that studies how a proposed change affects the project and which technical approach and risks are involved.

In plain words
What is it for?
It follows the project's routing notes to load relevant knowledge, checks that knowledge against the current code, and saves an analysis document.
Why use it?
It gives the team a shared view of the relevant application responsibilities, existing knowledge, code, and likely impact before breaking the work into tasks.

Command

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/alisunstar/opensunstar/analyze
Clone the repo
git clone --depth 1 https://github.com/alisunstar/OpenSunstar

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 analyze

README.md
[![agentmods](https://agentmods.dev/badge/commands/alisunstar/opensunstar/analyze.svg)](https://agentmods.dev/commands/alisunstar/opensunstar/analyze)
Your own site
<a href="https://agentmods.dev/commands/alisunstar/opensunstar/analyze"><img src="https://agentmods.dev/badge/commands/alisunstar/opensunstar/analyze.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 153 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.00153
Opus 5 $0.00000 $0.00077
Sonnet 5 $0.00000 $0.00031
Haiku 4.5 $0.00000 $0.00015

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

Security

Grade A, and why

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

rd-protocol/commands/analyze.md · 18 lines

What it actually says

/rd:analyze — 分析

阶段 1b:读 ROUTING 渐进式加载知识,分析需求影响。

先读

  • knowledge/ROUTING.md → 定位候选域 → 候选应用 → 知识入口
  • 按渐进式层级加载:应用职责 → product → solution → base → tech → 回代码核对

执行

  • 分析需求影响范围、技术方案、风险点
  • 知识提供稳定上下文,当前代码是事实

产物

  • .specs/<change-id>/analysis.md

人工确认

否 — 分析产物直接进入 decompose。

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 · 18 lines · 0 tokens per session scan A 66c55f9a4bf8

Subscribe to this mod's changes

analyze is a command published in the GitHub repository alisunstar/OpenSunstar (40 stars, last pushed 20d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 153 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-30.