local-search

local-search is a skill for Claude Code, Codex from KempnerInstitute/hpc-agentic-recipes. It costs 73 tokens per session (436 once invoked), scanned A, original, MIT.

A local command-line tool for searching the web, research databases, and Wikipedia, and for retrieving the text of a web page. arXiv contains research preprints, while Crossref, PubMed, and OpenAlex index scholarly publications.

In plain words
What is it for?
It helps find general web pages, papers, biomedical literature, citation information, background definitions, and the text of selected URLs.
Why use it?
It provides an alternative when the built-in web search tool is unavailable or does not work with a local AI model.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps find general web pages, papers, biomedical literature, citation information, background definitions, and the text of selected URLs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kempnerinstitute/hpc-agentic-recipes/local-search
Install

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.

Any agent
npx skills add KempnerInstitute/hpc-agentic-recipes --skill local-search
Clone the repo
git clone --depth 1 https://github.com/KempnerInstitute/hpc-agentic-recipes

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for local-search

README.md
[![agentmods](https://agentmods.dev/badge/skills/kempnerinstitute/hpc-agentic-recipes/local-search/github.svg)](https://agentmods.dev/skills/kempnerinstitute/hpc-agentic-recipes/local-search)
Your own site
<a href="https://agentmods.dev/skills/kempnerinstitute/hpc-agentic-recipes/local-search"><img src="https://agentmods.dev/badge/skills/kempnerinstitute/hpc-agentic-recipes/local-search/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.

agentmods 80×15 button for local-search

Your own site · 80×15
<a href="https://agentmods.dev/skills/kempnerinstitute/hpc-agentic-recipes/local-search"><img src="https://agentmods.dev/badge/skills/kempnerinstitute/hpc-agentic-recipes/local-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 436 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00073 $0.00436
Opus 5 $0.00036 $0.00218
Sonnet 5 $0.00015 $0.00087
Haiku 4.5 $0.00007 $0.00044

Measured 11d ago against content hash ecf3d62902d1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

local-search 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 11d 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.

common/skills/local-search/SKILL.md · 38 lines

What it actually says

The built-in WebSearch tool runs on Anthropic infrastructure and does not work against a local endpoint. vLLM rejects it with 400 ... tools.0.input_schema Field required. SGLang returns 200 and drops the tool, so no search happens and nothing says so. Either way, use search.sh through Bash instead. It needs no API key.

Call it as search.sh if it is on PATH, otherwise as bash <repo>/common/tools/search.sh.

Commands

Command Use for
search.sh web "<query>" [n] general web search
search.sh arxiv "<query>" [n] preprints, with abstracts
search.sh crossref "<query>" [n] published papers by DOI
search.sh pubmed "<query>" [n] biomedical literature
search.sh openalex "<query>" [n] papers with citation counts
search.sh wiki "<query>" [n] background definitions
search.sh fetch "<url>" plain text of one page

n is the result count and defaults to 5.

How to use it

  1. Start with web for general questions, or arxiv and openalex for research literature.
  2. Read the returned titles, URLs, and snippets.
  3. Run fetch on the URLs worth reading in full before answering.
  4. Cite the URLs you used.

Run two or three different modes for a literature question, since each source indexes different material. Quote the query; results are plain text, one numbered block per hit.

Changes

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.

  1. 11d ago First seen · 38 lines · 73 tokens per session scan A ecf3d62902d1

Subscribe to this mod's changes

local-search is a skill published in the GitHub repository KempnerInstitute/hpc-agentic-recipes (11 stars, last pushed 15d ago), licensed MIT. It adds 73 tokens to every session and 436 once invoked, about $0.0004 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.

Related

Other skills, from other repositories

hns-lsel-curator

Local Self-Evolution Loop (LSEL) curator — the CLUSTER + drain engine for the GOOS-local PROPOSE→APPLY seam closure (SPEC-LSEL-LOCAL-EVOLUTION-001). Companion-offset drain of .moai/lessons-inbox.jsonl with a drain-side severity filter that drops the 65% Bash-timeout/sandbox noise, eventkey clustering with a frequency…

modu-ai/moai-adk · 135 tokens

moai-workflow-worktree

Git worktree management for parallel SPEC development with isolated workspaces, automatic branch registration, and seamless MoAI-ADK integration. Use when setting up parallel development environments.

modu-ai/moai-adk · 41 tokens

hns-workflow-ci-loop

Unified CI watch + auto-fix loop skill. Polls gh pr checks after /moai sync PR creation, classifies required vs auxiliary failures, attempts safe automated patches (max 3 iterations), and escalates semantic failures to the user. Use for CI loop workflow — NOT for general loop iteration patterns (see…

modu-ai/moai-adk · 76 tokens

hns-moaiadk-patterns

Skill "hns-moaiadk-patterns" from modu-ai/moai-adk, covering moai-adk-go domain patterns, architecture quick reference, key source paths, pipeline specialist delegation map and template-first build cycle.

modu-ai/moai-adk · 116 tokens

moai-harness-learner

Harness learning subsystem coordinator. Produces Tier 4 auto-update proposal payloads consumed by the orchestrator (which surfaces them via AskUserQuestion) and orchestrates Apply/Rollback flows. Triggers when harness learning proposals are pending or learning lifecycle management is needed.

modu-ai/moai-adk · 61 tokens

moai-kanban-foreman

One unattended kanban foreman iteration: watch the backlog queue, dispatch the next operator-picked card to an isolated worker, collect completion evidence on read (not on claims), and report. This is the body the project's loop.md driver invokes each iteration of a bare /loop; it can also be invoked directly to test…

modu-ai/moai-adk · 76 tokens