Skill Inventory — Unified Audit, Atlas, Mesh Health & Unification
DITEMPA BUKAN DIBERI — Intelligence is forged, not given.
The mesa above the terrain. See the whole. Find the missing. Route the right.
What This Skill Is
This is the meta-skill — a skill about skills. It provides:
- Inventory — live multi-surface counts (not a frozen number)
- Gap detection — missing, thin, dual-named, harness-divergent
- Routing — given a task and harness, which skill(s) to load
- Health scoring — freshness, collision, catalog vs view drift
- Cross-harness unification — AAA catalog ↔ CLI agent views
- Mesh sync — per-skill SYNC / DIVERGED / MISSING_FROM_X status
- Cross-surface contrast — 10-agent audit with rot classification
It does NOT execute, judge, or seal. It classifies, routes, and illuminates.
Iron rule: AAA is the catalog. Harnesses are views. Do not invent parallel catalogs.
When to Use
- Reviewing the overall capabilities, naming conventions, and performance of the active skill portfolio
- A new skill is drafted or proposed for installation
- An existing skill's SKILL.md is updated or modified
- Executing portfolio maintenance checks to clean up outdated APIs, dead links, or legacy documentation
- Tuning the triggering accuracy of skills when experiencing trigger drift
- Answering "are my agents in sync right now?"
- Auditing skill mesh, resolving dual names, rebinding harness skills
- Before claiming skill inventory is complete
When NOT to Use
- Creating a single new skill from scratch (use
skill-creator)
- Linting individual skill trigger statements (use
skill-creator linter mode)
- The task is a general system performance audit unrelated to skills
§0. MULTI-HARNESS UNIFICATION
Architecture
BOOTSTRAP_MANIFEST (9 universals) ← always first
↓
AAA/skills (catalog + V3 registry) ← sole named truth
+ .agents/skills (doctrine/stage) ← shared federation core
↓ symlink mesh
~/.grok | ~/.claude | ~/.codex ← views (+ harness-native)
↓ separate trees
Hermes categories | Kimi roles | OpenClaw owned
Live inventory (OBSERVED)
| Surface |
Count |
Role |
AAA ${AAA_HOME:-/root/AAA}/skills |
~108 active bodies |
Catalog; archives excluded |
| V3 registry |
64 logical |
Short-name registry |
| Alias table |
133 rows |
104 active + 29 tombstone |
.agents/skills |
~130 active bodies |
Stage/domain doctrine |
Grok ~/.grok/skills |
~184 resolvable |
View + native keepers |
| Claude / Codex / OpenCode |
~176 / 56 / 39 |
Mesh/profile views |
| Kimi |
~7 |
Role contrast/RSI skills |
Canonical artifacts
| Artifact |
Path |
| Alias table |
${AAA_HOME:-/root/AAA}/skills/SKILL_ALIAS_TABLE.json |
| Mesh sync |
${AAA_HOME:-/root/AAA}/skills/scripts/skill-mesh-sync.sh |
| V3 registry |
${AAA_HOME:-/root/AAA}/skills/FEDERATED_SKILLS_REGISTRY_V3.yaml |
| Historical receipt |
${AAA_HOME:-/root/AAA}/skills/docs/SKILL-UNIFICATION-COMPLETE-2026-07-12.md |
| Current receipt |
${FORGE_WORK:-/root/forge_work}/2026-07-15/AAA-SKILL-TOOL-RECONCILIATION.json |
| Hermes bridge |
${AFORGE_HOME:-/root/A-FORGE}/forge_work/2026-07-12/HERMES-V3-DOMAIN-BRIDGE.md |
Resolve a V3 short name
python3 -c "import json;d=json.load(open('${AAA_HOME:-/root/AAA}/skills/SKILL_ALIAS_TABLE.json'));
print([a for a in d['aliases'] if a['v3_name']=='meta-atlas'][0])"
Mesh hygiene
# dry-run
bash ${AAA_HOME:-/root/AAA}/skills/scripts/skill-mesh-sync.sh
# apply missing links
bash ${AAA_HOME:-/root/AAA}/skills/scripts/skill-mesh-sync.sh --apply
# CI / pre-seal
bash ${AAA_HOME:-/root/AAA}/skills/scripts/skill-mesh-sync.sh --check
BOOT gate
BIND → GROUND → ROUTE → RECALL → VERIFY → SEAL → KNOW → READY
Only after READY may domain skills load.
§1. CROSS-SURFACE INVENTORY (10 Surfaces)
| # |
Surface |
Path |
Type |
| 1 |
AAA canonical |
/root/AAA/skills/ |
SOT |
| 2 |
kimi |
/root/.kimi-code/skills/ |
copy |
| 3 |
opencode |
/root/.arifos/agents/opencode/skills/ |
symlink |
| 4 |
grok |
/root/.grok/skills/ |
symlink |
| 5 |
claude |
/root/.claude/skills/ |
symlink |
| 6 |
codex |
/root/.codex/skills/ |
symlink |
| 7 |
hermes |
/root/.hermes/skills/ |
copy |
| 8 |
hermes-asi |
/usr/local/lib/hermes-agent/skills/ |
copy |
| 9 |
openclaw-ws |
/root/.openclaw/workspace/skills/ |
copy |
| 10 |
openclaw-bundled |
bundled |
built-in |
Cross-surface compare
# Dump each surface
comm -23 <(ls /root/AAA/skills/ | sort) <(ls /root/.kimi-code/skills/ | sort) # orphans: AAA has, kimi lacks
comm -13 <(ls /root/AAA/skills/ | sort) <(ls /root/.kimi-code/skills/ | sort) # drift: kimi has, AAA lacks
Classification Matrix
| Verdict |
Condition |
Action |
| ✅ PROMOTE |
kimi/agent has it, AAA lacks, universal |
Copy to AAA, register V3, add alias |
| 📦 ARCHIVE |
agent has it, AAA has better version |
Move to _retired/<date>/ |
| 🔧 HARNESS-NATIVE |
agent-specific |
OK — don't promote |
| 🔲 NEED MIRROR |
AAA has it, agent lacks |
Copy/symlink to agent |
| ⚠️ DUAL-NAME |
Same skill, different names |
Alias table entry or symlink |
| ☠️ VOID |
Zero invocations, zero evidence |
SKILL.md → SKILL.md.VOID |
§2. MESH SYNC PROTOCOL
Compare command
find /root/AAA/skills /root/.hermes/skills /root/.kimi-code/skills -maxdepth 2 -name 'SKILL.md' | xargs grep '^version:' | sort
PITFALL: -maxdepth 1 returns empty on this mesh — skill dirs nest one level deep. Use -maxdepth 2.
Health report format
skill_name | AAA_version | hermes_version | kimi_version | status
Status values
| Status |
Meaning |
SYNC |
Present in all trees, same version |
DIVERGED |
Present in ≥2 trees with different versions |
MISSING_FROM_X |
Absent from tree X but present in AAA |
Escalation protocol
| Detection |
Action |
Owner |
DIVERGED |
Flag — log the row |
AUDIT agent |
DIVERGED > 3 sessions |
Fix — align to AAA version |
A-FORGE |
MISSING_FROM_X |
Propagate from AAA |
A-FORGE |
MISSING_FROM_aaa |
Flag + reverse-propagate |
AUDIT → A-FORGE |
§3. ROT CLASSIFICATION
| Rot Class |
Description |
doc-rot |
References external URLs/paths no longer accessible |
api-rot |
SDK/CLI packages past compatibility versions |
trigger-rot |
Triggering criteria overlap with other skills |
unused-rot |
No telemetry execution within threshold |
archive-void-rot |
Physically archived but still discoverable |
drift-rot |
Exists on agent surface but NOT in AAA (or vice versa) |
dual-name-rot |
Same skill has different names across surfaces |
Age thresholds
| Days Since Forge |
Status |
Action |
| 0-7 |
FRESH |
No action |
| 8-14 |
CURRENT |
Review on next session |
| 15-30 |
AGING |
Verify references still valid |
| 30+ |
STALE |
Audit needed, consider archive or refresh |
§4. ROUTING TABLE
| Intent Pattern |
Skill to Load |
| "seismic" / "well log" / "petrophysics" / "basin" |
geox-constitution + domain geox-* |
| "NPV" / "IRR" / "capital" / "investment" |
wealth-capital-thermodynamics |
| "sleep" / "fatigue" / "vitality" / "dignity" |
well-substrate-readiness |
| "build MCP tool" / "forge tool" |
mcp-mastery |
| "GitHub PR" / "CI broken" / "issue triage" |
github-operations |
| "create a skill" / "new skill" |
skill-creator |
| "what skill should I load" / "skill gap" |
THIS SKILL |
§5. HEALTH SCORING
Per-skill health check
skill_health = {
"name": str, "version": str, "forged_date": str,
"days_since_forge": int, "references_count": int,
"phantom_refs": int, "has_prompt": bool, "has_test": bool,
"organ_coverage": float,
}
§6. ANTI-PATTERNS
| Anti-Pattern |
Remedy |
Copy skill bodies into every ~/.X/skills |
Symlink to AAA / .agents |
| Second "Grok catalog" of 100+ natives |
Keep ≤12 harness keepers |
| Route by V3 short name without path |
Resolve via alias table |
| Trust frozen counts |
Re-probe disk |
| Skill overload (5+ for simple task) |
Use this meta-skill for minimum set |
| Phantom reliance |
Run gap register and forge missing |
| Stage skipping |
Always start with 000-init |
§7. PRE-SEAL CHECKLIST
skill-mesh-sync.sh --check exits 0
- V3 logical count is 64; alias rows separately classified
- No live primary resolves through a tombstone row
- No source-less broken alias remains active
- Harness-native keepers remain real directories
- This skill points to a dated live receipt
§8. INDEPENDENT VERIFICATION LANE (WAJIB 2)
A-FORGE planning, execution, AND verification in the same trust chain is a primary substrate defect. The required separation:
A-FORGE executes mutation
↓
Independent observe-lane verifier reads resulting reality
↓
Kernel checks evidence against original success criteria
↓
Only then may completion be recorded to VAULT999
Verifier hard rules
The verifier MUST:
- NOT have performed the mutation
- Use independently obtained state
- Receive original success criteria, NOT executor's rewritten summary
- Be unable to modify the state it is checking
- Return: VERIFIED, MISMATCH, INCONCLUSIVE, or STALE
- NEVER issue constitutional approval — only the kernel may SEAL
Kernel rejection rules
The kernel MUST reject "completion" when:
- Verifier identity == executor identity
- Evidence originated ONLY from the executor
- Verifier had mutation permission over the target
- Evidence is older than freshness_requirement
- Original success criteria are missing
- Results cannot be independently reproduced
§9. BOUNDED INDEPENDENT AUDIT PROTOCOL
Subagents are optional, scope-bounded evidence collectors. They do not inherit authority, cannot validate one another recursively, and never replace a live source-of-truth probe.
Rules
- Route uncertainty to the owning evidence source first
- Spawn only when scopes are independent and handoff cost < direct inspection
- Do not ask one model to recursively agree with copies of itself
- The root agent compares evidence, labels contradictions/UNKNOWNs
- Irreversible SEAL still requires real human/external witness path
References
contracts/AAA_SKILL.md — full orthogonal + subagent contract spec
contracts/HERMES_ROLE.md — polymorphic runtime
BOOTSTRAP_MANIFEST.json — signed manifest with 9 skills
FEDERATED_SKILLS_REGISTRY_V3.yaml — 64 canonical skills
SKILL_ALIAS_TABLE.json — 133 rows (104 active + 29 tombstone)
1---2name: skill-inventory3id: skill-inventory4version: 2.0.05description: >6 Unified skill inventory, audit, mesh health, and cross-surface contrast.7 Multi-surface skill audit (10 agent homes) with cross-surface contrast, drift/orphan/dual-name detection.8 Check whether every agent in the federation has the same core skills at the same version.9 Multi-harness skill catalog unity — AAA catalog, Grok/Claude/Codex views, alias table, mesh-sync, BOOT gate.10owner: AAA11risk_tier: low12autonomy_tier: T113floor_scope: [F2, F4, F7, F9, F11]14tags: [meta, skill-atlas, gap-detection, routing, federation, inventory, multi-harness, audit, mesh, sync, version, divergence, unification, alias]15capability_tier: fed-long-context16ecology_state: WARM17---1819# Skill Inventory — Unified Audit, Atlas, Mesh Health & Unification2021> **DITEMPA BUKAN DIBERI** — Intelligence is forged, not given.22> **The mesa above the terrain. See the whole. Find the missing. Route the right.**2324## What This Skill Is2526This is the **meta-skill** — a skill about skills. It provides:27281. **Inventory** — live multi-surface counts (not a frozen number)292. **Gap detection** — missing, thin, dual-named, harness-divergent303. **Routing** — given a task *and harness*, which skill(s) to load314. **Health scoring** — freshness, collision, catalog vs view drift325. **Cross-harness unification** — AAA catalog ↔ CLI agent views336. **Mesh sync** — per-skill SYNC / DIVERGED / MISSING_FROM_X status347. **Cross-surface contrast** — 10-agent audit with rot classification3536It does NOT execute, judge, or seal. It classifies, routes, and illuminates.3738**Iron rule:** AAA is the catalog. Harnesses are views. Do not invent parallel catalogs.3940## When to Use4142- Reviewing the overall capabilities, naming conventions, and performance of the active skill portfolio43- A new skill is drafted or proposed for installation44- An existing skill's SKILL.md is updated or modified45- Executing portfolio maintenance checks to clean up outdated APIs, dead links, or legacy documentation46- Tuning the triggering accuracy of skills when experiencing trigger drift47- Answering "are my agents in sync right now?"48- Auditing skill mesh, resolving dual names, rebinding harness skills49- Before claiming skill inventory is complete5051## When NOT to Use5253- Creating a single new skill from scratch (use `skill-creator`)54- Linting individual skill trigger statements (use `skill-creator` linter mode)55- The task is a general system performance audit unrelated to skills5657## §0. MULTI-HARNESS UNIFICATION5859### Architecture6061```62BOOTSTRAP_MANIFEST (9 universals) ← always first63 ↓64AAA/skills (catalog + V3 registry) ← sole named truth65 + .agents/skills (doctrine/stage) ← shared federation core66 ↓ symlink mesh67~/.grok | ~/.claude | ~/.codex ← views (+ harness-native)68 ↓ separate trees69Hermes categories | Kimi roles | OpenClaw owned70```7172### Live inventory (OBSERVED)7374| Surface | Count | Role |75|---------|-------|------|76| AAA `${AAA_HOME:-/root/AAA}/skills` | ~108 active bodies | **Catalog**; archives excluded |77| V3 registry | 64 logical | Short-name registry |78| Alias table | 133 rows | 104 active + 29 tombstone |79| `.agents/skills` | ~130 active bodies | Stage/domain doctrine |80| Grok `~/.grok/skills` | ~184 resolvable | View + native keepers |81| Claude / Codex / OpenCode | ~176 / 56 / 39 | Mesh/profile views |82| Kimi | ~7 | Role contrast/RSI skills |8384### Canonical artifacts8586| Artifact | Path |87|----------|------|88| Alias table | `${AAA_HOME:-/root/AAA}/skills/SKILL_ALIAS_TABLE.json` |89| Mesh sync | `${AAA_HOME:-/root/AAA}/skills/scripts/skill-mesh-sync.sh` |90| V3 registry | `${AAA_HOME:-/root/AAA}/skills/FEDERATED_SKILLS_REGISTRY_V3.yaml` |91| Historical receipt | `${AAA_HOME:-/root/AAA}/skills/docs/SKILL-UNIFICATION-COMPLETE-2026-07-12.md` |92| Current receipt | `${FORGE_WORK:-/root/forge_work}/2026-07-15/AAA-SKILL-TOOL-RECONCILIATION.json` |93| Hermes bridge | `${AFORGE_HOME:-/root/A-FORGE}/forge_work/2026-07-12/HERMES-V3-DOMAIN-BRIDGE.md` |9495### Resolve a V3 short name9697```bash98python3 -c "import json;d=json.load(open('${AAA_HOME:-/root/AAA}/skills/SKILL_ALIAS_TABLE.json'));99print([a for a in d['aliases'] if a['v3_name']=='meta-atlas'][0])"100```101102### Mesh hygiene103104```bash105# dry-run106bash ${AAA_HOME:-/root/AAA}/skills/scripts/skill-mesh-sync.sh107# apply missing links108bash ${AAA_HOME:-/root/AAA}/skills/scripts/skill-mesh-sync.sh --apply109# CI / pre-seal110bash ${AAA_HOME:-/root/AAA}/skills/scripts/skill-mesh-sync.sh --check111```112113### BOOT gate114115```116BIND → GROUND → ROUTE → RECALL → VERIFY → SEAL → KNOW → READY117```118119Only after **READY** may domain skills load.120121## §1. CROSS-SURFACE INVENTORY (10 Surfaces)122123| # | Surface | Path | Type |124|---|---------|------|------|125| 1 | AAA canonical | `/root/AAA/skills/` | SOT |126| 2 | kimi | `/root/.kimi-code/skills/` | copy |127| 3 | opencode | `/root/.arifos/agents/opencode/skills/` | symlink |128| 4 | grok | `/root/.grok/skills/` | symlink |129| 5 | claude | `/root/.claude/skills/` | symlink |130| 6 | codex | `/root/.codex/skills/` | symlink |131| 7 | hermes | `/root/.hermes/skills/` | copy |132| 8 | hermes-asi | `/usr/local/lib/hermes-agent/skills/` | copy |133| 9 | openclaw-ws | `/root/.openclaw/workspace/skills/` | copy |134| 10 | openclaw-bundled | bundled | built-in |135136### Cross-surface compare137138```bash139# Dump each surface140comm -23 <(ls /root/AAA/skills/ | sort) <(ls /root/.kimi-code/skills/ | sort) # orphans: AAA has, kimi lacks141comm -13 <(ls /root/AAA/skills/ | sort) <(ls /root/.kimi-code/skills/ | sort) # drift: kimi has, AAA lacks142```143144### Classification Matrix145146| Verdict | Condition | Action |147|---------|-----------|--------|148| ✅ PROMOTE | kimi/agent has it, AAA lacks, universal | Copy to AAA, register V3, add alias |149| 📦 ARCHIVE | agent has it, AAA has better version | Move to `_retired/<date>/` |150| 🔧 HARNESS-NATIVE | agent-specific | OK — don't promote |151| 🔲 NEED MIRROR | AAA has it, agent lacks | Copy/symlink to agent |152| ⚠️ DUAL-NAME | Same skill, different names | Alias table entry or symlink |153| ☠️ VOID | Zero invocations, zero evidence | SKILL.md → SKILL.md.VOID |154155## §2. MESH SYNC PROTOCOL156157### Compare command158159```bash160find /root/AAA/skills /root/.hermes/skills /root/.kimi-code/skills -maxdepth 2 -name 'SKILL.md' | xargs grep '^version:' | sort161```162163**PITFALL:** `-maxdepth 1` returns empty on this mesh — skill dirs nest one level deep. Use `-maxdepth 2`.164165### Health report format166167```168skill_name | AAA_version | hermes_version | kimi_version | status169```170171### Status values172173| Status | Meaning |174|--------|---------|175| `SYNC` | Present in all trees, same version |176| `DIVERGED` | Present in ≥2 trees with different versions |177| `MISSING_FROM_X` | Absent from tree X but present in AAA |178179### Escalation protocol180181| Detection | Action | Owner |182|---|---|---|183| `DIVERGED` | Flag — log the row | AUDIT agent |184| `DIVERGED` > 3 sessions | Fix — align to AAA version | A-FORGE |185| `MISSING_FROM_X` | Propagate from AAA | A-FORGE |186| `MISSING_FROM_aaa` | Flag + reverse-propagate | AUDIT → A-FORGE |187188## §3. ROT CLASSIFICATION189190| Rot Class | Description |191|-----------|-------------|192| `doc-rot` | References external URLs/paths no longer accessible |193| `api-rot` | SDK/CLI packages past compatibility versions |194| `trigger-rot` | Triggering criteria overlap with other skills |195| `unused-rot` | No telemetry execution within threshold |196| `archive-void-rot` | Physically archived but still discoverable |197| `drift-rot` | Exists on agent surface but NOT in AAA (or vice versa) |198| `dual-name-rot` | Same skill has different names across surfaces |199200### Age thresholds201202| Days Since Forge | Status | Action |203|-----------------|--------|--------|204| 0-7 | FRESH | No action |205| 8-14 | CURRENT | Review on next session |206| 15-30 | AGING | Verify references still valid |207| 30+ | STALE | Audit needed, consider archive or refresh |208209## §4. ROUTING TABLE210211| Intent Pattern | Skill to Load |212|---------------|---------------|213| "seismic" / "well log" / "petrophysics" / "basin" | `geox-constitution` + domain geox-* |214| "NPV" / "IRR" / "capital" / "investment" | `wealth-capital-thermodynamics` |215| "sleep" / "fatigue" / "vitality" / "dignity" | `well-substrate-readiness` |216| "build MCP tool" / "forge tool" | `mcp-mastery` |217| "GitHub PR" / "CI broken" / "issue triage" | `github-operations` |218| "create a skill" / "new skill" | `skill-creator` |219| "what skill should I load" / "skill gap" | **THIS SKILL** |220221## §5. HEALTH SCORING222223### Per-skill health check224225```python226skill_health = {227 "name": str, "version": str, "forged_date": str,228 "days_since_forge": int, "references_count": int,229 "phantom_refs": int, "has_prompt": bool, "has_test": bool,230 "organ_coverage": float,231}232```233234## §6. ANTI-PATTERNS235236| Anti-Pattern | Remedy |237|-------------|--------|238| Copy skill bodies into every `~/.X/skills` | Symlink to AAA / .agents |239| Second "Grok catalog" of 100+ natives | Keep ≤12 harness keepers |240| Route by V3 short name without path | Resolve via alias table |241| Trust frozen counts | Re-probe disk |242| Skill overload (5+ for simple task) | Use this meta-skill for minimum set |243| Phantom reliance | Run gap register and forge missing |244| Stage skipping | Always start with 000-init |245246## §7. PRE-SEAL CHECKLIST2472481. `skill-mesh-sync.sh --check` exits 02492. V3 logical count is 64; alias rows separately classified2503. No live primary resolves through a tombstone row2514. No source-less broken alias remains active2525. Harness-native keepers remain real directories2536. This skill points to a dated live receipt254255## §8. INDEPENDENT VERIFICATION LANE (WAJIB 2)256257A-FORGE planning, execution, AND verification in the same trust chain is a **primary substrate defect**. The required separation:258259```260A-FORGE executes mutation261 ↓262Independent observe-lane verifier reads resulting reality263 ↓264Kernel checks evidence against original success criteria265 ↓266Only then may completion be recorded to VAULT999267```268269### Verifier hard rules270271The verifier MUST:272- NOT have performed the mutation273- Use independently obtained state274- Receive original success criteria, NOT executor's rewritten summary275- Be unable to modify the state it is checking276- Return: VERIFIED, MISMATCH, INCONCLUSIVE, or STALE277- NEVER issue constitutional approval — only the kernel may SEAL278279### Kernel rejection rules280281The kernel MUST reject "completion" when:282- Verifier identity == executor identity283- Evidence originated ONLY from the executor284- Verifier had mutation permission over the target285- Evidence is older than freshness_requirement286- Original success criteria are missing287- Results cannot be independently reproduced288289## §9. BOUNDED INDEPENDENT AUDIT PROTOCOL290291Subagents are optional, scope-bounded evidence collectors. They do not inherit authority, cannot validate one another recursively, and never replace a live source-of-truth probe.292293### Rules2942951. Route uncertainty to the owning evidence source first2962. Spawn only when scopes are independent and handoff cost < direct inspection2973. Do not ask one model to recursively agree with copies of itself2984. The root agent compares evidence, labels contradictions/UNKNOWNs2995. Irreversible SEAL still requires real human/external witness path300301## References302303- `contracts/AAA_SKILL.md` — full orthogonal + subagent contract spec304- `contracts/HERMES_ROLE.md` — polymorphic runtime305- `BOOTSTRAP_MANIFEST.json` — signed manifest with 9 skills306- `FEDERATED_SKILLS_REGISTRY_V3.yaml` — 64 canonical skills307- `SKILL_ALIAS_TABLE.json` — 133 rows (104 active + 29 tombstone)