better-context: Command for Claude Code

.codex/commands/adopt-better-result.md

adopt-better-result is a command for Claude Code, Codex from davis7dotsh/better-context. It costs 12 tokens per session (73 once invoked), scanned A, original, MIT.

A command that loads the better-result-adopt skill for work involving better-result migration or adoption.

In plain words
What is it for?
Use it when updating a codebase to use better-result. The available description does not explain the migration steps.
Why use it?
It gives the codebase-specific instructions needed for that migration or adoption work.

Command for Claude CodeCodex

Written for Claude Code and Codex: $ARGUMENTS substitution, but also installed under .codex/.

This is davis7dotsh/better-context's own configuration. It tells Claude Code and Codex how to work on better-context 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 better-context configures →

About the project

better-context, also called btca, helps coding agents answer questions about project libraries and frameworks by searching their actual source code instead of relying only on documentation. It is for developers who need current technical context during coding, and the catalogue entries package its agent skill, rule, command, and instruction.

davis7dotsh/better-context · 1,151 stars · on GitHub · btca.dev

Reuse

Borrowing it

Nothing to install: this file belongs to davis7dotsh/better-context. 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/davis7dotsh/better-context/main/.codex/commands/adopt-better-result.md
Clone the repo
git clone --depth 1 https://github.com/davis7dotsh/better-context

Made for: Claude Code, Codex.

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 adopt-better-result

README.md
[![agentmods](https://agentmods.dev/badge/commands/davis7dotsh/better-context/adopt-better-result/github.svg)](https://agentmods.dev/commands/davis7dotsh/better-context/adopt-better-result)
Your own site
<a href="https://agentmods.dev/commands/davis7dotsh/better-context/adopt-better-result"><img src="https://agentmods.dev/badge/commands/davis7dotsh/better-context/adopt-better-result/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 adopt-better-result

Your own site · 80×15
<a href="https://agentmods.dev/commands/davis7dotsh/better-context/adopt-better-result"><img src="https://agentmods.dev/badge/commands/davis7dotsh/better-context/adopt-better-result.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 73 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.00012 $0.00073
Opus 5.5 $0.00005 $0.00029
Sonnet 5.5 $0.00002 $0.00015
Haiku 4.5 $0.00001 $0.00007

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

Security

Grade A, and why

adopt-better-result 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.

.codex/commands/adopt-better-result.md · 18 lines

What it actually says

Load and use the better-result-adopt skill to help with this codebase.

First, invoke the skill:

skill({ name: 'better-result-adopt' })

Then follow the skill instructions.

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 · 18 lines · 12 tokens per session scan A 2adb3c11f376

Subscribe to this mod's changes

adopt-better-result is a command published in the GitHub repository davis7dotsh/better-context (1,151 stars, last pushed 6mo ago), licensed MIT. It adds 12 tokens to every session and 73 once invoked, about $0.0000 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-30.

Related

adopt-better-result compared with commands from other repositories

adopt-better-result next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
adopt-better-resultdavis7dotsh/better-contextCommand1.2k6mo agoMITA12Claude Code, Codex
featuresvynazevedo/first-planCommand241mo agoMITA29Claude Code
savesofumel/claude-handoff-reviveCommand88d agoMITA19Claude Code
autosofumel/claude-handoff-reviveCommand88d agoMITB24Claude Code
ctx:usageshakestzd/contextuneCommand510mo agoMITA12Claude Code
ler-drivemarcosrodsa/mega-brainCommand88mo agononeA19Claude Code
remembercontextfs/contextfsCommand68mo agononeA0Claude Code