support opencode

This commit is contained in:
jilinchen
2026-01-11 14:21:28 +08:00
parent 7426ee8383
commit 6a68406923
3 changed files with 205 additions and 2 deletions
+14 -1
View File
@@ -1,4 +1,4 @@
# Deep Research Skill for Claude Code
# Deep Research Skill for Claude Code / OpenCode
[English](README.md) | [中文](README.zh.md)
@@ -15,6 +15,7 @@ A structured research workflow skill for Claude Code, supporting two-phase resea
## Installation
### Claude Code
```bash
# English version
cp -r skills/research-en/* ~/.claude/skills/
@@ -29,6 +30,18 @@ cp agents/web-search-agent.md ~/.claude/agents/
pip install pyyaml
```
### OpenCode (default: gpt-5.2)
```bash
# Skills (same as Claude Code)
cp -r skills/research-en/* ~/.claude/skills/ # or research-zh for Chinese
# Required: Install agent
cp agents/web-search-opencode.md ~/.config/opencode/agent/web-search.md
# Required: Install Python dependency
pip install pyyaml
```
## Commands
> **Claude Code 2.1.0+**: Direct `/skill-name` trigger is now supported!