Omk Research
Researchomk-researchOmk Research is an Agent Skill for research published in the KaimingWan/oh-my-kiro repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Multi-level research: built-in knowledge → web search → Tavily deep research API. Trigger when user says 'research', 'investigate', 'find out', 'compare', 'what is', 'how does X work', 'competitive analysis', 'market research', '@research', or needs information beyond the current codebase and knowledge base.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/KaimingWan/oh-my-kiro/blob/HEAD/skills/omk-research/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/omk-research, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Trigger Examples
- "@research AutoMQ vs Confluent 对比"
- "帮我调研一下这个库怎么用"
- "find out how competitors handle this"
- "what's the best practice for X in 2026?"
- "compare these three approaches"
Research Skill — Multi-Level Search
Search Level Strategy
Always use the lowest level that can answer the question:
| Level | Tool | Use Case | Cost |
|---|---|---|---|
| 0 | Built-in knowledge | Common concepts, basics | Free |
| 1 | web_search | Quick verification, simple queries | Free |
| 2 | Tavily Research API | Deep research, competitive analysis | API credits |
Rule: If Level 0 or 1 can answer it, don't use Level 2.
Don't need research: Common knowledge, already in knowledge/, answerable from built-in knowledge.
Level 2: Tavily Research API
Prerequisites
Get your API key at https://tavily.com (1000 free credits/month)
Set environment variable:
export TAVILY_API_KEY="tvly-your-key-here"
Or add to your agent config:
{
"env": {
"TAVILY_API_KEY": "tvly-your-key-here"
}
}
Usage
./scripts/research.sh '{"input": "your research query"}' [output_file]
# Quick research
./scripts/research.sh '{"input": "quantum computing trends"}'
# Deep research
./scripts/research.sh '{"input": "AI agents comparison", "model": "pro"}'
# Save to file
./scripts/research.sh '{"input": "market analysis", "model": "pro"}' ./report.md
Model Selection
| Model | Use Case | Speed |
|---|---|---|
mini | Single topic, targeted | ~30s |
pro | Multi-angle, comprehensive | ~60-120s |
auto | API chooses based on complexity | Varies |
Rule of thumb: "what does X do?" → mini. "X vs Y vs Z" → pro.
Structured Output
./scripts/research.sh '{
"input": "fintech startups 2025",
"model": "pro",
"output_schema": {
"properties": {
"summary": {"type": "string", "description": "Executive summary"},
"companies": {"type": "array", "items": {"type": "string"}}
},
"required": ["summary"]
}
}'
Citation Formats
Supported: numbered (default), mla, apa, chicago
./scripts/research.sh '{"input": "climate impacts", "citation_format": "apa"}'
Post-Research 沉淀 Checkpoint
After completing research, before writing findings or recommendations:
Socratic validation (mandatory for each recommendation/gap/optimization):
- Does this problem actually exist in the current codebase? Check existing solutions first.
- Is the proposed fix feasible on all target platforms (Kiro + CC)? Check constraints.
- Does the benefit outweigh the maintenance cost?
If any answer is "no" → drop that recommendation. Don't include it in findings.
Then persist:
- Record validated findings in
docs/plans/findings.md(if working on a plan) - If findings reveal reusable patterns → write to
knowledge/episodes.md - Cite sources with URLs — no hallucinated references