wiki_graph_index — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited wiki_graph_index (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Resolving script paths (read first): Commands below invoke scripts as<BIN>/X.py(and a few as<SKILLS>/...). Resolve these to absolute paths once before running anything:
>
-<SKILL_DIR>= the directory thisSKILL.mdlives in. -<SKILLS>= theskills/folder containing this skill =<SKILL_DIR>/..-<BIN>= thebin/folder beside it =<SKILL_DIR>/../../bin
>
Do not hardcode a fixed prefix like.agents/binor../bin: shell relative paths resolve against the current working directory (usually the topic root), not this skill's location. Once resolved,<BIN>is typically.agents/binwhen invoked from the hub root, or.claude/binfrom inside a topic directory.
This skill extracts the Markdown-based knowledge graph (comprised of [[wikilinks]], tags, and aliases) into a structured SQLite database (output/graph.db) that an AI agent can easily query using standard SQL.
When the user asks to extract, index, or query the knowledge graph of their wiki:
Run the deterministic python script to extract the graph from the markdown files:
python <BIN>/llm-wiki.py graph <TOPIC_DIR>This will parse all markdown files under `wiki/` (ignoring `_index.md`), extract frontmatter (tags, aliases) and body links, and rebuild the SQLite database located at `output/graph.db`.
Once built, you (the AI) can query output/graph.db using Python's sqlite3 module to traverse the graph and answer the user's questions.
The database schema is as follows:
nodes(id, path, title, type, category, summary, created, updated)id: The file path without extension (e.g., 'concepts/concept_name') or a tag (e.g., 'tag:machine-learning').edges(source_id, target_id, type)type can be 'wikilink' (between files) or 'has_tag' (from file to tag node).tags(node_id, tag)aliases(node_id, alias)Use python <BIN>/query-graph.py "<SQL>" --db <TOPIC_DIR>/output/graph.db to query the knowledge graph. Do not use direct sqlite3 command line execution.
Example:
python <BIN>/query-graph.py "SELECT source_id FROM edges WHERE target_id = 'Transformer';" --db <TOPIC_DIR>/output/graph.dbOr via a temporary Python script if you need complex graph traversal.
Present the findings of your graph queries to the user.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.