redline

Installation
SKILL.md

redline

Read one Text Artifact against the editorial contract, repair what the review found within the budget the invocation allows, say what is left, and close with one mechanical pass. The artifact may come from anywhere: this collection wrote it, a person wrote it, or something else produced it entirely.

Run UV_NO_CACHE=1 UV_NO_PROJECT=1 uv run "$HERE/scripts/invoke.py"$HERE is the directory that holds this SKILL.md — with everything the user typed after /redline, verbatim and however many lines, on stdin. Exit 0: do what it prints. On any other exit, if you introduced a known construction error and can correct it while preserving the user's request and authority, account for effects already produced, submit the corrected invocation through the same shim, and continue from the failed boundary; a refusal before the operation starts consumes no operation. Otherwise show what it printed to the user verbatim and stop. Never repair input the user supplied, or automatically retry exact help, an unmet dependency, an unrelated failure, or a failure whose origin or valid correction is unknown.

Run every UV command in this Skill with a fresh private directory as TMPDIR, and remove that directory after the command, including when it fails. The private directory belongs to that one command and no other run, so cleanup removes only files this run created.

Arguments

The operand is the Text Artifact: inline text, one local path, or one URL, and exactly one of them — several paths, a glob reaching more than one file, or a directory of texts is more than one. Where the invocation carries no operand, it is the single text the current turn identifies.

--genre=<genre> names a resource under $LIBRARY/references/editorial/genres/, by its filename without the extension.

--technique=<technique> names a resource under $LIBRARY/references/editorial/techniques/, the same way.

--language=<language> names the language or locale whose editorial guidance applies. Any spelling the Collection's resolver reaches is accepted — a canonical code (sv, en_GB), a case or separator variant of one (en-GB, EN_GB), a curated alias (BrE, brittisk engelska), or an ordinary description of a language in any language.

--max=<n> is the Correction Budget: the greatest number of substantive corrections the review may delegate. It takes any non-negative integer and defaults to 1, so an ordinary review includes one correction and one opportunity to verify it. 0 reviews without correcting — the findings come back for the reader to act on, and the closing mechanical pass is still performed — and a higher value bounds a longer loop explicitly. It is a ceiling and never a quota: a run with nothing left to correct stops with the rest of it unspent.

Installs
9
Repository
kntnt/skills
First Seen
Aug 26, 2026
redline — kntnt/skills