graphwiki

graphwiki is a skill for Claude Code, Codex from cyberelf/agent_skills. It costs 81 tokens per session (4,726 once invoked), scanned A, original, MIT.

A tool for building a searchable knowledge wiki from source documents. It extracts entities and connections into a graph, then creates linked pages, evidence references, reports, and question-answering views.

In plain words
What is it for?
Use it to initialize, ingest, update, query, explain, validate, and report on a knowledge base built from indexed sources.
Why use it?
It removes the need to organize large collections of documents and their relationships by hand, while keeping answers tied to source lines.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/cyberelf/agent_skills/graphwiki
Any agent
npx skills add cyberelf/agent_skills --skill graphwiki
Clone the repo
git clone --depth 1 https://github.com/cyberelf/agent_skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for graphwiki

README.md
[![agentmods](https://agentmods.dev/badge/skills/cyberelf/agent_skills/graphwiki.svg)](https://agentmods.dev/skills/cyberelf/agent_skills/graphwiki)
Your own site
<a href="https://agentmods.dev/skills/cyberelf/agent_skills/graphwiki"><img src="https://agentmods.dev/badge/skills/cyberelf/agent_skills/graphwiki.svg" alt="Measured on agentmods" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,726 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00081 $0.04726
Opus 5 $0.00041 $0.02363
Sonnet 5 $0.00016 $0.00945
Haiku 4.5 $0.00008 $0.00473

Measured 5d ago against content hash d245b642f35a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

graphwiki scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (graphwiki.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/graphwiki/SKILL.md · 244 lines

How it starts

The opening of the file, as written. The whole thing — 244 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Graphwiki

Graphwiki builds and maintains a graph-backed knowledge wiki without installing a separate package. This skill contains the CLI at graphwiki.py and the bundled Python package under tool/.

Use this skill when the user asks to initialize, build, ingest, update, query, explain, answer from, report on, clean up, validate, cache, or extend a Graphwiki knowledge base. The user-facing entrypoint is the skill/agent, not the script; graphwiki.py is the internal executor that the skill calls after the agent decides what workflow is appropriate.

Operation Entrypoint

Users should ask the agent for operations such as "initialize this knowledge base", "update changed documents", "extract entities and build wiki pages", "query a concept relationship", or "generate an HTML report". The agent then selects the workflow and internally calls the bundled executor:

python /path/to/this/skill/graphwiki.py --root <project-root> <command>

Do not make the script the user's primary interface. The agent owns skill discovery, path substitution, command selection, and execution.

Load-Time Repo Guidance

When this skill is loaded, the agent should quickly inspect the current repository state and tell the user what kinds of requests are available:

  • If .graphwiki/graph.json is missing: suggest requests such as "initialize and build the knowledge base" or "index the documents under source/."
  • If source/ exists but the graph has no semantic entities or wiki pages: suggest "extract entities and relationships concurrently and build wiki pages."
  • If .graphwiki/GRAPH_REPORT.md or tasks next shows pending/stale/orphaned/needs_update work: suggest "process pending tasks," "repair stale evidence," or "update affected pages."
  • If source documents were added or changed: suggest "run an incremental update and process only changed documents."
  • If configured entity types are insufficient: suggest "recommend and confirm new entity types" or "add an entity type and re-scan existing sources."
  • If the graph already has semantic entities: suggest "query entity relationships," "explain shortest paths," or "answer from the knowledge graph."
  • If the user needs a deliverable: suggest "generate a standalone HTML report."
  • If an answer combines multiple sources: suggest "save the answer as a synthesis knowledge page."

Read the full file on GitHub · 244 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 244 lines · 81 tokens per session scan A d245b642f35a

Subscribe to this mod's changes

graphwiki is a skill published in the GitHub repository cyberelf/agent_skills (2 stars, last pushed 10d ago), licensed MIT. It adds 81 tokens to every session and 4,726 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

embeddings

Vector embeddings with HNSW indexing, sql.js persistence, and hyperbolic support. 75x faster with agentic-flow integration. Use when: semantic search, pattern matching, similarity queries, knowledge retrieval. Skip when: exact text matching, simple lookups, no semantic understanding needed.

ruvnet/ruflo · 62 tokens

agent-platform-rag-engine-management

Manage and query Agent Platform RAG Engine Corpora and retrieve grounded contexts using the Google GenAI SDK. Use when listing RAG corpora or files, inspecting a corpus, retrieving contexts, or generating content grounded in a RAG corpus. Do not use for standard database queries (use SQL/Spanner skills), Google…

google/skills · 85 tokens

llm-app-patterns

Production-ready patterns for building LLM applications. Covers RAG pipelines, agent architectures, prompt IDEs, and LLMOps monitoring. Use when designing AI applications, implementing RAG, building agents, or setting up LLM observability.

davila7/claude-code-templates · 54 tokens

9router-embeddings

Generate vector embeddings via 9Router /v1/embeddings using OpenAI / Gemini / Mistral / Voyage / Nvidia / GitHub embedding models for RAG, semantic search, similarity. Use when the user wants embeddings, vectors, RAG, semantic search, or to embed text.

decolua/9router · 66 tokens

azure-search-documents-dotnet

Azure AI Search SDK for .NET (Azure.Search.Documents). Use for building search applications with full-text, vector, semantic, and hybrid search. Covers SearchClient (queries, document CRUD), SearchIndexClient (index management), and SearchIndexerClient (indexers, skillsets). Triggers: "Azure Search .NET"…

microsoft/skills · 102 tokens

similarity-search-patterns

Implement efficient similarity search with vector databases. Use when building semantic search, implementing nearest neighbor queries, or optimizing retrieval performance.

foryourhealth111-pixel/Vibe-Skills · 30 tokens