ashlr-search

ashlr-search is a skill for Claude Code from ashlrai/ashlr-plugin. It costs 55 tokens per session (578 once invoked), scanned A, original, MIT.

A genome-aware file-search method for Claude Code that uses summaries of a codebase to locate relevant files and sections before reading them. A codebase is the collection of files that make up a software project.

In plain words
What is it for?
Use it to orient yourself in a repository, find related code with combined searches, and narrow file searches to the most relevant paths.
Why use it?
It reduces repeated file scanning and the amount of code that must be read, especially in large repositories. It first maps the project, then combines related search terms into fewer searches.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Part of the ashlr plugin — 11 skills, 36 commands, 5 agents, 7 hooks, 1 MCP server shipped together

Good fit Use it to orient yourself in a repository, find related code with combined searches, and narrow file searches to the most relevant paths.

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

Made for: Claude Code.

Or install ashlr, the plugin that ships this one along with the rest of its 11 skills, 36 commands, 5 agents, 7 hooks, 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 ashlr-search

README.md
[![agentmods](https://agentmods.dev/badge/skills/ashlrai/ashlr-plugin/ashlr-search.svg)](https://agentmods.dev/skills/ashlrai/ashlr-plugin/ashlr-search)
Your own site
<a href="https://agentmods.dev/skills/ashlrai/ashlr-plugin/ashlr-search"><img src="https://agentmods.dev/badge/skills/ashlrai/ashlr-plugin/ashlr-search.svg" alt="Measured on agentmods" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 578 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.00055 $0.00578
Opus 5 $0.00028 $0.00289
Sonnet 5 $0.00011 $0.00116
Haiku 4.5 $0.00006 $0.00058

Measured 8d ago against content hash 261c4f609fd9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

ashlr-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 8d 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/ashlr-search/SKILL.md · 47 lines

How it starts

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

Shift every search operation to the genome-aware layer so redundant file reads are eliminated before they happen.

Core rules (active when this skill is enabled)

  1. Orient first. Run ashlr__orient once at the start of each task — before any grep or glob. The genome overview often answers the "where does X live?" question without a single file read.

  2. Prefer ashlr__grep over native Grep. ashlr__grep is genome-aware: when a .ashlrcode/genome/ directory exists it returns pre-summarized relevant sections instead of raw ripgrep output. The token cost is 70–90% lower on large repos.

  3. Prefer ashlr__glob over native Glob. Same reason — genome-aware glob filters to relevant paths and avoids returning thousands of lines for broad patterns.

  4. Compose multi-term queries with | alternation. A single call ashlr__grep("auth|session|token") is cheaper than three sequential calls. Combine related terms whenever the goal is "find anything touching X".

  5. Trust genome section summaries. When ashlr__grep returns a genome section match with a summary, read the summary — do NOT immediately open the referenced file unless you need exact line content for an edit. Genome summaries are curated; they reflect what actually matters in that section.

  6. Do not re-search what's already in context. If a previous tool call already returned content for a file or pattern, use that result. Re-running the same grep costs tokens and returns nothing new.

Anti-patterns

  • Running native Grep when ashlr__grep is available
  • Running 3+ sequential single-term greps instead of one combined query
  • Reading a full file after a genome summary already answered the question
  • Globbing broad patterns (**/*.ts) without first checking the genome manifest

Example

# Good: orient first, then one composed grep
ashlr__orient()
ashlr__grep("authMiddleware|verifyToken|session.userId")

# Bad: three native greps, no orient
Grep("authMiddleware")
Grep("verifyToken")
Grep("session.userId")

Read the full file on GitHub · 47 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. 8d ago First seen · 47 lines · 55 tokens per session scan A 261c4f609fd9

Subscribe to this mod's changes

ashlr-search is a skill published in the GitHub repository ashlrai/ashlr-plugin (3 stars, last pushed yesterday), licensed MIT. It adds 55 tokens to every session and 578 once invoked, about $0.0003 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

diagnosing-bugs

Diagnosis loop for hard bugs and performance regressions. Builds a red-capable feedback loop and runs it before hypothesising — complements static code review (which finds bugs by reading) by running actual repros. Use when the user says 'diagnose'/'debug this', or reports something broken/throwing/failing/slow.

gtapps/claude-code-hermit · 72 tokens

issue-debugging

Systematic methodology for issue debugging including root cause analysis, impact mapping, tiered validation plans, and confidence assessment. Use when analyzing bugs, fixing issues, or validating fixes.

QBall-Inc/the-bulwark · 39 tokens

fix-bug

Run the Fix Validation pipeline to investigate, fix, and validate a bug. Ensures deterministic pipeline execution with IssueAnalyzer, FixWriter, TestWriter (conditional), TestAudit (conditional), and FixValidator stages.

QBall-Inc/the-bulwark · 46 tokens

ccc-systematic-debugging

Root-cause debugging via the Iron Law: no fix without confirmed root cause. Reproduce → hypothesize → verify → fix. Use when investigating bugs, test failures, or…

KevinZai/commander · 42 tokens

debug

Analyze errors and apply fixes. Use when you have an error message, traceback, or failing log to diagnose.

This-HW/claude-code-kit · 24 tokens

fable-recover

Diagnose repeated command failures, stale build caches, branch drift, or contradictory evidence before attempting further code edits. Use when commands fail repeatedly, tests stay red after attempted fixes, build output contradicts source code, or the execution path is confused — even if the user does not explicitly…

imMamdouhaboammar/get-fable · 117 tokens