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 Auto Mode: Safer Alternative to Skipping Permissions
Claude Code now offers auto mode, a permissions mode where Claude makes permission decisions with safeguards monitoring actions before execution. It's available as a research preview for Team plan users, with Enterprise and API rollout coming soon.

Tocket CLI: A Context Engineering Framework for AI Coding Agents
Tocket is a CLI tool that creates a .context/ folder with markdown files for AI agents to maintain project memory across sessions. It auto-detects tech stacks from package.json and generates a pre-configured .cursorrules file.

ClawPort: Open Source Orchestration for AI Agent Workflows with Self-Healing Cron
ClawPort is an open source orchestration layer for AI agent workflows that auto-configures cron pipelines, self-heals on failures, and lets you test agents directly before they run on schedule.

Manifest Router Adds ZAI Subscription Support for OpenClaw Model Management
Manifest router now supports ZAI subscriptions, allowing all ZAI models to appear in routing tiers with automatic model selection per request. The tool is in beta, free, open source, and includes a dashboard for tracking costs per agent, message, and model.