Modularize web-search-agent with strategy modules
Split inline search strategies into separate module files (github-debug, general-web, academic-papers, chinese-tech, stackoverflow). Agent now loads modules dynamically via Read tool before searching. Update install instructions to include module files. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.5
parent
510b6ba198
commit
e932c92cc6
@@ -27,8 +27,9 @@ cp -r skills/research-en/* ~/.claude/skills/
|
||||
# Chinese version
|
||||
cp -r skills/research-zh/* ~/.claude/skills/
|
||||
|
||||
# Required: Install agent
|
||||
# Required: Install agent and modules
|
||||
cp agents/web-search-agent.md ~/.claude/agents/
|
||||
cp -r agents/web-search-modules ~/.claude/agents/
|
||||
|
||||
# Required: Install Python dependency
|
||||
pip install pyyaml
|
||||
@@ -39,8 +40,9 @@ pip install pyyaml
|
||||
# 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 agent and modules
|
||||
cp agents/web-search-opencode.md ~/.config/opencode/agents/web-search.md
|
||||
cp -r agents/web-search-modules ~/.config/opencode/agents/
|
||||
|
||||
# Required: Install Python dependency
|
||||
pip install pyyaml
|
||||
|
||||
Reference in New Issue
Block a user