ashlr

Quickstart

Run your first ashlr tool call in under 60 seconds.

After installing, open Codex or Claude Code in any project directory. In Cursor or Goose, make sure the Ashlr MCP server is registered first.

Step 1 - run a host check

In Codex:

ashlr-plugin codex-doctor --json

In Claude Code:

/ashlr-tour

Claude's tour walks through the tools on your actual project files. ashlr-plugin codex-start --json prints a workflow nudge for Codex; it does not run the tour.

Step 2 - call ashlr__read directly

Ask your agent to read a large file using the efficient tool:

"Use ashlr__read to read src/index.ts"

The agent will call ashlr__read. Depending on the file and settings, the result can include:

  • A compact head and tail or an AST summary for supported large files
  • A confidence badge on qualifying compressed results, indicating output confidence

The read records savings in the ledger.

To recover full content, ask for bypassSummary: true. For selected lines without summarization, pass startLine and endLine to ashlr__read; both are 1-based and the end is inclusive. See full content and line ranges.

Step 3 - check the ledger

In Codex:

ashlr-plugin stats --json

In Claude Code:

/ashlr-savings

The CLI prints the local ledger, including its sessions and lifetime totals. /ashlr-savings presents a session and lifetime summary. You should see entries for the calls you just made.

Step 4 - approve all tools in Claude Code

To stop Claude Code prompting for permission on each ashlr tool call:

/ashlr-allow

This writes the tool allowlist to ~/.claude/settings.json. Restart or reload plugins after running.

Codex uses nudge-first hooks by default; Cursor and Goose use their host MCP permission model.

Next steps

  • Permissions: understand what /ashlr-allow does under the hood
  • MCP tools: full reference for every tool
  • Genome: how the project genome index is built and used

On this page