governance-inheritance

governance-inheritance is a skill for Claude Code, Codex from lahkiri/xeo-forge. It costs 56 tokens per session (241 once invoked), scanned A, original, MIT.

A security rule for adding new agent capabilities, such as subagents or browser control. Every capability must use the project’s existing permission system, and delegated agents inherit the parent’s permissions.

In plain words
What is it for?
Use it when designing or implementing tools that can act on the workspace, network, computer, or other protected resources.
Why use it?
It prevents new features from creating hidden permission paths or gaining more access than the agent that started them.

Skill for Claude CodeCodex

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

Good fit Use it when designing or implementing tools that can act on the workspace, network, computer, or other protected resources.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lahkiri/xeo-forge/governance-inheritance
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add lahkiri/xeo-forge --skill governance-inheritance
Clone the repo
git clone --depth 1 https://github.com/lahkiri/xeo-forge

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 governance-inheritance

README.md
[![agentmods](https://agentmods.dev/badge/skills/lahkiri/xeo-forge/governance-inheritance/github.svg)](https://agentmods.dev/skills/lahkiri/xeo-forge/governance-inheritance)
Your own site
<a href="https://agentmods.dev/skills/lahkiri/xeo-forge/governance-inheritance"><img src="https://agentmods.dev/badge/skills/lahkiri/xeo-forge/governance-inheritance/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 governance-inheritance

Your own site · 80×15
<a href="https://agentmods.dev/skills/lahkiri/xeo-forge/governance-inheritance"><img src="https://agentmods.dev/badge/skills/lahkiri/xeo-forge/governance-inheritance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 241 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00056 $0.00241
Opus 5 $0.00028 $0.00120
Sonnet 5 $0.00011 $0.00048
Haiku 4.5 $0.00006 $0.00024

Measured 9d ago against content hash fffdfd9db468, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

governance-inheritance scanned grade A with 0 findings 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 9d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/governance-inheritance/SKILL.md · 9 lines

What it actually says

New Xeo Forge capabilities never create their own permission path. When the agent adds a feature that acts on the workspace, network, or host — subagent delegation, sandbox tiers, browser control, anything future capabilities share — it routes that capability's decisions through the existing PermissionRule engine: classifyToolCall gains a case, the per-level AUTONOMY_RULES gain their rows as data, and dispatch runs through the same authorizeToolCall gate every other tool answers to.

If a new capability seems to need an exception from the rule engine, the agent stops and widens the rule vocabulary instead (a new action type or resource prefix, expressed as data with an audit note). The agent never hardcodes an if that decides permission by capability identity. Subagent children inherit the parent's rule set verbatim — a delegated actor holding broader authority than its parent is treated as a security defect, not a convenience.

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. 9d ago First seen · 9 lines · 56 tokens per session scan A fffdfd9db468

Subscribe to this mod's changes

governance-inheritance is a skill published in the GitHub repository lahkiri/xeo-forge (11 stars, last pushed 7d ago), licensed MIT. It adds 56 tokens to every session and 241 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

openclaw-github-dedupe

Investigate a cluster of GitHub issues and PRs, determine canonical candidates, post duplicate/related status, preserve contributor credit, and execute cleanup actions. Supports autonomous mode for provided-link-only closeout, merge/fix follow-through, changelog, and post-merge issue/PR cleanup.

vincentkoc/dotskills · 68 tokens

tmux-lane-orchestrator

Manage one tmux agent lane from its matching ops pane, inspect live pane state and Codex logs on cold start, and produce concise manager summaries for OpenClaw and adjacent project work.

vincentkoc/dotskills · 46 tokens

ghcrawl-cluster-operator

Use when inspecting a ghcrawl SQLite store, pulling GitHub issue/PR data, refreshing summaries, embeddings, and clusters, or extracting one cluster and its evidence through the ghcrawl CLI.

vincentkoc/dotskills · 45 tokens

opik-optimizer

Optimize LLM prompts, tools, and agents in Opik using standardized optimizer workflows (prompt optimization, tool optimization, and parameter tuning), dataset/metric wiring, and result interpretation.

vincentkoc/dotskills · 41 tokens

crabpot-perf-metrics

Interpret Crabpot and OpenClaw performance dashboard metrics, import-loop profiles, runtime profiles, and branch-to-branch perf deltas without over-reading noisy samples.

vincentkoc/dotskills · 40 tokens

org-branch-cleanup

Audit and safely prune stale branches across a GitHub organization with immutable snapshots, conservative merged-PR classification, live SHA/protection/open-PR revalidation, resumable deletion ledgers, and post-delete verification. Use when a maintainer asks to clean up old, dead, merged, bot-created, or abandoned…

vincentkoc/dotskills · 91 tokens