ashlrcode: Instructions file for Claude Code

CLAUDE.md

ashlrcode CLAUDE.md is an instructions file for Claude Code from ashlrai/ashlrcode. It costs 3,262 tokens per session, scanned A, original, MIT.

Instructions for AshlrCode, an open-source command-line coding agent that uses several AI providers and tools.

In plain words
What is it for?
It covers verification of file changes, coordinating multiple agents, provider-specific prompt limits, spending limits, tool timing, notifications, and the agent’s built-in commands and skills.
Why use it?
It documents how the agent’s features and project structure work, so development and maintenance follow the project’s design.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions subagents; positional $N argument.

This is ashlrai/ashlrcode's own configuration. It tells Claude Code how to work on ashlrcode itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ashlrcode configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ashlrai/ashlrcode. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ashlrai/ashlrcode/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/ashlrai/ashlrcode

Made for: Claude Code.

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 ashlrcode CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/ashlrai/ashlrcode/claude-md/github.svg)](https://agentmods.dev/instructions/ashlrai/ashlrcode/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/ashlrai/ashlrcode/claude-md"><img src="https://agentmods.dev/badge/instructions/ashlrai/ashlrcode/claude-md/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 ashlrcode CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/ashlrai/ashlrcode/claude-md"><img src="https://agentmods.dev/badge/instructions/ashlrai/ashlrcode/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,262 This file is loaded in full into every session.
When invoked 3,262 The same file — it is already loaded in full.
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.03262 $0.03262
Opus 5.5 $0.01305 $0.01305
Sonnet 5.5 $0.00652 $0.00652
Haiku 4.5 $0.00326 $0.00326

Measured 2mo ago against content hash 4c19c131ca24, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ashlrcode CLAUDE.md 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 2mo 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.

CLAUDE.md · 217 lines

How it starts

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

AshlrCode v2.1

Multi-provider AI coding agent CLI. Open-source (MIT), npm publish-ready. 45+ tools, 18 skills, 39 built-in commands, 6 providers, 689 tests. Ink-based terminal UI with buddy system.

v2.0 Additions

  • Verification Agent (src/agent/verification.ts): Auto-validates multi-file changes via read-only sub-agent. Manual /verify command. Auto-suggest after 2+ file edits.
  • Coordinator Mode (src/agent/coordinator.ts): Multi-agent orchestration — plans subtasks, dispatches to team members in parallel waves, auto-verifies. /coordinate command.
  • LLM Dream Consolidation (src/agent/dream.ts): Dreams are now LLM-summarized (not raw excerpts). Overlapping dreams auto-merged. Uses router on exit.
  • KAIROS Push Notifications (src/agent/kairos.ts): macOS notifications when autonomous work completes or errors while user is away.
  • Provider-Aware Prompt Budget: System prompt assembly uses 5% of provider context limit (not static 8000). xAI gets ~100K, Ollama gets ~1.6K.
  • Cost Budgeting (src/providers/cost-tracker.ts): Budget warnings at 75%/90%/100%. Set via --max-cost.
  • Tool Execution Metrics (src/agent/tool-executor.ts): Cumulative timing, success rates, avg duration per tool. /stats command.
  • Speculation Stats: Cache hit rate shown in turn separator (⚡XX% cache).
  • 12 Model Patches: Expanded from 7 to 12 — specific patches for Llama3, CodeLlama, Mistral, DeepSeek Coder, Qwen, small models.
  • Ollama Context Limits: Provider-aware (32K default) + 12 free pricing entries for common local models.

v2.1 Additions

  • cmux Integration (src/cmux/): Socket client for cmux terminal app JSON-RPC API. 9 lifecycle hooks (session start/end, agent idle, needs input, tool start/end, prompt submit, notify, error). Split spawning dispatches sub-agents to visible cmux panes. Auto-detects via $CMUX_SOCKET_PATH, all hooks are no-ops outside cmux.
  • Command Registry (src/commands/): Centralized command system replacing inline switch statement. 6 command files with CommandContext interface, auto-generated autocomplete, and category-based help grouping.
  • Checkpoint Workflows (src/agent/checkpoint.ts): Coordinator can pause at checkpoint tasks. State serialized to ~/.ashlrcode/checkpoints/<id>.json. Resume with /coordinate resume <id>, list with /coordinate list. Auto-cleanup after 7 days.
  • Skill Marketplace (src/skills/marketplace.ts, src/skills/validator.ts): Install/update/remove skill packages from registry or URL. Git clone and tarball extraction. Skill validation (frontmatter schema, trigger conflicts, size limits). Commands: /skills install, /skills search, /skills update, /skills remove, /skills info.

Read the full file on GitHub · 217 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. 2mo ago First seen · 217 lines · 3,262 tokens per session scan A 4c19c131ca24

Subscribe to this mod's changes

ashlrcode CLAUDE.md is an instructions file published in the GitHub repository ashlrai/ashlrcode (5 stars, last pushed 23d ago), licensed MIT. It adds 3,262 tokens to every session, about $0.0130 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

ashlrcode CLAUDE.md compared with instructions from other repositories

ashlrcode CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ashlrcode CLAUDE.mdashlrai/ashlrcodeInstructions file523d agoMITA3,262Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot