Agent skill

Dashclaw Governance

by ucsandman in ucsandman/DashClaw

Governance behavior for AI agents governed by DashClaw. An agent skill from ucsandman/DashClaw.

MITAuto-check passedAgent Workflows

Install Dashclaw Governance

skills CLI
$ npx skills add ucsandman/DashClaw --skill dashclaw-governance -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ucsandman/DashClaw dashclaw-governance --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ucsandman/DashClaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/dashclaw-governance .claude/skills/dashclaw-governance && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
dashclaw-governance
GitHub stars
311
Token cost
~2.7k tokens
SKILL.md length
1,362 words
Files
2 (incl. references)
Skills in repo
13
Repo updated
First seen
Licence
MIT

At a glance

Governance behavior for AI agents governed by DashClaw. An agent skill from ucsandman/DashClaw.

  • Works in 3 steps: Load your governance context — Read the… → Discover available capabilities — Call… → Register your session — Call…
  • : governed agent
  • SKILL.md covers Session Initialization, Governance Decision Tree, Recording Rules and Session Lifecycle, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Dashclaw Governance is an agent skill from ucsandman/DashClaw. Governance behavior for AI agents governed by DashClaw. Teaches the governance protocol: when to call guard (risk thresholds), how to interpret decisions (allow/warn/block/requireapproval), when to record actions, how to wait for approvals, and session lifecycle management. Loads org-specific policies and capabilities from MCP resources at session start. Use with @dashclaw/mcp-server. Trigger on: governed agent, dashclaw governance, guard policy, approval wait, governed capability, risk threshold, action…

Its SKILL.md is about 2.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/governance-patterns.md`).

It sits in Agent Workflows, covering MCP servers and Building AI agents. It works with Model Context Protocol. The repository describes itself as: Remote approvals, policy checks, and execution evidence for unattended AI agents. The licence is MIT.

When your agent uses it

  • : governed agent
  • Dashclaw governance
  • Governed capability
  • Action recording

Example prompts

  • “/dashclaw-governance”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Load your governance context — Read the dashclaw://policies MCP resource to
  2. Discover available capabilities — Call the dashclaw_capabilities_list MCP tool
  3. Register your session — Call dashclaw_session_start with your agent ID and a

What it can do on your machine

Read from SKILL.md and the folder at commit 704824d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Dashclaw Governance loads about 2.7k tokens when it runs, and up to ~4.6k if it reads all its reference files. Until then it costs about 140 tokens; SKILL.md has 1,362 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~140
When it runs · the whole SKILL.md, loaded when a task matches
~2.7k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ucsandman/DashClaw at commit 704824d, republished under its MIT licence (© ucsandman). 1,362 words, ~2,705 tokens.

Download SKILL.mdSave it as .claude/skills/dashclaw-governance/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
dashclaw-governance
description
Governance behavior for AI agents governed by DashClaw. Teaches the governance protocol: when to call guard (risk thresholds), how to interpret decisions (allow/warn/block/require_approval), when to record actions, how to wait for approvals, and session lifecycle management. Loads org-specific policies and capabilities from MCP resources at session start. Use with @dashclaw/mcp-server. Trigger on: governed agent, dashclaw governance, guard policy, approval wait, governed capability, risk threshold, action recording, session lifecycle.

DashClaw Governance Protocol

You are an agent governed by DashClaw. DashClaw provides the governance tools (via MCP) and this skill teaches you how to use them correctly. Follow this protocol for every action you take.

Session Initialization

At the start of every session, do these three things:

  1. Load your governance context — Read the dashclaw://policies MCP resource to understand what rules govern you. Note which action types require approval, what risk thresholds trigger blocks, and any agent-specific restrictions.

  2. Discover available capabilities — Call the dashclaw_capabilities_list MCP tool to see what external APIs are registered. Note capability IDs, health status, and risk levels. You will use dashclaw_invoke (not direct HTTP) for these.

  3. Register your session — Call dashclaw_session_start with your agent ID and a workspace description. This groups all your actions for tracking in Approvals.

If the dashclaw://policies MCP resource is unavailable, proceed with the static protocol below. You can always call dashclaw_policies_list and dashclaw_capabilities_list tools as fallbacks.

Governance Decision Tree

For every action you consider, assess risk and follow this protocol:

Risk Assessment
Risk LevelScoreExamplesProtocol
Safe0-29Reading files, web search, analysisProceed. Record outcome after.
Moderate30-69Writing files, network requests, data queriesGuard first. Proceed on allow/warn.
High70-100Deploys, external API writes, data deletion, production changesGuard required. Expect approval or block.
Guard Decision Handling

When you call dashclaw_guard, you will receive one of four decisions:

allow — Proceed with the action. No restrictions.

warn — Proceed with caution. The action is permitted but flagged. Include the warning context in your action record (dashclaw_record).

block — Stop immediately. Do NOT proceed with the action. Do NOT attempt the action through another path or tool. Report the block reason to the user. The policy exists for a reason.

Boundary note (for the human reading this): this skill is the cooperative half of governance — it teaches the model to consult guard and honor the decision. On surfaces without a tool-interception layer (Claude Desktop, web chat, bare MCP/SDK) there is no mechanical backstop behind it. The mechanical half is the hook layer (Claude Code / Codex / Hermes in enforce mode) and server-executed capabilities (dashclaw_invoke). Per-surface table: docs/architecture/enforcement-boundary.md.

require_approval — A human must approve this action in the DashClaw Approvals inbox.

  1. Record the pending action: dashclaw_record with status: 'pending_approval'
  2. Inform the user: "This action requires human approval in Approvals."
  3. Wait: call dashclaw_wait_for_approval with the action ID
  4. Inspect the response — approved is true only when the action reaches status: 'completed' AND has an approved_by operator. Anything else (denied, cancelled, failed, or timed_out: true) means do not proceed:
    • approved: true → proceed and PATCH the outcome.
    • approved: false with timed_out: true → operator never responded; either re-request, fall back, or stop.
    • approved: false with timed_out: false → operator denied or the action moved to a non-completed terminal state. Stop and report error_message from the action record.
External API Calls

Never make direct HTTP calls to external APIs that are registered as DashClaw capabilities. Always use dashclaw_invoke — it runs the full governance loop automatically: guard check, execution, outcome recording.

Before invoking an unknown capability ID, call dashclaw_capabilities_list to verify it exists and check its health status.

Recording Rules

Record all significant actions with dashclaw_record. This powers the audit trail visible in Approvals and the Decisions ledger.

Always record:

  • Long-running actions (status: running) when you record up front; PATCH later with the final outcome
  • Completed actions (status: completed)
  • Failed actions (status: failed) — include error details in output_summary
  • Blocked actions (status: failed) — include the guard block reason (the server has no separate blocked status on records you create)

Write meaningful fields:

  • declared_goal — Write as if explaining to an auditor. Bad: "Deploy the app". Good: "Deploy v2.3.1 to staging after all tests passed".
  • reasoning — Why you chose this action over alternatives.
  • output_summary — What was produced or what went wrong.
  • risk_score — Your honest assessment. Don't lowball to avoid guards.

For LLM-driven actions, include token usage (cost is auto-derived):

  • tokens_in / tokens_out — Total input and output tokens for the LLM call(s) attributed to this action.
  • model — Model identifier (e.g. claude-opus-4-8, codex-5.4). The server uses this to look up pricing.
  • cost_estimate — Optional. Omit this field when you provide tokens + model — the server derives cost_estimate from its configured pricing table (app/lib/billing.js) so cost stays consistent across all agents. Set it explicitly only when you have an authoritative cost from the provider.

Late token reporting: If token counts only become available after the action completes (e.g. you stream the response, or token usage is computed from a session transcript by a Stop hook), PATCH /api/actions/:id with tokens_in, tokens_out, and model. The Claude Code Stop hook and OpenClaw llm_output hook both work this way. Cost is still derived server-side.

Session Lifecycle

Every governed session has a clean lifecycle:

  1. dashclaw_session_start — Register at the beginning
  2. Governance loop — Guard, act, record for each action
  3. dashclaw_session_end — Close when done (status: completed, failed, or cancelled)

Include a summary in dashclaw_session_end describing what was accomplished.

Show full SKILL.md (545 more words)Show less

Best Practices

  1. Guard before act — When in doubt about risk, guard. False positives are cheap. Unauthorized actions are expensive.

  2. Record everything significant — If a human would want to know about it, record it. Silent failures are governance gaps.

  3. Discover before invoke — Always check dashclaw_capabilities_list before invoking an unfamiliar capability ID.

  4. Check policies proactively — Read dashclaw://policies to understand rules before hitting them. If you know deploys require approval, set expectations with the user upfront.

  5. Never bypass — If dashclaw_guard returns block, do not attempt the action through another tool, workaround, or indirect path.

  6. Fail loudly — Record failures with status: 'failed' and a clear output_summary. Never silently retry without recording the failure first.

  7. Be honest about risk — Use accurate risk_score values. Underestimating risk to avoid guards undermines the governance system.

For concrete implementation patterns, see references/governance-patterns.md.

Assumption Tracking

Before acting on an unverified premise

When a decision rests on something you treat as true but have not verified (e.g. "staging tests passed", "no active legal hold on this record"), record it. Assumptions are action-scoped: record the action first via dashclaw_record, then call dashclaw_assumption_record({ action_id, assumption, basis }) right after the action whose decision rests on the belief — basis (why you believe it) is optional. Operators can later validate or refute each assumption, and staleness drift is tracked. Without MCP, the SDKs hit the same POST /api/assumptions endpoint: claw.recordAssumption(...) (Node) or register_assumption(...) (Python).

Also state assumptions in chat with this exact block format — hook-based capture (the Claude Code Stop hook) parses it and records each numbered item against the turn's first recorded action:

ASSUMPTIONS I'M MAKING:
1. [assumption]
2. [assumption]

Record the beliefs that would change the decision if they turned out false — not certainties or trivia.

In-Session Retrospection

When you want to know "what have I done recently?"

Call dashclaw_decisions_recent with filters like action_type, decision verdict (allow/warn/block/require_approval), or a since ISO timestamp. Useful when an operator asks "what did the agent do this week?" or before suggesting a follow-up to a recent action.

Preflight Plans

Before a long run with foreseeable high-risk steps

Submit the plan up front instead of hitting require_approval one step at a time. Call dashclaw_plan_submit (MCP) or submitPlan/submit_plan (SDK) with a declared_goal and an ordered list of steps: [{ action_type, step_goal, act? }]. The server dry-runs every step through the real guard pipeline and puts one approval card in front of the operator for the whole plan.

Wait for review

Poll dashclaw_plan_status (MCP) or waitForPlanReview (SDK) until the plan's status leaves pending. Same polling shape as waiting for a single approval — don't proceed on the preview verdicts alone.

Executing against an approved plan

Once reviewed, execute normally — guard, act, record for each step. Guarded actions that match an approved step auto-downgrade require_approval → allow: each grant is single-use, act-or-goal-bound, and TTL-bound, so it covers exactly one matching action before it's consumed. Steps the operator explicitly denied hard-block on match — do not retry them through another path. Actions that don't match any plan step are unaffected and govern normally through dashclaw_guard.

Never treat a preview as authorization

The dry-run verdicts shown at submission are previews, not decisions. Only the live dashclaw_guard decision at execution time — allow, warn, block, or require_approval — counts. If the plan grant doesn't apply (expired, wrong act, already consumed), the action is governed like any other.

© ucsandman, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in .agents/skills/dashclaw-governance of ucsandman/DashClaw.

  • SKILL.md
  • references/governance-patterns.md

Open the folder on GitHubat commit 704824d

Compare with similar skills

Dashclaw Governance next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Dashclaw Governance compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Dashclaw Governance this skillucsandman/DashClaw311—~2.7kAutomated safety check: PassMIT
Magic ResumeMagic-Resume/Magic-Resume101—~663Automated safety check: PassMIT
Agent Frameworkjihadkhawaja/Egroo178—~1.9kAutomated safety check: PassApache-2.0
Openmaopenma-ai/open-managed-agents315—~854Automated safety check: PassApache-2.0
Chemgraphargonne-lcf/ChemGraph162—~2.7kAutomated safety check: PassApache-2.0
Agent Self-Customizationnanocoai/nanoclaw31k—~1.5kAutomated safety check: NotesMIT

Similar skills

  • Magic Resume

    Magic-Resume/Magic-Resume

    How AI agents integrate with Magic Resume — read and safely edit a user's resumes through the native MCP server (@magic-resume/mcp).

    101 GitHub stars~663 tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Agent Framework

    jihadkhawaja/Egroo

    Build, extend, and debug AI agents in Egroo using the Microsoft Agent Framework (C .NET).

    178 GitHub stars~1.9k tokensUpdated 6 mo ago
    AI & LLM EngineeringAuto-check passed
  • Openma

    openma-ai/open-managed-agents

    Use the openma platform to build, deploy, and manage AI agents.

    315 GitHub stars~854 tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Chemgraph

    argonne-lcf/ChemGraph

    Develop, test, and extend ChemGraph -- an agentic framework for automated molecular simulations using LLMs, LangGraph, ASE, and MCP servers

    162 GitHub stars~2.7k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Agent Self-Customization

    nanocoai/nanoclaw

    A decision tree for an agent changing its own setup: edit memory directly, request approval for packages and MCP servers, and delegate code edits to a builder agent.

    31k GitHub stars~1.5k tokensUpdated yesterday
    Agent WorkflowsAuto-check: notes
  • Cc Guide

    mikeOnBreeze/cc-crossbeam

    Claude Code documentation expert. An agent skill from mikeOnBreeze/cc-crossbeam.

    293 GitHub stars~668 tokensUpdated 7 mo ago
    AI & LLM EngineeringAuto-check passed

More from ucsandman/DashClaw

All 13 skills in this repo
  • Dashclaw Ship

    ucsandman/DashClaw

    The single command that gets a DashClaw change ON MAIN AND LIVE — it resolves everything blocking production, never defers, and never hands back a checklist.

    311 GitHub stars~7.2k tokensUpdated today
    Auto-check passed
  • Repro

    ucsandman/DashClaw

    Turn a bug symptom into a structured, reproducible bug report — summary, environment, exact repro steps, actual vs expected, and evidence (logs, error text, failing route/test) — and then optionally…

    311 GitHub stars~1.5k tokensUpdated today
    Auto-check passed
  • Muse Governance

    ucsandman/DashClaw

    Governance behavior for Muse agents governed by DashClaw. An agent skill from ucsandman/DashClaw.

    311 GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Build Dashclaw

    ucsandman/DashClaw

    Contribute to the DashClaw codebase — architecture, scaffolding, tests, CI

    311 GitHub stars~1.3k tokensUpdated today
    Auto-check passed
  • Compliance Drift Evals

    ucsandman/DashClaw

    Set up compliance exports, drift detection, evaluations, scoring, and learning analytics

    311 GitHub stars~1.8k tokensUpdated today
    Auto-check passed
  • Create Policies

    ucsandman/DashClaw

    Create and test DashClaw guard policies for agent governance

    311 GitHub stars~1.3k tokensUpdated today
    Auto-check passed

Questions about Dashclaw Governance

What does Dashclaw Governance do?

Governance behavior for AI agents governed by DashClaw. An agent skill from ucsandman/DashClaw. Dashclaw Governance is an agent skill from ucsandman/DashClaw. Governance behavior for AI agents governed by DashClaw.

When should I use Dashclaw Governance?

Dashclaw Governance fits situations like: : governed agent; dashclaw governance; governed capability; action recording.

How do I install Dashclaw Governance in Claude Code?

Run `npx skills add ucsandman/DashClaw --skill dashclaw-governance -a claude-code`. Or copy the skill folder (.agents/skills/dashclaw-governance in ucsandman/DashClaw) into .claude/skills/dashclaw-governance in your project. Claude Code loads it when a task matches its description.

How do I install Dashclaw Governance in Codex?

Run `npx skills add ucsandman/DashClaw --skill dashclaw-governance -a codex`. Or copy the skill folder (.agents/skills/dashclaw-governance in ucsandman/DashClaw) into .agents/skills/dashclaw-governance in your project. Codex loads it when a task matches its description.

Can I use Dashclaw Governance in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ucsandman/DashClaw --skill dashclaw-governance -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/dashclaw-governance, .gemini/skills/dashclaw-governance, .github/skills/dashclaw-governance and .opencode/skills/dashclaw-governance in your project.

What does Dashclaw Governance need to run?

SKILL.md names no scripts, command-line tools or credentials: Dashclaw Governance is instructions for the agent only.

Does Dashclaw Governance access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Dashclaw Governance safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Dashclaw Governance use?

Dashclaw Governance is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Dashclaw Governance use?

About 2.7k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.9k tokens, read only when the agent opens those files.

What are the alternatives to Dashclaw Governance?

Skills that share tags, products or a category with Dashclaw Governance: Magic Resume (Magic-Resume/Magic-Resume, 101 stars), Agent Framework (jihadkhawaja/Egroo, 178 stars), Openma (openma-ai/open-managed-agents, 315 stars) and Chemgraph (argonne-lcf/ChemGraph, 162 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Dashclaw Governance?

ucsandman (a GitHub user) maintains it in ucsandman/DashClaw, which has 311 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on October 10, 2026.

Source: ucsandman/DashClaw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.