Skip to content
link-verification logo

Link Verification

link-verification

Use during content verification - validates all URLs are accessible and quoted text exists verbatim in sources

SKILL.md

Full skill instructions

Link Verification

The Iron Law

NO DRAFT APPROVAL WITH BROKEN LINKS OR MISMATCHED QUOTES

Every URL must return 200 OK. Every quote must exist verbatim in its source. No exceptions.

Purpose

Ensure all content maintains link integrity and quote accuracy by:

  • Validating URL accessibility (no 404s, 403s, timeouts)
  • Verifying quoted text exists verbatim in sources
  • Detecting placeholder links (example.com, TODO, etc.)
  • Confirming source attribution accuracy

When to Use This Skill

Activate automatically when:

  • Verifying content before publication
  • Draft completion with content-drafting workflow
  • Explicit verification step with content-verification workflow
  • User requests link checking
  • citation-compliance skill invokes this for URL validation

Validation Requirements

1. URL Accessibility

Requirement: All URLs must be accessible with successful HTTP response

Acceptable responses:

  • 200 OK (success)
  • 301/​302 Redirect (follow to final destination)

Failure responses:

  • 404 Not Found
  • 403 Forbidden
  • 500 Internal Server Error
  • Timeout (>10 seconds)
  • Connection refused
  • DNS resolution failure

Validation process:

  1. Extract all URLs from draft content
  2. For each URL:
    • Use WebFetch to request the URL
    • Record response status
    • Follow redirects to final destination
    • Verify final status is 200 OK
  3. Report all failures with specific error codes

2. Quote Verbatim Verification

Requirement: All quoted text must match source content exactly

Quote formats to detect:

> "Quoted text in blockquote"
"Inline quoted text"[^1]
"Quoted text with attribution" — Author Name

Validation process:

  1. Extract all quoted text from draft
  2. Identify source reference for each quote (footnote, inline link, citation ID)
  3. Fetch/​read the source content
  4. Search for exact match in source
  5. Flag mismatches (paraphrasing, summarization, missing quotes)

Pass example:

# Draft
> "Seasonality impacts email engagement by up to 40% during peak periods"
Source: research-source.md

# Source content (research-source.md)
... analysis shows that seasonality impacts email engagement by up to 40% during peak periods such as Black Friday...

✓ Exact match found

Fail example:

# Draft
> "Seasonality significantly affects email performance during holidays"
Source: research-source.md

# Source content (research-source.md)
... seasonality impacts email engagement by up to 40% during peak periods...

✗ Quote not found verbatim (paraphrased)

3. Placeholder Detection

Forbidden placeholder patterns:

  • example.com, example.org
  • TODO, FIXME, TBD
  • http://localhost, http://127.0.0.1
  • [insert link], [link here]
  • Broken markdown links: [text]() (empty href)

Validation process:

  1. Scan draft for placeholder patterns
  2. Report any matches
  3. Fail verification if placeholders present

4. Attribution Accuracy

Requirement: Source attribution must match actual source metadata

Validation for citations with attribution:

> "Quote text" — Author Name, Publication Title (2024)

Validation process:

  1. Extract attribution details (author, title, date)
  2. Read source metadata
  3. Verify author matches
  4. Verify title matches
  5. Verify date matches (if provided)
  6. Flag mismatches

Validation Process

1. Load Draft and Sources

Read:

  • Draft content: datasets/​marketing/​content/​{date}_{type}_{slug}/​drafts/​draft_v{n}.md
  • Citations: datasets/​marketing/​content/​{date}_{type}_{slug}/​citations/​sources.json
  • Referenced source files

2. Extract URLs and Quotes

URLs:

https?://[^\s\)]+

Quotes:

> "([^"]+)"
"([^"]+)"\[[\^\d+]\]

3. Validate URLs

For each URL:

1. WebFetch URL
2. Record status code
3. If 301/​302: Follow to final URL and validate
4. If 200 OK: PASS
5. Otherwise: FAIL with error code

4. Validate Quotes

For each quote:

1. Identify source reference (footnote, inline link, citation ID)
2. Read source content
3. Search for exact quote match
4. If found verbatim: PASS
5. If paraphrased or missing: FAIL

5. Generate Report

If all pass:

# Link Verification Report: PASS

## URL Validation
✓ 12 URLs validated successfully
  - https://example.com/​article1 (200 OK)
  - https://example.com/​article2 (200 OK)
  - [... all URLs listed ...]

## Quote Verification
✓ 8 quotes verified verbatim
  - "Quote 1" → Source: research-file.md (match confirmed)
  - "Quote 2" → Source: https://source.com (match confirmed)
  - [... all quotes listed ...]

## Placeholder Check
✓ No placeholders detected

**Status**: All links and quotes verified

If any fail:

# Link Verification Report: FAIL

## URL Validation
✗ 2 URLs failed:
  - https://broken-link.com/​article (404 Not Found)
  - https://timeout-site.com/​page (Timeout after 10s)

✓ 10 URLs passed:
  - https://working-link.com/​article (200 OK)
  - [... other passing URLs ...]

## Quote Verification
✗ 1 quote mismatch:
  - "Paraphrased quote text"
    - Source: research-file.md
    - Expected: Exact match not found
    - Action: Verify quote accuracy or remove quote marks

✓ 7 quotes verified

## Placeholder Check
✗ 1 placeholder detected:
  - Line 42: "TODO: Add citation here"

**Required fixes**:
1. Fix or remove broken URL: https://broken-link.com/​article
2. Fix timeout URL or use archive: https://timeout-site.com/​page
3. Verify quote accuracy or remove quote formatting
4. Replace placeholder with actual citation

**Status**: NEEDS_FIX

6. Block or Approve

If PASS:

  • All links accessible
  • All quotes verified verbatim
  • No placeholders present
  • Draft can proceed to publication

If FAIL:

  • Broken links detected
  • Quote mismatches found
  • Placeholders present
  • Workflow status set to "NEEDS_FIX"
  • Must address violations before resuming

Integration with Workflows

Citation Compliance Integration

Invoked by:

  • citation-compliance quality gate (for URL validation portion)

Relationship:

  • citation-compliance handles overall source integrity
  • link-verification specializes in URL accessibility and quote accuracy
  • Works as sub-skill when needed

Content Verification Integration

Invoked by:

  • content-verification workflow (explicit verification step)
  • content-drafting workflow (before marking draft complete)

Blocking behavior:

  • If link verification fails → draft blocked
  • User must fix broken links and mismatched quotes
  • Workflow cannot proceed to snippets or publication

Retry Logic

For transient failures:

If URL fails with timeout or 5xx error:

  1. Retry once after 3-second delay
  2. If second attempt succeeds: PASS
  3. If second attempt fails: FAIL (report as unreliable)

Do not retry:

  • 404 Not Found (permanent)
  • 403 Forbidden (permission issue)
  • DNS failure (domain issue)

Success Criteria

Link verification passes when:

  • All URLs return 200 OK (or 301/​302 to 200 OK)
  • All quoted text exists verbatim in sources
  • Zero placeholders detected
  • All attributions match source metadata
  • Verification report shows PASS status

Common Mistakes

MistakeFix
Ignoring 301 redirectsFollow redirect and verify final destination
Accepting paraphrased quotesFind verbatim match or remove quote formatting
Leaving placeholder linksReplace with actual sources
Skipping retries for timeoutsRetry once, then report if still failing
Not checking attribution accuracyVerify author/​title match source metadata

Related Skills

  • citation-compliance: Invokes this skill for URL validation
  • content-verification: Uses this skill for explicit verification step
  • source-integrity: Validates source metadata (complementary concern)

Anti-Rationalization Blocks

Common excuses that are explicitly rejected:

RationalizationReality
"Link worked yesterday"Verify every time. No assumptions.
"Quote is close enough"Verbatim or not a quote.
"Placeholder is obvious"Replace with actual source.
"One broken link is fine"Zero tolerance. Fix or fail.
"We'll verify later"Verify now or block workflow.

More Marketing skills

copywriting logo
Marketing

copywriting

Marketing copy for homepages, landing pages, pricing pages, and other conversion-focused web pages.

53.3K 216.1K
View
flux-2-klein logo
Marketing

flux-2-klein

Fast image generation with Flux 2 Klein, optimized for sub-second iteration and multi-reference brand styling.

52 176.2K
View

Psychological principles and mental models for understanding customer behavior and influencing marketing decisions.

53.3K 153K
View

Plan searchable and shareable content that drives traffic, builds authority, and generates leads.

53.3K 150.9K
View

Build SEO-optimized pages at scale using templates, data, and proven playbook patterns.

53.3K 140.1K
View

Brainstorm and prioritize marketing strategies tailored to your SaaS stage, budget, and goals.

53.3K 137.2K
View
ai-seo logo
Marketing

ai-seo

Optimize content for discovery, citation, and visibility across AI search platforms and LLM assistants.

53.3K 136.7K
View
copy-editing logo
Marketing

copy-editing

Systematic improvement of existing marketing copy through seven focused editing passes.

53.3K 136.4K
View

Plan and optimize your website's page hierarchy, navigation, URL structure, and internal linking.

53.3K 112.8K
View
revops logo
Marketing

revops

Design and optimize systems connecting marketing, sales, and customer success into a unified revenue engine.

53.3K 104.9K
View

Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

179.7K 100.1K
View

Convert websites into professional HyperFrames videos with guided storyboarding and brand-aligned composition.

57K 93.5K
View

Sales & marketing AI tools

KreadoAI logo
Sales & marketing

KreadoAI

Revolutionize Video Creation with AI-Generated Avatars and Voices

Paid
View
Followr logo
Sales & marketing

Followr

Social media on autopilot

Paid
View
Logodiffusion logo
Sales & marketing

Logodiffusion

Design custom logos instantly with AI.

Paid
View
I
Sales & marketing

Ideogram

Text-heavy marketing and design images

Freemium
View
Prompt Silo logo
Sales & marketing

Prompt Silo

Boost Your SEO with Content and SEO Silos

Free
View
Marketing Blocks logo
Sales & marketing

Marketing Blocks

Revolutionize Your Marketing with AI-Powered MarketingBlocks!

Paid
View
Scrip AI logo
Sales & marketing

Scrip AI

10X faster & free AI content creation for 100+ use cases

Free
View
T
Sales & marketing

Tribescaler

Tribescaler | Make Your Tweets Go Viral

Paid
View