Copilot-Skills docs-to-skill.instructions.md

Copilot-Skills docs-to-skill.instructions.md is an instructions file for GitHub Copilot from TheSethRose/Copilot-Skills. It costs 4,131 tokens per session, scanned C, original, MIT.

A set of instructions for turning documentation websites into Claude skills, which are reusable instructions that guide an AI coding assistant. It covers finding scraping tools, checking available presets, and estimating the amount of documentation to process.

In plain words
What is it for?
Use it when scraping a documentation website, creating a skill from documentation, or deciding which local tools and presets can handle that conversion.
Why use it?
It helps choose and validate a workflow when converting outside technical documentation into an AI skill. It also distinguishes this task from documenting an existing software project.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot chat mode or prompt.

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 instructions/thesethrose/copilot-skills/docs-to-skill
Clone the repo
git clone --depth 1 https://github.com/TheSethRose/Copilot-Skills

Made for: GitHub Copilot.

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 Copilot-Skills docs-to-skill.instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/thesethrose/copilot-skills/docs-to-skill.svg)](https://agentmods.dev/instructions/thesethrose/copilot-skills/docs-to-skill)
Your own site
<a href="https://agentmods.dev/instructions/thesethrose/copilot-skills/docs-to-skill"><img src="https://agentmods.dev/badge/instructions/thesethrose/copilot-skills/docs-to-skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 4,131 This file is loaded in full into every session.
When invoked 4,131 The same file — it is already loaded in full.
Security scan C 2 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.1 $0.04131 $0.04131
Opus 5 $0.02065 $0.02065
Sonnet 5 $0.00826 $0.00826
Haiku 4.5 $0.00413 $0.00413

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

Security

Grade C, and why

Copilot-Skills docs-to-skill.instructions.md scanned grade C with 2 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- Clean old data periodically: `rm -rf output/*_data/`

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s https://docs.example.com/robots.txt | grep -i "disallow"
.github/instructions/docs-to-skill.instructions.md · 596 lines

How it starts

The opening of the file, as written. The whole thing — 596 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Docs to Skill - Instructions

When working with documentation scraping, skill generation, or queries containing "docs to skill" or "documentation converter", this context activates.

Core Purpose

Teach AI agents how to discover and use documentation scraping tools to transform ANY documentation website into production-ready Claude skills.

Key Distinction: This skill GENERATES Claude skills from external documentation. For project documentation, use /document-project.

Auto-Loaded Behaviors

When user mentions "docs to skill" or "scrape docs"

Immediate Actions:

  1. Suggest /docs-to-skill skill
  2. Discover available documentation scraping tools
  3. Validate tool capabilities
  4. Guide workflow selection

Discovery Pattern:

# Find documentation scraping tools
find . -name "*doc*scrap*" -o -name "*skill*seek*" -type d

# Validate Python scraping tools
find . -name "doc_scraper.py" -type f

# Check for configuration directories
find . -name "configs" -type d -path "*/examples/*" -o -path "*/tools/*"

When user has documentation URL

Immediate Actions:

  1. Discover available tool
  2. Check for matching preset
  3. Estimate documentation size
  4. Recommend appropriate strategy

Decision Tree:

Has URL → Find tool → Check presets → Estimate → Choose strategy
                                          ↓
                           <500pg  500-10K  >10K
                              ↓       ↓       ↓
                          Standard  +Checkpoint  Split

When analyzing documentation sites

Validate Before Scraping:

  1. Check robots.txt compliance
  2. Identify documentation structure
  3. Estimate total pages
  4. Recommend selectors and patterns
  5. Suggest appropriate rate limiting (0.5s minimum)

Tool Discovery Protocol

Step 1: Find Available Tools

# Search for documentation scraping directories
SCRAPER_DIRS=$(find . -maxdepth 3 -name "*doc*scrap*" -o -name "*skill*seek*" -type d)

# Search for scraping scripts
SCRAPER_SCRIPTS=$(find . -name "doc_scraper.py" -o -name "*scrape*.py" -type f)

# Common locations to check:
# - examples/Skill_Seekers/
# - examples/*/cli/
# - tools/doc_scraper/
# - scripts/scraping/

Read the full file on GitHub · 596 lines

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 · 596 lines · 4,131 tokens per session scan C 8f8981d08372

Subscribe to this mod's changes

Copilot-Skills docs-to-skill.instructions.md is an instructions file published in the GitHub repository TheSethRose/Copilot-Skills (3 stars, last pushed 9mo ago), licensed MIT. It adds 4,131 tokens to every session, about $0.0207 per session on Opus 5. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories