prompt-enhancer

prompt-enhancer is a skill for Claude Code from Desko77/claude-code-skills-1c. It costs 176 tokens per session (2,453 once invoked), scanned A, original, MIT.

A prompt editor that turns a short or unstructured request into a detailed set of instructions with steps, edge cases, and an expected output format.

In plain words
What is it for?
It helps prepare clearer prompts, technical specifications, and structured tasks from notes or short descriptions.
Why use it?
It makes vague tasks easier for a coding agent to follow while keeping the original terms and conditions.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit It helps prepare clearer prompts, technical specifications, and structured tasks from notes or short descriptions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/desko77/claude-code-skills-1c/prompt-enhancer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Desko77/claude-code-skills-1c --skill prompt-enhancer
Clone the repo
git clone --depth 1 https://github.com/Desko77/claude-code-skills-1c

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for prompt-enhancer

README.md
[![agentmods](https://agentmods.dev/badge/skills/desko77/claude-code-skills-1c/prompt-enhancer/github.svg)](https://agentmods.dev/skills/desko77/claude-code-skills-1c/prompt-enhancer)
Your own site
<a href="https://agentmods.dev/skills/desko77/claude-code-skills-1c/prompt-enhancer"><img src="https://agentmods.dev/badge/skills/desko77/claude-code-skills-1c/prompt-enhancer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for prompt-enhancer

Your own site · 80×15
<a href="https://agentmods.dev/skills/desko77/claude-code-skills-1c/prompt-enhancer"><img src="https://agentmods.dev/badge/skills/desko77/claude-code-skills-1c/prompt-enhancer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 176 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,453 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00176 $0.02453
Opus 5 $0.00088 $0.01226
Sonnet 5 $0.00035 $0.00491
Haiku 4.5 $0.00018 $0.00245

Measured 7d ago against content hash 253a47e67900, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

prompt-enhancer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/prompt-enhancer/SKILL.md · 131 lines

How it starts

The opening of the file, as written. The whole thing — 131 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/prompt-enhancer - улучшение промптов и постановок задач

Превращает короткую заметку или неструктурированное задание в подробное императивное ТЗ. Подходит для разработчиков 1С, которым нужно оформить быстро сформулированную мысль в понятную постановку задачи.

Когда использовать

Вызывай скил по фразам пользователя:

  • "улучши промпт", "сделай промпт лучше / точнее / подробнее"
  • "проработай постановку", "оформи задачу", "причеши задание"
  • "структурируй ТЗ", "подготовь ТЗ из заметки"
  • "расширь описание задачи", "преобразуй это в подробную инструкцию"

Скил работает с любой предметной областью, но специально учитывает особенности задач 1С (термины, имена реквизитов, объектов, форм).

Режимы работы

Режим Триггер Что делает
Inline аргумент - произвольный текст Улучшенный промпт выводится в чат
File аргумент - путь к существующему файлу Результат сохраняется рядом с суффиксом -enhanced.md
Interactive аргумент пустой Спросить у пользователя текст или путь

Алгоритм определения режима

Режим выбирается детерминированно, без эвристики по тексту аргумента:

  1. Если аргумент пустой - режим Interactive. Попросить у пользователя текст промпта или путь к файлу обычным сообщением.
  2. Иначе попытаться прочитать аргумент через инструмент Read.
    • Если Read вернул содержимое файла - режим File.
    • Если Read вернул ошибку вида "файл не существует / не найден" - это штатный путь, не сбой. Переключиться в Inline: аргумент целиком использовать как текст промпта.
  3. Не определять режим по наличию ".md" в тексте. Формулировка "оформи ТЗ про .md генерацию" не должна интерпретироваться как путь. Проверку существования файла делает Read, не парсинг строки.

Принципы преобразования

Ядро скила. При каждой генерации возвращайся к этому списку:

  1. Сохранение исходника как источника истины. Все термины, имена реквизитов, вкладок, объектов, форм, подсистем, числа, перечни переносить буквально. Не заменять "Орг_КодИсточника77" на "служебный реквизит".
  2. Императив вместо описания. "нужно вывести" превращать в "Выведи", "надо бы проанализировать" в "Проанализируй". Результат это план действий, не рассказ.
  3. Явное выделение граничных случаев. Условия-исключения выносить отдельным предложением в форме "если ..., то ...", не прятать в скобках. Граничный случай должен бросаться в глаза.
  4. Фиксация ожидаемого вывода. Добавить раздел "Для каждого элемента укажи" с нумерованным списком полей. Формат результата (таблица, структурированный список, JSON) называть явно.
  5. Без новых требований. Не добавлять требований, которых не было в исходнике: тесты, документация, роли, откаты, логирование. Улучшение это форма, не содержание.
  6. Нумерация шагов анализа. Разбить пользовательские пожелания на дискретные проверяемые операции 1..N. Каждый шаг одна операция.
  7. Сохранение намерения, а не дословного текста. Если в исходнике "подготовь список", а далее перечислены аналитические задачи, сначала идет анализ, потом составление списка. Восстановить правильный порядок.
  8. Нейтральный деловой регистр. Убрать разговорные и эмоциональные элементы ("надо бы", "как-то так", "хотелось бы"), оставить нейтральную формулировку.
  9. Короткая суть в первой строке. Перед пошаговым планом одно предложение, передающее цель задачи.
  10. Форматирование по правилам репо. Без длинных и коротких тире (только обычный дефис), без буквы е с точками, без оценок времени и ROI.

Read the full file on GitHub · 131 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 131 lines · 176 tokens per session scan A 253a47e67900

Subscribe to this mod's changes

prompt-enhancer is a skill published in the GitHub repository Desko77/claude-code-skills-1c (61 stars, last pushed 8d ago), licensed MIT. It adds 176 tokens to every session and 2,453 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.