mycelium-hq/ai-brain-starter/resolver-query

Claude Code and agent skill by mycelium-hq/ai-brain-starter

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when an operator asks which rule or policy governs a question — pricing exceptions, deploys, refunds, hiring — or wants to look up the matching rule in Meta/RESOLVER.md without reading the whole index by hand. Triggers: /resolver-query <question>, "which rule applies", "what''s our policy on X", "does a rule cover this". Not for writing or editing rules (read-only) and not for rebuilding RESOLVER.md (use resolver-build.py).

Install

npx vskill@latest install mycelium-hq/ai-brain-starter/resolver-query

SKILL.md

/resolver-query

Look up which rule in Meta/RESOLVER.md applies to a natural-language question. The skill itself does NOT call an LLM. It reads RESOLVER.md, parses every rule row, and returns either a decisive match, a ranked candidate list, or "no rule matches." The host Claude session does the natural-language understanding on top of the structured output.

When to run

  • An operator wonders which rule governs a recurring question (pricing, deploy, refund, hiring exception).
  • A new teammate wants to find the policy for a scenario without reading the full resolver index.
  • Any time the resolver layer should answer a query and the operator wants the structured candidate set in one call.

How it works

  1. The skill reads Meta/RESOLVER.md from the vault root.
  2. It parses the YAML frontmatter for the build timestamp and counts.
  3. It parses every row of the ## Rules table into a structured record.
  4. It runs a deterministic match against the question:

a. Tokenize the question (lowercase, drop stopwords, keep stems). b. For each rule, score by token overlap against rule_id, source path, skill link, and source-file H1/topic when available. c. If exactly one rule scores >= the decisive threshold, return that rule directly. d. Otherwise return up to --limit rules ranked by score. e. If no rule scores above zero, return no rule matches this query.

  1. The host session then reads the structured output and frames the answer to the operator.

Step 1: Run the skill

bash
python3 skills/resolver-query/query.py "How do we handle pricing exceptions?" \
--vault-root <vault>

Output is a JSON document on stdout with shape:

json
{
"question": "...",
"vault_root": "...",
"resolver_built_at": "...",
"rule_count": 17,
"match_kind": "decisive | ranked | none",
"matched_rules": [
{
"rule_id": "...",
"type": "decision | workflow | exception | fact",
"status": "active | stale | superseded | under-review | unknown",
"last_verified": "...",
"source_path": "...",
"skill_link": "...",
"score": 0.0
}
],
"summary": "..."
}

Step 2: Read the matched rule

If the match kind is decisive, the host session opens the rule's source file (source_path). If ranked, the host session presents the top candidates to the operator and lets them pick. If none, the host session tells the operator no rule applies and offers to draft one manually.

Rules

  • The skill is read-only. It NEVER writes to RESOLVER.md or any source file.
  • The skill makes no external network calls. No LLM API is invoked from inside query.py.
  • The matching algorithm is deterministic and stdlib-only. The host Claude session is the natural-language layer on top.
  • When match_kind == none, the skill returns the empty matched_rules list and the host session tells the operator no rule matches; it does not invent one.

Boundary

  • Adjacent skills:
  • scripts/resolver-build.py rebuilds RESOLVER.md.
  • scripts/resolver-conflict-report.py surfaces conflicts in JSON.
  • scripts/resolver-branch-merge-prompt.py drafts merge prompts.
  • This skill READS the rendered index. It does not refresh, edit, or rewrite it.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/mycelium-hq/ai-brain-starter/resolver-query/badge)](https://verified-skill.com/skills/mycelium-hq/ai-brain-starter/resolver-query)

Something wrong with this skill or its page? Tell us.