Openwork Debug
Identifies and suggests fixes for subtle code logic errors through advanced symbolic execution and analysis.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add openwork-debug npx -- -y @trustedskills/openwork-debug
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"openwork-debug": {
"command": "npx",
"args": [
"-y",
"@trustedskills/openwork-debug"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The Openwork Debug skill enables AI agents to identify and suggest fixes for subtle code logic errors using advanced symbolic execution and analysis through the OpenCode engine. It provides access to debugging capabilities within a workspace, allowing inspection of sessions and messages. This skill relies on interacting with an external OpenWork server via HTTP requests or directly accessing a local SQLite database when the API is unavailable.
When to use it
- When you need to identify potential logic errors in code beyond what standard linting can detect.
- To inspect recent audit logs related to debugging sessions within a workspace.
- If the OpenCode engine API is temporarily unavailable, to directly query the underlying SQLite database for session and message data.
Key capabilities
- Accesses OpenWork server endpoints via HTTP requests (health checks, capabilities, workspaces, configuration, audit logs).
- Utilizes the
opencodecommand-line tool for debugging tasks (pinging, listing MCPs, debugging specific entities). - Provides a fallback mechanism to inspect SQLite database contents directly.
Example prompts
- "Run opencode debug <name>."
- "Show me the latest 5 sessions from the OpenWork audit log."
- "Check the OpenWork server's capabilities."
Tips & gotchas
- Requires environment variables
OPENWORK_SERVER_URLandOPENWORK_SERVER_TOKENto be set before use.OPENWORK_WORKSPACE_IDis optional but recommended for workspace-specific operations. - Audit logs are stored locally in the workspace root at
.opencode/openwork/audit.jsonl. - OpenWork server operates within approved workspace roots, limiting write access.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.