Borrowing it
Nothing to install: this file belongs to jesse-smith/searchloinc. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/jesse-smith/searchloinc/main/.claude/skills/loinc-search/SKILL.mdgit clone --depth 1 https://github.com/jesse-smith/searchloincWrote 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/jesse-smith/searchloinc/loinc-search)<a href="https://agentmods.dev/skills/jesse-smith/searchloinc/loinc-search"><img src="https://agentmods.dev/badge/skills/jesse-smith/searchloinc/loinc-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.
<a href="https://agentmods.dev/skills/jesse-smith/searchloinc/loinc-search"><img src="https://agentmods.dev/badge/skills/jesse-smith/searchloinc/loinc-search.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.00062 | $0.00525 |
| Opus 5.5 | $0.00025 | $0.00210 |
| Sonnet 5.5 | $0.00012 | $0.00105 |
| Haiku 4.5 | $0.00006 | $0.00052 |
Grade A, and why
loinc-search scanned grade A with 1 finding 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 2mo 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
3. Call the API with Basic Auth (curl `-u "$LOINC_USERNAME:$LOINC_PASSWORD"`), URL-encoding What it actually says
loinc-search
Exercise the real LOINC Search API end-to-end so you can compare the MCP wrapper's output
against ground truth. Usage: /loinc-search <query> [scope]
$ARGUMENTS= the search text, optionally followed by a scope keyword:loincs(default),answerlists,parts, orgroups.- Examples:
/loinc-search glucose·/loinc-search "sodium serum" loincs·/loinc-search hemoglobin parts
Steps
-
Confirm
LOINC_USERNAMEandLOINC_PASSWORDare set in the environment. If missing, stop and tell the user to export them (credentials come from a loinc.org registration). -
Parse
$ARGUMENTS: last token, if one of the four scope keywords, is the endpoint; everything else is thequery. Default scope isloincs. -
Call the API with Basic Auth (curl
-u "$LOINC_USERNAME:$LOINC_PASSWORD"), URL-encoding the query, requesting a small page (rows=10):curl -sS -u "$LOINC_USERNAME:$LOINC_PASSWORD" \ --get "https://loinc.regenstrief.org/searchapi/<scope>" \ --data-urlencode "query=<query>" \ --data-urlencode "rows=10" \ --data-urlencode "includefiltercounts=true" -
If the wrapper (MCP server) already exists, ALSO call the corresponding MCP tool with the same query and diff the two result sets — flag any divergence in count, order, or fields.
-
Pretty-print: total hits, then per result the LOINC number, LONG_COMMON_NAME (or the scope's primary display field), COMPONENT/SYSTEM if present. Note if results look mis-ranked vs. what the loinc.org/search UI would show.
-
On a non-2xx response, surface the status and body verbatim (401 → bad/missing creds).
Keep credentials out of any output you print.
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.
- 2mo ago First seen · 42 lines · 62 tokens per session scan A 3e62d54e77ef
loinc-search is a skill published in the GitHub repository jesse-smith/searchloinc (0 stars, last pushed 3mo ago), licensed MIT. It adds 62 tokens to every session and 525 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
loinc-search compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| loinc-searchjesse-smith/searchloinc | Skill | 0 | 3mo ago | MIT | A | 62 | Claude Code |
| instrument-data-to-allotropeanthropics/knowledge-work-plugins | Skill | 35k | 2d ago | Apache-2.0 | A | 123 | Claude Code |
| exploratory-data-analysisK-Dense-AI/scientific-agent-skills | Skill | 56k | 4d ago | MIT | A | 83 | Claude Code |
| matlabK-Dense-AI/scientific-agent-skills | Skill | 56k | 4d ago | MIT | A | 44 | Claude Code |
| phylogeneticsK-Dense-AI/scientific-agent-skills | Skill | 56k | 4d ago | MIT | A | 71 | Claude Code, Codex |
| research-engineerdavila7/claude-code-templates | Skill | 33k | yesterday | MIT | A | 43 | Claude Code, Codex |
| mapping-to-snomedmaziyarpanahi/openmed | Skill | 5.8k | yesterday | Apache-2.0 | A | 205 | Claude Code |