GraphWiki CLI operations: query, lint, build
| Field | Value |
|---|---|
| ID | graphwiki |
| Keywords | graphwiki:, /graphwiki, /omp:graphwiki |
| Tier | developer |
| Source | src/skills/graphwiki.mts |
Direct access to graphwiki CLI for graph querying, path finding, linting, and refinement. Provides comprehensive knowledge graph management beyond the generic graph-provider interface, including zero-token path finding and structural graph analysis.
interface SkillInput {
action: 'query' | 'path' | 'lint' | 'refine' | 'build' | 'status' | 'clean';
question?: string;
from?: string;
to?: string;
options?: { review?: boolean; update?: boolean };
}
interface SkillOutput {
status: "ok" | "error";
message: string;
data?: unknown;
}
Provides a thin wrapper around the graphwiki CLI tool (npm install -g graphwiki). Routes user actions to appropriate graphwiki subcommands and parses output into structured responses.
Query the knowledge graph with a natural language question. Uses graphwiki's token-budget-aware query engine.
Find the structural path between two nodes (zero LLM tokens).
Check the graph for orphan nodes, missing edges, and structural issues.
Refine the graph. Add --review to run in review mode.
Build the knowledge graph. Add --update for incremental build.
Show whether graphwiki-out/graph.json exists and its output paths.
Remove the graphwiki-out/ directory.
npm install -g graphwiki