# Opencode

Monitor and manage your OpenCode tasks using helper scripts.

- Repository: https://github.com/volcengine/OpenViking (41301 stars)
- Category: Engineering
- License: AGPL-3.0
- Last updated: 2026-11-01
- Runs scripts: yes, review before use

## Install

Claude Code: `npx skills add volcengine/OpenViking --skill opencode -g -a claude-code -y`
Codex: `npx skills add volcengine/OpenViking --skill opencode -g -a codex -y`
Cursor: `npx skills add volcengine/OpenViking --skill opencode -g -a cursor -y`
Gemini CLI: `npx skills add volcengine/OpenViking --skill opencode -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add volcengine/OpenViking`

## Description

Monitor and manage your OpenCode tasks using helper scripts.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# OpenCode Skill

Use helper scripts to manage your OpenCode instances.

## Helper Scripts

All scripts are in the workspace skills directory. Run them with:
```bash
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


