Skip to content
Skills Library
Documents & office · Writing

tighten

/tighten

Use when tightening named files or pasted text in place by removing verbose prose, brittle references, and low-value noise.

Author
tony ↗
Repository
skills ↗
Licence
MIT
Last repository change
25.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
2
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 25.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Use when tightening named files or pasted text in place by removing verbose prose, brittle references, and low-value noise.

Arguments

/tighten [paths/globs] [--stdin] [--gates] [--diff-only]
Original author description

Use when tightening named files or pasted text in place by removing verbose prose, brittle references, and low-value noise.

How it works

  1. $ARGUMENTS
  2. Steps
  3. What this does not do
Original SKILL.md headings · 106 lines, 682 words
SKILL.md preview
---
name: tighten
description: "Use when tightening named files or pasted text in place by removing verbose prose, brittle references, and low-value noise."
allowed-tools: ["Bash", "Read", "Grep", "Glob", "AskUserQuestion"]
argument-hint: "[paths/globs] [--stdin] [--gates] [--diff-only]"
disable-model-invocation: true
---


# `/lean:tighten`

Tighten specified files in the working tree and print a diff. Never
commits, never pushes, never requires a clean tree, never scans
repo-wide.

## `$ARGUMENTS`

- `paths/globs`: files to tighten, resolved by `scope.py --paths`.
- `--stdin`: tighten a pasted draft read from stdin instead of files;
  print the tightened text and edit nothing.
- `--gates`: after editing, run the project's discovered
  format/lint/typecheck once and report. Never commits.
- `--diff-only`: show what would change without editing.

If `$ARGUMENTS` is empty, ask which files via `AskUserQuestion`; without
a question tool, print the usage and stop.

With targets but no question tool, act as `--diff-only` unless the
request itself says "go ahead": that authorizes the edits it names,
never a commit.

The commands below run from the user's directory. Resolve
`../../scripts/scope.py` against the directory of this SKILL.md (the path
it was read from) and write that absolute path literally in each command;
shell variables do not persist between Bash calls. Never show that path in
the reply.

## Steps

1. **Resolve targets.** Read stdin with `--stdin`; with `--stdin` and no
   text, print the usage and stop. Otherwise resolve the paths:

   ```console
   $ python3 ../../scripts/scope.py --paths <paths/globs>
   ```

   It prints `path<TAB>tracked|untracked|deleted` per file, and exits 2
   naming a path that matches no file: report that and stop. Skip a
   `deleted` row: nothing is on disk to edit.
2. **Load the rules and voice.** Read
   `../../references/prose-rules.md` and
   `../../references/lean-rubric.md` before drafting any rewrite,
   `--stdin` included: the cut list lives there. Then read `./AGENTS.md`
   and `./CLAUDE.md` for the host's rubric and accepted voice. For
   `--gates`, take the format/lint/typecheck commands from a checks
   section in those files; if none is defined, skip gates.
3. **Detect.** Flag what the prose rules list as cut. Preserve every
   load-bearing reference and "why" comment.
4. **Preview and confirm.** Show the proposed edits and confirm via
   `AskUserQuestion` before writing; the preview and the printed diff
   (Step 6) are the review surface. Skip when `--diff-only` or
   `--stdin`; a `--diff-only` run prints its proposal in step 6. Without an interactive question tool, follow the
   headless rule in `$ARGUMENTS`.
5. **Apply in place.** Use `Edit`. Replacements are concrete and
   shorter than the original.
6. **Diff.** Print the diff per `../../references/handoff.md`. A `--diff-only` run
   prints the proposed edits as a unified `diff` block instead (the
   proposal, not `git diff`). Skip for runs that edited nothing; for
   `--stdin`, print the tightened text per step 7. With `--gates`, run the
   discovered checks once and report; never commit, whatever the gates report.
7. **Report and hand off.** Write it per
   `../../references/prose-rules.md`: a one-line count of findings
   (one per edited span) resolved and skipped, with no section labels and no recap of what
   changed. Reply in this shape, as plain text outside any code fence, with plain bullets, no bold (never `- **Label:** ...`), and no local paths:

   ```text
   5 findings resolved, 1 skipped.
   ```

   With `--diff-only`, or no question tool and no go-ahead, the hero is
   `N findings proposed, 0 applied.`, followed by the proposed edits in
   a `diff` block and nothing else:

   ````text
   2 findings proposed, 0 applied.

   ```diff
   --- a/NOTES.md
   +++ b/NOTES.md
   @@ -3 +3 @@
   -We should probably consider maybe running the sync job nightly.
   +Run the sync job nightly.
   ```
   ````

   A rewrite adds no fact the original lacks. A stopped run follows
   `../../references/handoff.md`. The reply adds no sentence
   outside the shape, anywhere (not even to say nothing was edited, why,
   or what the session cannot do); do not explain text you kept.

   After a proposal-only run (nothing written), offer to apply the proposal
   or stop; there is nothing to commit or discard. Otherwise offer next
   steps as `../../references/handoff.md` describes: commit, or discard
   the edits. Offer a file option only for files on disk; pasted text has
   none and is never matched to a scaffold file. For `--stdin`, skip the
   handoff: the reply is the tightened text with no lead-in, then at most
   one line, and only to name load-bearing text kept that the user might
   expect cut. Never narrate what was removed.

## What this does not do

- Delete whole files. Report them instead.
Files in this package (2)
  • SKILL.md 5 KB
  • agents/openai.yaml 1 KB

Versions

The database has no other skills named tighten.

Database snapshot: 13.11.2026 · package version 19e61be01044 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100lean-tighten
    Use when tightening named files or pasted text in place by removing verbose prose, brittle references, and low-value noise.
  • 100slop-deslop
    Use when cleaning AI slop, verbose commit messages, brittle references, or low-value changes from a branch before review.
  • 100edit-article
    Mechanically tighten existing prose — restructure sections by dependency order, split or merge paragraphs, remove redundancy. Use to compress verbose plan files, READMEs, ADRs, and design docs. Does NOT change voice, register, tone, or any ODIN-mandated phrasing.
  • 82streamline
    Use when content is verbose, repetitive, or padded and needs tightening while preserving meaning
  • 100streamline-text
    Edit prose for brevity and scanability without losing facts. Use for requests to "revise", "rewrite", "edit", "polish", "clean up", "clarify", "simplify", "condense", "tighten", "shorten", "streamline", "de-fluff", remove bloat/repetition or unnecessary newlines, fix…
  • 90writing-editor
    Improve or write prose: tighten, clarify, fix grammar, and adjust tone/length while preserving the author's voice and meaning. Use when users ask to edit, proofread, rewrite, polish, shorten, or change the tone of text, or to draft something from notes. Triggers on mentions of…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.