sidclaw-governance

sidclaw-governance is a skill for Claude Code, Codex from sidclawhq/platform. It costs 59 tokens per session (1,550 once invoked), scanned C, original, Apache-2.0.

A governance guide for Claude Code that checks proposed risky actions against policies, requests human approval when required, and records the outcome. Governance here means rules and audit records for agent actions.

In plain words
What is it for?
Use it to evaluate, approve, record, and track high-risk agent actions through SidClaw, with or without execution hooks.
Why use it?
It adds review and traceability before actions such as destructive commands, deployments, network requests, or changes to regulated data.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; mentions Claude Code.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is resource_scope: "rm -rf ./data/",.

Good fit Use it to evaluate, approve, record, and track high-risk agent actions through SidClaw, with or without execution hooks.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/sidclawhq/platform
agentmods
npx agentmods add skills/sidclawhq/platform/sidclaw-governance

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sidclaw-governance

README.md
[![agentmods](https://agentmods.dev/badge/skills/sidclawhq/platform/sidclaw-governance/github.svg)](https://agentmods.dev/skills/sidclawhq/platform/sidclaw-governance)
Your own site
<a href="https://agentmods.dev/skills/sidclawhq/platform/sidclaw-governance"><img src="https://agentmods.dev/badge/skills/sidclawhq/platform/sidclaw-governance/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sidclaw-governance

Your own site · 80×15
<a href="https://agentmods.dev/skills/sidclawhq/platform/sidclaw-governance"><img src="https://agentmods.dev/badge/skills/sidclawhq/platform/sidclaw-governance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,550 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00059 $0.01550
Opus 5.5 $0.00024 $0.00620
Sonnet 5.5 $0.00012 $0.00310
Haiku 4.5 $0.00006 $0.00155

Measured 3mo ago against content hash 1c3048604125, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

sidclaw-governance scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- run a destructive shell command (`rm -rf`, `DROP TABLE`, `git push --force`, etc.)
public/downloads/sidclaw-governance/SKILL.md · 166 lines

How it starts

The opening of the file, as written. The whole thing — 166 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SidClaw Governance

You have access to SidClaw — an identity, policy, approval, and audit layer for AI agents. The governance MCP tools are available as sidclaw_evaluate, sidclaw_record, sidclaw_approve, sidclaw_policies, sidclaw_session_start, and sidclaw_session_end.

When to use these tools

Call governance BEFORE executing any action that could:

  • modify the file system outside the immediate workspace
  • run a destructive shell command (rm -rf, DROP TABLE, git push --force, etc.)
  • dispatch a subagent, create a cron, create a team, or trigger a remote action
  • hit a network API that sends data to a third party
  • deploy code, push to a remote branch, or publish a package
  • move money, send messages to real users, or modify medical/legal records

Quick mental model — risk tiers:

Risk When What to do
< 30 Local-only, reversible, internal data Call sidclaw_record after (log-only)
30–70 Moderate effect, recoverable, might surprise a reviewer Call sidclaw_evaluate first
> 70 Destructive, irreversible, or touches production / regulated data Always sidclaw_evaluate first

Do not bypass governance for convenience. If evaluate returns deny, do not retry with a different phrasing to try to slip through. Explain the situation to the user and ask for guidance.

The protocol

Step 1. Start a session (optional but nice for audit grouping)

sidclaw_session_start({
  agent_id: "claude-code",
  workspace: "/path/to/repo",
  branch: "feature/x"
})
→ { session_id: "mcp-sess-..." }

Hold on to session_id for the whole turn.

Step 2. Before each risky action, call sidclaw_evaluate

sidclaw_evaluate({
  operation: "bash.destructive",
  target_integration: "claude_code",
  resource_scope: "rm -rf ./data/",
  data_classification: "restricted",
  declared_goal: "Clean up stale migration artifacts per user request",
  systems_touched: ["filesystem"],
  reversible: false,
  risk_score: 95
})

Read the full file on GitHub · 166 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 166 lines · 59 tokens per session scan C 1c3048604125

Subscribe to this mod's changes

sidclaw-governance is a skill published in the GitHub repository sidclawhq/platform (15 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 59 tokens to every session and 1,550 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

sidclaw-governance compared with skills from other repositories

sidclaw-governance next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sidclaw-governancesidclawhq/platformSkill151mo agoApache-2.0C59Claude Code, Codex
snaprenderUser0856/snaprender-integrationsSkill318d agoMITA55Claude Code, Codex
zirantaoq-ai/ziranSkill124d agononeA0Claude Code, Codex
docsmadezmedia/acmiSkill51mo agoMITA0Claude Code, Codex
brain-savejeremylongshore/bobs-big-brain-pluginSkill218d agoApache-2.0A66Claude Code
brainjeremylongshore/bobs-big-brain-pluginSkill218d agoApache-2.0A66Claude Code
audit-agentstaoq-ai/ziranSkill124d agononeA100Claude Code