Web Research Documenter
Overview
This skill provides a systematic workflow for researching any topic by conducting web searches, analyzing authoritative sources, synthesizing information into well-structured documents, and saving results to user-specified file paths. Unlike domain-specific research skills, this is a general-purpose skill that works across all topics and supports multiple languages.
When to Use This Skill
Use this skill when users request:
- Research on any topic with file output
- Information gathering from web sources
- Structured documentation of findings
- Topic summaries or reports
- Multi-source analysis and synthesis
Trigger patterns include:
- "[Topic]을/를 검색하고 파일로 저장해줘" (Korean)
- "Research [topic] and save to file"
- "Search for [topic] and create a report"
- "Find information about [topic] and document it"
- "Investigate [topic] and save the summary"
Key indicators:
- Request involves web search/research
- Request specifies file output or saving results
- Request requires synthesis from multiple sources
- Request asks for structured documentation
Workflow
Follow this systematic four-phase workflow:
Phase 1: Initial Web Search
Conduct broad web search to identify key themes and authoritative sources.
Steps:
- Formulate search query based on user's topic and language
- Use
web_search tool with appropriate max_results (typically 8-12)
- Scan results to identify:
- Major themes and key information
- Authoritative sources
- Specific data points or statistics
- Key terminology and concepts
Search Query Guidelines:
- Match the user's language (if user asks in Korean, search in Korean)
- Include temporal indicators when relevant: "2024", "2025", "latest", "recent", "최신"
- Add context keywords based on topic type
- Be specific but not overly narrow
- Examples:
- Good: "TypeScript 최신 트렌드 2024 2025"
- Good: "climate change latest research 2024"
- Good: "人工智能发展趋势 2024" (Chinese example)
- Too narrow: "TypeScript 5.3.2 bug fixes"
- Too broad: "technology"
Available parameters:
await web_search({
"query": "search terms here",
"max_results": 10, # default: 10
"engine": "duckduckgo" # default, can also use "brave" or "serper"
})
Phase 2: Deep Source Analysis
Fetch and analyze 2-4 most relevant sources for detailed information.
Steps:
Select sources based on:
- Recency (prefer recent content when researching trends)
- Authority (official sources, major publications, recognized experts)
- Comprehensiveness (detailed content over brief mentions)
- Relevance to user's specific question
- Language match (prefer sources in user's language when available)
Use fetch tool to retrieve full content:
- Set appropriate
max_length (6000-10000 for detailed articles)
- Fetch multiple sources when possible
- Handle fetch failures gracefully (some sites may block access)
- Prioritize sources that provide different perspectives
Extract key information:
- Main points and themes
- Specific data, statistics, or metrics
- Expert opinions or authoritative statements
- Examples or case studies
- Future predictions or trends
Available parameters:
await fetch({
"url": "https://example.com/article",
"max_length": 8000, # default: 5000
"start_index": 0, # default: 0
"raw": False # default: False (returns markdown)
})
Handling fetch failures:
- If a source fails to fetch, continue with other sources
- Log the failure but don't let it stop the workflow
- Ensure at least 2 sources are successfully fetched
- If all fetches fail, synthesize from search results only
Phase 3: Information Synthesis
Organize and synthesize information into a structured document.
Language Matching:
- CRITICAL: Match the document language to the user's request language
- If user asks in Korean, write the entire document in Korean
- If user asks in English, write in English
- If user asks in another language, write in that language
- Maintain consistency throughout the document
Structure Guidelines:
Core sections to include:
- Header: Title, date, topic overview
- Executive Summary: 2-3 paragraph overview in user's language
- Main Content: Organized sections with clear headings
- Use numbered sections or topic-based organization
- Include subheadings for clarity
- Key Points: Important findings, data, or insights
- Context: Background information, current state, significance
- Conclusion: Key takeaways and synthesis
- References: Source links and citations
Formatting Standards:
- Use clear hierarchy: Headers with
===, subheaders with ---, bullet points
- Include specific data: percentages, dates, numbers, names
- Provide examples when relevant
- Add visual separation: line breaks, section dividers
- Use symbols for emphasis: ✓, •, →, ★, 📌
- Keep paragraphs concise: 3-5 sentences maximum
- Use lists and bullet points for readability
Content Quality Standards:
- Accuracy: Verify claims across multiple sources
- Completeness: Cover all major themes identified in Phase 1
- Balance: Include multiple perspectives when available
- Specificity: Avoid vague statements; provide concrete details
- Clarity: Write in clear, accessible language
- Attribution: Cite sources for key claims and data
Document Length:
- Aim for comprehensive but readable documents
- Typical range: 150-250 lines for thorough research
- Adjust based on topic complexity and user needs
- Better to be thorough than superficial
Phase 4: File Documentation
Save the synthesized document to the user's specified file path.
Steps:
- Confirm file path from user request
- Use absolute paths when provided
- Default to
/tmp/ if no path specified and ask user for confirmation
- Use
write_file tool with mode='rewrite'
- Include the complete structured document from Phase 3
- Confirm successful save to user
Available parameters:
await write_file({
"path": "/absolute/path/to/file.txt",
"content": "Document content here...",
"mode": "rewrite" # or "append"
})
File Naming Conventions:
- Use descriptive names based on topic
- Include date if relevant:
topic_2024.txt
- Use underscores for spaces:
climate_research.txt
- Prefer
.txt or .md extensions for text documents
- Match user's specified filename if provided
Best Practices
Search Strategy
- Cast wide net first: Initial search should be broad to capture full picture
- Multiple angles: Consider different search terms for comprehensive coverage
- Language awareness: Search in the user's language when possible
- Validate recency: Check publication dates when researching current topics
Source Selection
- Quality over quantity: Better to have 2-3 excellent sources than 5 mediocre ones
- Diversity: Seek different perspectives and types of sources
- Authority: Prioritize official sources, experts, and reputable publications
- Accessibility: Some sources may block fetch; have backup options
Synthesis Quality
- Structure matters: Well-organized content is more valuable than comprehensive chaos
- Context is key: Explain significance and implications, not just facts
- Be objective: Present balanced view and acknowledge limitations
- Stay focused: Address user's question directly; avoid tangents
Language and Localization
- Match user's language: If user asks in Korean, respond in Korean
- Maintain consistency: Don't mix languages within the document
- Cultural context: Consider cultural relevance when selecting sources
- Clear translation: When sources are in different languages, integrate smoothly
Common Pitfalls to Avoid
- Stopping too early: Don't rely only on initial search results
- Language mismatch: Don't respond in English when user asks in another language
- Poor structure: Avoid walls of text; use clear organization
- Missing attribution: Always cite sources for key information
- Ignoring failures: Handle fetch failures gracefully and continue
- Vague content: Provide specific information and concrete details
Quality Checklist
Before saving the file, verify:
- ✓ Document language matches user's request language
- ✓ All major themes from initial search are covered
- ✓ At least 2 authoritative sources were analyzed
- ✓ Specific data points and examples are included
- ✓ Document follows clear structural format
- ✓ Content is well-formatted with headers and organization
- ✓ Conclusion provides meaningful synthesis
- ✓ Sources are cited in references section
- ✓ File path is correct (absolute path)
- ✓ No placeholder text or incomplete sections
Workflow Example
User Request: "Python 머신러닝 라이브러리 트렌드를 조사해서 ~/Documents/ml_trends.txt로 저장해줘"
Execution:
Phase 1 - Search:
- Query: "Python 머신러닝 라이브러리 최신 트렌드 2024"
- Results: 10 sources about ML libraries, frameworks, trends
Phase 2 - Fetch:
- Fetch 2-3 Korean or English sources with detailed ML library information
- Extract: Library names, usage statistics, new features, comparison data
Phase 3 - Synthesize:
- Write document in Korean (matching user's language)
- Structure: 개요 → 주요 라이브러리 트렌드 → 비교 분석 → 결론
- Include: TensorFlow, PyTorch, scikit-learn statistics and trends
- Format: Clear headers, bullet points, data points
Phase 4 - Save:
- Write to:
/Users/user/Documents/ml_trends.txt
- Confirm: "✅ 머신러닝 라이브러리 트렌드 리포트가 저장되었습니다!"
Cross-Domain Adaptability
This skill works across all domains and topics:
Technology: Programming languages, frameworks, tools, trends
Science: Research findings, discoveries, methodologies
Business: Market analysis, industry trends, company research
Health: Medical research, treatments, health trends
Culture: Arts, entertainment, social trends
Education: Learning resources, educational trends, courses
Current Events: News, developments, ongoing situations
Any topic: The workflow adapts to any research subject
Multi-Language Support
This skill supports research in any language:
- Korean: Full support for Korean queries and Korean documents
- English: Full support for English queries and English documents
- Other languages: Adaptable to any language (Chinese, Japanese, Spanish, etc.)
- Mixed sources: Can synthesize from sources in multiple languages
- Language matching: Always match output language to user's request language
Notes
- Objectivity: Present balanced, factual information
- Timeliness: Check publication dates for time-sensitive topics
- User's language: Always match the document language to user's request
- File permissions: Verify user has write access to specified path
- Follow-up: Be prepared to expand or clarify sections if user requests
- Flexibility: Adapt structure and depth based on topic and user needs
1---2name: web-research-documenter3description: This skill should be used when users request research on any topic that requires web search, source analysis, and structured documentation saved to a file. It provides a systematic workflow for gathering information from multiple web sources, synthesizing findings into a comprehensive document, and saving results to a user-specified file path. This is a general-purpose research skill that works across all domains and languages.4---5
6# Web Research Documenter
7
8## Overview
9
10This skill provides a systematic workflow for researching any topic by conducting web searches, analyzing authoritative sources, synthesizing information into well-structured documents, and saving results to user-specified file paths. Unlike domain-specific research skills, this is a general-purpose skill that works across all topics and supports multiple languages.
11
12## When to Use This Skill
13
14Use this skill when users request:
15- Research on any topic with file output
16- Information gathering from web sources
17- Structured documentation of findings
18- Topic summaries or reports
19- Multi-source analysis and synthesis
20
21**Trigger patterns include:**
22- "[Topic]을/를 검색하고 파일로 저장해줘" (Korean)
23- "Research [topic] and save to file"
24- "Search for [topic] and create a report"
25- "Find information about [topic] and document it"
26- "Investigate [topic] and save the summary"
27
28**Key indicators:**
29- Request involves web search/research
30- Request specifies file output or saving results
31- Request requires synthesis from multiple sources
32- Request asks for structured documentation
33
34## Workflow
35
36Follow this systematic four-phase workflow:
37
38### Phase 1: Initial Web Search
39
40Conduct broad web search to identify key themes and authoritative sources.
41
42**Steps:**
431. Formulate search query based on user's topic and language
442. Use `web_search` tool with appropriate `max_results` (typically 8-12)
453. Scan results to identify:
46 - Major themes and key information
47 - Authoritative sources
48 - Specific data points or statistics
49 - Key terminology and concepts
50
51**Search Query Guidelines:**
52- Match the user's language (if user asks in Korean, search in Korean)
53- Include temporal indicators when relevant: "2024", "2025", "latest", "recent", "최신"
54- Add context keywords based on topic type
55- Be specific but not overly narrow
56- Examples:
57 - Good: "TypeScript 최신 트렌드 2024 2025"
58 - Good: "climate change latest research 2024"
59 - Good: "人工智能发展趋势 2024" (Chinese example)
60 - Too narrow: "TypeScript 5.3.2 bug fixes"
61 - Too broad: "technology"
62
63**Available parameters:**
64```python
65await web_search({
66 "query": "search terms here",
67 "max_results": 10, # default: 10
68 "engine": "duckduckgo" # default, can also use "brave" or "serper"
69})
70```
71
72### Phase 2: Deep Source Analysis
73
74Fetch and analyze 2-4 most relevant sources for detailed information.
75
76**Steps:**
771. Select sources based on:
78 - Recency (prefer recent content when researching trends)
79 - Authority (official sources, major publications, recognized experts)
80 - Comprehensiveness (detailed content over brief mentions)
81 - Relevance to user's specific question
82 - Language match (prefer sources in user's language when available)
83
842. Use `fetch` tool to retrieve full content:
85 - Set appropriate `max_length` (6000-10000 for detailed articles)
86 - Fetch multiple sources when possible
87 - Handle fetch failures gracefully (some sites may block access)
88 - Prioritize sources that provide different perspectives
89
903. Extract key information:
91 - Main points and themes
92 - Specific data, statistics, or metrics
93 - Expert opinions or authoritative statements
94 - Examples or case studies
95 - Future predictions or trends
96
97**Available parameters:**
98```python
99await fetch({
100 "url": "https://example.com/article",
101 "max_length": 8000, # default: 5000
102 "start_index": 0, # default: 0
103 "raw": False # default: False (returns markdown)
104})
105```
106
107**Handling fetch failures:**
108- If a source fails to fetch, continue with other sources
109- Log the failure but don't let it stop the workflow
110- Ensure at least 2 sources are successfully fetched
111- If all fetches fail, synthesize from search results only
112
113### Phase 3: Information Synthesis
114
115Organize and synthesize information into a structured document.
116
117**Language Matching:**
118- **CRITICAL**: Match the document language to the user's request language
119- If user asks in Korean, write the entire document in Korean
120- If user asks in English, write in English
121- If user asks in another language, write in that language
122- Maintain consistency throughout the document
123
124**Structure Guidelines:**
125
126Core sections to include:
1271. **Header**: Title, date, topic overview
1282. **Executive Summary**: 2-3 paragraph overview in user's language
1293. **Main Content**: Organized sections with clear headings
130 - Use numbered sections or topic-based organization
131 - Include subheadings for clarity
1324. **Key Points**: Important findings, data, or insights
1335. **Context**: Background information, current state, significance
1346. **Conclusion**: Key takeaways and synthesis
1357. **References**: Source links and citations
136
137**Formatting Standards:**
138- Use clear hierarchy: Headers with `===`, subheaders with `---`, bullet points
139- Include specific data: percentages, dates, numbers, names
140- Provide examples when relevant
141- Add visual separation: line breaks, section dividers
142- Use symbols for emphasis: ✓, •, →, ★, 📌
143- Keep paragraphs concise: 3-5 sentences maximum
144- Use lists and bullet points for readability
145
146**Content Quality Standards:**
147- **Accuracy**: Verify claims across multiple sources
148- **Completeness**: Cover all major themes identified in Phase 1
149- **Balance**: Include multiple perspectives when available
150- **Specificity**: Avoid vague statements; provide concrete details
151- **Clarity**: Write in clear, accessible language
152- **Attribution**: Cite sources for key claims and data
153
154**Document Length:**
155- Aim for comprehensive but readable documents
156- Typical range: 150-250 lines for thorough research
157- Adjust based on topic complexity and user needs
158- Better to be thorough than superficial
159
160### Phase 4: File Documentation
161
162Save the synthesized document to the user's specified file path.
163
164**Steps:**
1651. Confirm file path from user request
166 - Use absolute paths when provided
167 - Default to `/tmp/` if no path specified and ask user for confirmation
1682. Use `write_file` tool with `mode='rewrite'`
1693. Include the complete structured document from Phase 3
1704. Confirm successful save to user
171
172**Available parameters:**
173```python
174await write_file({
175 "path": "/absolute/path/to/file.txt",
176 "content": "Document content here...",
177 "mode": "rewrite" # or "append"
178})
179```
180
181**File Naming Conventions:**
182- Use descriptive names based on topic
183- Include date if relevant: `topic_2024.txt`
184- Use underscores for spaces: `climate_research.txt`
185- Prefer `.txt` or `.md` extensions for text documents
186- Match user's specified filename if provided
187
188## Best Practices
189
190### Search Strategy
191
192- **Cast wide net first**: Initial search should be broad to capture full picture
193- **Multiple angles**: Consider different search terms for comprehensive coverage
194- **Language awareness**: Search in the user's language when possible
195- **Validate recency**: Check publication dates when researching current topics
196
197### Source Selection
198
199- **Quality over quantity**: Better to have 2-3 excellent sources than 5 mediocre ones
200- **Diversity**: Seek different perspectives and types of sources
201- **Authority**: Prioritize official sources, experts, and reputable publications
202- **Accessibility**: Some sources may block fetch; have backup options
203
204### Synthesis Quality
205
206- **Structure matters**: Well-organized content is more valuable than comprehensive chaos
207- **Context is key**: Explain significance and implications, not just facts
208- **Be objective**: Present balanced view and acknowledge limitations
209- **Stay focused**: Address user's question directly; avoid tangents
210
211### Language and Localization
212
213- **Match user's language**: If user asks in Korean, respond in Korean
214- **Maintain consistency**: Don't mix languages within the document
215- **Cultural context**: Consider cultural relevance when selecting sources
216- **Clear translation**: When sources are in different languages, integrate smoothly
217
218### Common Pitfalls to Avoid
219
220- **Stopping too early**: Don't rely only on initial search results
221- **Language mismatch**: Don't respond in English when user asks in another language
222- **Poor structure**: Avoid walls of text; use clear organization
223- **Missing attribution**: Always cite sources for key information
224- **Ignoring failures**: Handle fetch failures gracefully and continue
225- **Vague content**: Provide specific information and concrete details
226
227## Quality Checklist
228
229Before saving the file, verify:
230- ✓ Document language matches user's request language
231- ✓ All major themes from initial search are covered
232- ✓ At least 2 authoritative sources were analyzed
233- ✓ Specific data points and examples are included
234- ✓ Document follows clear structural format
235- ✓ Content is well-formatted with headers and organization
236- ✓ Conclusion provides meaningful synthesis
237- ✓ Sources are cited in references section
238- ✓ File path is correct (absolute path)
239- ✓ No placeholder text or incomplete sections
240
241## Workflow Example
242
243**User Request**: "Python 머신러닝 라이브러리 트렌드를 조사해서 ~/Documents/ml_trends.txt로 저장해줘"
244
245**Execution**:
246
2471. **Phase 1 - Search**:
248 - Query: "Python 머신러닝 라이브러리 최신 트렌드 2024"
249 - Results: 10 sources about ML libraries, frameworks, trends
250
2512. **Phase 2 - Fetch**:
252 - Fetch 2-3 Korean or English sources with detailed ML library information
253 - Extract: Library names, usage statistics, new features, comparison data
254
2553. **Phase 3 - Synthesize**:
256 - Write document in Korean (matching user's language)
257 - Structure: 개요 → 주요 라이브러리 트렌드 → 비교 분석 → 결론
258 - Include: TensorFlow, PyTorch, scikit-learn statistics and trends
259 - Format: Clear headers, bullet points, data points
260
2614. **Phase 4 - Save**:
262 - Write to: `/Users/user/Documents/ml_trends.txt`
263 - Confirm: "✅ 머신러닝 라이브러리 트렌드 리포트가 저장되었습니다!"
264
265## Cross-Domain Adaptability
266
267This skill works across all domains and topics:
268
269**Technology**: Programming languages, frameworks, tools, trends
270**Science**: Research findings, discoveries, methodologies
271**Business**: Market analysis, industry trends, company research
272**Health**: Medical research, treatments, health trends
273**Culture**: Arts, entertainment, social trends
274**Education**: Learning resources, educational trends, courses
275**Current Events**: News, developments, ongoing situations
276**Any topic**: The workflow adapts to any research subject
277
278## Multi-Language Support
279
280This skill supports research in any language:
281
282- **Korean**: Full support for Korean queries and Korean documents
283- **English**: Full support for English queries and English documents
284- **Other languages**: Adaptable to any language (Chinese, Japanese, Spanish, etc.)
285- **Mixed sources**: Can synthesize from sources in multiple languages
286- **Language matching**: Always match output language to user's request language
287
288## Notes
289
290- **Objectivity**: Present balanced, factual information
291- **Timeliness**: Check publication dates for time-sensitive topics
292- **User's language**: Always match the document language to user's request
293- **File permissions**: Verify user has write access to specified path
294- **Follow-up**: Be prepared to expand or clarify sections if user requests
295- **Flexibility**: Adapt structure and depth based on topic and user needs