Skip to content

TheEdgeOfRage/clawcode

Repository files navigation

ClawCode

OpenCode plugin for exchange logging and workspace configuration (skills, agents, commands, tools).

Prerequisites

Setup

bun install

Optionally create ~/.config/opencode/clawcode.json to override the exchanges directory:

{
  "exchangesDir": "/custom/path/to/exchanges"
}

Default: $XDG_DATA_HOME/opencode/exchanges (falls back to ~/.local/share/opencode/exchanges).

Install

./install.sh install
systemctl --user enable --now opencode-server.service

This copies skills, agents, tools, and commands to $OPENCODE_WORKSPACE/.opencode/, symlinks the plugin, and installs the systemd service.

To remove:

./install.sh uninstall

Exchange Logging

Every completed session exchange is automatically saved as qmd-compatible markdown to the exchanges directory. The plugin listens for session.idle events and captures the last user/assistant message pair.

The install script sets up a qmd collection for semantic search. New exchanges are automatically indexed after each save.

Telegram Bridge

For Telegram integration, see opencode-telegram.

About

control opencode through a telegram chat, a la openclaw

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors