dashclaw-governance
Skill5 starsChanged 2 months agoMITView on GitHub
Apply DashClaw governance: guard decisions, approvals, action recording, and agent session lifecycle.
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- ucsandman/DashClawedited, first seen May 14, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- ucsandman/DashClaw★ 31061% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository57 other files it gives its agents.
- adversarial-reviewSkill
- aesthetic-animaxxingSkill
- ai-search-optimizationSkill
- announceSkill
- audio-trackSkill
- blindspotSkill
- brave-wesSkill
- chrome-wesSkill
- clihubSkill
- deskclawSkill
- de-vibeSkill
- dispatch-blocksSkill
- epic-infographicsSkill
- fable-gptSkill
- frontend-verifySkill
- gsap-astroSkill
- gsap-coreSkill
- gsap-frameworksSkill
- gsap-nextjsSkill
- gsap-nuxtSkill
- gsap-performanceSkill
- gsap-pluginsSkill
- gsap-react-routerSkill
- gsap-reactSkill
- gsap-scrolltriggerSkill
- gsap-sveltekitSkill
- gsap-tanstack-routerSkill
- gsap-timelineSkill
- gsap-utilsSkill
- gsap-vanillaSkill
- harness-healthSkill
- iphoneSkill
- landing-page-cro-expertSkill
- launchSkill
- launch-videoSkill
- logo-revealSkill
- marketingSkill
- marketing-studioSkill
- meditateSkill
- moleresearchSkill
- og-assetsSkill
- petstoreSkill
- phone-gotchasSkill
- phoneSkill
- preflightSkill
- product-demoSkill
- ship-itSkill
- shipSkill
- show-meSkill
- skillfindSkill
- social-clipSkill
- spec-probeSkill
- teamSkill
- tregSkill
- wes-voiceSkill
- wrapSkill
- xplainerSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. About 0 are common, 2 are distinctive, and 12 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
12
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 27
If MCP resources are unavailable, proceed with the static protocol below.
- Very specific: line 44
When you call dashclaw_guard, you will receive one of four decisions:
- Very specific: line 58
Wait: call dashclaw_wait_for_approval with the action ID
- Very specific: line 66
Never make direct HTTP calls to external APIs that are registered as DashClaw capabilities.
- Very specific: line 67
Always use dashclaw_invoke — it runs the full governance loop automatically: guard check, execution, outcome recording.
- Very specific: line 70
Before invoking an unknown capability ID, call dashclaw_capabilities_list to verify it exists and check its health status.
- Distinctive: line 100
Every governed session has a clean lifecycle:
- Distinctive: line 126
Never silently retry without recording the failure first.
- Very specific: line 136
Call dashclaw_handoff_create with a bundle containing your 1-2 sentence summary, any open loops you opened (action-scoped, via …
- Very specific: line 151
Call dashclaw_skill_scan with the skill's file contents (map of filename → content).
- Very specific: line 159
Call dashclaw_secret_due to surface any tracked credentials overdue for rotation.
- Very specific: line 180
Call dashclaw_learning_query with a search string.
- Very specific: line 184
Call dashclaw_learning_log with the decision + context (+ outcome if known).
- Very specific: line 190
Call dashclaw_decisions_recent with filters like action_type, decision verdict (allow/warn/block/require_approval), or a since ISO …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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:
- Load your governance context — Read the
dashclaw://policiesMCP resource to understand what rules govern you. Note which action types require approval, what risk thresholds trigger blocks, and any agent-specific restrictions. - Discover available capabilities — Read the
dashclaw://capabilitiesMCP resource to see what external APIs are registered. Note capability IDs, health status, and risk levels. You will usedashclaw_invoke(not direct HTTP) for these. - Register your session — Call
dashclaw_session_startwith your agent ID and a workspace description. This groups all your actions for tracking in Mission Control.
If MCP resources are 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 Level | Score | Examples | Protocol |
| Safe | 0-29 | Reading files, web search, analysis | Proceed. Record outcome after. |
| Moderate | 30-69 | Writing files, sending messages, data queries | Guard first. Proceed on allow/warn. |
| High | 70-100 | Deploys, external API writes, data deletion, production changes | Guard 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.
require_approval — A human must approve this action in DashClaw Mission Control.
- Record the pending action:
dashclaw_recordwithstatus: 'pending_approval' - Inform the user: "This action requires human approval in Mission Control."
- Wait: call
dashclaw_wait_for_approvalwith the action ID - Inspect the response —
approvedis true only when the action reachesstatus: 'completed'AND has anapproved_byoperator. Anything else (denied, cancelled, failed, ortimed_out: true) means do not proceed:approved: true→ proceed and PATCH the outcome.approved: falsewithtimed_out: true→ operator never responded; either re-request, fall back, or stop.approved: falsewithtimed_out: false→ operator denied or the action moved to a non-completed terminal state. Stop and reporterror_messagefrom 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 Mission Control 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 inoutput_summary - Blocked actions (status:
failed) — include the guard block reason (the server has no separateblockedstatus 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-6,gpt-5-codex). The server uses this to look up pricing.cost_estimate— Optional. Omit this field when you provide tokens + model — the server derivescost_estimatefrom 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:
dashclaw_session_start— Register at the beginning- Governance loop — Guard, act, record for each action
dashclaw_session_end— Close when done (status:completed,failed, orcancelled)
Include a summary in dashclaw_session_end describing what was accomplished.
Best Practices
- Guard before act — When in doubt about risk, guard. False positives are cheap. Unauthorized actions are expensive.
- Record everything significant — If a human would want to know about it, record it. Silent failures are governance gaps.
- Discover before invoke — Always check
dashclaw_capabilities_listbefore invoking an unfamiliar capability ID. - Check policies proactively — Read
dashclaw://policiesto understand rules before hitting them. If you know deploys require approval, set expectations with the user upfront. - Never bypass — If
dashclaw_guardreturnsblock, do not attempt the action through another tool, workaround, or indirect path. - Fail loudly — Record failures with
status: 'failed'and a clearoutput_summary. Never silently retry without recording the failure first. - Be honest about risk — Use accurate
risk_scorevalues. Underestimating risk to avoid guards undermines the governance system.
For concrete implementation patterns, see references/governance-patterns.md.
Session Continuity
After concluding a session
Call dashclaw_handoff_create with a bundle containing your 1-2 sentence summary,
any open loops you opened (action-scoped, via dashclaw_loop_add), and decisions
you made (or references via dashclaw_learning_log). The next session of yours
will pick this up automatically via dashclaw_handoff_latest in pre_llm_call
context injection (when running under Hermes Agent — Claude Code and Codex pick
it up on first turn via the governance protocol).
On session start (Claude Code / Codex only)
On your first turn, call dashclaw_handoff_latest with your agent_id. If a
bundle is returned, summarize it for the operator, then call
dashclaw_handoff_consume to mark it claimed so it isn't read twice.
Skill Safety
Before loading an unknown skill
Call dashclaw_skill_scan with the skill's file contents (map of filename →
content). If passed=false, do NOT load the skill — show the findings to the
operator with their severities and let them decide. Scans of identical content
are cached.
Credential Hygiene
Before acting on credentials
Call dashclaw_secret_due to surface any tracked credentials overdue for
rotation. If an action would use an overdue credential, record the action with
status='pending_approval' and flag it to the operator. Registering new
credentials for tracking is an operator task — agents don't add secrets
themselves (that would be an authorization-creep risk).
Commitment Tracking
When you say "I will X later"
Open loops are action-scoped, not standalone. After recording an action via
dashclaw_record, you can attach an open loop to it via
dashclaw_loop_add({ action_id, loop_type, description }) — pass the parent
action_id, a loop_type (e.g. followup, verification, pending_input),
and a description of the commitment. On session start, call
dashclaw_loop_list to see what you owe. Call dashclaw_loop_close({ id })
when you complete one — close maps to "resolve" semantically (the route
accepts status: 'resolved').
Learning From Prior Sessions
Before making a non-obvious decision
Call dashclaw_learning_query with a search string. If a prior session made a
similar decision, surface its outcome before making yours.
After making a non-obvious decision
Call dashclaw_learning_log with the decision + context (+ outcome if known).
Future sessions querying for this pattern will see your reasoning.
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.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

