octoguard-openclaw-security-supervision — Claude Code skill
octoguard-openclaw-security-supervision — a skill that walks you through deploying OctoGuard, a gateway in front of OpenClaw that blocks risky tool calls, tracks token spend and keeps an audit trail.
no license 168 installs ★ 13 updated 2026-10-09
npx skills add reason-machines/security-skills --skill octoguard-openclaw-security-supervision -a claude-codeWhat octoguard-openclaw-security-supervision does
OctoGuard sits in front of OpenClaw and inspects traffic before the agent sees it. A policy engine matches rules: tool name plus a regex over the call arguments. Then it either lets the call through or returns a block. Both outcomes land in the audit log, and a triggered rule can fire an alert to DingTalk, WeChat Work or email.
The skill carries the deployment path: a Node.js backend, a MySQL schema, and a web panel for editing policies. Connection settings go in config/database.js; .env holds the database credentials, OPENCLAW_HOST, OPENCLAW_PORT, OPENCLAW_API_KEY and the webhook addresses. Then npm run migrate and npm start bring the API up on http://localhost:3000, and the frontend reads VITE_API_BASE_URL. Policies are created through POST /api/policies; token usage goes to POST /api/tokens/track.
You need Node.js v14+, a MySQL database and a live OpenClaw instance with its API key. Skip MySQL and npm run migrate fails, so the panel has nothing to show.
What it helps with
- block reads of
/etc/passwdor.pemkeys with a regex rule - alert when a session crosses a token threshold
- keep a record of allowed and blocked tool calls
- push security notifications to DingTalk or email
- check the OpenClaw gateway status from a dashboard
Example prompts for the agent
- Set up OctoGuard in front of my OpenClaw instance: Node.js backend, MySQL, dashboard on
http://localhost:3000. - Write a policy that blocks reads of
.envand*.pemfiles and sends an alert to DingTalk. - How do I report token usage to
POST /api/tokens/trackand set a threshold for alerts?
How to install octoguard-openclaw-security-supervision
1Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill octoguard-openclaw-security-supervision -a claude-code2Manually: put the files in place
~/.claude/skills/octoguard-openclaw-security-supervision/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/octoguard-openclaw-security-supervision/
1Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill octoguard-openclaw-security-supervision -a codex2Manually: put the files in place
.agents/skills/octoguard-openclaw-security-supervision/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill octoguard-openclaw-security-supervision -a cursor2Manually: put the files in place
.cursor/skills/octoguard-openclaw-security-supervision/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install reason-machines/security-skills skills/octoguard-openclaw-security-supervision2Manually: put the files in place
.github/skills/octoguard-openclaw-security-supervision/SKILL.md1Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill octoguard-openclaw-security-supervision -a gemini-cli2Platform CLI
gemini skills install https://github.com/reason-machines/security-skills --path skills/octoguard-openclaw-security-supervisionManually: put the files in place
.devin/skills/octoguard-openclaw-security-supervision/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill octoguard-openclaw-security-supervision -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about octoguard-openclaw-security-supervision
How do I install octoguard-openclaw-security-supervision in Claude Code?
Run npx skills add reason-machines/security-skills --skill octoguard-openclaw-security-supervision -a claude-code. The skill file lands at ~/.claude/skills/octoguard-openclaw-security-supervision/SKILL.md.
What does octoguard-openclaw-security-supervision do?
It guides you through deploying OctoGuard, a gateway in front of OpenClaw that checks tool calls against policies, writes an audit log and sends alerts.
What does OctoGuard need to run?
Node.js v14+, a MySQL database and a running OpenClaw instance with OPENCLAW_API_KEY. DingTalk and WeChat Work webhooks are only for notifications.