SKILL: Corpus Inventory Wiki
Root Directory: corpus_inventory_wiki_rag_vector/
All paths below are relative to that root.
Purpose
This wiki is a model-agnostic RAG index — any agent from any provider can read these markdown files to understand what books and documents exist in the 0sXai corpus, where they're located, and what topics they cover. No embeddings, no vector DB — just structured markdown that any LLM can parse.
Execution Flow
- Boot: Read
system_directive.md → knowledge/skill_context.md → this file.
- Orient: Read
wiki/index.md for the full corpus map, then wiki/hot.md for recent changes.
- Query: Navigate to the relevant category page in
wiki/categories/ for detailed book listings.
- Report: If you discover new files or reclassifications, append to
working_doc.md.
Wiki Structure
corpus_inventory_wiki_rag_vector/
├── system_directive.md # Governance (read FIRST)
├── SANDBOX_RULES.md # Project rules
├── working_doc.md # Living changelog + recommendations
├── knowledge/
│ └── skill_context.md # Environment map (read SECOND)
├── skills/
│ └── corpus-inventory/
│ └── SKILL.md # This file (read THIRD)
├── wiki/
│ ├── index.md # Master catalog — entry point for all agents
│ ├── hot.md # Recent changes cache (~500 tokens)
│ ├── corpus_health.md # Dedup report, gap analysis, metrics
│ └── categories/ # One page per topic domain
│ ├── architecture.md
│ ├── agile_planning.md
│ ├── software_dev.md
│ ├── ai_ml.md
│ ├── blockchain_defi.md
│ ├── security.md
│ ├── math_physics.md
│ ├── cloud_infra.md
│ ├── data_engineering.md
│ ├── quant_trading.md
│ └── uncategorized.md
├── inventory/ # Machine-readable data
│ ├── full_inventory.json # Complete deduped inventory
│ └── classification_report.json # Heuristic results per file
├── session_logs/ # Operational diary
│ └── session_log_YYYY-MM-DD.md
└── scripts/ # Inventory generation scripts
└── build_inventory.py
Category Taxonomy
| ID |
Category |
Keywords |
Agent Use Cases |
| CAT-01 |
Architecture |
architect, design pattern, microservice, system design, clean code, DDD, distributed |
System design agents, code review agents |
| CAT-02 |
Agile/Planning |
agile, scrum, kanban, sprint, lean, project management, devops |
Project planning agents, sprint orchestrators |
| CAT-03 |
Software Dev |
programming, python, javascript, react, flutter, web dev, API, full-stack |
Coding agents, development assistants |
| CAT-04 |
AI/ML |
artificial intelligence, machine learning, deep learning, neural, NLP, LLM, transformer |
Research agents, ML pipeline agents |
| CAT-05 |
Blockchain/DeFi |
blockchain, solidity, smart contract, defi, crypto, bitcoin, web3, dao |
DeFi agents, smart contract auditors |
| CAT-06 |
Security |
security, cybersecurity, hacking, penetration, zero trust, red team, OWASP |
Security auditor agents, red team agents |
| CAT-07 |
Math/Physics |
mathematics, calculus, algebra, statistics, probability, physics, quantum, topology |
Research agents, quant agents |
| CAT-08 |
Cloud/Infra |
aws, azure, gcp, kubernetes, docker, terraform, infrastructure, serverless |
DevOps agents, infrastructure agents |
| CAT-09 |
Data Engineering |
data science, database, sql, spark, kafka, airflow, etl, analytics |
Data pipeline agents, analytics agents |
| CAT-10 |
Quant/Trading |
|
Trading bot agents, quant researchers |
| CAT-99 |
Uncategorized |
(no match) |
Flagged for human review |
Must Do
- ALWAYS read
wiki/index.md before answering corpus questions.
- ALWAYS cite the category page and book entry when recommending a source.
- ALWAYS append discoveries to
working_doc.md.
- ALWAYS use Obsidian
[[wikilinks]] for cross-references.
Must NOT Do
- NEVER modify source files on disk.
- NEVER guess book contents from titles alone — use the heuristic confidence score.
- NEVER merge categories without updating the taxonomy table above.
- NEVER skip the confidence level field — LOW is acceptable, missing is not.
Book Entry Format (Wiki Category Pages)
Each book in a category page follows this structure:
### [Book Title]
- **Author:** [Author name or "Unknown"]
- **Year:** [Publication year or "Unknown"]
- **Size:** [X.X MB]
- **Format:** [PDF/EPUB/MOBI]
- **Confidence:** [HIGH/MEDIUM/LOW]
- **Keywords:** [keyword1, keyword2, keyword3]
- **Heuristic Layers:** [L1-Filename, L3-Year, L5-Size]
- **Source Path:** `[canonical path]`
- **Copies Found:** [N] locations
- **Agent Relevance:** [Which agents should read this]
- **Cross-refs:** [[related_category]], [[related_book]]
Working Doc Update Protocol
After every session that touches this project, append to working_doc.md:
## Update: YYYY-MM-DD HH:MM TZ
### Changes
- [What was added/modified/reclassified]
### Corpus Health Snapshot
- Total unique files: [N]
- Classified: [N] | Unclassified: [N]
- Duplicates removed: [N]
- Categories with gaps: [list]
### Recommendations
- [Suggested fixes, reorganization, missing coverage]
### Open Questions
- [Questions that need human answers to proceed]
1---2name: corpus-inventory3description: Teaches agents how to read, query, and contribute to the corpus inventory wiki. Provides the classification taxonomy, wiki page contracts, and update protocols for maintaining the multi-agent knowledge index.4---56# SKILL: Corpus Inventory Wiki78> **Root Directory:** `corpus_inventory_wiki_rag_vector/`9> All paths below are relative to that root.1011## Purpose1213This wiki is a **model-agnostic RAG index** — any agent from any provider can read these markdown files to understand what books and documents exist in the 0sXai corpus, where they're located, and what topics they cover. No embeddings, no vector DB — just structured markdown that any LLM can parse.1415## Execution Flow16171. **Boot:** Read `system_directive.md` → `knowledge/skill_context.md` → this file.182. **Orient:** Read `wiki/index.md` for the full corpus map, then `wiki/hot.md` for recent changes.193. **Query:** Navigate to the relevant category page in `wiki/categories/` for detailed book listings.204. **Report:** If you discover new files or reclassifications, append to `working_doc.md`.2122## Wiki Structure2324```25corpus_inventory_wiki_rag_vector/26├── system_directive.md # Governance (read FIRST)27├── SANDBOX_RULES.md # Project rules28├── working_doc.md # Living changelog + recommendations29├── knowledge/30│ └── skill_context.md # Environment map (read SECOND)31├── skills/32│ └── corpus-inventory/33│ └── SKILL.md # This file (read THIRD)34├── wiki/35│ ├── index.md # Master catalog — entry point for all agents36│ ├── hot.md # Recent changes cache (~500 tokens)37│ ├── corpus_health.md # Dedup report, gap analysis, metrics38│ └── categories/ # One page per topic domain39│ ├── architecture.md40│ ├── agile_planning.md41│ ├── software_dev.md42│ ├── ai_ml.md43│ ├── blockchain_defi.md44│ ├── security.md45│ ├── math_physics.md46│ ├── cloud_infra.md47│ ├── data_engineering.md48│ ├── quant_trading.md49│ └── uncategorized.md50├── inventory/ # Machine-readable data51│ ├── full_inventory.json # Complete deduped inventory52│ └── classification_report.json # Heuristic results per file53├── session_logs/ # Operational diary54│ └── session_log_YYYY-MM-DD.md55└── scripts/ # Inventory generation scripts56 └── build_inventory.py57```5859## Category Taxonomy6061| ID | Category | Keywords | Agent Use Cases |62|:---|:---|:---|:---|63| CAT-01 | Architecture | architect, design pattern, microservice, system design, clean code, DDD, distributed | System design agents, code review agents |64| CAT-02 | Agile/Planning | agile, scrum, kanban, sprint, lean, project management, devops | Project planning agents, sprint orchestrators |65| CAT-03 | Software Dev | programming, python, javascript, react, flutter, web dev, API, full-stack | Coding agents, development assistants |66| CAT-04 | AI/ML | artificial intelligence, machine learning, deep learning, neural, NLP, LLM, transformer | Research agents, ML pipeline agents |67| CAT-05 | Blockchain/DeFi | blockchain, solidity, smart contract, defi, crypto, bitcoin, web3, dao | DeFi agents, smart contract auditors |68| CAT-06 | Security | security, cybersecurity, hacking, penetration, zero trust, red team, OWASP | Security auditor agents, red team agents |69| CAT-07 | Math/Physics | mathematics, calculus, algebra, statistics, probability, physics, quantum, topology | Research agents, quant agents |70| CAT-08 | Cloud/Infra | aws, azure, gcp, kubernetes, docker, terraform, infrastructure, serverless | DevOps agents, infrastructure agents |71| CAT-09 | Data Engineering | data science, database, sql, spark, kafka, airflow, etl, analytics | Data pipeline agents, analytics agents |72| CAT-10 | Quant/Trading | <sanitized_trading_doc_1> | Trading bot agents, quant researchers |73| CAT-99 | Uncategorized | (no match) | Flagged for human review |7475## Must Do76- ALWAYS read `wiki/index.md` before answering corpus questions.77- ALWAYS cite the category page and book entry when recommending a source.78- ALWAYS append discoveries to `working_doc.md`.79- ALWAYS use Obsidian `[[wikilinks]]` for cross-references.8081## Must NOT Do82- NEVER modify source files on disk.83- NEVER guess book contents from titles alone — use the heuristic confidence score.84- NEVER merge categories without updating the taxonomy table above.85- NEVER skip the confidence level field — LOW is acceptable, missing is not.8687## Book Entry Format (Wiki Category Pages)8889Each book in a category page follows this structure:9091```markdown92### [Book Title]93- **Author:** [Author name or "Unknown"]94- **Year:** [Publication year or "Unknown"]95- **Size:** [X.X MB]96- **Format:** [PDF/EPUB/MOBI]97- **Confidence:** [HIGH/MEDIUM/LOW]98- **Keywords:** [keyword1, keyword2, keyword3]99- **Heuristic Layers:** [L1-Filename, L3-Year, L5-Size]100- **Source Path:** `[canonical path]`101- **Copies Found:** [N] locations102- **Agent Relevance:** [Which agents should read this]103- **Cross-refs:** [[related_category]], [[related_book]]104```105106## Working Doc Update Protocol107108After every session that touches this project, append to `working_doc.md`:109110```markdown111## Update: YYYY-MM-DD HH:MM TZ112113### Changes114- [What was added/modified/reclassified]115116### Corpus Health Snapshot117- Total unique files: [N]118- Classified: [N] | Unclassified: [N]119- Duplicates removed: [N]120- Categories with gaps: [list]121122### Recommendations123- [Suggested fixes, reorganization, missing coverage]124125### Open Questions126- [Questions that need human answers to proceed]127```