clean-links

Clean and normalize markdown links by removing UTM parameters and resolving redirects.

Updated May 30, 2025
One-click install
npx skills add https://github.com/maeste/artificialcode --skill clean-links
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clean-links
Source: https://github.com/maeste/artificialcode/tree/main/.claude/skills/clean-links
Command: npx skills add https://github.com/maeste/artificialcode --skill clean-links

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Clean and organize links extracted from markdown documents used in the codiceartificiale newsletter. It removes UTM parameters, resolves redirects, cleans beehiiv links, generates richer per-link descriptions, and categorizes links thematically to streamline editorial workflows.

Core Features & Use Cases

  • Remove UTM parameters from all links
  • Resolve final destination URLs after redirects
  • Clean beehiiv referral/redirect URLs to direct targets
  • Generate enhanced per-link descriptions when existing text is brief
  • Categorize links into thematic groups for newsletters

Quick Start

Use the clean-links skill on a markdown document containing links. Example:

  • In an input file newsletter/en/CY26W3.md, run the tool to produce a clean, categorized version as newsletter/en/CY26W3_clean.md.

Frequently Asked Questions about clean-links

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I remove UTM parameters and resolve redirects in markdown links for newsletters?

To remove UTM parameters and resolve redirects in markdown links, use this skill to normalize URLs, strip tracking codes, and fetch final destination links for clean newsletter formatting.

Can I clean beehiiv referral links and generate descriptions for multiple links in a markdown document?

Yes, you can clean beehiiv referral links and generate enhanced per-link descriptions by processing markdown documents containing multiple links, requiring web access to fetch page content.

What is the best way to categorize newsletter links thematically from a markdown file?

The best way to categorize newsletter links thematically is by processing the markdown file through this skill, which automatically groups links into thematic categories for streamlined editorial workflows.

Does clean-links require web access to resolve final URLs and generate link descriptions?

Yes, clean-links requires web access via the web_reader MCP to fetch page content for generating per-link descriptions and resolving final destination URLs after redirects.

How do I normalize markdown links for an editorial workflow without manually editing each URL?

To normalize markdown links without manual editing, run this skill on your document to automatically remove UTMs, resolve redirects, clean beehiiv links, and enrich descriptions.

When should I use a link cleaning tool for markdown newsletters instead of manual formatting?

Use a link cleaning tool for markdown newsletters when handling documents with multiple links, redirect chains, and UTM parameters that require automated categorization and description enhancement.