Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add sxhmilyoyo/sundayhao-plugins --skill knowledge-bank-lookupgit clone --depth 1 https://github.com/sxhmilyoyo/sundayhao-pluginsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/sxhmilyoyo/sundayhao-plugins/knowledge-bank-lookup)<a href="https://agentmods.dev/skills/sxhmilyoyo/sundayhao-plugins/knowledge-bank-lookup"><img src="https://agentmods.dev/badge/skills/sxhmilyoyo/sundayhao-plugins/knowledge-bank-lookup/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/sxhmilyoyo/sundayhao-plugins/knowledge-bank-lookup"><img src="https://agentmods.dev/badge/skills/sxhmilyoyo/sundayhao-plugins/knowledge-bank-lookup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00094 | $0.02828 |
| Opus 5 | $0.00047 | $0.01414 |
| Sonnet 5 | $0.00019 | $0.00566 |
| Haiku 4.5 | $0.00009 | $0.00283 |
Grade A, and why
knowledge-bank-lookup scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 272 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Knowledge Bank Lookup
What's New
Latest: v2.4.0 - Structure refactoring with improved clarity and terminology. See CHANGELOG.md for details.
Invocation
Automatic (Recommended)
This skill triggers automatically when Claude detects patterns listed in Trigger Detection. No manual invocation needed.
Manual Invocation
- Slash command:
/second-brain:knowledge-bank-lookup - Skill tool:
Skill({ skill: "second-brain:knowledge-bank-lookup" })
Visibility Settings
| Setting | Value | Effect |
|---|---|---|
user-invocable |
true |
Visible in slash menu, Skill tool allowed |
context |
fork |
Runs in isolated subagent (Explore agent) |
agent |
Explore |
Uses Explore agent optimized for codebase research |
See references/examples.md for detailed integration examples.
Overview
This skill enables efficient lookup of service documentation, architectural patterns, best practices, and reflections from the knowledge bank by delegating research to specialized subagents. Rather than consuming main agent context with large documentation reads, subagents perform deep analysis and return only distilled, actionable insights.
Key Benefits:
- Context Efficiency: 69-94% context reduction per lookup
- Reflections-First: Learn from past mistakes before consulting documentation
- WikiLink Following: DFS traversal of interconnected docs for complete coverage
- Frontmatter Filtering: Property-based document discovery
- Structured Insights: JSON responses with reflection_insights, patterns, linked_concepts, gotchas
- Automatic Activation: Triggers on service mentions and investigation keywords
Configuration
Knowledge bank path is dynamically resolved via common utilities.
Setup: skills/common/setup_kb_path.sh --configure
Verify: skills/common/setup_kb_path.sh --show
Usage in Scripts: source skills/common/get_kb_path.sh && KB_PATH=$(get_kb_path)
What ships with it
15 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- CHANGELOG.md 23 KB
- README.md 18 KB
- references/examples.md 7.3 KB
- references/frontmatter-retrieval.md 5.3 KB
- references/json-schemas.md 6.8 KB
- references/knowledge-bank-structure.md 5.4 KB
- references/optimization-techniques.md 3.6 KB
- references/session-documentation.md 3.7 KB
- references/templates.md 12 KB
- references/wikilink-traversal.md 4.9 KB
- scripts/find-related.sh 9.7 KB runs code
- scripts/search-by-property.sh 7.2 KB runs code
- scripts/test-wikilinks.sh 7.8 KB runs code
- scripts/wikilink-utils.sh 9.3 KB runs code
- VERSION 6 B
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 12d ago First seen · 272 lines · 94 tokens per session scan A b0614e754811
knowledge-bank-lookup is a skill published in the GitHub repository sxhmilyoyo/sundayhao-plugins (8 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 94 tokens to every session and 2,828 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
evolving-status
View Self-Evolving Loop session status, history, and memory metrics.
pocket-init
Onboards an existing (brownfield) project onto Pocket. Scans the codebase and writes a project memory file (CLAUDE.md or AGENTS.md), optionally enables Pocket Enterprise (mode init) and scaffolds GitHub issue/PR templates. Trigger on "pocket-init", "set up pocket", "onboard this project", "generate CLAUDE.md", "enable…
learn-from-fix
Capture Elixir/Ecto/LiveView lessons and Hex API rules. Use after corrections or when asked to document learning, record a lesson, prevent a fixed mistake, or remember package guidance with --library.
compound-docs
Searchable Elixir/Phoenix/Ecto solution documentation system with YAML frontmatter. Builds institutional knowledge from solved problems. Use when consulting past solutions before investigating new issues.
cdb-scan
Map this codebase into project memory — a code graph of every symbol and how they connect, plus a written profile of stack, layout, conventions and workflows. Re-run any time to refresh both in place. Use when memory is newly installed on an existing project, or when the project has changed enough that the stored map…
memory-protocol
A shared set of rules for using a persistent memory service across coding-agent sessions.