
qurren
io.github.borossdaniel/qurren
Live facts for coding agents: current AI model names, Actions and runtimes. Flags retired models.
Documentation
Qurren
Your AI coding agent writes last year's versions from memory. Qurren gives it today's, so it gets it right the first time.
Renamed from OneShot. Until 0.6.0 this was OneShot, published on npm as
oneshot-agent. Switching takes one line:npx -y qurren@latest setupreplaces the oldoneshotentries in Claude Code, Codex and Cursor withqurrenones (with a backup of every file it edits), andnpx -y qurren initdoes the same for a project's.mcp.json, hooks and CLAUDE.md line. OldONESHOT_*settings,.oneshot.jsonteam rules and the~/.oneshotfolder keep working.
Install for every agent on your machine (Claude Code, Codex, Cursor), in your terminal:
npx -y qurren@latest setup
GitHub Action: add - uses: borossdaniel/Qurren@v1 after actions/checkout (full workflow). Codex, Cursor and other agents: Install.
Agents write model names, GitHub Actions versions, Docker images and runtime versions from memory, and those go stale fast. We measured it with Claude Code (Sonnet) on 6 everyday tasks (newest Claude and OpenAI model, Node and Python CI, Node and Python Dockerfiles), 10 runs per task per setup, each run checked by a real test:
| Setup | Wrote current values | Median time per run | Median agent cost per run (Claude Code's own usage) |
|---|---|---|---|
| Nothing | 17 of 60 | 61 s | $0.33 |
| "Always use the newest versions" in CLAUDE.md | 54 of 60 | 68 s | $0.44 |
| Qurren | 60 of 60 | 47 s | $0.29 |
Cost is what the coding agent itself spent on the run. Qurren is free.
Without help, agents wrote claude-opus-4-8 (10 of 10 runs), actions/checkout@v4 (20 of 20), node:24-alpine and python:3.13-slim. Told to "use the newest", they searched the web: right 54 of 60 times, but the Claude model was still wrong 4 of 10 times. With Qurren they asked once and were right every time, 31% faster and at 33% lower agent cost than telling the agent to look things up, and no slower or more expensive than giving it no help at all. All 180 runs and transcripts are in results/live-v2/.
Try it without installing anything: paste a public GitHub repo at qurren.com, or see the Action on a demo repo.
New in 0.6.0, and what each part measured
| Feature | What it does | Measured |
|---|---|---|
| Package notes | After the agent installs one of 32 packages with a recent breaking change, two or three short lines with the working pattern and the official source | 6 tasks × 3 runs vs 0.5.3: 18/18 correct on both, −28% cost per correct result ($0.46 vs $0.64), −18% time; AI SDK −53%, marked −46% |
Model facts + check_request | Price, limits and documented 400 rules for current Claude and GPT models; offline check of a request body | Claude task: 5/5 at $0.75 per correct result (no help 4/5 at $2.11). OpenAI task: 3/3 (no help 0/3: every run sent temperature) |
| Repo health | Stopped scheduled workflows and release version mismatches | 200 public repos: 8/8 stopped workflows and 2/2 version mismatches flagged, no false alarms |
qurren doctor | What your Claude Code setup loads every session and what it costs | Named the one plugin behind the overhead; turning it off removed 70–100% of the extra tokens. It shows the cost; it is not a dollar saving (a task got 16% cheaper) |
This release, re-checked on the six everyday tasks above (3 runs each): 18 of 18 correct at $0.34 and 60 s per correct result, against $0.51 and 85 s (90% correct) for telling the agent to look things up.
Package trust (downloads, age, maintainers in check_package) is off by default: in our runs agents read the caution and installed the tiny package anyway. QURREN_TRUST=on turns it on.
Measured with Claude Code (Sonnet) on Qurren's own benchmark tasks with hidden tests, 3–10 runs per setup, Dec 2026. Your results will vary; per-task differences under about 30% are noise. Details, caveats and switches in CHANGELOG.md; raw runs on the idea-ranking branch.
Catch retired models before they break your app
AI providers retire models on a schedule. After the date, every request to that model fails (the Claude API returns 404 not_found_error). Agents keep writing those names into code. Qurren reads the official schedules from Anthropic and OpenAI and checks your code, .env files and config:
$ npx qurren check # output on 2 Dec 2026
3 problems to fix (these break your app or your team's rules):
✗ .env.example:1: gpt-5 retires on 2026-12-11 (in 9 days). After that, requests fail. Use gpt-6.2-sol.
✗ src/chat.ts:2: claude-sonnet-4-5 was retired on 2026-11-30. Requests to it fail. Use claude-sonnet-5-5.
✗ Dockerfile:1: node:20-alpine is end-of-life: no more security fixes. Use node:26-alpine.
1 outdated value:
! .github/workflows/ci.yml:7: actions/checkout@v4 is outdated; current is v7.
On every pull request (GitHub Action)
# .github/workflows/qurren.yml
name: Qurren
on:
pull_request:
schedule:
- cron: "0 7 * * 1" # weekly, so a retirement date never surprises you
jobs:
qurren:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: borossdaniel/Qurren@v1
Problems show up as annotations on the exact lines in the pull request. It fails on things that break (retired or soon-retired models, end-of-life runtimes) and only warns about things that are merely outdated. Add with: { strict: "true" } to fail on those too.
Install
One line for every agent (paste in your terminal):
npx -y qurren@latest setup
It finds Claude Code, Codex and Cursor on your machine, shows exactly what it will change, and asks once before doing anything:
- Claude Code: installs the plugin with Claude Code's own commands (tools, the check before "done", instructions).
- Codex:
codex mcp add, or one[mcp_servers.qurren]block in~/.codex/config.toml. - Cursor: one
qurrenentry in~/.cursor/mcp.json.
It backs up any settings file before changing it, never rewrites anything else, skips files it can't read safely, and is safe to run twice. --dry-run shows the plan only; --yes skips the question. Then it asks once whether to share anonymous corrections (default: no). VS Code isn't changed automatically (see below).
The rest of this section is for setting things up by hand.
Claude Code plugin from the terminal:
claude plugin marketplace add borossdaniel/Qurren && claude plugin install qurren@qurren && npx -y qurren@latest share ask
The last part asks once whether to share anonymous corrections (default: no; without a terminal it doesn't ask and stays off).
Inside Claude Code: paste one line at a time and press Enter after each (both lines at once won't work):
/plugin marketplace add borossdaniel/Qurren
/plugin install qurren@qurren
Codex: add the tools (run in your terminal):
codex mcp add qurren -- npx -y qurren@0 mcp
Or add this to ~/.codex/config.toml:
[mcp_servers.qurren]
command = "npx"
args = ["-y", "qurren@0", "mcp"]
Optional, the instruction line in AGENTS.md (which Codex reads). Run it in your project folder, in your terminal, not inside Codex: Codex's sandbox blocks npm. It creates AGENTS.md if needed and touches nothing else:
npx -y qurren@latest init --codex
Codex gets the tools and the instructions; the check before "done" is Claude Code only, and the test numbers above are from Claude Code. Codex asks before each tool call; choose Always allow for qurren.
Cursor and other MCP apps: Add Qurren to Cursor (one click), or add to your MCP settings:
{ "mcpServers": { "qurren": { "command": "npx", "args": ["-y", "qurren@0", "mcp"] } } }
VS Code (Copilot agent mode) reads the same JSON from .mcp.json at the project root. Any other agent with MCP: npx -y qurren mcp.
GitHub Action: - uses: borossdaniel/Qurren@v1 after actions/checkout (full workflow).
CLI only: npx qurren facts (today's values) or npx qurren check (scan this project).
Optional: help improve it. npx qurren share on adds anonymous corrections to the open data on what agents get wrong. Off unless you turn it on.
What Qurren fixed, and open data
npx qurren stats # what Qurren found and what your agent fixed, on this machine
npx qurren share on # opt in: add anonymous corrections to the public dataset
npx qurren share preview # exactly what would be sent
Qurren keeps a small local log (~/.qurren/events.jsonl) so stats can show, for example, "3 outdated values fixed after Qurren flagged them (1 retired AI model)". Nothing leaves your machine unless you turn sharing on.
With sharing on, each note says what kind of value it was (package, model, GitHub Action or runtime), its public name, the version written, the current one, whether it was found or fixed, which Qurren tool and which agent saw it, Qurren's version and the day. It never includes code, file paths, repo or project names, private package names or team rules, and names that don't match a public pattern are dropped before sending. Turn it off with share off or QURREN_SHARE=0. In the GitHub Action it is off unless you add share: true.
Everything shared is public at qurren.com/data (CC BY 4.0), next to a field study of public repos with a CLAUDE.md (scripts/field-scan.mjs): in the scan of 1 Dec 2026, 66% of 200 such repos had an outdated model name, GitHub Action or runtime, and 21 of them (10.5%) called a retired AI model. The scan reruns every week; the latest numbers are on that page. Mistakes that 3 or more machines report go back into check_package, so every agent is warned about them.
Team rules
Put a .qurren.json in your repo (or point QURREN_RULES_URL at one shared file for the whole company). Every agent gets your rules with its facts, and check / the GitHub Action enforce them:
{
"models": { "allowed": ["claude-sonnet-5-5", "gpt-6.2-*"], "blocked": ["gpt-4o*"] },
"packages": { "blocked": { "moment": "use date-fns" }, "minMajor": { "react": 19 } },
"notes": ["Use @acme/ui for buttons and forms"],
"ignore": ["test/fixtures/", "docs/**/*.md"]
}
ignore skips folders or files that mention old versions on purpose (test fixtures, changelogs, docs). npx qurren init --rules creates an example.
Use it in your project
npx qurren init # MCP tools + Claude Code hooks (check before "done", package notes after installs) + one line in CLAUDE.md
| Command | What it does |
|---|---|
qurren facts | Today's newest AI model names (with prices, limits and the request settings that return 400 for the providers this project uses), GitHub Actions versions, Node.js/Python LTS and matching Docker images. Short by default; --full lists every provider and action |
qurren check-request <file.json> | Checks a Claude or OpenAI request body offline, without a key: accepted, or the error the API would return (exact text where the docs give it), plus the estimated cost |
qurren check <pkg> | Current version of any npm or PyPI package, the install command, weekly downloads, first publish date and maintainer count (with a caution for tiny, brand-new or one-maintainer packages), and its notes: what changed, the working pattern, how to test without a key |
qurren check | Scans the project: retired or retiring AI models, end-of-life runtimes, old GitHub Actions, outdated dependencies, release versions that disagree (package.json vs server.json, plugin.json, package-lock.json), and scheduled workflows that silently don't run (switched off or never ran; needs GITHUB_TOKEN, skipped without it). Fails (exit 1) on things that break; --strict also fails on warnings; --format=github for pull request annotations |
qurren setup | Add Qurren to every agent found on this machine (Claude Code, Codex, Cursor): shows the plan, asks once, backs up settings files, safe to run twice. --dry-run, --yes |
qurren init --codex | Only the instruction line in AGENTS.md (for Codex and other agents that read it); creates the file if needed and touches nothing else |
qurren doctor | What your Claude Code setup loads into every session (plugins, skills, agents, MCP servers, hooks, memory files), the token cost, and what your recent sessions never used, with the command to turn each off. Read-only: it changes nothing. --measure runs two one-line Claude Code turns (your setup vs clean) with your default model for the exact difference (--model=X for another; the overhead differs by model) |
qurren mcp | MCP server with current_facts, check_package, check_project and check_request, for Claude Code, Cursor and others |
qurren hook | Claude Code hooks. Stop: if the agent added or changed something outdated this turn, it fixes it before it can say "done"; outdated things already in the project never block, they're mentioned once. After npm install <pkg> (or pnpm/yarn/bun add): the package's notes, with no tool call. Never blocks; no network |
Claude Code only:
claude mcp add qurren -- npx -y qurren mcp
No account, nothing shared unless you opt in (see What Qurren fixed, and open data). Sources: npm, PyPI, deps.dev, endoflife.date, GitHub releases, and a curated model list in data/models.json.
Check an LLM request before it runs
Current models reject settings older code still sends: on Claude Sonnet 5.5 a thinking budget or temperature: 0.2 returns a 400, and GPT-6.2 rejects reasoning effort none. An agent without an API key can't find out until the code runs. check_request (MCP tool) and qurren check-request check the body offline against the providers' documented rules:
$ echo '{"model":"claude-sonnet-5-5","max_tokens":2000,"temperature":0.2,"thinking":{"type":"enabled","budget_tokens":8000},"messages":[{"role":"user","content":"Hi"}]}' | npx qurren check-request -
Would fail: HTTP 400 invalid_request_error: "thinking.type.enabled" is not supported for this model. Use "thinking.type.adaptive" and "output_config.effort" to control thinking behavior. (exact API text, from the docs)
Also: Non-default temperature, top_p or top_k returns a 400 on this model (...)
Estimated cost per call: about under $0.0001 input (~18 tokens) + up to $0.02 output (2000 max tokens), at $2 / $10 per MTok.
Rules, prices and limits live in data/model-rules.json, each with its source page and check date.
Package notes
For packages where agents lose time or get things wrong (32 so far), Qurren has short notes for the current major: what changed, the working pattern, and how to test without a key. Each line comes from a real failure or wasted run in our benchmarks, was checked against the installed package, and names the package version it applies to and its official source. In Claude Code, right after the agent installs one of these packages:
Qurren (installed by the user) notes for msw@3, checked 2026-12-02:
- msw 3.x: the server.listen option for unmatched requests is onUnhandledFrame (renamed from onUnhandledRequest); with server.listen({ onUnhandledFrame: 'error' }) an unmatched fetch() rejects. – mswjs.io/docs/api/setup-server/listen
- msw 3.x: http and HttpResponse from 'msw', setupServer from 'msw/node'. HttpResponse.json(body, { status: 201 }); HttpResponse.error() for a network error. – mswjs.io/docs/api/http-response
check_package returns the same notes, so other agents get them too. Each line's evidence and how it was verified are in data/cards.json. Every fact Qurren returns names its source and the day it was checked, so an agent that doubts a value needs one fetch, not five.
Package versions: a one-line fix is enough
For npm packages, @latest already knows the answer, so one line in CLAUDE.md fixes it. Across 31 libraries, agents installed an outdated major in about 1 in 5 runs; with an "install the latest" line it was 0 of 30 (results/ab-oneline/). Qurren still checks packages, but the live facts above are where it matters.
FAQ
Does it track me or send my code anywhere?
Your code never leaves your machine, and nothing is shared by default. Qurren downloads public facts: package versions (npm, PyPI, deps.dev), runtime dates (endoflife.date), Action versions (GitHub) and model lists (Anthropic and OpenAI SDKs), plus our hosted copy of those at qurren.com/facts.json (set QURREN_FACTS_URL=off to skip it). It keeps a local log for qurren stats (QURREN_LOG=off turns it off). Sharing anonymous corrections is opt-in: qurren share on. No account. The repo check on the website downloads a public repo to a temporary folder, checks it and deletes it.
Does it only work with Claude?
No. The MCP tools work in Cursor, Windsurf, Codex, Claude Desktop and any other MCP app. The check before "done" (Stop hook) and package notes after an install (PostToolUse hook) are Claude Code only; other agents get the notes from check_package. The CLI and the GitHub Action work with any agent, or none. The benchmark numbers are from Claude Code with Sonnet.
Why not just tell my agent to use the newest versions? It helps, but the agent then has to look everything up itself: in our runs it was right 54 of 60 times. Qurren answers in one call: 60 of 60 right, 31% faster and at 33% lower agent cost per run.
Will it change my code?
No. It tells your agent what is current; the agent writes the code. The Action only annotates pull requests. It fails when something will break (a retired model, an end-of-life runtime); strict: true also fails on older versions.
What does the scheduled-workflow check need?
The GitHub API and a token: GITHUB_TOKEN or GH_TOKEN locally (GITHUB_TOKEN=$(gh auth token) npx qurren check). In the GitHub Action it uses the job token; give the job permissions: actions: read. Without a token, or offline, it is skipped and says so. GitHub switches scheduled workflows off after 60 days without repository activity, without failing anything; in a scan of 200 public repos, 1 in 6 of those with a schedule had one that never runs.
How fresh are the facts?
Versions, runtimes and newest models: read live from the official sources, at most 6 hours old. Retirement dates: from the providers' deprecation pages, checked daily and updated after review (data/retirements.json). Wrong or missing? Open an issue.
Limits
- It checks versions and known traps. It does not review your logic or find bugs.
- It needs internet to ask npm and PyPI for the latest version. Offline, it stays quiet and never blocks your agent.
- Package notes exist for the 31 libraries on the board, plus slugify. Other packages get the current version plus release-date and deprecation warnings.
- 0.x packages and calendar-versioned packages (certifi 2026.x) are not flagged as outdated.
- If you pin an old major on purpose, the check only warns.
- The package board uses one agent (Claude Code with Sonnet), 5 runs per library; the live-facts test 10 runs per task. Small samples, published in full.
Status
- Version: 0.5. Live facts, retirement guard, GitHub Action, Claude Code plugin, MCP server, team rules, opt-in open data.
- Agents: the benchmark runs Claude Code (Sonnet). The MCP tools work in any MCP app; Codex and Gemini benchmark runs are next.
- Tasks: 37 (31 libraries, 6 live facts).
MIT licensed.
The benchmark: can an agent use your library on the first try?
More and more developers never read your quickstart. They type "add Zod validation" or "set up the AI SDK" into Claude Code, Codex or Gemini CLI and accept what comes back. When the agent installs last year's major version, invents an API, or gives up, the developer doesn't file a bug. They pick a different library.
Qurren measures that moment:
- It creates an empty folder and gives a real agent the prompt a developer would type.
- The agent works unattended. Nobody answers questions and nothing hangs on a permission prompt.
- A hidden test then runs the code. An AI never grades the work.
- You get a score ("4/5 first tries"), the failure type, time and agent cost, the full transcript, the files the agent wrote, and a README badge.
▶ ai-sdk · claude/sonnet · trial 1
✅ pass — ai@7.0.183: multi-step tool call and structured output correct (249.6s, $1.744)
▶ ai-sdk · claude/sonnet · trial 2
❌ outdated_major — ai@5.0.294 installed, current major is 7 (126.3s, $0.628)
▶ zod · claude/sonnet · trial 1
✅ pass — zod@4.6.7: schema, defaults and error messages correct (52s, $0.429)

First real runs, 26 Nov 2026: Claude Code with Sonnet, 23 runs across 13 libraries. The runs are in results/.
- 21 of 23 worked. That includes libraries whose current major version came out after the model's training data: OpenAI SDK 7, Anthropic SDK 1.x, Stripe 23, Commander 15, ESLint 10 and Tailwind 4.
- Both failures were the same quiet mistake. The agent wrote an old version into
package.jsonfrom memory:"ai": "^5.0.0"when v7 is current, and"vitest": "^2.1.9"when v5 is current. It then tested against that old version and reported success, without mentioning the version. - Some libraries cost much more agent effort. Vercel AI SDK runs had a median of 126 seconds and about $1.05 of agent cost a run (one took 51 turns). Most libraries were around 40 seconds and $0.30.
These are small samples, so read them as hints, not rankings.
Quick start
git clone https://github.com/borossdaniel/Qurren.git && cd Qurren
npm test # pipeline tests, no AI needed
npm run verify-tasks # proves each check passes good code and fails bad code
node bin/qurren.js run tasks --agent claude --model sonnet --trials 3
node bin/qurren.js report results --out site && open site/index.html
It needs Node 20 or newer and a logged-in agent CLI (claude, codex or gemini). There are no npm dependencies.
What counts as a failure
| Category | Meaning |
|---|---|
outdated_major | The agent installed an old major version (for example Express 4 or Zod 3) |
not_installed | The library never got installed, often because of a made-up package name |
crash | The code throws when loaded or called |
wrong_behavior | It runs but does the wrong thing, for example a 404 that is plain text instead of JSON |
no_solution | The file we asked for was never written |
agent_timeout / agent_error | The agent run itself died. It counts against the run, not the library |
Tasks (37)
31 library tasks and 6 live-fact tasks (newest Claude and OpenAI model, GitHub Actions for Node and Python, Node and Python Dockerfiles). Some of them:
| Task | What it tests | Typical trap |
|---|---|---|
zod | Schema, defaults, per-field error messages | v3 vs v4 APIs (z.string().email() vs z.email(), flatten() vs z.flattenError) |
date-fns | Business days, strict distance, ISO week labels | yyyy vs RRRR ISO week-year |
hono | Routes, middleware, JSON 404 | Default 404 is plain text |
express | Wildcard route, async errors | Express 5 wildcard syntax (/*name) and async error handling |
ai-sdk | Multi-step tool call, structured output | maxSteps and parameters from v4 vs stopWhen and inputSchema |
openai | Responses API text and structured output (v7, July 2026) | Chat Completions instead of Responses; no json_schema format |
anthropic | Full tool-use loop (SDK 1.x, Oct 2026) | Tool result sent as plain text instead of a tool_result block |
stripe | Subscription Checkout Session (v23, Oct 2026) | Missing {CHECKOUT_SESSION_ID} in the success URL |
mcp | MCP server: tool with Zod validation and a resource | Deprecated server.tool(); non-text tool results |
commander | Subcommand, options, built-in validation (v15, May 2026) | Hand-rolled validation instead of InvalidArgumentError |
tailwind | Static-site build with a custom colour | Tailwind 3 setup (tailwind.config.js, @tailwind directives) |
eslint | Flat config, rules, Node globals (v10) | Legacy .eslintrc, missing globals.node |
vitest | Tests that run once and catch broken code (v5) | Watch mode; tests that miss edge cases |
API tasks (OpenAI, Anthropic, Stripe) run against a local fake server, so they need no keys and spend no money. The check also verifies exactly what the code sent.
Each task ships with reference/good and reference/bad-* solutions. npm run verify-tasks runs them through the real check, so you can see the test is fair before trusting a score.
Add your own library
A task is a folder:
my-lib/
task.json { "id", "name", "package", "currentMajor", "prompt", "timeoutSec" }
check.mjs a real test that runs after the agent finishes
reference/ optional: good/ and bad-<category>/ solutions
// check.mjs
import { runCheck, expectInstalled, importSolution, expectEqual } from 'qurren/check';
runCheck(async (ws) => {
expectInstalled(ws, 'my-lib', 3); // installed, and at least v3
const m = await importSolution(ws); // the agent's solution.mjs
expectEqual(await m.doThing(2), 4, 'doThing(2)');
});
Then run npx qurren run ./my-lib --agent claude --trials 5 and add the badge from site/badges/my-lib.svg.
How runs are kept fair
- Same starting point: every run gets a fresh, empty temporary folder.
- No local helpers: Claude Code runs with
--setting-sources project --strict-mcp-config, so your own plugins, hooks and MCP servers don't help or hurt the agent. - No hanging: the agent can use a fixed allow-list of tools (file edits, npm, node, web fetch/search). Everything else is denied rather than left waiting for approval.
- Limits: each run has a time limit (
timeoutSec) and, for Claude, a spending cap (--max-budget-usd, default $2). - Auditable: everything is published (prompt, transcript, the agent's files, the check), so anyone can rerun and dispute a score.
- No grading by AI: the score comes from a test that executes the code.
qurrennpm install qurren