argot-setup

argot-setup is a skill for Claude Code, Codex from get-tmonier/argot. It costs 129 tokens per session (5,490 once invoked), scanned A, original, MIT.

A complete setup workflow for Argot, a tool that learns a repository’s usual coding patterns and flags code that differs from them.

In plain words
What is it for?
Use it to initialize Argot in an established Git repository, create its configuration and learned snapshot, and connect local hooks, pre-commit, MCP, or CI checks.
Why use it?
It helps choose trustworthy source history, tune noisy rules, verify that checks catch real examples, and connect Argot to development tools.

Skill for Claude CodeCodex

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-setup
Any agent
npx skills add get-tmonier/argot --skill argot-setup
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-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/get-tmonier/argot/argot-setup.svg)](https://agentmods.dev/skills/get-tmonier/argot/argot-setup)
Your own site
<a href="https://agentmods.dev/skills/get-tmonier/argot/argot-setup"><img src="https://agentmods.dev/badge/skills/get-tmonier/argot/argot-setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 129 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,490 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 $0.00129 $0.05490
Opus 5 $0.00064 $0.02745
Sonnet 5 $0.00026 $0.01098
Haiku 4.5 $0.00013 $0.00549

Measured 5d ago against content hash af00bbf26dea, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

argot-setup 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.

skills/argot-setup/SKILL.md · 451 lines

How it starts

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

argot-setup

Argot learns how this repository writes code and flags what looks foreign to it. Everything downstream depends on one judgment: which code is the voice. Get that wrong and it fails silently — false alarms people learn to scroll past, or real problems never flagged. Neither looks like an error.

So this is not a wizard to click through. Every step below proposes something with the number that motivates it, and the user decides. Never apply an exclusion you cannot justify in one sentence.

Work through the phases in order. Any of them can be answered "skip".


0 · Preflight

  • argot --version. Missing → point at https://argot.tmonier.com/docs/getting-started/ and stop.
  • A git repository with real history. Argot has nothing to learn from a fresh git init.
  • Default branch, clean tree. Fitting a feature branch bakes its unmerged commits into the voice; a dirty tree learns files as they sit on disk. Argot warns about both — relay the warning, never suppress it.

Say what setup will write: argot.toml and a committed .argot/ fit snapshot (the learned voice, semantic index, detector artifacts, health and manifest), plus whatever integrations get chosen in phase 8. Caches and one-run state stay ignored. argot uninstall --dry-run lists everything that would be removed, if they want to know the exit before the entrance.

1 · Proof before configuration

argot audit --format json > /tmp/argot-audit.json    # keep it: phase 6 reads it

No configuration needed, exits 0, touches nothing. It fits the voice as it was ~50 commits ago in a temporary worktree and reports what would have met review since, attributed to the introducing commit. Show the card. This is the honest opener: here is what your own history says, before you change anything.

Say what it will cost before you start it, or they will kill it. Audit fits the whole corpus once, so a large repository costs minutes and gigabytes, not seconds — 924k lines of Object Pascal took 2 min 38 s and 3.6 GB. A narrower --commits does not make it cheaper: the window only moves the base commit, and the fit still reads every file. The lever is [exclude], which is phase 2 — so on a repository this size, offer to do the obvious exclusions first and audit second.

Read the full file on GitHub · 451 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 · 451 lines · 129 tokens per session scan A af00bbf26dea

Subscribe to this mod's changes

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

Related

Other skills, from other repositories

ESLint for Test Quality

Enforce test quality with ESLint - eslint-plugin-jest, eslint-plugin-playwright, and eslint-plugin-testing-library rules in flat config, blocking focused tests, missing assertions, and flaky waits via a CI lint gate.

PramodDutta/qaskills · 50 tokens

Code Coverage Analysis

Measure and enforce test coverage with Istanbul/nyc, c8, Jest, and Vitest. Covers branch versus line coverage, per-directory thresholds, CI gates, and correctly excluding generated code from reports.

PramodDutta/qaskills · 45 tokens

release-habit-hooks

Cut a new release of the habit-hooks packages. Use when asked to release, publish, or bump the version. Reviews what lands, enforces the in-sync versioning rule, validates the changelog, and drives the tag-triggered PyPI publish.

habit-hooks/habit-hooks · 56 tokens

habit-hooks-review

Spawn a reviewer sub-agent to assess a change set against habit-hooks's coding principles. Use AFTER habit-hooks reports clean — habit-hooks catches structural smells; this catches what it cannot (correctness, tests, design, missed edge cases).

habit-hooks/habit-hooks · 51 tokens

habit-hooks-prompting

Write or revise a habit-hooks coaching prompt. Use when a linter / knip / jscpd rule fires and the agent's default fix is wrong or shallow, or when adding a project-local override prompt. Keeps prompts short and outcome-focused using the ROSE pattern.

habit-hooks/habit-hooks · 61 tokens

compose-doctor

Use when writing, reviewing, or fixing Android Jetpack Compose code (@Composable functions, Modifier usage, state/remember, ViewModels). Runs the compose-doctor Gradle task to get a 0-100 health score and SARIF findings, then fixes them iteratively. Trigger on requests like "check my Compose code", "improve this…

rotemmiz/compose-doctor · 89 tokens