opencode-olostepOlostep plugin for OpenCode - web scraping, crawling, and search via the Olostep CLI
0
132
近 7 天 2
32.3
生态多维模型
20 天前
2026-07-30
快速安装与配置
opencode.json写入当前项目的 opencode.json,只对这个仓库生效。
opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-olostep@1.0.0"]
}写入 ~/.config/opencode/opencode.json,对所有项目生效。
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-olostep@1.0.0"]
}若你要在本地改造这个插件,先装到项目里再从本地路径引用。
shell
pnpm add -D opencode-olostepopencode 启动时会通过内嵌运行时自动加载 npm 依赖并缓存至本地目录,无需手动在全局环境执行安装。
OpenCode plugin for Olostep — gives your AI agent reliable web scraping, crawling, search, site mapping, and AI-grounded answers via the Olostep CLI.
Installation
Add the plugin to your opencode.json:
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-olostep"]
}
Then install the Olostep CLI globally:
npm install -g olostep-cli
Authentication
The plugin reads your key from the OLOSTEP_API_KEY environment variable and
passes it to Olostep commands automatically. Get an API key at
olostep.com and set it:
export OLOSTEP_API_KEY="your-key"
What it does
This plugin registers the Olostep CLI skill with OpenCode. Once installed, the agent can:
- Search the web for ranked, relevant results
- Scrape any webpage to clean markdown, HTML, JSON, or text
- Map all URLs on a website
- Crawl entire websites recursively, with include/exclude filters
- Answer questions with AI-synthesized responses grounded in live sources
- Batch scrape up to ~10,000 URLs at once
Results can be written to an .olostep/ directory to avoid flooding context.
Links
License
MIT