vault-naming-convention

vault-naming-convention is a skill for Claude Code, Codex from humanerd-drew/opencode-drewgent. It costs 37 tokens per session (5,334 once invoked), scanned A, original, MIT.

A file-naming convention for Obsidian knowledge vaults, where notes are connected through wikilinks and treated as nodes in a knowledge graph. It defines unique names, priority prefixes, and folders that should stay outside the graph.

In plain words
What is it for?
Use it when naming or organizing files in structural vault folders, resolving wikilinks safely, preserving P-layer identity, and separating excluded operational areas.
Why use it?
It prevents duplicate filenames from making links ambiguous and keeps temporary or operational files from polluting the knowledge graph.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it when naming or organizing files in structural vault folders, resolving wikilinks safely, preserving P-layer identity, and separating excluded operational areas.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/humanerd-drew/opencode-drewgent/vault-naming-convention
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 vault-naming-convention
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 vault-naming-convention

README.md
[![agentmods](https://agentmods.dev/badge/skills/humanerd-drew/opencode-drewgent/vault-naming-convention.svg)](https://agentmods.dev/skills/humanerd-drew/opencode-drewgent/vault-naming-convention)
Your own site
<a href="https://agentmods.dev/skills/humanerd-drew/opencode-drewgent/vault-naming-convention"><img src="https://agentmods.dev/badge/skills/humanerd-drew/opencode-drewgent/vault-naming-convention.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,334 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.00037 $0.05334
Opus 5 $0.00018 $0.02667
Sonnet 5 $0.00007 $0.01067
Haiku 4.5 $0.00004 $0.00533

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

Security

Grade A, and why

vault-naming-convention 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 7d 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/brain/vault-naming-convention/SKILL.md · 490 lines

How it starts

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

Vault Naming Convention

Every file in the {{AGENT_NAME}} vault is a node in the knowledge graph. Filename uniqueness ensures wikilinks resolve deterministically. P-layer prefix preserves priority identity. Exclusion boundaries keep operational noise out of the graph.

Why This Matters (The SEO of Knowledge)

Duplicate filenames waste "resolution budget" — the same way duplicate content wastes search engine crawl budget:

  • [[SOUL]] with 4 SOUL.md files → Obsidian guesses, possibly wrong
  • [[SCHEMA]] with 3 SCHEMA.md files → ambiguous reference
  • Agent reading the vault must resolve ambiguity → compute waste

From NeuronFS: the P-layer prefix (P0-P6) is structural IDENTITY, not just a folder. Losing it in a short-name link loses priority information.

Rule: Unique Basenames in Structural Zones

Structural zones = paths that form the knowledge graph:

  • P0-brainstem/ through P6-prefrontal/
  • skills/ (each skill has its own SKILL.md)
  • YOUR_SITE/

Non-structural zones (excluded from Obsidian, can have duplicates):

  • source/ — {{AGENT_NAME_LOWER}}-agent upstream code
  • cron/output/ — operational logs
  • .trash/ — recovery staging
  • _agent/ — runtime state
  • node_modules/, archive/

Enforcement

Every .md file in structural zones must have a unique basename (case-sensitive):

find ~/.{{AGENT_NAME_LOWER}} -name '*.md' \
  -not -path '*/cron/*' -not -path '*/.trash/*' \
  -not -path '*/source/*' -not -path '*/_agent/*' \
  -not -path '*/node_modules/*' -not -path '*/archive/*' \
  2>/dev/null | while read f; do basename "$f"; done \
  | sort | uniq -c | sort -rn | awk '$1 > 1 {print $1, $2}'
Scope Recommended Style Example
Unique filename Short name [[Slug]] [[SELF_MODEL]], [[rules]]
Non-unique filename Full path [[P-layer/path/Slug]] [[@identity/persona/SOUL]] (not bare [[SOUL]])
Skill file [[skills/category/name/SKILL]] [[skills/devops/kanban-worker/SKILL]]
Neuron file [[@identity/禁/slug]] [[@identity/禁/禁task_qa_gate.neuron]]

Read the full file on GitHub · 490 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 7d ago First seen · 490 lines · 37 tokens per session scan A 76214c4e2b9e

Subscribe to this mod's changes

vault-naming-convention is a skill published in the GitHub repository humanerd-drew/opencode-drewgent (2 stars, last pushed 1mo ago), licensed MIT. It adds 37 tokens to every session and 5,334 once invoked, about $0.0002 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-31.

Related

Other skills, from other repositories

chief-of-staff

Personal Chief of Staff system for ADHD-ish operators. Vault-based, loop-driven, nervous-system-aware. Built and lived-in across daily sessions on real consulting, content, and long-running personal work.

jdpolasky/ai-chief-of-staff · 44 tokens

constellation-vault

Build the live object graph (Constellation) and export an Obsidian vault with verified wikilinks from a running ProtoOS world.

ANAMIZED/Proto-OS · 33 tokens

wiki-retrieve

Build and query a vault-local contextual BM25 retrieval index with optional multilingual Nomic cosine reranking; use for retrieve, hybrid retrieval, BM25, rerank, contextual retrieval, chunk search, vault search, semantic search, find relevant passages, or retrieval diagnostics. Derived caches stay under .vault-meta…

AgriciDaniel/claude-obsidian · 81 tokens

obsidian-bases

Explain, draft, and validate Obsidian Bases .base files with filters, formulas, properties, summaries, and table, card, or list views. Use for Obsidian Bases, database-like vault views, dynamic tables, reading lists, task trackers, filters, formulas, summaries, and .base file edits.

AgriciDaniel/claude-obsidian · 69 tokens

wiki-import

Import a wiki knowledge graph into the current vault — either from a graph.json export file (stubs) or from an OKF (Open Knowledge Format) markdown bundle (full page bodies). Use this skill when the user says "import wiki", "import from export", "load graph.json", "import vault", "import OKF bundle", "import OKF"…

Ar9av/obsidian-wiki · 108 tokens

wiki-digest

Generate a periodic knowledge digest — a human-readable newsletter-style summary of what was learned, updated, and connected in your wiki over a specified period (day/week/month). Use when the user says "what did I learn this week", "give me a digest", "weekly summary", "knowledge report", "what's new in my wiki"…

Ar9av/obsidian-wiki · 121 tokens