botkits-markdown-twin
Use this when adding a clean markdown twin for one HTML page: a .md copy at the same path, a rel=alternate type=text/markdown link, and one line for it in /llms.txt.
Install
npx skills add https://github.com/botkitsdev/botkits/tree/main/skills/seo/botkits-markdown-twin
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install botkitsdev-botkits@llmmart
git clone https://github.com/botkitsdev/botkits.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole botkitsdev/botkits collection as a plugin from our marketplace. Git is the plain clone.
README
botkits-markdown-twin
For one HTML page, publish a clean markdown copy that an agent can read instead of scraping the rendered page. The twin must carry the same facts as the HTML.
Use this when adding a clean markdown twin for one HTML page: a .md copy at the same path, a rel=alternate type=text/markdown link, and one line for it in /llms.txt.
Install
npx skills add botkitsdev/botkits --skill botkits-markdown-twin
To list every skill in the repo: npx skills add botkitsdev/botkits --list.
No CLI? Copy this folder into the skills folder your agent uses, and keep SKILL.md inside it.
What it does
- Writes a clean
.mdcopy at the same path, using a form from the llms.txt v2 spec: append.md(page.html.md) or replace the extension (page.md). For a URL with no filename, useindex.html.mdorindex.md. - Advertises the twin from the HTML page with
<link rel="alternate" type="text/markdown" href="...">. - Adds one line for that twin in
/llms.txt(creates the file if needed): a markdown link, optionally a colon, and a short note. The link points at the twin, not the HTML page. - Covers only the one page it was asked to cover. It does not invent a site-wide crawl, a Worker router, or content negotiation unless that work is already in scope.
- The markdown has the same facts as the HTML, without navigation or other chrome. Do not cloak.
Before / after (example)
This example, from the skill itself, starts with an HTML page at /docs/install/ (or /docs/install.html). The page explains how to install: run npm install example, then start the app with npm start. There is no markdown twin, no rel=alternate link, and no line in /llms.txt.
After the three steps, a twin lives at /docs/install.md (or /docs/install/index.md) with the same facts and no chrome. The HTML page points to it with rel="alternate" type="text/markdown". /llms.txt has one new line that links to the twin, not the HTML page.
Use it in
- Used daily: Grok Bot.
- Installs with
npx skills add(tested 18 Nov 2026): Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot and Grok Build. - Supports the SKILL.md format (vendor docs): Claude apps (upload), ChatGPT (Business, Enterprise, Edu, Healthcare upload), and the other clients listed at agentskills.io.
- Other agents that support the Agent Skills format can load it. We have not run it there.
- No direct install yet in ChatGPT dots or Meta Muse. Paste the instructions from SKILL.md into a chat.
| Agent | Put this folder here |
|---|---|
| Grok Bot | Paste SKILL.md in a 1:1 chat and ask the Bot to save it as a skill. |
| Claude Code | .claude/skills/botkits-markdown-twin/ or ~/.claude/skills/botkits-markdown-twin/ |
| Codex | .agents/skills/botkits-markdown-twin/ or ~/.agents/skills/botkits-markdown-twin/ |
| Cursor | .agents/skills/botkits-markdown-twin/ or .cursor/skills/botkits-markdown-twin/ |
| Gemini CLI | .gemini/skills/botkits-markdown-twin/ or .agents/skills/botkits-markdown-twin/ (one folder deep only) |
| GitHub Copilot | .github/skills/botkits-markdown-twin/ or .agents/skills/botkits-markdown-twin/ |
| Grok Build | .grok/skills/botkits-markdown-twin/ or ~/.grok/skills/botkits-markdown-twin/ |
| Claude apps | Turn on code execution. ZIP this folder and upload it in Customize, Skills. |
Install tested is not run tested.
Premium
The free skill works by itself. The AEO Kit (Markdown Twins + YouTube Watch Pages) adds the Cloudflare Worker router (content negotiation) and the YouTube watch page builder. Price: $24.
Links
- botkits.dev
- Instructions: SKILL.md
- Inspired by: Jeremy Howard's /llms.txt v2 proposal. This skill adds a per-page sequence (a markdown twin, a rel=alternate link, and one line in /llms.txt) and a tiny worked example.
License: MIT
Skill manifest
Markdown twin
For one HTML page, publish a clean markdown copy that an agent can read instead of scraping the rendered page. The twin must carry the same facts as the HTML. Do not cloak.
Three steps
Write a clean
.mdcopy at the same path as the page, using one of the forms from the llms.txt v2 spec: append.md(page.html.md) or replace the extension (page.md). For a URL with no filename, useindex.html.mdorindex.md.Advertise the twin from the HTML page:
<link rel="alternate" type="text/markdown" href="/docs/install.md">Add one line for that twin in
/llms.txt(create the file if the site does not have one yet), in the spec's file-list form: a markdown link, optionally a colon, and a short note.
Do this for the one page you were asked to cover. Do not invent a site-wide crawl, a Worker router, or content negotiation unless that work is already in scope.
Example
HTML page at /docs/install/ (or /docs/install.html). Twin at /docs/install.md (or /docs/install/index.md).
<!doctype html>
<html lang="en">
<head>
<link rel="alternate" type="text/markdown" href="/docs/install.md">
<title>Install</title>
</head>
<body>
<h1>Install</h1>
<p>Run <code>npm install example</code>, then start the app with <code>npm start</code>.</p>
</body>
</html>
/docs/install.md:
# Install
Run `npm install example`, then start the app with `npm start`.
One new line in /llms.txt:
# Example
> Product docs for agents.
## Docs
- [Install](/docs/install.md): How to install the product
The markdown has the same facts as the HTML, without navigation or other chrome. Point the llms.txt link at the twin, not the HTML page.
Inspired by
Inspired by Jeremy Howard's /llms.txt v2 proposal (clean markdown at the same URL with .md or index.md, and rel="alternate" type="text/markdown"). The spec defines the file forms, the link relation, and the /llms.txt format, but it is not a one-page recipe that does all three together. This skill adds that per-page sequence and a tiny worked example.
Files (botkits)
-
README.md 4.4 KB
<picture><source media="(prefers-color-scheme: dark)" srcset="../../../assets/skills/header-botkits-markdown-twin-dark.png 1x, ../../../assets/skills/header-botkits-markdown-twin-dark@2x.png 2x"><img src="../../../assets/skills/header-botkits-markdown-twin-light.png" srcset="../../../assets/skills/header-botkits-markdown-twin-light.png 1x, ../../../assets/skills/header-botkits-markdown-twin-light@2x.png 2x" width="800" alt="BotKits botkits-markdown-twin skill header"></picture> # botkits-markdown-twin For one HTML page, publish a clean markdown copy that an agent can read instead of scraping the rendered page. The twin must carry the same facts as the HTML. Use this when adding a clean markdown twin for one HTML page: a `.md` copy at the same path, a `rel=alternate` type=text/markdown link, and one line for it in /llms.txt. ## Install ```sh npx skills add botkitsdev/botkits --skill botkits-markdown-twin ``` To list every skill in the repo: `npx skills add botkitsdev/botkits --list`. No CLI? Copy this folder into the skills folder your agent uses, and keep `SKILL.md` inside it. ## What it does - Writes a clean `.md` copy at the same path, using a form from the [llms.txt v2 spec](https://llmstxt.org/): append `.md` (`page.html.md`) or replace the extension (`page.md`). For a URL with no filename, use `index.html.md` or `index.md`. - Advertises the twin from the HTML page with `<link rel="alternate" type="text/markdown" href="...">`. - Adds one line for that twin in `/llms.txt` (creates the file if needed): a markdown link, optionally a colon, and a short note. The link points at the twin, not the HTML page. - Covers only the one page it was asked to cover. It does not invent a site-wide crawl, a Worker router, or content negotiation unless that work is already in scope. - The markdown has the same facts as the HTML, without navigation or other chrome. Do not cloak. ## Before / after (example) This example, from the skill itself, starts with an HTML page at `/docs/install/` (or `/docs/install.html`). The page explains how to install: run `npm install example`, then start the app with `npm start`. There is no markdown twin, no `rel=alternate` link, and no line in `/llms.txt`. After the three steps, a twin lives at `/docs/install.md` (or `/docs/install/index.md`) with the same facts and no chrome. The HTML page points to it with `rel="alternate" type="text/markdown"`. `/llms.txt` has one new line that links to the twin, not the HTML page. ## Use it in - Used daily: Grok Bot. - Installs with `npx skills add` (tested 18 Nov 2026): Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot and Grok Build. - Supports the SKILL.md format (vendor docs): Claude apps (upload), ChatGPT (Business, Enterprise, Edu, Healthcare upload), and the other clients listed at [agentskills.io](https://agentskills.io/clients). - Other agents that support the Agent Skills format can load it. We have not run it there. - No direct install yet in ChatGPT dots or Meta Muse. Paste the instructions from [SKILL.md](SKILL.md) into a chat. | Agent | Put this folder here | | --- | --- | | Grok Bot | Paste [SKILL.md](SKILL.md) in a 1:1 chat and ask the Bot to save it as a skill. | | Claude Code | `.claude/skills/botkits-markdown-twin/` or `~/.claude/skills/botkits-markdown-twin/` | | Codex | `.agents/skills/botkits-markdown-twin/` or `~/.agents/skills/botkits-markdown-twin/` | | Cursor | `.agents/skills/botkits-markdown-twin/` or `.cursor/skills/botkits-markdown-twin/` | | Gemini CLI | `.gemini/skills/botkits-markdown-twin/` or `.agents/skills/botkits-markdown-twin/` (one folder deep only) | | GitHub Copilot | `.github/skills/botkits-markdown-twin/` or `.agents/skills/botkits-markdown-twin/` | | Grok Build | `.grok/skills/botkits-markdown-twin/` or `~/.grok/skills/botkits-markdown-twin/` | | Claude apps | Turn on code execution. ZIP this folder and upload it in Customize, Skills. | Install tested is not run tested. ## Premium The free skill works by itself. The [AEO Kit (Markdown Twins + YouTube Watch Pages)](https://daniacostaai.gumroad.com/l/wzalwo) adds the Cloudflare Worker router (content negotiation) and the YouTube watch page builder. Price: $24. ## Links - [botkits.dev](https://botkits.dev) - Instructions: [SKILL.md](SKILL.md) - Inspired by: [Jeremy Howard's /llms.txt v2 proposal](https://llmstxt.org/). This skill adds a per-page sequence (a markdown twin, a rel=alternate link, and one line in /llms.txt) and a tiny worked example. License: MIT -
SKILL.md 2.4 KB
--- name: botkits-markdown-twin description: >- Use this when adding a clean markdown twin for one HTML page: a .md copy at the same path, a rel=alternate type=text/markdown link, and one line for it in /llms.txt. --- # Markdown twin For one HTML page, publish a clean markdown copy that an agent can read instead of scraping the rendered page. The twin must carry the same facts as the HTML. Do not cloak. ## Three steps 1. Write a clean `.md` copy at the same path as the page, using one of the forms from the [llms.txt v2 spec](https://llmstxt.org/): append `.md` (`page.html.md`) or replace the extension (`page.md`). For a URL with no filename, use `index.html.md` or `index.md`. 2. Advertise the twin from the HTML page: ```html <link rel="alternate" type="text/markdown" href="/docs/install.md"> ``` 3. Add one line for that twin in `/llms.txt` (create the file if the site does not have one yet), in the spec's file-list form: a markdown link, optionally a colon, and a short note. Do this for the one page you were asked to cover. Do not invent a site-wide crawl, a Worker router, or content negotiation unless that work is already in scope. ## Example HTML page at `/docs/install/` (or `/docs/install.html`). Twin at `/docs/install.md` (or `/docs/install/index.md`). ```html <!doctype html> <html lang="en"> <head> <link rel="alternate" type="text/markdown" href="/docs/install.md"> <title>Install</title> </head> <body> <h1>Install</h1> <p>Run <code>npm install example</code>, then start the app with <code>npm start</code>.</p> </body> </html> ``` `/docs/install.md`: ```markdown # Install Run `npm install example`, then start the app with `npm start`. ``` One new line in `/llms.txt`: ```markdown # Example > Product docs for agents. ## Docs - [Install](/docs/install.md): How to install the product ``` The markdown has the same facts as the HTML, without navigation or other chrome. Point the `llms.txt` link at the twin, not the HTML page. ## Inspired by Inspired by [Jeremy Howard's /llms.txt v2 proposal](https://llmstxt.org/) (clean markdown at the same URL with `.md` or `index.md`, and `rel="alternate" type="text/markdown"`). The spec defines the file forms, the link relation, and the `/llms.txt` format, but it is not a one-page recipe that does all three together. This skill adds that per-page sequence and a tiny worked example.
Comments (0)
Sign in to join the conversation.
Reviews (0)
No reviews yet.
No comments yet.