Knowledge wiki
Skill Oxidez/knowledge-wiki
Index and maintain knowledge vault for agent navigation.From its SKILL.md
npx -y skills add Oxidez/knowledge-wikiAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
3 things to look at
- 17 days oldThe repository was created 17 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
5.5 KB, ~1.3k tokens by cl100k_base, as published. Nobody here has run it
knowledge-wiki
Purpose
Maintains a searchable, navigable, consistent knowledge vault using portable path resolution via config_loader.py.
Provides explicit handoff interface for knowledge_workflow.md Step 5 (indexing after page creation/update).
Operations
index_update(page_path, category, action) → IndexResult
Called by knowledge_workflow.md Step 5 after creating/updating a knowledge file. Performs incremental index update for single page and returns discoverability confirmation.
Parameters:
page_path: Relative path from vault root (e.g.,devices/entities/arduino-uno.md)category: One of 7 categories from knowledge_structure.md (devices, software, programming, electronics, networking, operating-systems, ai)action:"create"|"update"|"archive"
Returns: IndexResult with discoverability verification for workflow Step 6.
full_rebuild() → IndexResult
Complete vault scan → rebuild master index + all category indexes.
validate_all() → ValidationReport
Run all quality gates: frontmatter schema, wikilinks, related links, tags, orphans, supersedes chains, page size.
find_duplicates() → DuplicateReport
Detect duplicate entities/concepts:
- Exact title match (normalized)
- Same entity_type + category + title similarity (Levenshtein < 3)
- Similar content (simhash Hamming distance ≤ 3)
- Naming conflicts (same kebab-case filename in same folder)
find_inconsistencies() → InconsistencyReport
Detect inconsistencies:
- Broken wikilinks
- Missing required frontmatter fields
- Tag taxonomy violations
- Orphan pages (0 inbound wikilinks)
- <2 related links for active pages
- Broken supersedes chains
- Frontmatter schema violations
verify_discoverable(page_path) → bool
Confirm page is reachable from master index → category index → page.
File Placement (per workspace_rules.md)
- Pages:
knowledge/<category>/<type>/<kebab-case>.md - Category index:
knowledge/<category>/index.md - Master index:
knowledge/index.md - Archive:
archive/<category>/<type>/...(per archive_rules.md) - Inbox processing:
inbox/→documentation/→knowledge/
Vault Path
Configurable via ~/.config/knowledge-wiki/config.yaml or environment variables.
Defaults to workspace detection (looks for AGENTS.md or HERMES_WORKSPACE env var).
# ~/.config/knowledge-wiki/config.yaml
vault_root: "/path/to/workspace/knowledge"
inbox_root: "/path/to/workspace/inbox"
archive_root: "/path/to/workspace/archive"
Or via environment:
export KNOWLEDGE_VAULT_ROOT="/path/to/workspace/knowledge"
export KNOWLEDGE_INBOX_ROOT="/path/to/workspace/inbox"
export KNOWLEDGE_ARCHIVE_ROOT="/path/to/workspace/archive"
Priority: config file > env vars > Hermes workspace detection > ~/hermes-workspace/knowledge
Dependencies
obsidianskill (file read/write/search patterns via Hermes tools)knowledge_structure.md(7 categories, subcategory rules) — SSOT for categoriesknowledge_rules.md(naming, structure, storage roles)archive_rules.md(archive protocol)memory_flow.md(memory boundary: technical knowledge → vault, preferences → external memory if present)
Quality Gates (enforced before status: active)
- Frontmatter complete & valid per schema
- ≥2 related wikilinks for active pages
- Sources cited for non-obvious claims
- No broken wikilinks
- Category & master indexes updated
- Supersedes chain valid
- Tags from taxonomy only
- Page size ≤ 200 lines (split if exceeded)
Handoff Interface (knowledge_workflow.md Step 5 → Step 6)
# Agent calls:
result = knowledge_wiki.index_update(
page_path="devices/entities/arduino-uno.md",
category="devices",
action="create"
)
# Returns for workflow Step 6:
{
"success": true,
"page_path": "devices/entities/arduino-uno.md",
"master_index_updated": true,
"category_index_updated": true,
"category_index_path": "devices/index.md",
"discoverable": true,
"related_links_added": 3,
"duplicates_found": [],
"warnings": [],
"errors": []
}
Automatic Duplicate & Inconsistency Detection
Runs automatically on every index_update():
- Duplicate check on new/updated page
- Inconsistency check on affected category
- Results included in
IndexResultfor workflow recording
Templates
Located in templates/:
entity-page.md— Devices, software, people, organizationsconcept-page.md— Programming concepts, algorithms, protocolsprocedure-page.md— How-to, setup guides, workflowscomparison-page.md— Side-by-side analysesquery-page.md— Filed research answerscategory-index.md— Sectioned by page typemaster-index.md— Top-level catalog with recent additionsarchive-note.md— Archive placeholder with original pathschema-template.md— Frontmatter schema + tag taxonomy (references knowledge_structure.md)
Scripts
Located in scripts/:
indexer.py— Core indexing operationsvalidator.py— Quality gates validationduplicate_finder.py— Multi-signal duplicate detectioninconsistency_checker.py— Inconsistency detectionconverter.py— PDF/DOCX/XLSX → markdown extraction
Requirements
pyyaml>=6.0
simhash>=2.1
python-Levenshtein>=0.25
marker-pdf>=1.0
python-docx>=1.1
openpyxl>=3.1
What ships with it: 39 files
123.5 KB alongside SKILL.md, 9 of them executable
scripts/
- config_loader.pyruns5.1 KB
- converter.pyruns12.2 KB
- duplicate_finder.pyruns9.0 KB
- inconsistency_checker.pyruns10.3 KB
- indexer.pyruns12.5 KB
- requirements.txt604 B
- setup.pyruns6.4 KB
- validator.pyruns6.2 KB
templates/
- archive-note.md895 B
- category-index.md926 B
- comparison-page.md937 B
- concept-page.md912 B
- entity-page.md989 B
- master-index.md1.2 KB
- procedure-page.md1021 B
- query-page.md901 B
- schema-template.md5.9 KB
workspace/
- AGENTS.md4.4 KB
- instructions/archive_rules.md655 B
- instructions/INDEX.md575 B
- instructions/knowledge_rules.md1.5 KB
- instructions/knowledge_structure.md1.9 KB
- instructions/knowledge_workflow.md5.3 KB
- instructions/memory_flow.md2.2 KB
- instructions/project_workflow.md2.1 KB
- instructions/task_workflow.md1.9 KB
- instructions/workspace_rules.md1.4 KB
- knowledge/ai/index.md261 B
- knowledge/devices/index.md448 B
- knowledge/electronics/index.md279 B
- knowledge/index.md710 B
- knowledge/networking/index.md277 B
- knowledge/operating-systems/index.md291 B
- knowledge/programming/index.md279 B
- knowledge/software/index.md273 B
- config.yaml.example764 B
- install.batruns3.9 KB
- install.shruns3.8 KB
- README.md14.7 KB