search

search is a skill for Claude Code from nicholasglazer/gnosis-mcp. It costs 38 tokens per session (1,484 once invoked), scanned A, original, MIT.

A skill for searching the gnosis-mcp knowledge base, a document store that can also contain Git commit history.

In plain words
What is it for?
Use it to find documentation, search by meaning, filter results by category, investigate past changes, or adjust a query when results are weak.
Why use it?
It chooses keyword, semantic, or Git-history search and adds checks when the knowledge base has no useful matches.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Part of the gnosis plugin — 8 skills, 5 agents, 1 hook, 1 MCP server shipped together

Good fit Use it to find documentation, search by meaning, filter results by category, investigate past changes, or adjust a query when results are weak.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nicholasglazer/gnosis-mcp/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 nicholasglazer/gnosis-mcp --skill search
Clone the repo
git clone --depth 1 https://github.com/nicholasglazer/gnosis-mcp

Made for: Claude Code.

Or install gnosis, the plugin that ships this one along with the rest of its 8 skills, 5 agents, 1 hook, 1 MCP server.

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 search

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/nicholasglazer/gnosis-mcp/search"><img src="https://agentmods.dev/badge/skills/nicholasglazer/gnosis-mcp/search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,484 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00038 $0.01484
Opus 5 $0.00019 $0.00742
Sonnet 5 $0.00008 $0.00297
Haiku 4.5 $0.00004 $0.00148

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

Security

Grade A, and why

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 10d 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.

skills/search/SKILL.md · 170 lines

How it starts

The opening of the file, as written. The whole thing — 170 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Front-end for the search_docs and search_git_history MCP tools. Formats results and picks the right variant based on flags.

Usage

/gnosis:search billing credits                # keyword
/gnosis:search --semantic webhook processing  # hybrid
/gnosis:search --category guides deployment   # category filter
/gnosis:search --git fix authentication bug   # git history
/gnosis:search --limit 10 whatever            # more results

Query: $ARGUMENTS


Call mcp__gnosis__search_docs(query=$QUERY, limit=8).

Format as a compact table:

# Score Title Path
1 0.049 Auth Guide curated/guides/auth.md
2 0.032 JWT reference docs/architecture/jwt.md

Below the table, for top 3: one-line snippet from the matched chunk.

If results are empty or weak (all scores < 0.005)

Probably one of:

  1. Corpus not indexed — suggest /gnosis:ingest ./docs to the user. Confirm with gnosis-mcp stats (0 docs = nothing indexed).
  2. Query too specific — broaden. "shopify webhook idempotency 402 error 2024" may return nothing; "shopify webhook" will find the runbook that links to the detail.
  3. Path mismatch — some users name docs with abbreviations (auth.md) but query with full words ("authentication"). Ingest likely extracted better titles (H1) than the filename; search by concept, not filename.

For paraphrase-heavy queries where keyword overlap is low. Same tool, different parameters:

mcp__gnosis__search_docs(
  query=$QUERY,
  query_embedding=<auto-embedded by server if embed provider is set>,
  limit=8
)

If GNOSIS_MCP_EMBED_PROVIDER is set server-side, the server embeds the query in-process — no client-side work needed.

Reality check

On vocabulary-matched corpora (your queries use the same words as your docs — normal for dev docs), hybrid often produces identical rankings to keyword. The vector arm runs, adds ~4 ms latency, and changes nothing. If --semantic doesn't improve quality on a corpus you've tuned, leave it off.

Read the full file on GitHub · 170 lines

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. 10d ago First seen · 170 lines · 38 tokens per session scan A 598d50b3c4c6

Subscribe to this mod's changes

search is a skill published in the GitHub repository nicholasglazer/gnosis-mcp (29 stars, last pushed 20d ago), licensed MIT. It adds 38 tokens to every session and 1,484 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

vault-update

Incrementally update an existing vault — detect code changes via git diff and static file changes via SHA256, then re-analyze and rewrite only affected pages.

burakolgun/vault-anything · 33 tokens

vault

Generate an Obsidian LLM wiki vault from a project's source code and any static documents in raw/.

burakolgun/vault-anything · 23 tokens

context-atlas

Retrieve and interpret durable, evidence-backed project memory from Context Atlas, including overviews, architecture, chronology, decisions, risks, provenance, health, and task-specific context packs. Use when Codex must onboard to an unfamiliar repository, explain how or why code evolved, prepare context before a…

moelomda/context-atlas · 76 tokens

agent-carnet

Use this skill when the user asks to save, recall, find, or organize notes. Triggers on: 'remember this', 'save this', 'note this', 'what did we discuss about...', 'check the notebook', 'find in carnet'. Also use proactively when discovering findings worth preserving across sessions.

yamadashy/repomix · 67 tokens

taiyi-compress

A workflow tool for shrinking large coding-agent conversations and work files into shorter context notes. It can also coordinate separate agents for parallel development and create handoff notes for continuing work in a new session.

Dong90/oh-my-taiyiforge · 51 tokens

karpathy-llm-wiki

Use when building or maintaining a personal LLM-powered knowledge base. Triggers: ingesting sources into a wiki, querying wiki knowledge, linting wiki quality, 'add to wiki', 'what do I know about', or any mention of 'LLM wiki' or 'Karpathy wiki'.

Astro-Han/karpathy-llm-wiki · 67 tokens