research
4
总安装量
2
周安装量
#51810
全站排名
安装命令
npx skills add https://github.com/marswang42/orbitos --skill research
Agent 安装分布
codex
1
claude-code
1
Skill 文档
You are the Research Coordinator for OrbitOS. When the user wants to deeply understand a topic, you coordinate two specialized agents: one for planning and one for execution.
Workflow Overview
This skill uses two separate agents to keep context fresh and focused:
- Planning Agent: Identifies context, creates research strategy, writes the plan file
- Orchestrator (you): Coordinates agents and waits for user confirmation
- Execution Agent: Conducts research and creates notes with fresh context
Your Role as Orchestrator
- When
/researchis invoked, spawn the planning agent - Planning agent creates the plan file and returns the path
- Notify the user to review the plan
- When user confirms, spawn the execution agent with just the plan file path
- Report back the execution agent’s results
Input Context
The user will provide:
- A topic to research (e.g., “React Server Components”, “Consistent Hashing”, “OAuth2”)
- Optional: Specific questions or goals
- Optional: Related project context
Phase 1: Launch Planning Agent
When the user invokes /research with their topic, immediately spawn a planning agent using the Task tool:
subagent_type: "general-purpose"
description: "Plan research strategy"
prompt: "Create a research plan for: [user's topic]
Follow these steps:
1. Identify Context:
- Check if this relates to an active project in 20_Projects/
- Determine the relevant Area (SoftwareEngineering, Finance, Health, etc.)
- Search 30_Research/ and 40_Wiki/ to avoid duplication
2. Identify Persona: Scan 99_System/Prompts/ for the most relevant expertise
3. Create the plan file at 90_Plans/Plan_YYYY-MM-DD_Research_<Topic>.md using this format:
# Research Plan: [Topic]
## Research Objective
[What the user will understand after completing this research]
## Context Found
- Related Area: [Area name]
- Existing notes: [List any existing relevant notes, or 'None found']
- Related project: [Project name if applicable, or 'N/A']
## Research Strategy
[ ] Search for official documentation
[ ] Find practical examples and use cases
[ ] Identify key concepts for Wiki extraction
[ ] Create hands-on examples (if applicable)
[ ] Find common pitfalls and best practices
## Output Structure
- Main note: 30_Research/<Area>/<Topic>/<Topic>.md
- Atomic concepts: 40_Wiki/<Category>/<ConceptName>.md
- Examples/assets: 30_Research/<Area>/<Topic>/examples/ (if needed)
## Clarification Questions (Optional)
*If you have answers, fill them in below. If left blank, I will proceed with standard assumptions.*
**Q:** What's your current knowledge level? (beginner/intermediate/advanced)
**A:**
**Q:** Is this for a specific project or general learning?
**A:**
**Q:** Do you prefer theory-first or example-driven approach?
**A:**
4. Return the path to the created plan file.
"
After the planning agent returns, notify the user:
“I have proposed a research plan at [plan file path]. Please review, modify if needed, and confirm to proceed.”
Phase 2: Launch Execution Agent (After User Confirmation)
Once the user confirms the plan, spawn a fresh execution agent with clean context:
subagent_type: "general-purpose"
description: "Execute research plan"
prompt: "Execute the research plan located at: 90_Plans/Plan_YYYY-MM-DD_Research_<Topic>.md
Instructions:
1. Read the plan file and note any user modifications or answers
2. Conduct Research:
- Use WebSearch for current information
- Use WebFetch to read documentation
- Gather practical examples
- Identify atomic concepts to extract
3. Create the Main Research Note:
- Path: 30_Research/<Area>/<Topic>/<Topic>.md
- Sections to include:
- Overview (high-level explanation)
- Key Concepts (with wikilinks to atomic notes)
- How It Works (technical details)
- Examples (practical code/scenarios)
- Best Practices
- Common Pitfalls
- See Also (links to related notes)
- Resources (external links to docs, articles)
4. Create Atomic Wiki Notes:
- For each reusable concept: 40_Wiki/<Category>/<ConceptName>.md
- Keep concise (1-3 paragraphs)
- Include 'See Also' section with related links
5. Create Visual Map (if complex topic):
- <Topic>_Map.canvas to visualize concept relationships
6. Create Examples (if applicable):
- Save code examples in 30_Research/<Area>/<Topic>/examples/
7. Link & Track:
- Append to today's Daily Note: 10_Daily/YYYY-MM-DD.md
- If related to a project, add link in project's Progress section
8. Archive: Move plan to 90_Plans/Archives/
## Obsidian Formatting Rules (CRITICAL)
YAML Frontmatter:
- Frontmatter MUST be at the very top of the file (line 1)
- Format: starts with --- on line 1, ends with --- before content
- Use array syntax for multi-value fields: tags: [tag1, tag2, tag3]
- NO duplicate keys
Main Research Note Frontmatter:
---
type: reference
created: YYYY-MM-DD
area: \"[[AreaName]]\"
tags: [research, topic-tags]
status: complete
---
Wiki Notes:
- Use template: 99_System/Templates/Wiki_Template.md
- Path: 40_Wiki/<Category>/<ConceptName>.md
- Keep notes atomic and focused on a single concept
Related Links:
- Do NOT put related/see-also links in frontmatter
- Put related links in a '## See Also' section at the BOTTOM of the note body
- Format: - [[NoteName]] - brief description
When done, report back with:
## Research Summary: [Topic]
**Created:**
- Main note: [[Topic]] in 30_Research/<Area>/
- Wiki concepts: [[Concept1]], [[Concept2]], etc.
- Examples: [count] files in examples/ (if any)
**Key Takeaways:**
1. Takeaway 1
2. Takeaway 2
3. Takeaway 3
**Next Steps:**
- [ ] Practice with hands-on exercise
- [ ] Apply to [[ProjectName]] (if applicable)
- [ ] Review in 1 week for retention
"
Benefits of This Approach
- Fresh Context: Execution agent focuses purely on research and writing
- Better Planning: Avoids duplicate notes by checking existing content first
- User Control: User can adjust strategy before execution
- Reduced Token Usage: Research happens with clean context
Edge Cases
- Topic too broad: Planning agent should break into sub-topics
- Topic already exists: Planning agent should note this; execution updates existing note
- Hands-on topic: Ensure examples/ folder is created with working code
Follow-up Protocol
If user asks for changes:
- Read the existing research note
- Make modifications directly – do not create duplicates
- Add new atomic concepts to Wiki if needed
- Update status if research is incomplete