negframe-score
One repeatable pass that keeps agent-steer prose leading with the AFFORDANCE, not the prohibition. Runs `fak score negframe` over the steer-prose corpus…
от anthony-chaudhary★ 50 звёзд на GitHub
Установить negframe-score в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
/negframe-score - lead with the affordance, not the prohibition
An instance of the generic scorecard doctrine. Read that for the five laws and the RSI loop; this file is the per-surface specialization.
Why this scorecard exists
Prose that steers an agent lands better when it leads with the ACTION to take instead of
the thing to avoid. A reminder framed as an omission to fix ("remember: the commit stamp
often gets skipped") makes the reader build a negative and invert it; "remember to stamp
the commit" is the instruction already in the form the reader acts on. Across a whole
steer-prose corpus - the guard runtime prose injected into
every session, AGENTS.md, CLAUDE.md, the skills, the refusal vocabulary - that inversion
tax compounds. internal/negframe is a TEXT-READING card: the prose on disk IS the data,
so a finding can only be retired by reframing the sentence, never by editing a JSON file.
The two tiers (read this before touching anything)
Every finding lands in exactly one tier - do not conflate them:
- MECHANICAL (HARD, gates
negframe_debt) - the finding matches a fixed idiom with an unambiguous positive rewrite (a "forget-to-remember-to" idiom, or a double negative like "not un-" that collapses to the plain adjective). The card hands back the exactSuggeststring; apply it verbatim or a close paraphrase that preserves the meaning. This is the only tier that counts as debt. - JUDGEMENT (SOFT, advisory only) - negatively framed (a bare "never merge without
review", "not allowed") but with no confident mechanical rewrite. The card names the
Category(prohibition / absence / refusal / hedge) and a one-lineHint- the positive SHAPE to aim for - but never a literal reframe, and it never gates. Fix the cheap real ones by hand; do not chase this tier to zero, and never invent a mechanical rule just to move a soft count (see anti-gaming below).
The pass (the shared five-step loop)
Run it - from the repo root:
go run ./cmd/fak score negframe # human scorecard: debt + per-KPI go run ./cmd/fak score negframe --json # machine payload (Corpus.negframe_debt / grade) go run ./cmd/fak score negframe --per-doc # per-document finding breakdown (mechanical + judgement) go run ./cmd/fak score negframe --suggest # review-diff view: every mechanical finding with its reframeDefault scope is the steer-prose corpus (
negframe.ResolveTargets: AGENTS.md, CLAUDE.md, the skills); pass explicit paths as positional args to score anything else.--per-docalso takes--jsonfor a machine-readable finding list;--suggestprints text only.Retire
negframe_debtworst-first - for every mechanical finding--suggestlists, apply the printed reframe to the source prose. This pass changes ONLY the flagged clause's wording - never the meaning, a claim, a number, or a link the sentence carries.Weigh the judgement (SOFT) findings, then stop -
--per-docshows each judgement finding'sHint. Reframe the cheap, obviously-better ones by hand (state the permitted path before the boundary; assert a property directly instead of by double negative). Leave a genuinely load-bearing prohibition alone if reframing it would blur the boundary it exists to draw - this tier is a nudge, not a work-list to drain.Check the diff-scoped ratchet before landing a steer-prose change:
go run ./cmd/fak score negframe --since HEAD # or the branch point / PR base refThis reports only negatives your CHANGE introduced (exit 1 if any new mechanical one appears) - a file absent at
<ref>is treated as wholly new. This is the CI gate shape; run it locally before committing so you never introduce a new mechanical negative in the same diff that is supposed to be reducing them.Re-measure + prove, then commit only the scorecard lane, by explicit path:
go run ./cmd/fak score negframe --json > /tmp/after.json go run ./cmd/fak score negframe --compare /tmp/before.json # prints the debt delta go run ./cmd/fak score negframe --markdown > docs/NEGFRAME-SCORECARD.md fak sync reconcile --apply fak commit --path <reframe-files> --path docs/NEGFRAME-SCORECARD.md -m "style(negframe): reframe prose (fak negframe)" fak sync pushState the delta plainly:
negframe_debt N -> N' (-k). Commit the prose files you reframed together with the regenerated snapshot (if any); nevergit add -A. Push viafak sync push. End the subject with a(fak negframe)(or the touched leaf's) trailer sodos commit-auditbinds it.
Reading the payload
Corpus carries negframe_debt (the mechanical count - the debt), documents (how many
files were scanned), mechanical_debt, and judgement_soft. Schema is
fak-negframe-scorecard/1. DebtKey is `"negframe_debt"
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Read - 02
Bash - 03
Write - 04
Edit - 05
Grep - 06
Glob
FAQ
Что делает скилл negframe-score?
One repeatable pass that keeps agent-steer prose leading with the AFFORDANCE, not the prohibition. Runs `fak score negframe` over the steer-prose corpus (AGENTS.md, CLAUDE.md, the skills, or explicit paths), reads the negframe_debt (mechanical negatives with an unambiguous positive rewrite) plus the judgement-tier soft signal, retires the mechanical debt worst-first by applying the suggested reframe, checks the `--since <ref>` ratchet before landing a steer-prose change, re-measures to PROVE the debt dropped, and commits only the scorecard lane by explicit path. Use. Use when this named workflow matches the task.
Как установить скилл negframe-score?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл negframe-score запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…