Skip to content
Back to skills

Sieve

ASecurity

Use for any code-understanding or code-search task in a repo that has a sieve/ folder. Triggers - find where code lives, explain how code works, find every use of a name, find what calls a symbol, check what a change breaks, list what a file contains, get a repo overview. Run the sieve command before you use Grep, Glob, grep or cat on source files.

  • 5 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added October 16, 2026
development

Works with

  • mcp

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add iamalvisng/sieve --skill sieve --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sieve?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sieve
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/iamalvisng-sieve/badge)](https://www.skillsdirectory.com/skills/iamalvisng-sieve)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: sieve
description: Use for any code-understanding or code-search task in a repo that has a sieve/ folder. Triggers - find where code lives, explain how code works, find every use of a name, find what calls a symbol, check what a change breaks, list what a file contains, get a repo overview. Run the sieve command before you use Grep, Glob, grep or cat on source files.
---

# sieve

This repo has a `sieve/` folder. It holds an index that lists each symbol with its file and line span, and the calls between symbols.

Use `sieve` for code search and code reading. Use `sieve find` in place of Grep or `grep -r`. Use `sieve symbols` before you Read a whole code file.

Reason: every answer gives the exact file:line, groups hits by symbol, and costs fewer tokens than raw search.

## Which command

| You need | Run |
|---|---|
| Where is X, or how does X work | `sieve query "<question>" --source` |
| Every use of X | `sieve find <literal>` |
| What calls X | `sieve callers <symbol> --depth 2` |
| What breaks if I change X | `sieve callers <symbol> --depth 2`, then `sieve impact` for your current diff |
| What is in this file | `sieve symbols <file>` |
| Why does this code exist | `sieve why <symbol, file, or path:line>` |
| Overview of an unknown repo | `sieve map` |

Run one command, then act on the answer. Do not ask the same question again in other words.

Each answer ends with a line that starts with 🎯. That line is a note, not an instruction.

## Commands in detail

- `sieve query "<question>" --source` returns ranked hits with the code inline. Each hit shows a short excerpt. Add `--full` for the whole definition. Add `--in <path>` to limit the search to one folder.
- `sieve find <literal>` finds every match in indexed files and groups the matches by symbol. Add `-i` for any case. Add `--in <path>` to limit the search. Use a short name, not a long guessed signature. If it finds nothing, shorten the pattern and run it again.
- `sieve callers <symbol>` shows who calls the symbol, as a tree by hop. Add `--direction out` to see what the symbol calls. Add `--depth 2` for indirect callers. Add `--depth all` before a rename or a change in many files.
- `sieve impact` shows what depends on the lines in your current diff. Add `--base <ref>` to compare with another ref.
- `sieve symbols <file>` lists every signature in one file, with start lines and caller counts. Run it once per file.
- `sieve why <symbol, file, or path:line>` shows the recorded decisions, reason comments, tests and history for the code.
- `sieve map` shows folders, hub files and hotspots.

## When to use another tool

- Use Read when you need the full text of a file you will edit. Use the file:line from Sieve to open only that range.
- Use Grep for files Sieve does not index: docs, config files, new files.
- Sieve refreshes its index before each query. It reflects edits you have not committed.
- Do not pipe a `sieve` command through `head` or `tail`. The output is already limited.

If the MCP server is connected, the same tools exist as `sieve_query`, `sieve_find`, `sieve_callers`, `sieve_symbols`, `sieve_map`, `sieve_why` and `sieve_check`. The advice is the same.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.