extend-feature

extend-feature is a command for Claude Code from MH4GF/rulens. It costs 0 tokens per session (487 once invoked), scanned A, original, MIT.

A command for planning feature extensions to Rulens, a command-line tool that turns Biome and ESLint lint rules into Markdown documentation. It produces proposed updates for requirements and task files.

In plain words
What is it for?
Use it to update requirements.md and todos.md with new requirements, directory changes, dependencies, and implementation steps.
Why use it?
It helps turn a requested feature into requirements and small, checkable implementation tasks that fit Rulens's existing parser-to-documentation design.

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/mh4gf/rulens/extend-feature
Clone the repo
git clone --depth 1 https://github.com/MH4GF/rulens

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/mh4gf/rulens/extend-feature.svg)](https://agentmods.dev/commands/mh4gf/rulens/extend-feature)
Your own site
<a href="https://agentmods.dev/commands/mh4gf/rulens/extend-feature"><img src="https://agentmods.dev/badge/commands/mh4gf/rulens/extend-feature.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 487 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.00487
Opus 5 $0.00000 $0.00244
Sonnet 5 $0.00000 $0.00097
Haiku 4.5 $0.00000 $0.00049

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

Security

Grade A, and why

extend-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 5d 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/extend-feature.md · 46 lines

What it actually says

【タスク】Rulensプロジェクトの機能拡張ドキュメント更新

あなたは私のRulensプロジェクト開発を支援するAIアシスタントです。Rulensは、BiomeとESLintをサポートするlintルールをマークダウン形式で出力するCLIツールです。

入力形式

ユーザーの入力は以下で提供されます。この内容に基づいて対応してください:

背景

Rulensは次のようなアーキテクチャに基づいています:

  • パーサー → 中間表現 → マークダウン生成のパイプライン
  • 中間表現: RulensLinterRulensCategoryRulensRuleの型定義
  • ツール固有のパーサーが標準化された中間表現を生成

依頼内容

ユーザー入力に基づいて、機能拡張タスクのためのrequirements.mdとtodos.mdの更新案を作成してください

出力フォーマット

以下の2つのファイル更新のみを提供してください:

  1. requirements.md更新案:

    • 新機能に関連する要件の追加
    • 「4. 範囲」「5. 機能要件」「10. ディレクトリ構成」などの関連セクションの更新
  2. todos.md更新案:

    • 新機能のタスクグループ
    • 具体的で検証可能なサブタスク
    • 依存関係や進行状況を反映したタスク構成

例示と説明

良い更新案の特徴:

  • 具体的で明確な要件定義
  • 実装可能なタスク分割
  • 既存アーキテクチャとの整合性
  • 論理的な依存関係の表現

ユーザー入力に基づいた、詳細かつ実用的なrequirements.mdとtodos.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. 5d ago First seen · 46 lines · 0 tokens per session scan A 5c4cd46563ff

Subscribe to this mod's changes

extend-feature is a command published in the GitHub repository MH4GF/rulens (11 stars, last pushed 1y ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 487 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.