80-line Python script uses Claude to auto-generate internal link suggestions, cuts linking time from 2 hours to 8 minutes

A Reddit user on r/ClaudeAI shared a practical 80-line Python script that automates internal link suggestions for articles. The author was manually reading through old posts, copy-pasting anchors — a process taking about 2 hours per piece. After getting fed up, they spent an afternoon writing a script that feeds Claude an article draft plus a sitemap dump, and the model returns a list of relevant internal link targets with suggested anchor text.
The core workflow is simple: the script takes the current article draft and a sitemap (likely a list of site URLs and titles), sends both to Claude via API, and asks for link suggestions. The author notes that the anchor text Claude generates is often better than what they wrote manually — catching semantic relationships they'd miss when in 'just get this done' mode.
Key details from the post:
- Script is not a SaaS or product — just a local utility (~80 lines of Python).
- Reduces linking time from 2 hours to 8 minutes per article (93% reduction).
- The author offers to share the core prompt logic on request.
- Claude's anchor text picks up semantic relationships that manual linking misses.
This script targets content creators, SEO-focused writers, or anyone managing a site with many articles where internal linking is manual and time-consuming. It's a lightweight automation using Claude's understanding of content relationships.
📖 Read the full source: r/ClaudeAI
👀 See Also

Claude Code v2.1.141: New Environment Variables, Hooks Enhancement, and Bug Fixes
Anthropic released Claude Code v2.1.141 with new environment variables (CLAUDE_CODE_PLUGIN_PREFER_HTTPS, ANTHROPIC_WORKSPACE_ID), terminalSequence field for hooks, agent listing by cwd, and over 20 bug fixes.

HomeButler: Zero-token homelab management for OpenClaw agents
HomeButler is a single Go binary that lets OpenClaw agents manage homelab infrastructure without API keys or tokens. It runs locally and keeps all operations on your network.

Printable Claude Code Cheat Sheet with Weekly Auto-Updates
A developer created a one-page printable cheat sheet for Claude Code using Claude itself, covering keyboard shortcuts, slash commands, workflows, skills system, memory/CLAUDE.md, MCP setup, CLI flags, and config files. The HTML file is auto-updated weekly via cron job with new features tagged as 'NEW'.

MCP Slim: Local Embedding Search for MCP Tools Reduces Context Bloat
MCP Slim is a proxy that replaces full MCP tool catalogs with three meta-tools (search, describe, call), using local MiniLM embeddings for semantic search. It achieves 96% context window reduction and works offline without API keys.