neuronfs-governance-defaults

neuronfs-governance-defaults is a skill for Claude Code, Codex from humanerd-drew/opencode-drewgent. It costs 35 tokens per session (1,467 once invoked), scanned C, original, MIT.

A set of default rules for restricting an AI agent’s behaviour through files and special rule markers. Examples include preventing secrets from being hardcoded and guarding against dangerous filesystem deletion.

In plain words
What is it for?
It helps define never-do rules, required checks, secret-handling policies, and safeguards for destructive shell operations.
Why use it?
It provides baseline safety checks so common risky actions are prohibited or require explicit handling.

Skill for Claude CodeCodex

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

Good fit It helps define never-do rules, required checks, secret-handling policies, and safeguards for destructive shell operations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/humanerd-drew/opencode-drewgent/neuronfs-governance-defaults
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 humanerd-drew/opencode-drewgent --skill neuronfs-governance-defaults
Clone the repo
git clone --depth 1 https://github.com/humanerd-drew/opencode-drewgent

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 neuronfs-governance-defaults

README.md
[![agentmods](https://agentmods.dev/badge/skills/humanerd-drew/opencode-drewgent/neuronfs-governance-defaults/github.svg)](https://agentmods.dev/skills/humanerd-drew/opencode-drewgent/neuronfs-governance-defaults)
Your own site
<a href="https://agentmods.dev/skills/humanerd-drew/opencode-drewgent/neuronfs-governance-defaults"><img src="https://agentmods.dev/badge/skills/humanerd-drew/opencode-drewgent/neuronfs-governance-defaults/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 neuronfs-governance-defaults

Your own site · 80×15
<a href="https://agentmods.dev/skills/humanerd-drew/opencode-drewgent/neuronfs-governance-defaults"><img src="https://agentmods.dev/badge/skills/humanerd-drew/opencode-drewgent/neuronfs-governance-defaults.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,467 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00035 $0.01467
Opus 5.5 $0.00014 $0.00587
Sonnet 5.5 $0.00007 $0.00293
Haiku 4.5 $0.00003 $0.00147

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

Security

Grade C, and why

neuronfs-governance-defaults scanned grade C with 1 finding 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

FORBIDDEN: rm -rf on root directory or system paths
skills/neuronfs-governance-defaults/SKILL.md · 196 lines

How it starts

The opening of the file, as written. The whole thing — 196 lines — stays where its author put it; the contents beside it link to each section on GitHub.

NeuronFS Governance Defaults

This skill provides default governance rules demonstrating NeuronFS patterns. These rules establish baseline AI behavior constraints using the vorq harness and 禁 (禁) micro-opcodes.

Core Philosophy

The filesystem IS the constraint engine. Rules are encoded as folder structures that force AI behavior:

  • 禁 (禁) = NEVER_DO — 1-char Chinese = 8-char meaning
  • 必 (必) = MUST_DO — forced lookup before action
  • 命 (命) = MANDATE — absolute requirement

Default Rules

P0-brainstem: Critical Never-Do Rules

禁secrets_in_code
禁secrets_in_code 必vorq
FORBIDDEN: Hardcoded secrets, API keys, tokens, passwords
REASON: Security breach risk — secrets must be environment variables
SCOPE: Any .py, .js, .ts, .go, .java, .rs, .env file
EXAMPLE VIOLATION:
    api_key = "sk-abc123..."  # BAD
CORRECT APPROACH:
    import os
    api_key = os.getenv("API_KEY")  # GOOD
VERIFICATION: Run "grep -r 'sk-\|password\|token\|secret' ." before commit
禁rm_rf_root
禁rm_rf_root 必vorq
FORBIDDEN: rm -rf on root directory or system paths
REASON: Catastrophic data loss risk
GUARD: Must confirm with user before ANY rm -rf
SCOPE: /, /home, /usr, /etc, /var, ~, $HOME, ./*
EXCEPTION: Only in explicitly scoped temp directories with user confirmation
禁console_log_production
禁console_log_production 必vorq
FORBIDDEN: console.log, print(), System.out.println in production code
REASON: Pollutes logs, leaks debugging info in production
REPLACEMENT: Use structured logging (winston, pino, log4j, logging module)
CORRECT:
    import logging
    logger = logging.getLogger(__name__)
    logger.info("User action completed", extra={"user_id": user_id})

P1-limbic: Values and Style Constraints

命secure_defaults
命secure_defaults
MANDATE: Security by default in all code
RULES:
- Input validation on all user-supplied data
- Parameterized queries for database access
- HTTPS/TLS for all external communications
- Principle of least privilege
- Fail securely (default deny)

Read the full file on GitHub · 196 lines

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 · 196 lines · 0 tokens per session scan C 3d60519e909f

Subscribe to this mod's changes

neuronfs-governance-defaults is a skill published in the GitHub repository humanerd-drew/opencode-drewgent (3 stars, last pushed 4mo ago), licensed MIT. It adds 35 tokens to every session and 1,467 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

neuronfs-governance-defaults compared with skills from other repositories

neuronfs-governance-defaults next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
neuronfs-governance-defaultshumanerd-drew/opencode-drewgentSkill34mo agoMITC35Claude Code, Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82kyesterdayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill332k6d agoMITA21Claude Code