23
近 30 天 +22
1,487
近 7 天 311
59.1
生态多维模型
1 天前
2026-10-04
快速安装与配置
opencode.json写入当前项目的 opencode.json,只对这个仓库生效。
opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-skills-tui@1.1.0"]
}写入 ~/.config/opencode/opencode.json,对所有项目生效。
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-skills-tui@1.1.0"]
}若你要在本地改造这个插件,先装到项目里再从本地路径引用。
shell
pnpm add -D opencode-skills-tuiOpenCode 启动时会通过内嵌运行时自动加载 npm 依赖并缓存至本地目录,无需手动在全局环境执行安装。
A skill list for your OpenCode sidebar. See what's available, check what the current session has loaded, and read SKILL.md without leaving the terminal.

✨ What you get
- Browse the skills available to your project, with loaded skills pinned in green and tracked per session.
- Click a skill to read its SKILL.md in a scrollable preview.
📦 Install
Requires OpenCode ≥ 2.0:
# install
opencode plugin add opencode-skills-tui
# uninstall
opencode plugin remove opencode-skills-tui
# update
opencode plugin update opencode-skills-tui
On V1, see the V1 guide.
🔧 A few tips
- Where the green marks come from: derived from session messages (skill tool calls and @-mentions). Reopening an old session restores them after a moment; opening a preview never loads a skill.
- Updating: run
opencode plugin update opencode-skills-tui, then restart. npm copies are cached under~/.cache/opencode/npm/opencode-skills-tui@latest/; delete that directory if an update refuses to land.
🛠️ Development
Working on the plugin? Clone the repo and install Bun for the development tools:
git clone https://github.com/aihaipeng/opencode-skills-tui.git
cd opencode-skills-tui
bun install
bun run typecheck
bun run test
bun run test:package
Run bun run build before loading this repository as a local plugin, then add its file:// path to the plugins array in cli.json and restart. Published npm packages ship precompiled Solid code and need no build step.
同类生态推荐
Sidebar Token Metrics
opencode-sidebar-token-metrics
OpenCode sidebar plugin showing generation speed (tok/s), cache hit rate, and average time-to-first-token (TTFT).
Timeline
@memef1f1y/opencode-timeline-plugin
Conversation history node viewer for the OpenCode TUI (sidebar timeline)
Shell
@opencode-cockpit/shell
Background shells for OpenCode: the agent starts, waits on and drives PTYs; you watch them in a docked TUI panel