本文へ移動
cccskills
無料GitHub で公開

mk-llms

Generate llms.txt files from project docs per the llmstxt.org spec, for AI-friendly documentation indexes and discoverability. Use to create or update llms.txt for AI assistants.

インストール方法を見る

含まれるファイル(3)

  • SKILL.md3.8 KB
  • references/llms-txt-spec.md1.5 KB
  • scripts/generate-llms-txt.py10.0 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

llms.txt Generator

Generate llms.txt files — LLM-friendly markdown indexes of project documentation.

Path convention: Commands below assume cwd is $(git rev-parse --show-toplevel) (project root). Prefix paths with "$(git rev-parse --show-toplevel)/" when invoking from subdirectories.

When to Use

  • Project needs LLM-friendly documentation index
  • User asks for "llms.txt", "LLM documentation", "AI-friendly docs"
  • Publishing docs site and want AI discoverability
  • After major documentation updates (Phase 6 Reflect)

Explicit: the llms skill [path] [--full]

Workflow Integration

Operates in Phase 6 (Reflect) or on-demand. Output supports the documenter agent.

Arguments

FlagEffect
(no args)Scan ./docs directory
pathScan specific directory
--fullAlso generate llms-full.txt with inline content
--output pathCustom output location (default: project root)
--url baseBase URL prefix for links

Scripts

Script-first approach — the Python script handles all deterministic work (scanning, extracting, categorizing, generating). Codex only reviews and improves the output.

# Generate llms.txt (script does the heavy lifting)
.agents/skills/.venv/bin/python3 .agents/skills/llms/scripts/generate-llms-txt.py \
  --source ./docs [--output .] [--base-url https://example.com/docs] [--full]

# Preview metadata first (Codex reviews before generating)
.agents/skills/.venv/bin/python3 .agents/skills/llms/scripts/generate-llms-txt.py \
  --source ./docs --json

Process

  1. Run script — execute generate-llms-txt.py --source <path> --json to preview metadata
  2. Review metadata — check project name, description, file categorization
  3. Generate — run script again without --json to produce llms.txt
  4. Review output — read generated llms.txt, improve descriptions if needed
  5. Validate — check: H1 present, blockquote summary, valid link format, Optional section last
  6. If --full: review llms-full.txt for completeness

Output Format

# {Project Name}

> {Brief project description with essential context.}

## {Section Name}

- [{Doc Title}]({url}): {Brief description}
- [{Another Doc}]({url}): {What this covers}

## Optional

- [{Less Important Doc}]({url}): {Supplementary info}

References

ReferenceWhen to loadContent
llms-txt-spec.mdStep 4 — generatingFull llmstxt.org specification rules

Failure Handling

FailureRecovery
No .md files foundReport "No documentation found in {path}"
No H1 in doc fileUse filename as title, warn user
Output path not writableSuggest alternative path

Constraints

  • Never fabricate documentation content — only index what exists
  • Follow llmstxt.org spec strictly
  • Keep descriptions concise — one sentence per entry

Gotchas

  • Python venv required: run .codex/scripts/bin/setup-workflow once from the project root before invoking this skill. Re-run after upgrading the toolkit.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Use this skill to generate well-branded interfaces and assets for MeowKit (AI Agent Toolkit for Claude Code), either for production or throwaway prototypes/mocks/etc. Contains essential design guidelines, colors, type, fonts, assets, and UI kit components for prototyping.

日本語の概要は準備中です。原文の説明を表示しています。

ngocsangyem/MeowKit152026年7月28日 更新

mk-advise

無料

Turn a raw idea into ONE honest recommendation: interview one question at a time until confirmed, then give a verdict with trade-offs and a checklist. Not for options or debate.

日本語の概要は準備中です。原文の説明を表示しています。

ngocsangyem/MeowKit152026年7月28日 更新

Browser automation CLI for agents: navigate, click/fill, screenshot, extract data, test apps, Electron/Slack, cloud browsers. NOT for the user's real Chrome profile/cookies (mk:chrome-profile).

日本語の概要は準備中です。原文の説明を表示しています。

ngocsangyem/MeowKit152026年7月28日 更新

Detects the right agent and complexity tier at Phase 0 orient; runs first in every workflow. NOT for runtime agent routing inside a single skill.

日本語の概要は準備中です。原文の説明を表示しています。

ngocsangyem/MeowKit152026年7月28日 更新

Angular v20+ patterns: components, signals, services, forms, routing, HTTP, testing, SSR. Auto-activates on .ts files in Angular projects (angular.json detected).

日本語の概要は準備中です。原文の説明を表示しています。

ngocsangyem/MeowKit152026年7月28日 更新

Design and review durable REST, GraphQL, RPC, or event API contracts: shape, compatibility, pagination, error semantics. Discovers existing consumers first. Not implementation, schema, or release.

日本語の概要は準備中です。原文の説明を表示しています。

ngocsangyem/MeowKit152026年7月28日 更新

ngocsangyem のスキルをすべて見る

このスキルの問題を報告する