Zum Inhalt springen
Kitbay
Einreichen
Skill

prompt-token-efficiency

MITAktualisiert am 11. Nov. 20265.616GitHub-Sterne

A general skill stored in the gh-aw repository for rewriting prompts so they use fewer tokens while keeping their meaning.

Was der Skill vermittelt

A general skill stored in the gh-aw repository for rewriting prompts so they use fewer tokens while keeping their meaning. It sets goals of fewer tokens, clear wording and little ambiguity, then gives rules: keep only what the task needs, drop pleasantries and repetition, compress prose into short directives, and run checks for ambiguity and lost meaning after the rewrite. It applies to any prompt written for a language model and does not involve GitHub.

Funktionen

  • Shorten prompts while keeping their intent
  • Remove repetition and filler from instructions
  • Check rewritten prompts for ambiguity