Agent Skills
› volcengine/OpenViking
› opencode
opencode
GitHub提供用于监控和管理OpenCode实例的辅助脚本,支持列出会话、查看消息及识别状态。
触发场景
需要列出当前OpenCode会话
查询特定会话的消息历史
检查Agent运行状态
安装
npx skills add volcengine/OpenViking --skill opencode -g -y
SKILL.md
Frontmatter
{
"name": "opencode",
"metadata": {
"vikingbot": {
"emoji": "💻",
"requires": {
"bins": [
"python3"
]
}
}
},
"description": "Monitor and manage your OpenCode tasks using helper scripts."
}
OpenCode Skill
Use helper scripts to manage your OpenCode instances.
Helper Scripts
All scripts are in the workspace skills directory. Run them with:
uv run python skills/opencode/script_name.py
Note: Do not kill the opencode process.
Scripts
list_sessions.py
Listing all OpenCode sessions
Example: uv run python skills/opencode/list_sessions.py
list_messages_of_session.py
Listing latest OpenCode messages by session_id
Example: uv run python skills/opencode/list_sessions.py {session_id}
Session Status Types
- 🟢 WAITING: Last message was from user - agent is waiting for input
- 🔴 WORKING: Last message was from assistant - agent recently finished or may be working
- 🟡 UNKNOWN: Cannot determine status
版本历史
- 98a0104 当前 2026-08-20 08:54


