Skip to content
Back to skills

E39 Knowledge Graph

ASecurity

STORY KEY: E39-S07 TITLE: Create maintain-wiki skill — agent-maintained OKF ingest, lint, and query TYPE: Story PARENT: e39 STATUS: Draft AUTHOR: dvm DATE: 2026-07-03 MATURITY: 3 SIZE: M The OKF bundles (skills-wiki, conventions-wiki, agent-guide) are generated but not maintained. As the codebase evolves — new skills, changed conventions, updated CLAUDE.md — the wikis stale. The maintain-wiki skill gives agents the ability to maintain the knowledge graph: ING...

  • 274 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added October 25, 2026
development

Works with

  • cli

Security analysis

A100/100

Pro scans all 21 files and shows the line behind each finding

Scanned October 25, 2026

npx -y skills add danielvm-git/bigpowers --skill e39-knowledge-graph --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of E39 Knowledge Graph?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for E39 Knowledge Graph
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/danielvm-git-e39-knowledge-graph/badge)](https://www.skillsdirectory.com/skills/danielvm-git-e39-knowledge-graph)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
STORY KEY: E39-S07
TITLE:     Create maintain-wiki skill — agent-maintained OKF ingest, lint, and query
TYPE:      Story
PARENT:    e39
STATUS:    Draft
AUTHOR:    dvm           DATE: 2026-07-03
MATURITY:  3
SIZE:      M

### 1. Business narrative
The OKF bundles (skills-wiki, conventions-wiki, agent-guide) are generated but
not maintained. As the codebase evolves — new skills, changed conventions,
updated CLAUDE.md — the wikis stale. The maintain-wiki skill gives agents the
ability to maintain the knowledge graph: INGEST (read source → write/update OKF
concepts), QUERY (search index.md → drill into concepts → synthesize answer with
citations), and LINT (check for contradictions, stale claims, orphan pages,
missing cross-references). This is the "Tier 0" codebase wiki — language-agnostic,
agent-maintained, providing semantic understanding without language-specific
static analyzers.

### 2. Value statement
As an agent maintaining the codebase, I want to update the knowledge graph as
I make changes, so the wiki stays current and I can query it for architectural
understanding without re-analyzing the entire codebase.

### 3. Actors and permissions
- Agent (system) — invokes maintain-wiki for ingest, lint, query.
- build-epic Step 8 (system) — invokes maintain-wiki INGEST after story completion.

### 4. Trigger and preconditions
Trigger: agent invocation (INGEST after code changes, QUERY before planning, LINT during verification).
Precondition: OKF bundles exist at specs/skills-wiki/, specs/conventions-wiki/, specs/agent-guide/.

### 5. Main flow and business logic
INGEST:
1. Agent reads source (code, spec, doc).
2. Writes or updates OKF concepts (concept page + cross-references in dependents + index.md + log.md).
3. Touches 5-15 pages per ingest.
QUERY:
1. Agent searches index.md for relevant concepts.
2. Drills into concept pages, follows cross-references.
3. Synthesizes answer with citations back to source files.
LINT:
1. Check for contradictions between concepts.
2. Check for stale claims (source file modified after concept).
3. Check for orphan pages (no incoming links).
4. Check for missing cross-references, data gaps, broken links.
5. Produce lint report.

### 6-16. Not applicable (standard skill creation pattern)

### 17. Acceptance criteria
Scenario: Maintain-wiki skill created
  GIVEN the skills directory
  WHEN the skill is created
  THEN test -f skills/maintain-wiki/SKILL.md exits 0
  AND the SKILL.md covers ingest, lint, and query operations
  AND grep -q 'ingest|lint|query' skills/maintain-wiki/SKILL.md exits 0

### 18. Out of scope
- Implementing maintain-wiki as a standalone CLI (it's a skill for agents).
- Creating a separate wiki for epics or ADRs (those are separate domains).

### 19. Open questions
- Should INGEST be auto-triggered on every story completion or opt-in?
  Integrated into build-epic Step 8 (e39s08), so auto-triggered.

### 20. References
- Karpathy LLM Wiki gist (inspiration for the ingest → query → lint pattern).
- specs/IMPACT-e38-okf-adoption.md.
- specs/skills-wiki/, specs/conventions-wiki/, specs/agent-guide/ (target wikis).

Files in this skill

  • e39s01-build-skill-graph.md6.5 KB
  • e39s01-tasks.yaml1.4 KB
  • e39s02-agent-locks.md5.9 KB
  • e39s02-tasks.yaml966 B
  • e39s03-check-spec-drift.md5.7 KB
  • e39s03-tasks.yaml1 KB
  • e39s04-okf-skills-wiki.md2.8 KB
  • e39s04-tasks.yaml996 B
  • e39s05-okf-conventions-wiki.md2.6 KB
  • e39s05-tasks.yaml919 B
  • e39s06-okf-agent-guide.md2.2 KB
  • e39s06-tasks.yaml868 B
  • e39s07-maintain-wiki-skill.md3.1 KB
  • e39s07-tasks.yaml841 B
  • e39s08-integrate-maintain-wiki.md2.8 KB
  • e39s08-tasks.yaml468 B
  • e39s09-semantic-context-bridge-guide.md2.7 KB
  • e39s09-tasks.yaml682 B
  • e39s10-extend-validate-okf.md3 KB
  • e39s10-tasks.yaml629 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.