← Back to Skills Marketplace
gongxh13

occ

by gongxh13 · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ⚠ suspicious
279
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install occ
Description
Control OpenCode to execute development tasks. Provides session management and task execution capabilities.
Usage Guidance
This skill appears to legitimately control a local OpenCode server, but take these precautions before installing: 1) Confirm you have a trusted 'opencode' CLI and Node/npm installed — the metadata does not declare these prerequisites. 2) Expect the script to run 'npm install' in the skill folder (network fetch and possible postinstall scripts). If you don’t want network installs, create node_modules yourself or inspect package.json first. 3) Run the CLI from a throwaway or sandbox directory — the OpenCode server will operate in the current directory and may modify files. 4) Review the included scripts (they are present and readable) and ensure 'opencode' is the expected binary in your PATH. 5) If you need higher assurance, run the tool in an isolated environment (container/VM) to observe behavior before granting it access to real projects.
Capability Analysis
Type: OpenClaw Skill Name: occ Version: 0.1.0 The 'occ' skill is a legitimate controller for the OpenCode development tool, allowing an AI agent to manage coding sessions. It operates by spawning a local 'opencode' server on 127.0.0.1 (scanning ports 4096–4200) and communicating with it via standard HTTP requests. While the script includes an automatic dependency installer (npm install) in 'opencode-server.js', its behavior is transparent, confined to the local environment, and aligns perfectly with its stated purpose of automating development workflows.
Capability Assessment
Purpose & Capability
The code matches the stated purpose (starting/querying a local OpenCode server and managing sessions). However the registry metadata does not declare required binaries (it should declare the 'opencode' CLI and at least Node/npm), which is an incoherence between what the skill needs and what the metadata advertises. package.json lists axios (installed by npm) though the code uses only core http, indicating sloppy packaging.
Instruction Scope
SKILL.md instructs running the included Node script in the working directory; the script will (a) auto-install npm dependencies if node_modules is missing, (b) spawn the external 'opencode' process bound to the current directory, and (c) interact with the local OpenCode HTTP API. These actions can modify files in the current directory and perform network fetches (npm install). SKILL.md omits that Node/npm will be used and that npm install may run, which is a material omission.
Install Mechanism
There is no explicit install spec in registry metadata, but the runtime script will run 'npm install' inside the skill's scripts directory if dependencies are missing. That fetches packages from the public npm registry (a standard source) and can execute package postinstall scripts — moderate risk compared with a purely instruction-only skill.
Credentials
The skill does not request credentials, environment variables, or external config paths. It only interacts with a local server and spawns an 'opencode' binary; no secrets are declared or used.
Persistence & Privilege
The skill is not always-included and does not modify other skills or global agent settings. It spawns a local process and will kill it on close; no persistent system-wide privileges are requested.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install occ
  3. After installation, invoke the skill by name or use /occ
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
Initial release of the OCC (OpenCode Controller) skill. - Enables session management and task execution for OpenCode via CLI. - Supports querying, creating, and continuing OpenCode development sessions. - Automatically detects and starts the OpenCode Server as needed. - Designed for integration with external systems or to automate coding workflows.
Metadata
Slug occ
Version 0.1.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is occ?

Control OpenCode to execute development tasks. Provides session management and task execution capabilities. It is an AI Agent Skill for Claude Code / OpenClaw, with 279 downloads so far.

How do I install occ?

Run "/install occ" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is occ free?

Yes, occ is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does occ support?

occ is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created occ?

It is built and maintained by gongxh13 (@gongxh13); the current version is v0.1.0.

💬 Comments