Kg Query — Development skill for Claude Code
Run a raw Cypher query against the kgai knowledge graph (power use / debugging).
How to install Kg Query
Installs to ~/.claude/skills/latescalcarifertshiluba176-kgai-kg-query/SKILL.md
mkdir -p ~/.claude/skills/latescalcarifertshiluba176-kgai-kg-query && curl -fsSL https://raw.githubusercontent.com/Latescalcarifertshiluba176/kgai/HEAD/commands/kg-query.md -o ~/.claude/skills/latescalcarifertshiluba176-kgai-kg-query/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Kg Query does
description: Run a raw Cypher query against the kgai knowledge graph (power use / debugging).
Run a raw Cypher query: **$ARGUMENTS**
- If
$ARGUMENTSis Cypher, runkg query "$ARGUMENTS". Otherwise translate the request into Cypher against this schema and run it:- Nodes:
Element(id, kind, name, props),Decision(id, title, rationale, author, recorded_at, lamport). - Rels:
LINK(kind, created_by)Element→Element (current links),SHAPES(authority)Decision→E
- Nodes:
Alternatives in Development
- Understand Anything — Graphs that teach graphs that impress 80.7k ★
- Code Review Graph — Local knowledge graph for Claude Code 3.7k ★
- Understand Anything — Claude Code skills that turn any codebase into an interactive knowledge graph you can explore, search, and ask 2.5k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Graph
Run a read-only Cypher query against the live codegraph Neo4j graph
Kg Conflicts
List and help resolve elements shaped by two competing head decisions (concurrent edits) in the kgai knowledge
Kg Decision
Record a structural decision into the kgai knowledge graph as graph mutations (add/retire links, upsert elemen
Astria
Query the astria codebase knowledge graph (builds or refreshes it if missing)
Codemesh
Query the code knowledge graph before reading code. One-call context assembly via codemesh_answer returns inli
Neo4j
Neo4j and Cypher best practices for the Ethos project. Query patterns, sync driver usage, and project conventi
Related Agents
Brain Query
Query the Brain teaching graph with natural language. Translates to Cypher, synthesizes insights, never expose
Cypher Author
Writes read-only Cypher for natural-language questions given the live graph schema and few-shot examples; also
Power Automate Specialist
Power Automate / Power Platform specialist – designs, reviews and optimizes cloud flows (approval processes, S