Find Links Skill
Overview
This skill helps identify and fill in TODO or placeholder links in markdown files with appropriate articles from reputable sources. It searches for relevant, authoritative content and replaces placeholder links with actual URLs.
When to Use This Skill
Trigger this skill when the user:
- Asks to "fill in TODO links" or "fill links"
- Mentions placeholder links like
{TODO}, {LINK}, or similar patterns
- Requests appropriate links for concepts in a document
- Wants to find authoritative sources for topics mentioned in their notes
Supported Link Patterns
The skill recognizes these common placeholder patterns:
{TODO} - Generic placeholder for missing link
{LINK} - Generic link placeholder
{LINK to ...} - Placeholder with hint about the target
[text]({TODO}) - Markdown link with TODO placeholder
[text]({LINK}) - Markdown link with LINK placeholder
[text]() - Empty markdown link
TODO: comments near links
Process
Phase 1: Scan and Identify
- Read the target markdown file(s)
- Identify all placeholder link patterns
- Extract context around each placeholder:
- The link text (if present)
- The surrounding sentence or paragraph
- Any hints in the placeholder (e.g.,
{LINK to movie})
- Create a list of all links that need to be filled
Phase 2: Research and Find Appropriate Links
For each placeholder link:
Understand the Context
- Read the surrounding text to understand what concept is being referenced
- Note any specific details that help identify the target (movie names, technical terms, etc.)
Search for Authoritative Sources
- Use WebSearch to find appropriate articles
- Prioritize sources in this order:
- Wikipedia (for general concepts, people, movies, historical events)
- Official documentation (for tools, libraries, frameworks, protocols)
- Official project/organization websites (for specific products/services)
- Reputable tech blogs/publications (for emerging technologies)
- Academic or research sites (for scientific concepts)
Validate the Link
- Ensure the link is directly relevant to the context
- Verify it's from a reputable source
- Prefer stable URLs (avoid blog posts that might disappear)
- Check that the link works and goes to the intended content
Phase 3: Fill in the Links
Replace Placeholders
- Use the Edit tool to replace each placeholder with the appropriate URL
- Maintain the existing markdown link format
- Preserve the original link text
Document Changes
- Keep track of all links filled using the TodoWrite tool
- Mark each link as completed after filling
Summary
- Provide a summary of all links that were filled
- Include the line numbers where changes were made
- Note any placeholders that couldn't be filled with explanation
Source Priority Guide
For Technical Concepts
- Official documentation (e.g., docs.python.org, developer.mozilla.org)
- Wikipedia for general overview
- Official blog announcements from the creators
- Reputable technical publications (e.g., ACM, IEEE)
For Tools and Products
- Official product website
- Official GitHub repository (for open source)
- Official documentation site
- Wikipedia (if notable enough)
For General Knowledge
- Wikipedia (primary source)
- Encyclopedias or educational sites
- Official organization websites
For Movies, Books, and Media
- Wikipedia
- IMDb (for movies)
- Official publisher/studio sites
For People
- Wikipedia
- Official personal/professional websites
- LinkedIn (for professionals)
- Official organization bio pages
For Protocols and Standards
- Official specification sites (e.g., w3.org, ietf.org)
- Official announcement pages
- Wikipedia for overview
Important Notes
Quality Standards
- Always prefer Wikipedia for general concepts when available
- For technical topics, official documentation is always preferred
- Avoid linking to:
- Paywalled content
- Temporary blog posts or news articles
- Social media posts
- Sites with questionable reputation
- Dead or broken links
Handling Ambiguity
- If the context is unclear, use AskUserQuestion to clarify
- If multiple valid links exist, choose the most authoritative
- If no appropriate link can be found, note this and ask the user
Best Practices
- Use the TodoWrite tool to track progress on multiple links
- Complete links one at a time, marking each as done
- Test each link pattern to ensure it matches correctly
- Preserve the original formatting and style of the document
- Include line numbers in your summary for easy reference
Examples
Example 1: Movie Reference
Before:
Prior to skills, every new conversation with a LLM felt like a scene from [50 first dates]({LINK to movie}).
Process:
- Identify: Movie title "50 first dates"
- Search: WebSearch for "50 First Dates movie"
- Find: Wikipedia article at https://en.wikipedia.org/wiki/50_First_Dates
- Replace placeholder with Wikipedia link
After:
Prior to skills, every new conversation with a LLM felt like a scene from [50 first dates](https://en.wikipedia.org/wiki/50_First_Dates).
Example 2: Technical Standard
Before:
Yes, we had standards like [MCPs]({TODO}) to help customize LLMs.
Process:
- Identify: "MCPs" likely means Model Context Protocol
- Context: Related to customizing LLMs
- Search: WebSearch for "Model Context Protocol MCP Anthropic"
- Find: Official Anthropic announcement
- Replace with official source
After:
Yes, we had standards like [MCPs](https://www.anthropic.com/news/model-context-protocol) to help customize LLMs.
Example 3: Technical Concept
Before:
Skills represent [object oriented programming]({TODO}).
Process:
- Identify: General programming concept "object oriented programming"
- Search: This is a well-established concept
- Find: Wikipedia article (best for general concepts)
- Replace with Wikipedia link
After:
Skills represent [object oriented programming](https://en.wikipedia.org/wiki/Object-oriented_programming).
Error Handling
If you encounter issues:
- Context too vague: Ask user for clarification
- Multiple possible links: Choose most authoritative or ask user
- No good link found: Note this and skip, asking user if they have a preference
- Technical error: Report the error and continue with remaining links
1---2name: find-links3description: This skill should be used when the user wants to fill in TODO links, placeholder links, or missing links in markdown files. Invoke when the user mentions "fill links", "TODO links", "find links", or asks to add appropriate links to concepts in a document.4---5
6# Find Links Skill
7
8## Overview
9
10This skill helps identify and fill in TODO or placeholder links in markdown files with appropriate articles from reputable sources. It searches for relevant, authoritative content and replaces placeholder links with actual URLs.
11
12## When to Use This Skill
13
14Trigger this skill when the user:
15- Asks to "fill in TODO links" or "fill links"
16- Mentions placeholder links like `{TODO}`, `{LINK}`, or similar patterns
17- Requests appropriate links for concepts in a document
18- Wants to find authoritative sources for topics mentioned in their notes
19
20## Supported Link Patterns
21
22The skill recognizes these common placeholder patterns:
23- `{TODO}` - Generic placeholder for missing link
24- `{LINK}` - Generic link placeholder
25- `{LINK to ...}` - Placeholder with hint about the target
26- `[text]({TODO})` - Markdown link with TODO placeholder
27- `[text]({LINK})` - Markdown link with LINK placeholder
28- `[text]()` - Empty markdown link
29- `TODO:` comments near links
30
31## Process
32
33### Phase 1: Scan and Identify
34
351. Read the target markdown file(s)
362. Identify all placeholder link patterns
373. Extract context around each placeholder:
38 - The link text (if present)
39 - The surrounding sentence or paragraph
40 - Any hints in the placeholder (e.g., `{LINK to movie}`)
414. Create a list of all links that need to be filled
42
43### Phase 2: Research and Find Appropriate Links
44
45For each placeholder link:
46
471. **Understand the Context**
48 - Read the surrounding text to understand what concept is being referenced
49 - Note any specific details that help identify the target (movie names, technical terms, etc.)
50
512. **Search for Authoritative Sources**
52 - Use WebSearch to find appropriate articles
53 - Prioritize sources in this order:
54 1. Wikipedia (for general concepts, people, movies, historical events)
55 2. Official documentation (for tools, libraries, frameworks, protocols)
56 3. Official project/organization websites (for specific products/services)
57 4. Reputable tech blogs/publications (for emerging technologies)
58 5. Academic or research sites (for scientific concepts)
59
603. **Validate the Link**
61 - Ensure the link is directly relevant to the context
62 - Verify it's from a reputable source
63 - Prefer stable URLs (avoid blog posts that might disappear)
64 - Check that the link works and goes to the intended content
65
66### Phase 3: Fill in the Links
67
681. **Replace Placeholders**
69 - Use the Edit tool to replace each placeholder with the appropriate URL
70 - Maintain the existing markdown link format
71 - Preserve the original link text
72
732. **Document Changes**
74 - Keep track of all links filled using the TodoWrite tool
75 - Mark each link as completed after filling
76
773. **Summary**
78 - Provide a summary of all links that were filled
79 - Include the line numbers where changes were made
80 - Note any placeholders that couldn't be filled with explanation
81
82## Source Priority Guide
83
84### For Technical Concepts
85- Official documentation (e.g., docs.python.org, developer.mozilla.org)
86- Wikipedia for general overview
87- Official blog announcements from the creators
88- Reputable technical publications (e.g., ACM, IEEE)
89
90### For Tools and Products
91- Official product website
92- Official GitHub repository (for open source)
93- Official documentation site
94- Wikipedia (if notable enough)
95
96### For General Knowledge
97- Wikipedia (primary source)
98- Encyclopedias or educational sites
99- Official organization websites
100
101### For Movies, Books, and Media
102- Wikipedia
103- IMDb (for movies)
104- Official publisher/studio sites
105
106### For People
107- Wikipedia
108- Official personal/professional websites
109- LinkedIn (for professionals)
110- Official organization bio pages
111
112### For Protocols and Standards
113- Official specification sites (e.g., w3.org, ietf.org)
114- Official announcement pages
115- Wikipedia for overview
116
117## Important Notes
118
119### Quality Standards
120- Always prefer Wikipedia for general concepts when available
121- For technical topics, official documentation is always preferred
122- Avoid linking to:
123 - Paywalled content
124 - Temporary blog posts or news articles
125 - Social media posts
126 - Sites with questionable reputation
127 - Dead or broken links
128
129### Handling Ambiguity
130- If the context is unclear, use AskUserQuestion to clarify
131- If multiple valid links exist, choose the most authoritative
132- If no appropriate link can be found, note this and ask the user
133
134### Best Practices
135- Use the TodoWrite tool to track progress on multiple links
136- Complete links one at a time, marking each as done
137- Test each link pattern to ensure it matches correctly
138- Preserve the original formatting and style of the document
139- Include line numbers in your summary for easy reference
140
141## Examples
142
143### Example 1: Movie Reference
144**Before:**
145```markdown
146Prior to skills, every new conversation with a LLM felt like a scene from [50 first dates]({LINK to movie}).
147```
148
149**Process:**
1501. Identify: Movie title "50 first dates"
1512. Search: WebSearch for "50 First Dates movie"
1523. Find: Wikipedia article at https://en.wikipedia.org/wiki/50_First_Dates
1534. Replace placeholder with Wikipedia link
154
155**After:**
156```markdown
157Prior to skills, every new conversation with a LLM felt like a scene from [50 first dates](https://en.wikipedia.org/wiki/50_First_Dates).
158```
159
160### Example 2: Technical Standard
161**Before:**
162```markdown
163Yes, we had standards like [MCPs]({TODO}) to help customize LLMs.
164```
165
166**Process:**
1671. Identify: "MCPs" likely means Model Context Protocol
1682. Context: Related to customizing LLMs
1693. Search: WebSearch for "Model Context Protocol MCP Anthropic"
1704. Find: Official Anthropic announcement
1715. Replace with official source
172
173**After:**
174```markdown
175Yes, we had standards like [MCPs](https://www.anthropic.com/news/model-context-protocol) to help customize LLMs.
176```
177
178### Example 3: Technical Concept
179**Before:**
180```markdown
181Skills represent [object oriented programming]({TODO}).
182```
183
184**Process:**
1851. Identify: General programming concept "object oriented programming"
1862. Search: This is a well-established concept
1873. Find: Wikipedia article (best for general concepts)
1884. Replace with Wikipedia link
189
190**After:**
191```markdown
192Skills represent [object oriented programming](https://en.wikipedia.org/wiki/Object-oriented_programming).
193```
194
195## Error Handling
196
197If you encounter issues:
198- **Context too vague**: Ask user for clarification
199- **Multiple possible links**: Choose most authoritative or ask user
200- **No good link found**: Note this and skip, asking user if they have a preference
201- **Technical error**: Report the error and continue with remaining links