speclite-index-docs

speclite-index-docs is a skill for Claude Code from flanliulf/SpecLite. It costs 65 tokens per session (478 once invoked), scanned A, original, MIT.

A documentation skill that scans a folder and creates or updates an index.md file. The index groups files and folders and describes them using their actual contents.

In plain words
What is it for?
Use it to build file indexes, organize documentation folders, and verify that links point to the right files.
Why use it?
It provides a reliable entry point for navigating a documentation directory without relying on filenames alone.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to build file indexes, organize documentation folders, and verify that links point to the right files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/flanliulf/speclite/speclite-index-docs
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.

Any agent
npx skills add flanliulf/SpecLite --skill speclite-index-docs
Clone the repo
git clone --depth 1 https://github.com/flanliulf/SpecLite

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 speclite-index-docs

README.md
[![agentmods](https://agentmods.dev/badge/skills/flanliulf/speclite/speclite-index-docs/github.svg)](https://agentmods.dev/skills/flanliulf/speclite/speclite-index-docs)
Your own site
<a href="https://agentmods.dev/skills/flanliulf/speclite/speclite-index-docs"><img src="https://agentmods.dev/badge/skills/flanliulf/speclite/speclite-index-docs/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 speclite-index-docs

Your own site · 80×15
<a href="https://agentmods.dev/skills/flanliulf/speclite/speclite-index-docs"><img src="https://agentmods.dev/badge/skills/flanliulf/speclite/speclite-index-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 478 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.00065 $0.00478
Opus 5 $0.00032 $0.00239
Sonnet 5 $0.00013 $0.00096
Haiku 4.5 $0.00006 $0.00048

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

Security

Grade A, and why

speclite-index-docs 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 6d 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.

assets/source/speclite/core-skills/speclite-index-docs/SKILL.md · 36 lines

What it actually says

[技能说明] Speclite Index Docs 用于为目标文件夹生成或更新 index.md,列出文件和子目录,并基于实际内容生成简短描述,而不是只根据文件名猜测。

[核心能力] - 目录扫描:列出目标目录下所有文件和子目录。 - 内容分组:按类型、用途或子目录组织内容。 - 描述生成:读取每个文件,生成 3-10 个词的准确描述。 - 索引写入:生成或更新 index.md,包含 Files 和 Subdirectories 结构。 - 相对链接校验:使用 ./ 开头的相对路径并按组排序。 - 安全停止:目录缺失、不可访问或无写权限时 HALT。

[执行流程] 1. 获取目标目录;未提供时询问用户。 2. 确认目标目录存在且可访问,否则 HALT。 3. 扫描文件和子目录,默认跳过隐藏文件,除非用户明确要求。 4. 读取每个文件内容以生成准确描述。 5. 按 Files 和 Subdirectories 生成 index.md。 6. 校验相对链接、分组、排序和描述长度。

[注意事项] - 不要从文件名猜测用途;必须读取内容后再描述。 - 保持描述简短但有信息量。 - 如果无法写入 index.md,必须 HALT 并说明原因。 - 不得将输出写到目标目录以外,除非用户明确要求。

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago First seen · 36 lines · 65 tokens per session scan A f2de116e3cbf

Subscribe to this mod's changes

speclite-index-docs is a skill published in the GitHub repository flanliulf/SpecLite (4 stars, last pushed 2mo ago), licensed MIT. It adds 65 tokens to every session and 478 once invoked, about $0.0003 per session on Opus 5. 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-09-03.

Related

Other skills, from other repositories

lain

Structural code intelligence for AI coding agents. Use this skill when the user wants to understand how a codebase is organized (modules, call graphs, file dependencies), find where to start reading, trace the impact of a change, find code by meaning, or understand what a symbol does in its full context. Do NOT use…

spuentesp/lain · 90 tokens

botpipe-workflow-authoring

Author, review, and improve Botpipe workflows. Use when Codex is asked to create packaged or workspace-local Botpipe workflows, convert codebases into workflows, design provider-heavy producer/verifier steps, write Botpipe prompts/contracts, inspect Botpipe traces, or apply Codex CLI/gpt-5.5 workflow patterns.

mrauter1/botpipe · 72 tokens

pre-merge

The CI gate. Takes a feature branch from "eng says done" to "PR open against staging with green checks". Runs the project's preflight-resolved pipeline from devkit/policy.json components[]: sync → parallel correctness + security waves → coverage → regression tail → security/migration → PRD-consistency → open PR. Emits…

ndisisnd/msg · 101 tokens

intake

The planning front-door. Captures feature ideas and bugs as graded rows in the root INTAKE.md ledger. Use it when the user says "log an idea", "capture a bug", "add to the backlog", "note this down", "track this feature", or invokes /intake. Owns the requirements interview — fleshes out thin ideas, proactively…

ndisisnd/msg · 239 tokens

merge

The ship gate — the only skill that merges. --staging merges the feature→staging PR on green CI, deploys, verifies, emits a human test script and stamps the staging sign-off on approval. --production ships the double-confirmed release to main and deploys production. Never self-certifies staging; nothing reaches main…

ndisisnd/msg · 94 tokens

msg

Root menu for msg skills, plus harness modes. --init is the one-time project bootstrap — use it when the user says "initialise project", "bootstrap repo", "set up the framework", "start a new project", or asks to set up project structure in an empty repo. Other modes: --init-staging (add a staging branch), --update…

ndisisnd/msg · 162 tokens