You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cc-safety-net - This plugin acts as a safety net for AI coding agents, catching destructive git and filesystem commands before they execute.
Installation
Option A: Let an LLM do it
Paste this into any LLM agent (Claude Code, OpenCode, Cursor, etc.):
Install the cc-safety-net plugin in `~/.config/opencode/opencode.json` (or `.jsonc`) according to the schema at: https://opencode.ai/config.json
Then copy the following files to `~/.config/opencode/command/`:
- https://raw.githubusercontent.com/kenryu42/claude-code-safety-net/main/.opencode/command/set-custom-rules.md
- https://raw.githubusercontent.com/kenryu42/claude-code-safety-net/main/.opencode/command/verify-custom-rules.md
Option B: Manual setup
Add the plugin to your config~/.config/opencode/opencode.json (or .jsonc):
AddedItems which have been added to the awesome-opencode list
1 participant
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
cc-safety-net- This plugin acts as a safety net for AI coding agents, catching destructive git and filesystem commands before they execute.Installation
Option A: Let an LLM do it
Paste this into any LLM agent (Claude Code, OpenCode, Cursor, etc.):
Option B: Manual setup
~/.config/opencode/opencode.json(or.jsonc):{ "plugin": ["cc-safety-net"] }~/.config/opencode/command/Beta Was this translation helpful? Give feedback.
All reactions