knowledge-search

knowledge-search is a skill for Claude Code, Codex from Threat-Vector-Security/guardian-agent. It costs 0 tokens per session (320 once invoked), scanned A, original, Apache-2.0.

A search workflow for finding answers in local documents, notes, wikis, or repository files that have already been added to an index.

In plain words
What is it for?
Use it to discover information across indexed content, read the relevant files afterward, check indexing status, and refresh the index when needed.
Why use it?
It avoids manually opening many files and helps narrow broad searches to the passages that matter.

Skill for Claude CodeCodex

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

Good fit Use it to discover information across indexed content, read the relevant files afterward, check indexing status, and refresh the index when needed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/threat-vector-security/guardian-agent/knowledge-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 Threat-Vector-Security/guardian-agent --skill knowledge-search
Clone the repo
git clone --depth 1 https://github.com/Threat-Vector-Security/guardian-agent

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 knowledge-search

README.md
[![agentmods](https://agentmods.dev/badge/skills/threat-vector-security/guardian-agent/knowledge-search/github.svg)](https://agentmods.dev/skills/threat-vector-security/guardian-agent/knowledge-search)
Your own site
<a href="https://agentmods.dev/skills/threat-vector-security/guardian-agent/knowledge-search"><img src="https://agentmods.dev/badge/skills/threat-vector-security/guardian-agent/knowledge-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 knowledge-search

Your own site · 80×15
<a href="https://agentmods.dev/skills/threat-vector-security/guardian-agent/knowledge-search"><img src="https://agentmods.dev/badge/skills/threat-vector-security/guardian-agent/knowledge-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 320 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.00000 $0.00320
Opus 5.5 $0.00000 $0.00128
Sonnet 5.5 $0.00000 $0.00064
Haiku 4.5 $0.00000 $0.00032

Measured 1mo ago against content hash d1b9b998ee36, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

knowledge-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 1mo 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/knowledge-search/SKILL.md · 26 lines

What it actually says

Use indexed search when the user wants answers from local docs, notes, wikis, or repository content that has already been ingested into the search service.

Workflow

  1. Use doc_search for discovery across indexed collections.
  2. Read only the specific files or passages you need after the search narrows the scope.
    • Use fs_read for exact follow-up reads, including direct text extraction from a known local PDF path.
  3. Use doc_search_status when the user asks about indexing health or when search results look unexpectedly empty.
  4. Use doc_search_reindex only when stale or missing search state is actually blocking the task.
  5. When the user wants a summary of local docs or indexed material, summarize from the retrieved passages directly instead of depending on an external summary CLI unless that reviewed third-party skill has been explicitly approved and enabled.

Practical Rules

  • Prefer indexed search for broad discovery.
  • Prefer fs_read or fs_search only after you know the file or exact target.
  • For one specific local PDF file, prefer fs_read; for many PDFs or broad discovery, index them and use doc_search.
  • Tell the user when the answer is coming from indexed content versus a direct file read.

Gotchas

  • Do not reindex first; confirm that stale or missing index state is actually the blocker.
  • Do not present indexed-search results as if they cover files that were never ingested.
  • Do not read large numbers of files after search if a few targeted passages answer the question.
Files

What ships with it

1 file 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.

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. 1mo ago First seen · 26 lines · 0 tokens per session scan A d1b9b998ee36

Subscribe to this mod's changes

knowledge-search is a skill published in the GitHub repository Threat-Vector-Security/guardian-agent (13 stars, last pushed 1mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 320 tokens. 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

agent-squad-typescript

Use when building or modifying a Node.js / TypeScript app that uses the agent-squad npm package — multi-agent orchestration: orchestrator, agents (all built-in types + GroundedAgent), classifier routing (Bedrock / Anthropic / OpenAI), storage (in-memory / DynamoDB / SQL), retrievers (Amazon KB / Dakera), and tools…

2FastLabs/agent-squad · 87 tokens

analyzing-powershell-script-block-logging

Parse Windows PowerShell Script Block Logs (Event ID 4104) from EVTX files to detect obfuscated commands, encoded payloads, and living-off-the-land techniques. Uses python-evtx to extract and reconstruct multi-block scripts, applies entropy analysis and pattern matching for Base64-encoded commands, Invoke-Expression…

mukul975/Anthropic-Cybersecurity-Skills · 88 tokens

intent-recognition

Classifies automation requests using two decisions: anchor (which primitive owns the top-level control flow — workflow-anchored, agent-anchored, needs-clarification, or out-of-scope) and embedsother (whether the other primitive appears embedded inside — an agent step inside a workflow, or a workflow invoked as an…

n8n-io/n8n · 161 tokens

n8n-cli

Use the n8n CLI to manage workflows, credentials, executions, and more on an n8n instance. Use when the user asks to interact with n8n, automate workflows, manage credentials, or operate their instance from the command line.

n8n-io/n8n · 55 tokens

debugging-executions

Debug failed or wrong-output workflow executions using executions tools. Load when the user reports execution failures, unexpected node output, empty parameter values after a successful run, or a node showing a red or failed expression error. Also load when a live run you started for the user fails with an error from…

n8n-io/n8n · 86 tokens

planned-task-runtime

Handles system follow-up turns: planned-task-follow-up (synthesize, replan, build-workflow, checkpoint), background-task-completed, running-tasks context, and workflowbuildercreatetasks silence rules. Load whenever any of these tags appear or after calling workflowbuildercreatetasks.

n8n-io/n8n · 60 tokens