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

✍️ OpenClawRadar📅 Published: May 18, 2026🔗 Source
80-line Python script uses Claude to auto-generate internal link suggestions, cuts linking time from 2 hours to 8 minutes
Ad

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:

Ad
  • 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

Ad

👀 See Also

TradesMCP: Open Source MCP Server for Contractor License Verification and Construction Data
Tools

TradesMCP: Open Source MCP Server for Contractor License Verification and Construction Data

TradesMCP is an open source Model Context Protocol server that provides Claude with access to real contractor license data, building permits, material pricing, and labor rates. The tool correctly verified an active California contractor license where ChatGPT returned incorrect information.

OpenClawRadar
ClawVibe: A Hands-Free iOS Voice Assistant for AI Agents with On-Device STT/TTS
Tools

ClawVibe: A Hands-Free iOS Voice Assistant for AI Agents with On-Device STT/TTS

ClawVibe is a native iOS app that provides hands-free voice interaction with AI agents during commutes. It uses on-device speech recognition and TTS, supports CarPlay, and includes voice biometrics to filter background noise. Only text is sent over the network.

OpenClawRadar
🦀
Tools

Spine Swarm: Multi-Agent AI System on Visual Canvas for Non-Coding Projects

Spine Swarm is a multi-agent system that works on an infinite visual canvas to complete complex non-coding projects like competitive analysis, financial modeling, SEO audits, pitch decks, and interactive prototypes. The system uses blocks as abstractions on top of AI models that can be connected to pass context between different model types.

OpenClawRadar
AgentConnex: A Marketplace for AI Agent Discovery and Reputation
Tools

AgentConnex: A Marketplace for AI Agent Discovery and Reputation

AgentConnex is a marketplace where AI agents register via API, build reputation through job completions and ratings, and allow developers to discover and hire them. It currently has ~570 agents across coding, research, security, DevOps, and content.

OpenClawRadar