Skip to main content

Generate Agent Skills from llms.txt

Project description

SkillGen

Turn any llms.txt into a ready-to-use Agent Skill.

SkillGen reads the curated links in llms.txt, optionally snapshots the content into references/, and generates a clean SKILL.md plus indexes and provenance metadata. It can also install the skill into common tool locations (Codex, Claude Code, OpenCode, Amp, Roo, Cursor).

Quick start

pip install skillgen
# or for local development
pip install -e .
skillgen https://docs.example.com/llms.txt --out ./skills

What you get

  • SKILL.md with a concise description and trigger keywords
  • references/INDEX.md and section indexes
  • references/catalog.json and provenance files
  • manifest.json for auditability

LLM keyword generation

By default SkillGen uses a local Transformers model to generate the description and keywords. If the model is not available, it falls back to deterministic heuristics (unless you pass --no-llm-fallback).

Recommended model: Qwen/Qwen3-0.6B.

skillgen https://docs.example.com/llms.txt --llm-model Qwen/Qwen3-0.6B

Common flags

  • --include-optional include the Optional section
  • --no-snapshot generate link-only references
  • --allow-external allow external domains
  • --by-link one file per link (default is by section)
  • --keyword-mode heuristic|llm|auto
  • --target codex|claude|opencode|amp|roo|cursor
  • --scope user|project (default is user/global where supported)

Install targets

  • codex: ~/.codex/skills (user/global) or ./.codex/skills
  • claude: ~/.claude/skills (user/global) or ./.claude/skills
  • opencode: ~/.config/opencode/skill (user/global) or ./.opencode/skill (uses skills/ if present)
  • amp: ~/.config/agents/skills (user/global) or ./.agents/skills
  • roo: ~/.roo/skills (user/global) or ./.roo/skills (or skills-<mode>)
  • cursor: project only ./.cursor/rules (creates a .mdc rule)

Development

pip install -e .[test]
pytest

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

skillgen-0.1.0.tar.gz (17.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

skillgen-0.1.0-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

File details

Details for the file skillgen-0.1.0.tar.gz.

File metadata

  • Download URL: skillgen-0.1.0.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for skillgen-0.1.0.tar.gz
Algorithm Hash digest
SHA256 954ce444350e8f119123da652bae84d64e1ca82b1d3d1c1f8524af269e802f4a
MD5 f7ecaa8ba7ced0431f653a6deae179c1
BLAKE2b-256 a38663011d0c4a7fc88d59324797e8124c61cf3bc02649baf9d088f29a6f1ced

See more details on using hashes here.

Provenance

The following attestation bundles were made for skillgen-0.1.0.tar.gz:

Publisher: python-publish.yml on mihir-s-05/skillgen

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file skillgen-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: skillgen-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 19.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for skillgen-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 08c99fced65b6ce58b1313f7d022df801c7693455e512463096a25398ae17cda
MD5 14724712a73a87b2d3968d65553a764f
BLAKE2b-256 e7fc53fca1027f65fecf70af085417f3e8c20c51bf9fca023da443864800d3b5

See more details on using hashes here.

Provenance

The following attestation bundles were made for skillgen-0.1.0-py3-none-any.whl:

Publisher: python-publish.yml on mihir-s-05/skillgen

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page