AGENT SKILL

resolver

Route a knowledge-base request to the one right KB skill and keep the routing surface healthy — inventory skills, run routing evals, tighten overlapping triggers, and dispatch operational work to a child skill. Trigger on 'which KB skill', 'route this KB request', 'operate the KB workflow', 'fix KB routing', 'resolver check', 'overlapping KB skills'. This is the meta-router and operations entry point (it absorbed the old kb-ops router); it dispatches but does not itself ingest, enrich, or answer. To actually answer a question use query; to audit vault health use health.

License 许可
MIT
最近更新
2026-11-11
Stars
★ 1
Forks
0

01 前言 Front Matter

name
resolver
version
0.2.0
mutating
true
triggers
[ "route this kb request", "which kb skill", "operate the kb workflow", "resolver check", "check kb routing" ]
description
Route a knowledge-base request to the one right KB skill and keep the routing surface healthy — inventory skills, run routing evals, tighten overlapping triggers, and dispatch operational work to a child skill. Trigger on 'which KB skill', 'route this KB request', 'operate the KB workflow', 'fix KB routing', 'resolver check', 'overlapping KB skills'. This is the meta-router and operations entry point (it absorbed the old kb-ops router); it dispatches but does not itself ingest, enrich, or answer. To actually answer a question use query; to audit vault health use health.
allowed-tools
[ "Read", "Write", "Edit", "Bash" ]
disable-model-invocation
false

03 SKILL.md 正文

Resolver

Contract

  • Every user-facing KB skill has at least one realistic routing fixture and no orphaned intent.
  • Routing eval fixtures may contain // comments and JSONL cases with intent, expected_skill, and optional ambiguous_with.
  • As the operations entry point, resolver dispatches to a child skill and never re-implements its workflow inline.
  • Overlaps are documented as intentional chains or corrected by tightening descriptions.
  • Mutating skill: it may update routing fixtures and skill descriptions, but only after identifying the specific ambiguity or orphaned intent.

Intake And Modes

  • Treat $ARGUMENTS as the request, fixture path, plugin scope, or overlap to inspect.
  • Quick mode: route one user request to the owning skill and explain the boundary.
  • Standard mode: run resolver checks, inspect fixtures, and patch a bounded ambiguity.
  • Deep mode: audit the full KB routing surface after consolidation or a new skill addition.
  • Use ask-user when a request is genuinely ambiguous and the desired user outcome cannot be inferred.

Evidence Requirements

  • Inspect skill descriptions, representative triggers, references/routing-eval.jsonl, and resolver-check output before editing routing.
  • Preserve deliberate chains; only remove overlap when two skills claim the same user outcome.

Workflow

  • Classify the request: setup, ingest, query, enrich, maintain, publish, automate, or repair — then name the owning skill.
  • Inventory skills/*/SKILL.md names, descriptions, triggers, tools, and mutability with resolver-check.
  • Read references/routing-eval.jsonl; skip blank lines and // comments; classify each fixture as exact, fuzzy, ambiguous, or orphaned.
  • When routing is ambiguous, decide whether the skills should chain, merge, or split by user outcome; use ask-user for a real fork.
  • Hand off to the chosen child skill, then update trigger wording or fixtures and rerun resolver-check.

Operating System Backing

This skill is backed by the shared deterministic KB operations harness. Use these commands for audits, CI fixtures, and repeatable agent runs:

  • python3 "${CLAUDE_PLUGIN_ROOT}/scripts/kb_ops.py" resolver-check
  • python3 "${CLAUDE_PLUGIN_ROOT}/scripts/kb_ops.py" skill-inventory

Output Format

  • ROUTING REPORT
  • Status: DONE, DONE_WITH_CONCERNS, BLOCKED, or NEEDS_CONTEXT.
  • Request class, chosen skill, fixture counts, overlaps, orphans, dispatch, and fixes applied.
  • Artifact path: updated references/routing-eval.jsonl or touched skills/<name>/SKILL.md paths when fixes are made.

Anti-Patterns

  • Doing generic assistant work when a dedicated child skill exists.
  • Adding generic triggers such as 'help me' that steal unrelated work.
  • Deleting ambiguity instead of documenting an intentional skill chain.

04 同仓库更多 Skills

weisberg
weisberg/agile_agentic_analytics

metric-reconciliation

Use when two reports disagree, a KPI needs reconciliation across sources, or actuals need to be compared with a plan, forecast vintage, or prior methodology. Align population, coverage, calendar, attribution, and observation windows before computing gaps. Identify missing slices and preserve unresolved residuals.

★ 1
weisberg
weisberg/agile_agentic_analytics

analysis-handoff

Use to make a recurring SQL analysis reproducible, hand it to another analyst, or check whether an analysis bundle changed. Capture the exact query, metric definitions, inputs, source vintages, checks, and rerun steps in a portable folder without requiring a copy of row-level results.

★ 1
weisberg
weisberg/agile_agentic_analytics

conversation-ingestion

File a conversation transcript or notes from an interview, research discussion, or support exchange. Preserve the raw material, capture decisions and actions, and update participant and company timelines. Trigger on 'process this conversation', 'ingest this conversation', 'file this transcript', or 'conversation notes to KB'. For standalone media use media-ingest. For source routing use ingest.

★ 1
weisberg
weisberg/agile_agentic_analytics

minimal-skill

Minimal shared skill fixture for marketplace renderer and validator examples.

★ 1
weisberg
weisberg/agile_agentic_analytics

roadmap

Use this skill when the user wants a product roadmap, initiative sequencing, Now/Next/Later plan, quarterly roadmap, release theme map, product strategy-to-roadmap translation, or executive roadmap narrative. Trigger on phrases like "build a roadmap", "roadmap these initiatives", "what should be now next later", "sequence this backlog", "quarterly product roadmap", "theme-based roadmap", or "plan the next two quarters". Do NOT trigger for drafting or reviewing a single PRD (use prd-writer or prd-review), converting a PRD into an agentic PLAN.md (use prd-to-plan), or scoring/ranking a set of options without a time horizon (use prioritization).

★ 1
weisberg
weisberg/agile_agentic_analytics

prioritization

Use this skill when the user wants to rank, score, triage, or compare product opportunities, features, PRD requirements, backlog items, roadmap candidates, or initiatives using RICE, impact-effort, confidence, reach, value, effort, risk, or tradeoff analysis. Trigger on phrases like "prioritize these features", "rank this backlog", "RICE score", "impact effort matrix", "what should we build first", "compare these initiatives", or "stack rank product bets". Do NOT trigger for a time-based roadmap (use roadmap), writing or reviewing one PRD (use prd-writer or prd-review), turning a PRD into an agentic plan (use prd-to-plan), or analyzing experiment results (use ab-testing or experimentation skills).

★ 1