askill
openwork-debug

openwork-debugSafety 70Repository

Debug OpenWork sidecars, config, and audit trail

10.2k stars
203.9k downloads
Updated 2/22/2026

Package Files

Loading files...
SKILL.md

Credential check

Set these before running the HTTP checks:

  • OPENWORK_SERVER_URL
  • OPENWORK_SERVER_TOKEN
  • OPENWORK_WORKSPACE_ID (optional; use /workspaces to discover)

Quick usage (read-only)

curl -s "$OPENWORK_SERVER_URL/health"
curl -s "$OPENWORK_SERVER_URL/capabilities" \
  -H "Authorization: Bearer $OPENWORK_SERVER_TOKEN"

curl -s "$OPENWORK_SERVER_URL/workspaces" \
  -H "Authorization: Bearer $OPENWORK_SERVER_TOKEN"

Workspace config snapshot

curl -s "$OPENWORK_SERVER_URL/workspace/$OPENWORK_WORKSPACE_ID/config" \
  -H "Authorization: Bearer $OPENWORK_SERVER_TOKEN"

Audit log (recent)

curl -s "$OPENWORK_SERVER_URL/workspace/$OPENWORK_WORKSPACE_ID/audit?limit=25" \
  -H "Authorization: Bearer $OPENWORK_SERVER_TOKEN"

OpenCode engine checks

opencode -p "ping" -f json -q
opencode mcp list
opencode mcp debug <name>

DB fallback (read-only)

When the engine API is unavailable, you can inspect the SQLite db:

sqlite3 ~/.opencode/opencode.db "select id, title, status from sessions order by updated_at desc limit 5;"
sqlite3 ~/.opencode/opencode.db "select role, content from messages order by created_at desc limit 10;"

Notes

  • Audit logs are stored at .opencode/openwork/audit.jsonl in the workspace root.
  • OpenWork server writes only within approved workspace roots.

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

58/100Analyzed 2/25/2026

A practical debugging skill for OpenWork/OpenCode with well-structured, copy-pasteable commands covering API checks, config snapshots, audit logs, engine debugging, and DB fallback. Highly actionable but lacks trigger/when-to-use context and safety warnings. The internal path (.opencode) and product-specific focus indicate this is a targeted internal tool rather than a general-purpose reference. Missing R3 (when to use) and carries internal-only signal via path."

70
70
55
65
85

Metadata

Licenseunknown
Version-
Updated2/22/2026
Publisherdifferent-ai

Tags

apidatabase