Kg Ask — Productivity skill for Claude Code
Query the kgai knowledge graph for prior decisions and knowledge relevant to a topic, file, or the current task — before making a change.
How to install Kg Ask
Installs to ~/.claude/skills/latescalcarifertshiluba176-kgai-kg-ask/SKILL.md
mkdir -p ~/.claude/skills/latescalcarifertshiluba176-kgai-kg-ask && curl -fsSL https://raw.githubusercontent.com/Latescalcarifertshiluba176/kgai/HEAD/commands/kg-ask.md -o ~/.claude/skills/latescalcarifertshiluba176-kgai-kg-ask/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Kg Ask does
description: Query the kgai knowledge graph for prior decisions and knowledge relevant to a topic, file, or the current task — before making a change.
The user wants to know what the knowledge graph already says about: **$ARGUMENTS**
Use the `kg` CLI (JSON output) to answer:
- If
$ARGUMENTSnames files/paths, runkg context --paths "". If it's a topic, runkg context --about ""andkg search "". If empty, infer the paths from the cur
Alternatives in Productivity
- Reviews Plans — Review all active architecture plans relevant to the current task 15.6k ★
- Nosqli — NoSQL injection scanner (MongoDB/Mongoose/operator-injection DBs) — auth bypass via $ne/$gt operators, bracket 4.5k ★
- Skill Context Detection — Auto-detect work context (Dev vs Knowledge) — use to tailor workflows based on current task type 2.8k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Kg Review
Knowledge-graph-aware task review — first pull relevant prior decisions, then at the end capture any decisions
Recall Context
Pull relevant prior-session context from memory MCP for the current project/task — run at start of any session
Analyze Context
USE WHEN you want to analyze project context before starting work on a task. Calls context + recall, then synt
Find Context
Find relevant context files by topic. Use when you need to load files for a topic without a slash command, or
Agent Taskupdate
Look at your task list and memory, assess your current progress, and make a detailed plan to continue making p
Ask Build
Surface the real decisions in a build request, drill them one at a time, record ADRs, then produce a build bri
Related Agents
Learnings Researcher
Searches institutional knowledge (ops/solutions/, ops/decisions/, ops/MEMORY.md) for patterns relevant to the
Workbench Analyzer
Synthesize prior CRISPY artifacts (research, designs, decisions, plans) and project docs into a brief for the
Context Gatherer
Gathers minimal relevant context from codebase without pulling entire repo. Use before writing PRDs, tech spec