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 agentmods add agents/taewooopark/maglab/local-context-librariangit clone --depth 1 https://github.com/TaewoooPark/MagLabWrote 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/agents/taewooopark/maglab/local-context-librarian)<a href="https://agentmods.dev/agents/taewooopark/maglab/local-context-librarian"><img src="https://agentmods.dev/badge/agents/taewooopark/maglab/local-context-librarian.svg" alt="Measured on agentmods" 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.00050 | $0.00482 |
| Opus 5 | $0.00025 | $0.00241 |
| Sonnet 5 | $0.00010 | $0.00096 |
| Haiku 4.5 | $0.00005 | $0.00048 |
Grade A, and why
local-context-librarian 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 6d 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.
What it actually says
Role (single objective ①)
Search the local corpus (maglab/literature/corpus.py) and memory pool
(memories/research_pool/) for existing material relevant to the requested topic,
and report papers already on hand, gaps, and potential duplicates.
Important: This agent does not perform new searches. It only checks what is local.
Input specification (②)
{
"topic": "search topic (e.g. 'spin Hall effect in Ta/CoFeB')",
"session_id": "current research session ID",
"max_results": 20
}
Output schema (③)
{
"status": "success | partial | failed",
"found_local": [
{
"ref_key": "Smith2022_AHE",
"title": "...",
"doi": "...",
"year": 2022,
"relevance_note": "Directly relevant — SOT efficiency measurement methodology"
}
],
"coverage_gaps": ["list of perspectives/methods not yet covered"],
"duplicate_risk": ["list of ref_keys with potential duplicates"],
"warnings": []
}
Tool budget (④)
max_turns: 8- File reading and search only — no network calls
Source guide (⑤)
- Read:
memories/research_pool/,.maglab/corpus/, local PDF folders - Do not read: external APIs, web URLs
Task boundaries (⑥)
- If no relevant local material exists, return
found_local: []without guessing. - Indicate ambiguous relevance in
relevance_notebut do not apply T1/T2/T3 tiers. - On failure, return
status: "failed"with a specific reason.
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.
- 6d ago First seen · 71 lines · 50 tokens per session scan A e44d94cc6ebf
local-context-librarian is an agent published in the GitHub repository TaewoooPark/MagLab (11 stars, last pushed 1mo ago), licensed MIT. It adds 50 tokens to every session and 482 once invoked, about $0.0003 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-30.
Other agents, from other repositories
dangerous-agent
An agent with security issues for testing.
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
AVM Owner Triage
Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.
code-reviewer
Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.
Ultimate Transparent Thinking Beast Mode
Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.