deepelementlab/jupyter-studio/opencode
Claude Code and agent skill by deepelementlab/jupyter-studio
- community
Checking that the SKILL.md file is still in the repository.
Delegate coding tasks to the OpenCode CLI for feature work, refactoring, PR review, and autonomous-style runs. Requires opencode installed where the agent can execute shell commands.
Install
npx vskill@latest install deepelementlab/jupyter-studio/opencodeSKILL.md
OpenCode CLI (clawcode)
Use OpenCode as an external coding agent when the user wants OpenCode specifically.
Do not confuse these entry points (they are not interchangeable):
| Entry | Role | |
|---|---|---|
| `/opencode-cli` (TUI slash) | One-shot probe or command via `opencode_cli_bridge`: merged stdout/stderr, not a PTY session and not multi-turn TUI control. Default args often --version. | |
| `bash` | One-shot shell in agent turns, e.g. opencode run '…'. | |
| `terminal` + `process` (Agent tools) | Multi-turn driving of a background shell/OpenCode TUI: terminal with background=true (and pty=true on POSIX with clawcode[terminal-pty]), then process for poll / submit / kill. Requires CLAWCODE_TERMINAL_ENV=local for full PTY on Linux/macOS; Windows host is limited—use WSL or Linux for interactive TUI automation. |
Optional: pip install 'clawcode[terminal-pty]' for ptyprocess on POSIX.
When to use
- User asks to use OpenCode or
opencode. - You need a bounded task: prefer
opencode run '...'via bash in the project workspace. - You only need to verify the CLI is installed: `/opencode-cli` (default
opencode --version) after `/claw`; same terminal stack as `/claude-cli` (CLAWCODE_TERMINAL_ENV/TERMINAL_ENV).
Prerequisites
- Install OpenCode (e.g.
npm i -g opencode-ai@latestor vendor instructions). - Auth:
opencode auth loginor provider env vars (see OpenCode docs). - Check:
opencode auth listshould list at least one provider when run in the same environment as the agent.
clawcode-specific capabilities
| Goal | What to use | |
|---|---|---|
| Quick probe (version, install check) | `/opencode-cli` only—single run, not multi-turn. Same Claw gate as /claude-cli. | |
| Run a command in agent turns | `bash`: e.g. opencode run 'your task' with working_directory set to the repo root. | |
| Docker/SSH terminal backend | Same as bash: settings.shell.use_environments_backend and CLAWCODE_TERMINAL_*; ensure the image or remote has opencode on PATH. | |
| Interactive OpenCode TUI (agent-driven) | `terminal` (background=true, pty=true where supported) + `process` (poll / submit / …). Non-local backends: log-polled background only (no stdin). Optional `check_interval` on terminal schedules completion notifications in the TUI (see CLAW_SUPPORT_MAP.md). |
One-shot tasks (recommended)
Use opencode run for bounded work:
Attach files with -f when needed. Use --thinking, --model, etc. per OpenCode CLI help.
Binary resolution
If which opencode differs between environments, use an absolute path in the bash command:
Pitfalls
- On Windows, prefer WSL/Linux for full PTY TUI automation; pipe mode or non-local sandboxes do not match a full local PTY.
- Interactive
opencodestill benefits from a real user terminal for some UX; bash alone does not replace PTY driving. opencodeexit codes and stderr: see bash tool output; `/opencode-cli` shows stdout/stderr blocks in the chat UI.- Avoid
/exitin OpenCode TUI (invalid per OpenCode UX); prefer Ctrl+C in a real terminal session.
Verification
Rules
- Prefer
opencode runfor automation. - Scope work to a single repo root per task when possible.
- Use `/opencode-cli` only for quick checks or demos; heavy work goes through bash with explicit commands.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingclawcode/clawcode/plugin/builtin_plugins/clawcode-skills/skills/opencode/SKILL.md
Popularity
- Repository stars
- 51
- Repository forks
- 8
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 24 Jun 2026, 4 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/deepelementlab/jupyter-studio/opencode)