sifs-search

sifs-search is an agent for Claude Code from tristanmanchester/sifs. It costs 94 tokens per session (739 once invoked), scanned A, original, MIT.

A code-search agent for finding relevant files, symbols, and implementations in a local project or Git source. It can search by plain-language behavior as well as by names such as class or function identifiers.

In plain words
What is it for?
Use it to find authentication flows, call sites, symbols, related implementations, file outlines, or an explanation of how code works.
Why use it?
It helps locate code without reading the whole repository or relying only on exact-text searches. It can also trace related code and assemble context about how a feature works.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to find authentication flows, call sites, symbols, related implementations, file outlines, or an explanation of how code works.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/tristanmanchester/sifs/sifs-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.

Clone the repo
git clone --depth 1 https://github.com/tristanmanchester/sifs

Made for: Claude Code.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/tristanmanchester/sifs/sifs-search"><img src="https://agentmods.dev/badge/agents/tristanmanchester/sifs/sifs-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 739 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.00094 $0.00739
Opus 5 $0.00047 $0.00369
Sonnet 5 $0.00019 $0.00148
Haiku 4.5 $0.00009 $0.00074

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

Security

Grade A, and why

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

src/agents/sifs-search.md · 64 lines

How it starts

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

Use sifs search to find code by describing what it does or by naming a symbol or identifier:

sifs agent-context --json
sifs search "authentication flow" --source ./my-project
sifs search "save_pretrained" --source ./my-project
sifs search "save model to disk" --source ./my-project --limit 10
sifs search "auth flow" --source ./my-project --mode semantic --encoder hashing
sifs symbol SessionToken --source ./my-project --kind class --json
sifs outline src/auth.py --source ./my-project --kind function --symbols-limit 200 --chunks-limit 100 --json
sifs pack "how auth flow works" --source ./my-project --budget-tokens 6000 --json

Use sifs find-related to discover code similar to a known location. Pass file_path and line from a prior search result.

sifs find-related src/auth.py 42 --source ./my-project

--source defaults to the current directory when omitted; Git URLs are accepted. Use --filter-path for repository-relative file filters and --limit for result bounds.

For repeated work, save a profile:

sifs profile save current --source ./my-project --mode bm25 --offline --json
sifs search "startup handshake" --profile current --json

If sifs is not on $PATH, build this Rust binary and use its absolute path.

Capabilities

  • Search local directories and Git URLs with hybrid, semantic, or BM25 ranking.
  • Discover related code from a known file and line.
  • Inspect indexed symbols, file outlines, file paths, chunks, and context packs.
  • Discover the CLI/MCP contract with sifs agent-context --json.
  • Save reusable source/search defaults with sifs profile.
  • Record local feedback with sifs feedback create.
  • Inspect index status, indexed files, and chunk coverage when using the MCP server.
  • Refresh the MCP index after files change in a long-running agent session.
  • Install this agent file with sifs agent install --target claude-code --artifact skill or the MCP init_agent compatibility tool.
  • Run benchmarks and embedding diagnostics through the CLI when shell access is available.

Read the full file on GitHub · 64 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. 11d ago First seen · 64 lines · 94 tokens per session scan A 54bb8b4a022d

Subscribe to this mod's changes

sifs-search is an agent published in the GitHub repository tristanmanchester/sifs (2 stars, last pushed 3mo ago), licensed MIT. It adds 94 tokens to every session and 739 once invoked, about $0.0005 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.