tool-governance

tool-governance is a skill for Claude Code, Codex from meiiie/wiii. It costs 68 tokens per session (532 once invoked), scanned A, original, MIT.

A governance guide for managing tools, sandboxed code execution, browser automation, integrations and capability permissions.

In plain words
What is it for?
Use it when adding, changing, reviewing or debugging tools, selecting between execution methods, or updating role permissions and capability records.
Why use it?
It helps choose an appropriate way to perform a task and keep tool access, execution and registration under control.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when adding, changing, reviewing or debugging tools, selecting between execution methods, or updating role permissions and capability records.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/meiiie/wiii/tool-governance
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 meiiie/wiii --skill tool-governance
Clone the repo
git clone --depth 1 https://github.com/meiiie/wiii

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/meiiie/wiii/tool-governance"><img src="https://agentmods.dev/badge/skills/meiiie/wiii/tool-governance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 532 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.00068 $0.00532
Opus 5.5 $0.00027 $0.00213
Sonnet 5.5 $0.00014 $0.00106
Haiku 4.5 $0.00007 $0.00053

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

Security

Grade A, and why

tool-governance 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 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.

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.

maritime-ai-service/app/engine/skills/tool-governance/SKILL.md · 43 lines

What it actually says

Tool Governance

Use the smallest execution surface that can solve the task.

  • Use native deterministic tools for exportable deliverables such as .html, .xlsx, .docx, structured reports, or data transforms that do not need untrusted code execution.
  • Use OpenSandbox Python for dynamic computation, plotting, dataframe work, or code that must run in an isolated runtime.
  • Use browser sandbox only for navigation, screenshots, DOM extraction, or agent-visible web interaction.
  • Avoid turning every endpoint into a separate tool. Prefer a small number of broad capabilities with clear arguments.

Keep tool changes aligned across the stack.

  1. Register the tool in the runtime registry and set category/access rules.
  2. Add or update capability metadata in capability_registry.py.
  3. Bind the tool only in the agent paths that should actually use it.
  4. Emit user-visible outputs as preview or artifact bus events instead of burying them in plain text.
  5. Add focused tests for registration, permissioning, and runtime behavior.

Treat artifacts as first-class outputs.

  • Stream raw HTML only when the user needs a renderable page or landing page preview.
  • Stream chart/image artifacts as base64-backed chart artifacts.
  • Stream JSON/CSV tables as table artifacts when possible.
  • Stream binary office files (.xlsx, .docx, .pdf) as document-style artifacts with stable metadata (file_path, file_url, content_type) even when inline preview is not possible.

Preserve operational safety.

  • Keep privileged execution behind explicit role gates.
  • Propagate request_id, session_id, organization_id, user_id, and tool_call_id into sandbox metadata and artifact events.
  • Do not rely on raw chain-of-thought to explain tool work. Use concise action text plus inspectable artifacts.
  • Prefer capability-level descriptions over implementation details in prompts and selectors.

When reviewing a tool design, challenge four things before shipping.

  1. Can this be a deterministic tool instead of sandbox code?
  2. Is the tool broad enough to avoid tool explosion?
  3. Does the output appear as a first-class artifact or preview?
  4. Are role gates, telemetry, and tests in place?
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 · 43 lines · 68 tokens per session scan A 030b5a84d1eb

Subscribe to this mod's changes

tool-governance is a skill published in the GitHub repository meiiie/wiii (6 stars, last pushed 6d ago), licensed MIT. It adds 68 tokens to every session and 532 once invoked, about $0.0003 per session on Opus 5.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-31.

Related

tool-governance compared with skills from other repositories

tool-governance next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tool-governancemeiiie/wiiiSkill66d agoMITA68Claude Code, Codex
auto-trader-designmgh3326/auto_traderSkill10todayMITA80Claude Code
workflow-guidealikon-art/DeterminFlowSkill9862mo agoAGPL-3.0A75Claude Code, Codex
agent-definition-guidealikon-art/DeterminFlowSkill9862mo agoAGPL-3.0A65Claude Code, Codex
prompt-template-guidealikon-art/DeterminFlowSkill9862mo agoAGPL-3.0A62Claude Code, Codex
script-library-guidealikon-art/DeterminFlowSkill9862mo agoAGPL-3.0A76Claude Code, Codex
skill-rule-authoring-guidealikon-art/DeterminFlowSkill9862mo agoAGPL-3.0A75Claude Code, Codex