Skip to content

OpenCode

OpenCode supports CLI-Anything through custom commands.

Terminal window
# Clone the repository
git clone https://github.com/HKUDS/CLI-Anything.git
# Copy commands
cp CLI-Anything/opencode-commands/*.md ~/.config/opencode/commands/
cp CLI-Anything/cli-anything-plugin/HARNESS.md ~/.config/opencode/commands/
CommandDescription
/cli-anythingBuild a complete CLI harness
/cli-anything-refineRefine an existing CLI harness
/cli-anything-testRun tests for a CLI harness