
Govern
Shows an agent's governed state: active rules, memory by kind, and pending proposals
Govern is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- None
- Platforms
- Claude Code
- GitHub stars
- 19
- Last commit
- License
- Apache-2.0
- Listing updated
Similar skills
About Govern
This skill gives the agent a read-only view of what the mokata system is currently governing. It covers the always-on rules tier, which combines rules and guardrails under a budget cap, memory grouped by kind, the read/write ratio, and any self-healing proposals still waiting on a decision.
The agent calls a govern tool from the mokata MCP server when available, which writes a self-contained HTML dashboard and returns its path with summary counts. If the tool is missing, the skill falls back to a mokata command-line invocation that produces the same view. The dashboard uses inline styling with no network access or server.
Using it requires the mokata engine, either through the MCP server or a mokata CLI on the path. Changes are not made from the view; any edit to a memory item goes through the gated memory edit command the skill points to, and durable writes need explicit human approval.
When your agent uses it
mokata · See the governed state — rules, memory-by-kind, read/write ratio, pending proposals (read-only).
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (4 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the mokata plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add JasGujral/mokata-oss
/plugin install mokata@mostackOr copy only this skill to ~/.claude/skills/govern:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JasGujral/mokata-oss.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/govern &&
cp -R "$tmp/src/mokata/skills/govern" ~/.claude/skills/govern &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/govern inside it instead.
Copy the skill folder to ~/.agents/skills/govern to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JasGujral/mokata-oss.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/govern &&
cp -R "$tmp/src/mokata/skills/govern" ~/.agents/skills/govern &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/govern inside it instead.
Copy the skill folder to ~/.cursor/skills/govern to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JasGujral/mokata-oss.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/govern &&
cp -R "$tmp/src/mokata/skills/govern" ~/.cursor/skills/govern &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/govern inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/JasGujral/mokata-oss.git --path src/mokata/skills/governOr copy the folder to ~/.gemini/skills/govern yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/govern:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JasGujral/mokata-oss.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/govern &&
cp -R "$tmp/src/mokata/skills/govern" ~/.copilot/skills/govern &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/govern inside it instead.
Get the folder:
git clone --depth 1 https://github.com/JasGujral/mokata-oss.gitThen copy mokata-oss/src/mokata/skills/govern into your agent's skills folder as govern. Agents that support SKILL.md read one folder per skill.
What it does
- Rules tier overview
- Displays the active rules and guardrails that the always-on tier is enforcing, within its budget cap.
- Memory grouped by kind
- Lists stored memory organized by category so the user can see what mokata is remembering.
- Read/write ratio
- Reports how often governed memory is read compared with written.
- Pending proposals
- Surfaces self-healing proposals that need a human decision before anything changes.
- Read-only dashboard
- Renders a standalone HTML view without writing or editing governed state.
- Recovery guidance
- Points to commands for checking a stuck run, pending approvals and hung MCP servers.
Good for
- Show me which rules mokata is currently enforcing
- What pending self-healing proposals need my review?
- Summarize the memory items stored by kind
- Check the read/write ratio before a governance decision
- Open the governance dashboard for this project
Govern FAQ
Can Govern change a rule or memory item?
No. The view is read-only. Edits go through the gated mokata memory edit path that the skill surfaces, and that path requires human approval.
What does the skill need to run?
It prefers the govern tool on the mokata MCP server. If that is absent, it falls back to the mokata CLI, resolved from the plugin root or a mokata command on the PATH.
When does the skill trigger?
When the user wants to see the governed state, asks what mokata is enforcing or remembering, or is reviewing governance before a decision. It does not trigger to change rules or run a pipeline phase.
Where is the dashboard written?
The CLI and MCP tool write the governance HTML under the gitignored .mokata/temp_local/ directory, and the path is returned to the user.
How do I install Govern in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/govern to use it in all your projects, or to .claude/skills/govern in one project. Or install the mokata plugin, which includes it: /plugin marketplace add JasGujral/mokata-oss, then /plugin install mokata@mostack.
Does Govern run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Govern?
Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.
What are the best alternatives to Govern?
The closest alternatives to Govern are Onboard, Repository governance lifecycle, Build governance agent, Codebase memory MCP and Merrymen monitor.
Where this comes from
- Description: from the skill's own SKILL.md.
More from JasGujral/mokata-oss

Makes the agent design API contracts first and check callers before changing them
- Open source
- 19 GitHub stars
- Developer tools

Gives an agent NestJS rules for guards, DTO validation, modules and tests
- Open source
- 19 GitHub stars
- Developer tools

Guides an agent through Socratic exploration of an approach before any spec or code
- Open source
- 19 GitHub stars
- Developer tools

Guides an agent to capture live browser console, network and page state for tests
- Open source
- 19 GitHub stars
- Developer tools

Guides the agent to reproduce a reported bug with a failing test before fixing it
- Open source
- 19 GitHub stars
- Developer tools

Guides an agent on CI/CD pipelines, release builds and pinned supply-chain posture
- Open source
- 19 GitHub stars
- Developer tools




