Ask me what skills you need
What are you building?
Tell me what you're working on and I'll find the best agent skills for you.
Bridge between OpenWork UI and OpenCode runtime
OpenWork communicates with OpenCode via three mechanisms:
opencode with prompts and get JSON responses.opencode -p "your prompt" -f json -q
Returns JSON with the response content.
| Flag | Description |
|---|---|
-p | Prompt to execute |
-f | Output format (text, json) |
-q | Quiet mode (no spinner) |
-c | Working directory |
-d | Debug mode |
{
"content": "Here is the result...",
"session_id": "abc123"
}
~/.opencode/opencode.db
Or project-local:
.opencode/opencode.db
CREATE TABLE sessions (
id TEXT PRIMARY KEY,
parent_session_id TEXT,
title TEXT,
message_count INTEGER,
prompt_tokens INTEGER,
completion_tokens INTEGER,
summary_message_id TEXT,
cost REAL,
created_at INTEGER,
updated_at INTEGER
);
npx skills add different-ai/openwork --skill opencode-bridgeHow clear and easy to understand the SKILL.md instructions are, rated from 1 to 5.
Very clear and well structured, with almost no room for misunderstanding.
How directly an agent can act on the SKILL.md instructions, rated from 1 to 5.
Highly actionable with clear, concrete steps that an agent can follow directly.