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.
npx skills add meiiie/wiii --skill tool-governancegit clone --depth 1 https://github.com/meiiie/wiiiWrote 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.
[](https://agentmods.dev/skills/meiiie/wiii/tool-governance)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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.
- Register the tool in the runtime registry and set category/access rules.
- Add or update capability metadata in capability_registry.py.
- Bind the tool only in the agent paths that should actually use it.
- Emit user-visible outputs as
previeworartifactbus events instead of burying them in plain text. - 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
chartartifacts. - Stream JSON/CSV tables as
tableartifacts 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, andtool_call_idinto 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.
- Can this be a deterministic tool instead of sandbox code?
- Is the tool broad enough to avoid tool explosion?
- Does the output appear as a first-class artifact or preview?
- Are role gates, telemetry, and tests in place?
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.
- 3mo ago First seen · 43 lines · 68 tokens per session scan A 030b5a84d1eb
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.
tool-governance compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| tool-governancemeiiie/wiii | Skill | 6 | 6d ago | MIT | A | 68 | Claude Code, Codex |
| auto-trader-designmgh3326/auto_trader | Skill | 10 | today | MIT | A | 80 | Claude Code |
| workflow-guidealikon-art/DeterminFlow | Skill | 986 | 2mo ago | AGPL-3.0 | A | 75 | Claude Code, Codex |
| agent-definition-guidealikon-art/DeterminFlow | Skill | 986 | 2mo ago | AGPL-3.0 | A | 65 | Claude Code, Codex |
| prompt-template-guidealikon-art/DeterminFlow | Skill | 986 | 2mo ago | AGPL-3.0 | A | 62 | Claude Code, Codex |
| script-library-guidealikon-art/DeterminFlow | Skill | 986 | 2mo ago | AGPL-3.0 | A | 76 | Claude Code, Codex |
| skill-rule-authoring-guidealikon-art/DeterminFlow | Skill | 986 | 2mo ago | AGPL-3.0 | A | 75 | Claude Code, Codex |