ilink-status

ilink-status is a command for Claude Code from zhoubengao/iLink. It costs 0 tokens per session (687 once invoked), scanned A, original, Apache-2.0.

A command that reports the progress of iLink Stories, where a Story is one tracked development task. It can show every Story or the documents and status of one selected Story.

In plain words
What is it for?
Use it to list Story stages, inspect requirement, planning, design, coding, and review documents, count retry attempts, and see the suggested next command.
Why use it?
It gives a quick view of where work stands without manually checking several files. It also points out repeated quality-review failures that may need human attention.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit Use it to list Story stages, inspect requirement, planning, design, coding, and review documents, count retry attempts, and see the suggested next command.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/zhoubengao/ilink/ilink-status
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.

Clone the repo
git clone --depth 1 https://github.com/zhoubengao/iLink

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 ilink-status

README.md
[![agentmods](https://agentmods.dev/badge/commands/zhoubengao/ilink/ilink-status/github.svg)](https://agentmods.dev/commands/zhoubengao/ilink/ilink-status)
Your own site
<a href="https://agentmods.dev/commands/zhoubengao/ilink/ilink-status"><img src="https://agentmods.dev/badge/commands/zhoubengao/ilink/ilink-status/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 ilink-status

Your own site · 80×15
<a href="https://agentmods.dev/commands/zhoubengao/ilink/ilink-status"><img src="https://agentmods.dev/badge/commands/zhoubengao/ilink/ilink-status.svg" alt="Reviewed on agentmods" width="80" 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 687 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.00000 $0.00687
Opus 5 $0.00000 $0.00344
Sonnet 5 $0.00000 $0.00137
Haiku 4.5 $0.00000 $0.00069

Measured 9d ago against content hash b309ca64a8db, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

ilink-status 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 9d 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.

src/.claude/commands/ilink-status.md · 67 lines

What it actually says

你现在执行 iLink 的 流水线状态查看 操作。

执行任务

无参数模式($ARGUMENTS 为空)

扫描 iLink-doc/ 下的所有子目录,列出所有 Story 的概览状态表格:

Story 当前阶段 状态

阶段判断逻辑(按优先级从高到低检查文件是否存在):

  1. 存在 review.master.md → 读取 Status:
    • COMPLETED → 已完成
    • FAIL_BACK_TO_CODER → QA 回流
    • STAGING → QA(上游问题)
    • 其他 → QA 审查中
  2. 存在 code.master.md → 编码完成
  3. 存在 design.master.md → 读取 Status:STAGING=设计待审核,其他=设计完成
  4. 存在 pm.master.md → 读取 Status:STAGING=PM 待审核,其他=PM 完成
  5. 存在 requirement.md → 需求已定义
  6. 否则 → 未初始化

有参数模式

查看指定 Story $ARGUMENTS 的详细状态:

  1. 确认 iLink-doc/$ARGUMENTS/ 目录存在
  2. 逐个检查以下文件,读取末尾 Metadata 中的 Status 字段:
    • $ARGUMENTS-requirement.md
    • $ARGUMENTS-pm.master.md
    • $ARGUMENTS-design.master.md
    • $ARGUMENTS-code.master.md
    • $ARGUMENTS-review.master.md
  3. 以表格展示每个文档的状态(存在/不存在 + Status 值)
  4. 检查 .retry_count 文件,如存在则显示回流次数
  5. 如果回流次数 ≥ 3,显示熔断警告:Coder 已自动修复 3 次仍未通过 QA,请人类介入

下一步建议

根据当前阶段给出操作建议:

当前状态 建议操作
需求已定义 /ilink-pm $ARGUMENTS
PM STAGING 审核 pm.master.md → /ilink-approve $ARGUMENTS
PM PENDING_DESIGNER /ilink-design $ARGUMENTS
设计 STAGING 审核 design.master.md → /ilink-approve $ARGUMENTS
设计 PENDING_CODER /ilink-coder $ARGUMENTS
编码完成 /ilink-qa $ARGUMENTS
QA COMPLETED Story 完成,建议 git commit
QA FAIL_BACK_TO_CODER /ilink-coder $ARGUMENTS(回流修复)
QA STAGING 查看 [UPSTREAM_BLOCKERS],人类介入

Metadata 读取方法

在每个 master doc 文件末尾查找以下格式的区块,提取 Status: 的值:

---
# ILINK-PROTOCOL-METADATA
Role: ...
Status: <读取这个值>
---
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. 9d ago First seen · 67 lines · 0 tokens per session scan A b309ca64a8db

Subscribe to this mod's changes

ilink-status is a command published in the GitHub repository zhoubengao/iLink (22 stars, last pushed 2mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 687 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.