argot-refresh

argot-refresh is a skill for Claude Code, Codex from get-tmonier/argot. It costs 136 tokens per session (2,249 once invoked), scanned A, original, MIT.

A guided process for updating Argot's committed fit snapshot. Argot is a repository analysis tool, and the snapshot records its reviewed baseline and policy.

In plain words
What is it for?
Use it to audit repository scope, review suppressions and policies, run a local fit, verify the result, and prepare the .argot update.
Why use it?
It prevents blind rebuilding and helps identify changed files, outdated exclusions, and rules that may hide findings. It also stops fitting when the branch or source tree is not ready.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the argot plugin — 7 skills, 5 agents, 1 hook, 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 skills/get-tmonier/argot/argot-refresh
Any agent
npx skills add get-tmonier/argot --skill argot-refresh
Clone the repo
git clone --depth 1 https://github.com/get-tmonier/argot

Made for: Claude Code, Codex.

Or install argot, the plugin that ships this one along with the rest of its 7 skills, 5 agents, 1 hook, 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 argot-refresh

README.md
[![agentmods](https://agentmods.dev/badge/skills/get-tmonier/argot/argot-refresh.svg)](https://agentmods.dev/skills/get-tmonier/argot/argot-refresh)
Your own site
<a href="https://agentmods.dev/skills/get-tmonier/argot/argot-refresh"><img src="https://agentmods.dev/badge/skills/get-tmonier/argot/argot-refresh.svg" alt="Measured on agentmods" height="20"></a>
Per session 136 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,249 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.00136 $0.02249
Opus 5 $0.00068 $0.01125
Sonnet 5 $0.00027 $0.00450
Haiku 4.5 $0.00014 $0.00225

Measured 6d ago against content hash 27e0ef63592b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

argot-refresh 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 6d 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.

skills/argot-refresh/SKILL.md · 222 lines

How it starts

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

Argot refresh

Treat a refresh like dependency maintenance, not a blind rebuild. The repository may have changed enough that its corpus scope, paths, and suppressions need review before the next fit freezes them into the shared snapshot.

Keep three concerns separate:

  • [exclude] and [detect] shape what the fit learns. Changing them requires a new fit.
  • [rules], [[migration]], and mutes shape check policy. They do not train the model, but stale policy can hide useful findings and belongs in the same maintenance review.
  • .argot/ is the generated, committed fit snapshot. CI only reads the base branch copy; it never fits or certifies a snapshot supplied by a PR.

Non-negotiable contract

  • Work on the accepted/default branch with a clean source tree. If either is false, show the evidence and stop before fitting.
  • If the repository has never been fitted, stop and hand off to argot-setup. Refresh maintains a reviewed baseline; it does not replace first-time corpus selection and setup verification.
  • Never fit in CI, in the background, or merely because a commit count or age is high.
  • Run every audit below read-only first. Do not edit argot.toml, prune a mute, fit, stage, or commit while still assembling the proposal.
  • Ask for one explicit confirmation covering the proposed scope and mute changes. A user may accept some rows and reject others.
  • Never remove an exclusion or standing mute just because it currently matches nothing; it may be a deliberate future guardrail. State the uncertainty.
  • Never claim a hash mute on a still-present file is stale. Argot cannot recover its original hunk from the hash.

0 · Preflight

Run:

argot --version
git status --short
git branch --show-current
argot status --format json

If Argot is missing, stop and point to https://argot.tmonier.com/docs/getting-started/. Read these status fields:

  • snapshot.complete and snapshot.committed
  • refresh.compatibility
  • refresh.recommendation, score, and reasons
  • refresh.next_action
  • refresh.fit_sha and accepted_sha

Read the full file on GitHub · 222 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago First seen · 222 lines · 136 tokens per session scan A 27e0ef63592b

Subscribe to this mod's changes

argot-refresh is a skill published in the GitHub repository get-tmonier/argot (48 stars, last pushed 3d ago), licensed MIT. It adds 136 tokens to every session and 2,249 once invoked, about $0.0007 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-30.