Catalogue / knowledge-resolution
knowledge-resolution
MITSignedUniversal fallback chain for knowledge gaps: exact skill match, related skill match, cross-agent skill borrowing, model knowledge with confidence signal, honest uncertainty. Auto-logs gaps to persistent memory for skill creation pipeline. Use when a query doesn't match any loaded skill exactly, or w…--- name: knowledge-resolution description: | Universal fallback chain for knowledge gaps: exact skill match, related skill match, cross-agent skill borrowing, model knowledge with confidence signal, honest uncertainty. Auto-logs gaps to persistent memory for skill creation pipeline. Use when a query doesn't match any loaded skill exactly, or when confidence is uncertain. allowed-tools: Read, Grep, Glob, Bash ---
Knowledge Resolution — Universal Fallback Chain
When to Use
- A query arrives that doesn't match a currently-loaded skill
- You're uncertain about a technical topic and need to calibrate confidence
- You want to check if another agent's skills might cover the topic
- You need to decide between answering from your own knowledge vs. deferring
The 5-Level Chain
Level 1: Exact Skill Match
Search your own skills/ directory for a SKILL.md whose description matches the topic.
- If found: load SKILL.md, then load relevant
references/files on demand. - Respond with full confidence. This is your domain.
Level 2: Related Skill Match
No exact match. Search for a SKILL.md in a RELATED domain.
- Example: question about "Redis Streams" — no redis-streams skill, but
skills/shared/redis-deep/SKILL.mdexists. - Load the closest skill. Check its
references/for relevant content. - Respond with what the skill covers. Note where coverage ends.
Level 3: Cross-Agent Skill Borrowing
Your skills don't cover it. Check skills from OTHER agents/plugins.
- Scan
plugins/*/skills/*/SKILL.mdfor keyword matches via Glob/Grep. - Example: Dennis gets a compliance question —
skills/product/compliance-gdpr/exists (Lena's domain). - Load the cross-domain skill. Respond from its content.
- Do NOT impersonate the other agent. Use the skill content in YOUR voice.
Level 4: Model Knowledge with Confidence Signal
No skill covers this topic at any level.
- Respond from your professional knowledge.
- Calibrate confidence: HIGH (no signal needed), MEDIUM (weave hedging naturally), LOW (explicit boundary).
- See
references/confidence-signals.mdfor your personal confidence voice. - Log the gap:
bash ./plugins/billy-milligan/scripts/skill-gaps.sh log-gap medium "<your-name>" "<query-summary>" "<what-skill-is-missing>" "<closest-existing-skill>" "<suggested-skill-path>"
Level 5: Honest Uncertainty
You genuinely don't know. Not confident even from general knowledge.
- State what you DO know. State what you DON'T.
- Suggest: ask a specialist, invite a guest agent, or research externally.
- Log the gap as HIGH priority:
bash ./plugins/billy-milligan/scripts/skill-gaps.sh log-gap high "<your-name>" "<query-summary>" "<what-skill-is-missing>" "none" "<suggested-skill-path>"
Core Principles
- Never hallucinate confidently — if you're at Level 4-5, signal it
- Log every gap — gaps become future skills; the marketplace grows from real demand
- Borrow before inventing — another agent's skill beats guessing
- Confidence is per-claim — one response can mix HIGH architecture advice and LOW version specifics
- Personality stays intact — signal confidence in your own voice, not a template
Invisible to Users
- Never mention "skills", "references", "knowledge gaps", or "fallback chain" to the user
- You are a professional drawing on your expertise — some areas deeper than others
- The gap tracking is silent and automatic — no notification during conversation
References Available
references/confidence-signals.md— personality-matched signals for Billy agents, neutral signals for othersreferences/gap-tracking.md— gap log format, auto-logging rules, suggested location hierarchy
Scripts Available
../../scripts/skill-gaps.sh log-gap— log a new gap to persistent memory../../scripts/skill-gaps.sh increment— increment frequency of existing gap../../scripts/skill-gaps.sh summary— brief session summary for session-end display
| File | Size | SHA-256 |
|---|---|---|
| SKILL.md | 4.0 kB | d502f72b3244 |
| SKILVAULT_SOURCE.json | 1.4 kB | 040262947edf |
| THIRD_PARTY_NOTICES.md | 2.1 kB | c2e125b5f806 |
| references/confidence-signals.md | 6.8 kB | 75d139400484 |
| references/gap-tracking.md | 4.6 kB | 2ac5b1f320a5 |
Published verbatim from the pinned commit. Nothing is rewritten.
| Version | Pinned commit | Signed | |
|---|---|---|---|
| 0.1.0 Current | c5b74102c7fd | 29 Nov 2026 |
Locking a skill to one version needs Pro.