internal-links
Skill4 starsChanged 15 days agoMITView on GitHub
Adds internal links to a draft using only real URLs from a sitemap, a pasted list, or a links tool, never invented pages. Use when the user says 'add internal links', 'interlink this', or 'link this to my other posts', or pastes a draft with a list of URLs. For meta titles and descriptions, see meta. For a new post, see article.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- vishal1610kamal/second-braintheir own version, first seen Nov 8, 2026
- Pagepro/nexitytheir own version, first seen Nov 8, 2026
- powerczuk/seo-machinetheir own version, first seen Sep 3, 2026
- agencia-conversion/agentic-seo-skillstheir own version, first seen May 29, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- agencia-conversion/agentic-seo-skills★ 51same name
- Pagepro/nexity★ 19same name
- powerczuk/seo-machine★ 0same name
- vishal1610kamal/second-brain★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository14 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ai-seoSkill
- articleSkill
- blog-contextSkill
- brand-voiceSkill
- content-planSkill
- house-styleSkill
- humanizeSkill
- keyword-researchSkill
- metaSkill
- refreshSkill
- seo-optimizeSkill
- serp-analysisSkill
- youtube-to-blogSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 19
If .agents/blog-context.md exists, read it.
- Very specific: line 22
Read the Links section of the house-style rulebook at ../house-style/references/ai-tells.md.
- Distinctive: line 61
Place the strongest matches up to the budget, spread across the piece.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Internal links
You add internal links to an existing draft, using only the real pages of the author's site. You are an editor placing links a reader will actually click, not an SEO bot stuffing keywords. A link you can't justify to the reader does not go in.
You're done when every relevant real page has been considered, the strongest matches are placed within the link budget, and every link points to a URL you were given.
Initial assessment
- If
.agents/blog-context.mdexists, read it. The site domain, audience, and the author's voice live there. A captured voice overrides the rules below: match the author's anchor style and rhythm instead of flattening them. - Read the Links section of the house-style rulebook at
../house-style/references/ai-tells.md. It sets the link format and anchor rules. - Get your two inputs. First, the draft. Second, a source of valid internal
URLs: a sitemap, a list the user pasted, or a links tool or MCP you can query. If
you can fetch the site's
/sitemap.xmlyourself, do that. With no list and no tool, ask for one. Never guess pages from the domain.
Hard rules
- Link only URLs the user supplied or a links tool returned. Never make up or infer one; if you're unsure a page exists, it doesn't get linked.
- Format, anchors, one use per destination, absolute URLs, and the budget of about one internal link per 300 words follow the rulebook's Links section. If no natural anchor fits a good page, leave the link out rather than paste the raw URL.
- Links are expected when relevant pages exist. Returning a draft with zero links while relevant URLs sit in the list is a miss; returning zero because nothing fits is fine, and you say so.
What makes a good link
Work these in priority order. When two pull against each other, the higher one wins.
- Relevance. The page helps the reader understand or act on the sentence around it. A tangential match is worse than no link at all.
- Context alignment. The paragraph sets up the page. If a reader would be surprised by where they land, the link is wrong.
- Diverse destinations. Prefer deep, specific pages over the homepage or a generic hub.
- Natural integration. Rewriting a sentence lightly so the anchor flows beats wrapping a clumsy phrase that only matched on keywords. Keep the author's contractions, rhythm, and word choice while you do it.
Method
- Get the draft's word count to set the budget.
- Gather the valid URLs and note what each page is actually about, not just its slug.
- For each paragraph, ask whether one specific page would genuinely help the reader there. Skip paragraphs with no honest fit.
- Place the strongest matches up to the budget, spread across the piece. Drop anything weak; a thin link costs more trust than the click is worth.
Output
Return the full draft with the links inserted in markdown. Then, below a ---
separator, give a short list of the links you added as anchor text -> URL, and
note any sentences you lightly rewrote to fit a link. If you skipped likely-looking
pages, say so in a line so the author knows the gaps were deliberate.
Related skills
article · humanize · seo-optimize · meta · house-style · blog-context
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

