llm-wiki-web: Command for Claude Code

.claude/commands/new-feature.md

new-feature is a command for Claude Code from stevenflyai/llm-wiki-web. It costs 0 tokens per session (450 once invoked), scanned A, original, MIT.

A command that starts a new feature specification for llm-wiki-web, a web application for an LLM knowledge wiki. It gathers requirements and writes a SPEC without writing code.

In plain words
What is it for?
Use it to promote a backlog item or define a new idea, interview the user about important decisions, and produce a complete feature specification.
Why use it?
It helps clarify goals, boundaries, compatibility, risks, and testing before implementation begins.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: names the AskUserQuestion tool.

This is stevenflyai/llm-wiki-web's own configuration. It tells Claude Code how to work on llm-wiki-web 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 llm-wiki-web configures →

Reuse

Borrowing it

Nothing to install: this file belongs to stevenflyai/llm-wiki-web. 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/stevenflyai/llm-wiki-web/main/.claude/commands/new-feature.md
Clone the repo
git clone --depth 1 https://github.com/stevenflyai/llm-wiki-web

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 new-feature

README.md
[![agentmods](https://agentmods.dev/badge/commands/stevenflyai/llm-wiki-web/new-feature/github.svg)](https://agentmods.dev/commands/stevenflyai/llm-wiki-web/new-feature)
Your own site
<a href="https://agentmods.dev/commands/stevenflyai/llm-wiki-web/new-feature"><img src="https://agentmods.dev/badge/commands/stevenflyai/llm-wiki-web/new-feature/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 new-feature

Your own site · 80×15
<a href="https://agentmods.dev/commands/stevenflyai/llm-wiki-web/new-feature"><img src="https://agentmods.dev/badge/commands/stevenflyai/llm-wiki-web/new-feature.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 450 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.00450
Opus 5 $0.00000 $0.00225
Sonnet 5 $0.00000 $0.00090
Haiku 4.5 $0.00000 $0.00045

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

Security

Grade A, and why

new-feature 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 8d 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/new-feature.md · 51 lines

What it actually says

/new-feature — 启动新功能的标准流程

You are starting a new feature for llm-wiki-web.

Your job in this session is ONLY to produce a SPEC. Do NOT write any code.

Step 1: Read context

Read these files in order:

  1. docs/dev/CLAUDE-DEV.md — development contract
  2. DECISIONS.md — architecture decisions you must respect
  3. BACKLOG.md — existing ideas
  4. docs/specs/_TEMPLATE.md — the SPEC template you'll use

Step 2: Identify the feature

Ask the user:

  • "Which BACKLOG item are we promoting? Or is this a fresh idea?"
  • If fresh, suggest adding it to BACKLOG first.

Step 3: Interview the user

Use the AskUserQuestion tool to dig into:

  • Problem — what pain triggered this?
  • Goals & Non-Goals — what's in, what's out
  • Provider compatibility — which LLM providers must this work with?
  • Wiki schema impact — does this change frontmatter / INDEX / LOG / new dirs?
  • Failure modes — what can go wrong?
  • Test strategy — how do we verify?
  • Open questions — alternatives, trade-offs

Do not ask obvious questions. Dig into the hard parts. Keep interviewing until there are zero Open Questions.

Step 4: Write the SPEC

  • Copy docs/specs/_TEMPLATE.md to docs/specs/draft/<feature-slug>.md
  • Fill in every section
  • Slug should be 2-4 kebab-case words
  • Set Status to "Draft"

Step 5: End the session

Tell the user:

SPEC drafted at docs/specs/draft/<slug>.md. Review it. If approved, run git mv to approved/ then start a fresh session for planning. Do NOT have me implement in this same session — context should be clean.

Do not generate PLAN.md. Do not write code. End here.

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. 8d ago First seen · 51 lines · 0 tokens per session scan A 475683373d39

Subscribe to this mod's changes

new-feature is a command published in the GitHub repository stevenflyai/llm-wiki-web (19 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 450 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.