--- name: ase-docs-shorten argument-hint: "[--help|-h] [--auto|-a] (--chars|-c | --words|-w ) " description: > Shorten a document toward a target length, given as either `--chars ` or `--words `: first tighten the sentences, then drop low-value content, then compress the remaining content into shorter expressions -- each stage entered only while the target is still not met. Use when the user wants to "shorten", "cut down", or "reduce the length of" a document. user-invocable: true disable-model-invocation: false effort: high --- @${CLAUDE_SKILL_DIR}/../../meta/ase-control.md @${CLAUDE_SKILL_DIR}/../../meta/ase-skill.md @${CLAUDE_SKILL_DIR}/../../meta/ase-dialog.md @${CLAUDE_SKILL_DIR}/../../meta/ase-getopt.md @${CLAUDE_SKILL_DIR}/../../meta/ase-common-diff.md Shorten a Document to a Target Length $ARGUMENTS *Shorten* the document of `` until it reaches the requested *target length* by running three *stages* in order -- tighten the sentences, drop low-value content, compress the remaining content into shorter expressions -- and entering each stage *only* while the target is still not met. Ground Rule ----------- This skill *removes* text, so unlike `ase-docs-refine` it *MAY* lose content. It still *MUST* *NOT* corrupt whatever survives: every fact, number, technical term, qualifier, and negation which *survives* into the shortened text stays *exactly* as it was, no content is invented, the order of the surviving argument is kept, and fenced code blocks, inline code spans, link targets, Markdown frontmatter, and the heading structure are never touched. The skill also *MUST* *NOT* shorten *beyond* the target: it stops at the first change which reaches the target, so a document is never cut more than the user asked for. 1. 1. Determine the *target length* from the two mutually exclusive options. Set to and to , treating a *non-numeric* or *negative* value as `0`. Then dispatch: - Only output the following