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 ★
- Stakeholder Map — Build stakeholder maps with power/interest grid and comms plan 7.8k ★
- Code Review Graph — Local knowledge graph for Claude Code 3.7k ★
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
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
Code Graph
Query the code graph for functions, classes, files, and call relationships
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
Reflect
Identity reflection agent. Evaluates a provided conversation excerpt against 5 criteria and writes qualifying