ashlr-upgrade

ashlr-upgrade is a command for coding agents from ashlrai/ashlr-plugin. It costs 78 tokens per session (1,086 once invoked), scanned A, original, MIT.

A terminal-based upgrade flow for ashlr that helps choose a paid plan, sign in, complete checkout, and activate the account.

In plain words
What is it for?
Use it to move from the free plan to Pro or Team through GitHub sign-in or an email link, including the first-checkout trial and activation check.
Why use it?
It keeps plan selection and payment setup in the terminal instead of requiring a separate browser-based process for each step.

Command

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

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

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 commands/ashlrai/ashlr-plugin/ashlr-upgrade
Clone the repo
git clone --depth 1 https://github.com/ashlrai/ashlr-plugin

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-upgrade

README.md
[![agentmods](https://agentmods.dev/badge/commands/ashlrai/ashlr-plugin/ashlr-upgrade.svg)](https://agentmods.dev/commands/ashlrai/ashlr-plugin/ashlr-upgrade)
Your own site
<a href="https://agentmods.dev/commands/ashlrai/ashlr-plugin/ashlr-upgrade"><img src="https://agentmods.dev/badge/commands/ashlrai/ashlr-plugin/ashlr-upgrade.svg" alt="Measured on agentmods" height="20"></a>
Per session 78 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,086 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.1 $0.00078 $0.01086
Opus 5 $0.00039 $0.00543
Sonnet 5 $0.00016 $0.00217
Haiku 4.5 $0.00008 $0.00109

Measured 5d ago against content hash 30726cefdd62, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

ashlr-upgrade 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 5d 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.

commands/ashlr-upgrade.md · 97 lines

How it starts

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

You are running the ashlr upgrade flow.

What Pro gives you

Your team learns together. Free ashlr builds a genome that lives on your machine and resets when you switch laptops. Pro lifts that genome into a shared encrypted layer so every engineer's discoveries become everyone's — across machines, across teammates, across sessions.

  • Shared team genome — every ashlr__grep hit, every file pattern discovered, every codebase insight lands in an encrypted, versioned store the whole team retrieves from. New engineers onboard into context, not silence.
  • Weekly team digest — a summary of what the team learned that week: top genome sections hit, streak rankings, savings milestones. Delivered via /ashlr-resume; optional email.
  • Cross-machine streak and savings sync — your streak counter, savings ledger, and /ashlr-dashboard follow you across machines without manual copy.
  • Cloud LLM summarizerashlr__read and genome summarization run on hosted Haiku. No local Ollama or GPU setup required.
  • Hosted embedding retrievalashlr__grep uses a cloud pgvector index refreshed on every push. Materially better recall on repos with > 5,000 files.

Pro: $12/mo or $120/yr — one developer, all cloud features.

Pro Team: $24/user/mo (min 3 seats) or $20/user/mo annual — shared encrypted genome, org-wide savings dashboard, policy packs (shipping), SSO.

First checkout includes a 7-day free trial — no charge until the trial ends, cancel any time. The free tier is never crippled; Pro adds cloud context, it does not remove anything free.

Invocation

Run the upgrade script:

bun run "${CLAUDE_PLUGIN_ROOT}/scripts/upgrade-flow.ts"

Stream its stdout verbatim to the user. Do not add narration between steps — the script output is the narrative.

Sign-in methods

The script will first ask how the user wants to sign in:

  1. Sign in with GitHub (primary) — opens https://plugin.ashlr.ai/signin in the browser. After GitHub OAuth consent (read:user user:email public_repo), the CLI receives a token automatically. This also unlocks the repo picker for auto-genome builds on public repos.
  2. Magic link (fallback) — sends a one-time sign-in link to the user's email. Use this if the user cannot open a browser or prefers not to connect GitHub.

Read the full file on GitHub · 97 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. 5d ago First seen · 97 lines · 78 tokens per session scan A 30726cefdd62

Subscribe to this mod's changes

ashlr-upgrade is a command published in the GitHub repository ashlrai/ashlr-plugin (3 stars, last pushed 5d ago), licensed MIT. It adds 78 tokens to every session and 1,086 once invoked, about $0.0004 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.