ashlr-search

ashlr-search is a skill for Claude Code from ashlrai/ashlr-plugin. It costs 38 tokens per session (561 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, 39 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, 39 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/github.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/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 ashlr-search

Your own site · 80×15
<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="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 561 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.00038 $0.00561
Opus 5.5 $0.00015 $0.00224
Sonnet 5.5 $0.00008 $0.00112
Haiku 4.5 $0.00004 $0.00056

Measured 12d ago against content hash 9aba64dce6c6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 12d 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. 12d ago Changed · -17 tokens per session 9aba64dce6c6
  2. 3mo 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 today), licensed MIT. It adds 38 tokens to every session and 561 once invoked, about $0.0002 per session on Opus 5.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

ashlr-search compared with skills from other repositories

ashlr-search next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ashlr-searchashlrai/ashlr-pluginSkill3todayMITA38Claude Code
vigil-instrumenttonone-ai/tononeSkill843d agoMITA61Claude Code
touch-audittonone-ai/tononeSkill843d agoMITA47Claude Code
prism-audittonone-ai/tononeSkill843d agoMITA42Claude Code
spine-perftonone-ai/tononeSkill843d agoMITA55Claude Code
vigil-incidenttonone-ai/tononeSkill843d agoMITA48Claude Code
forge-diagnosetonone-ai/tononeSkill843d agoMITA63Claude Code