Validates footnote links in articles to prevent broken 404 URLs. Use when Claude needs to generate content with reference citations (research reports, technical documentation, academic articles). Supports two modes - (1) Real-time validation mode - validates each URL during content generation, ensuring zero broken links; (2) Post-validation mode - checks all footnotes in existing documents. Suitable for high-quality citation scenarios including web search data compilation, literature citation, and fact-checking tasks.
This skill provides footnote link validation functionality to ensure all reference links in generated Markdown documents are valid and accessible.
When to Use:
Trigger Keywords:
When to Use:
Trigger Keywords:
Core Philosophy: Validate first, then add — never include unvalidated URLs in the final article
Workflow:
web_search to find relevant data# Use web_search to find relevant topics
search_results = web_search("AI ethics research site:edu OR site:org")
# Extract URLs from results
candidate_urls = [result['url'] for result in search_results]
Use the check_single_url.py script to validate individual URLs:
python /mnt/skills/user/citation-link-validator/scripts/check_single_url.py "<URL>"
Return Values:
Python Call Example:
import subprocess
def is_url_valid(url: str, timeout: int = 10) -> bool:
"""Validate if a single URL is valid"""
result = subprocess.run(
['python', '/mnt/skills/user/citation-link-validator/scripts/check_single_url.py',
url, '--timeout', str(timeout), '--quiet'],
capture_output=True
)
return result.returncode == 0
# Usage example
url = "https://www.nature.com/articles/s41586-023-12345-6"
if is_url_valid(url):
print(f"URL is valid: {url}")