From forge
Query the Forge store using natural language. Use when you need to find tasks, bugs, sprints, or features by intent — e.g. 'open bugs in S12', 'blocked tasks', 'tasks implementing the auth feature', 'how many bugs are critical'. Returns structured JSON with entity IDs, titles, statuses, relationships, file refs, and INDEX.md excerpts.
How this skill is triggered — by the user, by Claude, or both
Slash command
/forge:store-query-nlpThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Translate natural language intent into a structured Forge store query.
Translate natural language intent into a structured Forge store query. Returns filtered, FK-resolved results with excerpts — replacing manual KB navigation.
When to use: anytime you need to find entities without knowing exact IDs, or want filtered/sorted results from a sprint/feature/status. Replaces reading MASTER_INDEX.md manually when a focused query is sufficient.
Resolve the plugin root path before any invocation:
FORGE_ROOT=$(node -e "console.log(require('./.forge/config.json').paths.forgeRoot)")
node "$FORGE_ROOT/tools/store-cli.cjs" nlp "<natural language query>"
Returns JSON to stdout. Exit 0 on success, 1 on error.
| Intent | Example |
|---|---|
| Bugs in a sprint | "open bugs in S12" |
| Blocked tasks | "blocked tasks" |
| Tasks by status | "implementing tasks in S14" |
| Critical bugs | "critical bugs" |
| Tasks for a feature | "tasks for FEAT-003" |
| Sprint overview | "sprint S12" |
| Specific bug | "WI-BUG-047" |
| Specific task | "WI-S12-T03" |
| Latest sprint | "latest sprint" |
| Count query | "how many open bugs" |
| Blocking chain | "bugs blocking tasks in S12" |
{
"query": "open bugs in S12",
"path": "intent-nlp",
"traversalTrace": ["..."],
"results": [
{
"id": "WI-BUG-047",
"title": "...",
"status": "in-progress",
"type": "bug",
"relationships": { "sprintId": "S12", "blocksTask": ["WI-S12-T03"] },
"fileRefs": { "json": ".forge/store/bugs/WI-BUG-047.json", "md": "engineering/bugs/..." },
"excerpt": "First few sentences from INDEX.md..."
}
],
"relatedFileRefs": ["..."],
"meta": { "mode": "auto", "engineVersion": "1.0.0", "totalTimeMs": 42 }
}
traversalTrace — explains the NLP parse path (entity detected, filters applied, FKs followed, confidence level)fileRefs.md — path to the INDEX.md for this entity; read it for full contextfileRefs.json — path to the store JSON record; use with store-cli read for full dataexcerpt — first 4 sentences from the INDEX.md; often sufficient without a Read() callrelatedFileRefs — flat list of all referenced files, ready for batch Read()meta.totalTimeMs — wall-clock query time; typical range 5–80msCheck traversalTrace for confidence:
plan confidence: high — all filters validated against schema enums/patternsplan confidence: low — one or more filters were stripped as invalid; results may be broader than expectedoverall confidence: low (required retry) — primary query returned 0 results; retried as keyword-only searchWhen confidence is low, verify results or fall back to reading MASTER_INDEX.md.
# Explicit NLP mode (default for nlp subcommand)
node "$FORGE_ROOT/tools/store-cli.cjs" nlp "open bugs in S12"
# Strict mode — exact flags only, no NLP (baseline comparison)
node "$FORGE_ROOT/tools/store-cli.cjs" query --mode strict --sprint S12 --status in-progress
If the query returns 0 results or low confidence, fall back to:
node "$FORGE_ROOT/tools/store-cli.cjs" list bug
# Then scan titles manually
Or read engineering/MASTER_INDEX.md directly.
Provides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
npx claudepluginhub entelligentsia/forge --plugin forge