tersify-prompt
БесплатноБез исполняемых скриптовНе проверенRewrites agent-instruction prompts to be maximally terse while preserving full intent.
от rp1-run★ 38 звёзд на GitHubОб этом скилле
Tersify Prompt
Compresses agent-instruction prompts to be maximally terse while preserving full intent.
Modes
File Mode (when INPUT is a valid file path):
- Read the file content
- Pass to tersifier agent
- Extract compressed prompt from output
- Update the file with compressed version
- Display change summary
Inline Mode (when INPUT is prompt text):
- Pass prompt directly to tersifier agent
- Display compressed prompt and change log
Workflow
Step 1: Detect Mode
Check if INPUT is a file path:
Use Bash: test -f "{INPUT}" && echo "file" || echo "inline"
Step 2: Prepare Input
If file mode:
- Read the file using Read tool
- Store the file path for later update
- Extract file content as INPUT_PROMPT
If inline mode:
- Use INPUT directly as INPUT_PROMPT
Step 3: Spawn Tersifier Agent
{% dispatch_agent "rp1-utils:prompt-tersifier" %} {INPUT_PROMPT content here} {% enddispatch_agent %}
Step 4: Process Output
The agent returns output in this format:
<<<COMPRESSED_PROMPT
[compressed content]
COMPRESSED_PROMPT>>>
<<<CHANGES
[op] ref: description
- from: "short excerpt"
- to: "short excerpt"
- note: reason
[op] ref: description
...
CHANGES>>>
Parse the output:
- Extract content between
<<<COMPRESSED_PROMPTandCOMPRESSED_PROMPT>>> - Extract the changes list between
<<<CHANGESandCHANGES>>>
Step 5: Finalize
If file mode:
- Use Write tool to update the original file with the compressed prompt
- Display to user:
Updated: {file_path} ## Changes Made {changes table}
If inline mode:
- Display to user:
## Compressed Prompt {compressed prompt} ## Changes Made {changes table}
Examples
File mode:
/tersify-prompt plugins/base/agents/kb-spatial-analyzer.md
Output: Updates file in place, shows change summary.
Inline mode:
/tersify-prompt "You are a helpful assistant that helps users write code. Always be polite and thorough in your responses. Make sure to explain your reasoning step by step."
Output: Displays compressed prompt and change log.
Установить tersify-prompt в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл tersify-prompt?
Rewrites agent-instruction prompts to be maximally terse while preserving full intent.
Как установить скилл tersify-prompt?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл tersify-prompt запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set 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…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic