Research
Research Methodology
Always honoring YAGNI, KISS, and DRY principles.
Be honest, be brutal, straight to the point, and be concise.
Phase 1: Scope Definition
First, you will clearly define the research scope by:
- Identifying key terms and concepts to investigate
- Determining the recency requirements (how current must information be)
- Establishing evaluation criteria for sources
- Setting boundaries for the research depth
Phase 2: Systematic Information Gathering
You will employ a multi-source research strategy:
Search Strategy:
- Gemini Toggle: Check
.claude/.ck.json (or ~/.claude/.ck.json) for skills.research.useGemini (default: false). If false or absent, skip Gemini and use WebSearch directly.
- Gemini Model: Read from
.claude/.ck.json: gemini.model (default: gemini-3-flash-preview)
- If
useGemini is true: first validate Gemini CLI works: command -v gemini >/dev/null 2>&1 && cd /tmp && timeout 15 gemini -y -m <gemini.model> --prompt "ping" >/dev/null 2>&1. If validation fails or times out, fall back to WebSearch and warn: "Gemini CLI unavailable or auth failed, using WebSearch."
- If validation passes, execute research from a temp dir to avoid project GEMINI.md interception (note: global
~/.gemini/GEMINI.md still loads): cd /tmp && timeout 180 gemini -y -m <gemini.model> --prompt "...your search prompt..." 2>&1. Check exit code — if non-zero or output contains GaxiosError, RESOURCE_EXHAUSTED, MODEL_CAPACITY_EXHAUSTED, PERMISSION_DENIED, or UNAUTHENTICATED, fall back to WebSearch for that query and warn: "Gemini CLI failed, falling back to WebSearch." Save successful output using Report: path from ## Naming section (including all citations).
- If
useGemini is disabled or gemini bash command is not available, use WebSearch tool.
- Run multiple
gemini bash commands or WebSearch tools in parallel to search for relevant information.
- Craft precise search queries with relevant keywords
- Include terms like "best practices", "2024", "latest", "security", "performance"
- Search for official documentation, GitHub repositories, and authoritative blogs
- Prioritize results from recognized authorities (official docs, major tech companies, respected developers)
- IMPORTANT: You are allowed to perform at most 5 researches (max 5 tool calls), user might request less than this amount, strictly respect it, think carefully based on the task before performing each related research topic.
Deep Content Analysis:
- When you found a potential Github repository URL, use
ck:docs-seeker skill to find read it.
- Focus on official documentation, API references, and technical specifications
- Analyze README files from popular GitHub repositories
- Review changelog and release notes for version-specific information
Video Content Research:
- Prioritize content from official channels, recognized experts, and major conferences
- Focus on practical demonstrations and real-world implementations
Cross-Reference Validation:
- Verify information across multiple independent sources
- Check publication dates to ensure currency
- Identify consensus vs. controversial approaches
- Note any conflicting information or debates in the community
Phase 3: Analysis and Synthesis
You will analyze gathered information by:
- Identifying common patterns and best practices
- Evaluating pros and cons of different approaches
- Assessing maturity and stability of technologies
- Recognizing security implications and performance considerations
- Determining compatibility and integration requirements
Phase 4: Report Generation
Notes:
- Research reports are saved using
Report: path from ## Naming section.
- If
## Naming section is not available, ask main agent to provide the output path.
You will create a comprehensive markdown report with the following structure:
# Research Report: [Topic]
## Executive Summary
[2-3 paragraph overview of key findings and recommendations]
## Research Methodology
- Sources consulted: [number]
- Date range of materials: [earliest to most recent]
- Key search terms used: [list]
## Key Findings
### 1. Technology Overview
[Comprehensive description of the technology/topic]
### 2. Current State & Trends
[Latest developments, version information, adoption trends]
### 3. Best Practices
[Detailed list of recommended practices with explanations]
### 4. Security Considerations
[Security implications, vulnerabilities, and mitigation strategies]
### 5. Performance Insights
[Performance characteristics, optimization techniques, benchmarks]
## Comparative Analysis
[If applicable, comparison of different solutions/approaches]
## Implementation Recommendations
### Quick Start Guide
[Step-by-step getting started instructions]
### Code Examples
[Relevant code snippets with explanations]
### Common Pitfalls
[Mistakes to avoid and their solutions]
## Resources & References
### Official Documentation
- [Linked list of official docs]
### Recommended Tutorials
- [Curated list with descriptions]
### Community Resources
- [Forums, Discord servers, Stack Overflow tags]
### Further Reading
- [Advanced topics and deep dives]
## Appendices
### A. Glossary
[Technical terms and definitions]
### B. Version Compatibility Matrix
[If applicable]
### C. Raw Research Notes
[Optional: detailed notes from research process]
Quality Standards
You will ensure all research meets these criteria:
- Accuracy: Information is verified across multiple sources
- Currency: Prioritize information from the last 12 months unless historical context is needed
- Completeness: Cover all aspects requested by the user
- Actionability: Provide practical, implementable recommendations
- Clarity: Use clear language, define technical terms, provide examples
- Attribution: Always cite sources and provide links for verification
Special Considerations
- When researching security topics, always check for recent CVEs and security advisories
- For performance-related research, look for benchmarks and real-world case studies
- When investigating new technologies, assess community adoption and support levels
- For API documentation, verify endpoint availability and authentication requirements
- Always note deprecation warnings and migration paths for older technologies
Output Requirements
IMPORTANT: Invoke "/ck:project-organization" skill to organize the outputs.
Your final report must:
- Be saved using the
Report: path from ## Naming section with a descriptive filename
- Include a timestamp of when the research was conducted
- Provide clear section navigation with a table of contents for longer reports
- Use code blocks with appropriate syntax highlighting
- Include diagrams or architecture descriptions where helpful (in mermaid or ASCII art)
- Conclude with specific, actionable next steps
IMPORTANT: Sacrifice grammar for the sake of concision when writing reports.
IMPORTANT: In reports, list any unresolved questions at the end, if any.
Remember: You are not just collecting information, but providing strategic technical intelligence that enables informed decision-making. Your research should anticipate follow-up questions and provide comprehensive coverage of the topic while remaining focused and practical.
1---2name: ck-research3description: "Research technical solutions, analyze architectures, gather requirements thoroughly. Use for technology evaluation, best practices research, solution design, scalability/security/maintainability analysis."4license: MIT5argument-hint: "[topic]"6metadata:7 source: https://skillmd.com/skills/bestagentkits/ck-research8 author: claudekit9 version: "1.0.0"10---1112# Research1314## Research Methodology1516Always honoring **YAGNI**, **KISS**, and **DRY** principles.17**Be honest, be brutal, straight to the point, and be concise.**1819### Phase 1: Scope Definition2021First, you will clearly define the research scope by:22- Identifying key terms and concepts to investigate23- Determining the recency requirements (how current must information be)24- Establishing evaluation criteria for sources25- Setting boundaries for the research depth2627### Phase 2: Systematic Information Gathering2829You will employ a multi-source research strategy:30311. **Search Strategy**:32 - **Gemini Toggle**: Check `.claude/.ck.json` (or `~/.claude/.ck.json`) for `skills.research.useGemini` (default: `false`). If `false` or absent, skip Gemini and use WebSearch directly.33 - **Gemini Model**: Read from `.claude/.ck.json`: `gemini.model` (default: `gemini-3-flash-preview`)34 - If `useGemini` is `true`: first validate Gemini CLI works: `command -v gemini >/dev/null 2>&1 && cd /tmp && timeout 15 gemini -y -m <gemini.model> --prompt "ping" >/dev/null 2>&1`. If validation fails or times out, fall back to WebSearch and warn: "Gemini CLI unavailable or auth failed, using WebSearch."35 - If validation passes, execute research from a temp dir to avoid project GEMINI.md interception (note: global `~/.gemini/GEMINI.md` still loads): `cd /tmp && timeout 180 gemini -y -m <gemini.model> --prompt "...your search prompt..." 2>&1`. Check exit code — if non-zero or output contains `GaxiosError`, `RESOURCE_EXHAUSTED`, `MODEL_CAPACITY_EXHAUSTED`, `PERMISSION_DENIED`, or `UNAUTHENTICATED`, fall back to WebSearch for that query and warn: "Gemini CLI failed, falling back to WebSearch." Save successful output using `Report:` path from `## Naming` section (including all citations).36 - If `useGemini` is disabled or `gemini` bash command is not available, use `WebSearch` tool.37 - Run multiple `gemini` bash commands or `WebSearch` tools in parallel to search for relevant information.38 - Craft precise search queries with relevant keywords39 - Include terms like "best practices", "2024", "latest", "security", "performance"40 - Search for official documentation, GitHub repositories, and authoritative blogs41 - Prioritize results from recognized authorities (official docs, major tech companies, respected developers)42 - **IMPORTANT:** You are allowed to perform at most **5 researches (max 5 tool calls)**, user might request less than this amount, **strictly respect it**, think carefully based on the task before performing each related research topic.43442. **Deep Content Analysis**:45 - When you found a potential Github repository URL, use `ck:docs-seeker` skill to find read it.46 - Focus on official documentation, API references, and technical specifications47 - Analyze README files from popular GitHub repositories48 - Review changelog and release notes for version-specific information49503. **Video Content Research**:51 - Prioritize content from official channels, recognized experts, and major conferences52 - Focus on practical demonstrations and real-world implementations53544. **Cross-Reference Validation**:55 - Verify information across multiple independent sources56 - Check publication dates to ensure currency57 - Identify consensus vs. controversial approaches58 - Note any conflicting information or debates in the community5960### Phase 3: Analysis and Synthesis6162You will analyze gathered information by:63- Identifying common patterns and best practices64- Evaluating pros and cons of different approaches65- Assessing maturity and stability of technologies66- Recognizing security implications and performance considerations67- Determining compatibility and integration requirements6869### Phase 4: Report Generation7071**Notes:**72- Research reports are saved using `Report:` path from `## Naming` section.73- If `## Naming` section is not available, ask main agent to provide the output path.7475You will create a comprehensive markdown report with the following structure:7677```markdown78# Research Report: [Topic]7980## Executive Summary81[2-3 paragraph overview of key findings and recommendations]8283## Research Methodology84- Sources consulted: [number]85- Date range of materials: [earliest to most recent]86- Key search terms used: [list]8788## Key Findings8990### 1. Technology Overview91[Comprehensive description of the technology/topic]9293### 2. Current State & Trends94[Latest developments, version information, adoption trends]9596### 3. Best Practices97[Detailed list of recommended practices with explanations]9899### 4. Security Considerations100[Security implications, vulnerabilities, and mitigation strategies]101102### 5. Performance Insights103[Performance characteristics, optimization techniques, benchmarks]104105## Comparative Analysis106[If applicable, comparison of different solutions/approaches]107108## Implementation Recommendations109110### Quick Start Guide111[Step-by-step getting started instructions]112113### Code Examples114[Relevant code snippets with explanations]115116### Common Pitfalls117[Mistakes to avoid and their solutions]118119## Resources & References120121### Official Documentation122- [Linked list of official docs]123124### Recommended Tutorials125- [Curated list with descriptions]126127### Community Resources128- [Forums, Discord servers, Stack Overflow tags]129130### Further Reading131- [Advanced topics and deep dives]132133## Appendices134135### A. Glossary136[Technical terms and definitions]137138### B. Version Compatibility Matrix139[If applicable]140141### C. Raw Research Notes142[Optional: detailed notes from research process]143```144145## Quality Standards146147You will ensure all research meets these criteria:148- **Accuracy**: Information is verified across multiple sources149- **Currency**: Prioritize information from the last 12 months unless historical context is needed150- **Completeness**: Cover all aspects requested by the user151- **Actionability**: Provide practical, implementable recommendations152- **Clarity**: Use clear language, define technical terms, provide examples153- **Attribution**: Always cite sources and provide links for verification154155## Special Considerations156157- When researching security topics, always check for recent CVEs and security advisories158- For performance-related research, look for benchmarks and real-world case studies159- When investigating new technologies, assess community adoption and support levels160- For API documentation, verify endpoint availability and authentication requirements161- Always note deprecation warnings and migration paths for older technologies162163## Output Requirements164**IMPORTANT:** Invoke "/ck:project-organization" skill to organize the outputs.165166Your final report must:1671. Be saved using the `Report:` path from `## Naming` section with a descriptive filename1682. Include a timestamp of when the research was conducted1693. Provide clear section navigation with a table of contents for longer reports1704. Use code blocks with appropriate syntax highlighting1715. Include diagrams or architecture descriptions where helpful (in mermaid or ASCII art)1726. Conclude with specific, actionable next steps173174**IMPORTANT:** Sacrifice grammar for the sake of concision when writing reports.175**IMPORTANT:** In reports, list any unresolved questions at the end, if any.176177**Remember:** You are not just collecting information, but providing strategic technical intelligence that enables informed decision-making. Your research should anticipate follow-up questions and provide comprehensive coverage of the topic while remaining focused and practical.