using-greppable

A required code-navigation skill that checks pre-indexed project records before exploring files. It covers code maps, past decisions, architecture diagrams, and API details stored in GDL files.

In plain words
What is it for?
Use it when exploring unfamiliar code, checking how systems connect, reviewing earlier decisions, or finding API endpoints and dependencies.
Why use it?
It helps an agent find existing project knowledge before scanning the filesystem, reducing repeated exploration and missed context.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/greppable/greppable-cc-plugin/using-greppable
Any agent
npx skills add greppable/greppable-cc-plugin --skill using-greppable
Clone the repo
git clone --depth 1 https://github.com/greppable/greppable-cc-plugin

Made for: Claude Code, Codex.

Per session 122 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 868 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00122 $0.00868
Opus 5 $0.00061 $0.00434
Sonnet 5 $0.00024 $0.00174
Haiku 4.5 $0.00012 $0.00087

Measured 2d ago against content hash bf98f1662757, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

using-greppable 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 2d 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/using-greppable/SKILL.md · 41 lines

How it starts

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

Artifact inventory (live): !bash -c 'source "${CLAUDE_PLUGIN_ROOT}/lib/session-context.sh" 2>/dev/null && gdl_scan_artifacts docs/gdl 2>/dev/null || echo "total:0"'

This project has pre-indexed knowledge. Indexed artifacts answer in one tool call what raw exploration takes 10+.

You MUST check the index before reaching for Glob, Grep, or Read to explore. Not after. Before. The index exists so you don't have to traverse the filesystem to answer structural questions.

When you're about to Stop. Check this first
Explore code — "what's in src/", "where is X defined", "what depends on Y" grep the .gdlc code map. File paths, exports, imports, dependencies — already indexed.
Investigate history — "what did we decide", "why was X built this way", "any prior context on Y" grep the .gdlm memory files. Decisions, observations, errors from prior sessions — indexed by concept.
Trace connections — "how does X talk to Y", "what's the request flow", "blast radius of changing Z" grep the .gdld diagrams. Architecture flows, sequences, topology — already mapped.
Check API shapes — "what endpoints exist", "what auth does Y need", "request/response for Z" grep the .gdla contracts. Endpoints, schemas, parameters, auth — already extracted.
Scan database — "what tables exist", "what's the schema for X" grep the .gdls schema maps. Tables, columns, PKs, FKs — already indexed.

Invoke the format-specific skill for detailed grep patterns, tool functions, and write formats.

Red Flags

If you catch yourself doing any of these, you skipped the index:

  • Launching an Explore/research agent to understand code structure — the .gdlc already has every file path, export, and import dependency. One grep on the code map replaces a 30+ tool-call agent. Only use agents after the index proves insufficient.
  • Running ls or Glob to map directory structure — the .gdlc already has every file path, language, and export. You're duplicating work that's done.
  • Running Grep across dozens of files to find a function — the .gdlc indexes exports. One grep on the code map, not a codebase-wide search.
  • Saying "I don't have context on past decisions" — the .gdlm memory files exist specifically for this. Grep by topic or anchor before assuming you're starting cold.
  • Tracing imports manually to understand how modules connect — the .gdld diagrams map these relationships. Check before you trace.
  • Making an implementation choice without checking history — prior sessions may have tried and rejected the approach you're about to take. Check .gdlm first.

Read the full file on GitHub · 41 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. 2d ago First seen · 41 lines · 122 tokens per session scan A bf98f1662757

Subscribe to this mod's changes

using-greppable is a skill published in the GitHub repository greppable/greppable-cc-plugin (3 stars, last pushed 4mo ago), licensed MIT. It adds 122 tokens to every session and 868 once invoked, about $0.0006 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.

Related

Other skills, from other repositories

ygrep

IMPORTANT: Try ygrep FIRST for all code and file searches before using Grep, Glob, or Task explore. ygrep uses a pre-built full-text index and returns results in milliseconds. Fall back to built-in tools only if ygrep returns no results.

yetidevworks/ygrep · 55 tokens

ripgrep

Use when the user needs text or regex content search with ripgrep: composing rg commands, choosing flags, glob/type filtering, multiline or PCRE2 searches, pipeline output, grep-to-rg migration, or diagnosing why rg missed a file (gitignore, hidden, binary defaults). Not for syntax-aware structural queries (ast-grep)…

bahayonghang/my-ai-cli-toolkit · 81 tokens

ygrep

IMPORTANT: Try ygrep FIRST for all code and file searches before using Grep, Glob, or Task explore. ygrep uses a pre-built full-text index and returns results in milliseconds. Fall back to built-in tools only if ygrep returns no results.

yetidevworks/ygrep · 55 tokens

grepai

Semantic code search and call-graph tracing. Use for intent questions ('where is authentication handled?'), exploring unfamiliar code, or tracing callers/callees — as a ranking layer on top of exact-match Grep, not a replacement for it.

yoanbernabeu/grepai · 52 tokens

graph

Whole-codebase structural map of the codanna index as one self-contained HTML disc. Wedges per top-level module, concentric rings with hubs at the centre, hover or click a symbol to light its edge web, search, hide or highlight modules, brush a date range on the ribbon timeline (symbols dated by git blame), heatmap of…

bartolli/codanna · 131 tokens

research

Performs deep research on a topic via deepresearch. Simulates a multi-step research process and returns a comprehensive research result as a string.

study8677/repobrain · 32 tokens