Логотип Melech Roi

Melech Roi

Сообщество
AdirD
melech-roi

Grade whether a change's complexity and blast radius are actually worth the benefit it delivers, using an itemized ROI receipt and rankings among solutions already raised. Use on an existing PR, a local diff, or an idea still being discussed before any code exists. Trigger on "is this worth it", "ROI on this fix", "are we overengineering this bugfix", "worth the blast radius", or when a small fix seems to be touching shared systems, adding state, or expanding scope out of proportion to what it fixes.

Обзор

ИздательAdirD
Репозиторийagent-shell-hamelech
Название навыкаmelech-roi
Звёзды
46
Форки
5
Файлы в комплекте
3
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

    Модель загружает файл SKILL.md по мере необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой большой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 3

    Скрипты, шаблоны и справочные материалы, которые модель может читать во время работы. Файлы доступны только для чтения и никогда не выполняются.

  • Открытый исходный код

    Издатель навыка на GitHub — AdirD. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Melech Roi в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/AdirD/agent-shell-hamelech/tree/main/skills/melech-roi
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Добавить навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AdirD/agent-shell-hamelech.git /tmp/agent-shell-hamelech
mkdir -p .claude/skills
cp -r /tmp/agent-shell-hamelech/skills/melech-roi .claude/skills/melech-roi
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Melech Roi в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Melech Roi, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Melech Roi не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими ключами API.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

ROI

The core question

The whole thing in one story:

Your tap drips. Fix A reroutes the pipes for the whole house so that tap stops dripping. Fix B replaces the washer in that one tap. Both fix the drip. Only one of them means every future plumber has to understand the whole house's new plumbing just to work on a different tap someday.

That's it. That's the entire skill. It just asks, every time:

Are we rerouting the house, or replacing the washer?

  • Replacing the washer — a local, contained fix at the exact leak.
  • Rerouting the house — a shared boundary, new persisted state, a new lifecycle, or broad blast radius, paid to fix one drip.

melech-roi exists to catch the second disguised as the first — on code that already exists or on an idea that hasn't been coded yet. It evaluates the solution in front of it; it does not design a replacement.

If the plumbing picture isn't landing for whoever you're talking to, four other everyday pictures for the same question (packing, renovation permits, toolbox, alterations) are in references/analogies.md.

What it judges

Benefit — how real and large is the drip: severity, reach (how many users/paths), frequency, durability of the fix, strategic value.

Burden — how much of the house does this reroute: shared boundaries touched, new persisted state or lifecycle, regression exposure, new concepts a future maintainer must learn, reversibility.

Verdict — does the burden match the benefit, or is the house being rerouted for one drip?

Receipt — where the solution earned and lost ROI: problem reach versus solution reach, value received, cost charged, and the largest charge.

Sources you can point it at

  • an existing PR (diff + description + discussion),
  • a local diff (staged/unstaged, branch vs base),
  • an idea or direction still only discussed in conversation — no diff exists yet, so flag confidence as lower and call assumptions out as assumptions.

Resolve the source from context. Ask only if genuinely ambiguous.

Workflow

  1. Name the drip. State the actual benefit being pursued in one line. If the benefit itself is unclear or unproven, mark confidence low and name the missing evidence. Do not silently invent benefit.
  2. Trace the touched surface. For code: shared modules, persisted state, public contracts, new dependencies, call sites, concepts. For an idea: what it would require touching once built.
  3. Compare reach using the same unit. Show who experiences the problem beside who must carry the solution: paths, callers, users, jobs, records, or another grounded unit. Use unknown rather than fake precision.
  4. Itemize the receipt. List concrete value received and permanent costs charged. Mark cost severity LOW, MEDIUM, or HIGH.
  5. Find the largest charge. State the single clearest source of disproportionality, or explain why the broad reach is justified.
  6. Grade the current solution. The score measures proportionality, not how close the developer came to an imaginary perfect implementation.
  7. Rank only existing candidates. If the PR or discussion already contains multiple concrete solutions, evaluate and rank those. Never invent an alternative to complete a ranking.
  8. Render the receipt. Use the visual contract and adapt the examples in references/output-examples.md.

Output shape

The default output is one itemized receipt:

  1. solution name;
  2. ROI score and letter grade;
  3. rank only when two or more solutions were already raised;
  4. problem-reach and solution-reach bars in a comparable unit;
  5. value received;
  6. cost charged with severity;
  7. the largest charge;
  8. a one-sentence verdict about the current solution.

The receipt diagnoses; it does not prescribe. Do not add a replacement design, an improvement plan, or a "do this instead" section.

Interpret grades consistently:

  • A (85–100): burden is clearly proportionate to the benefit.
  • B (70–84): worthwhile with real but bounded cost.
  • C (55–69): works, but has a meaningful reach or complexity mismatch.
  • D (40–54): burden exceeds the demonstrated benefit.
  • F (0–39): severely disproportionate or mostly unsupported.

Use + or − only to express a position near a grade boundary. A developer does not need to reach 100; the grade answers whether this solution is proportionate. The itemized charges explain why.

Read references/output-examples.md before rendering the result. It contains examples for disproportionate, justified, operationally costly, ranked, and low-confidence solutions.

Boundary with other skills

  • melech-distill-need — establishes whether the drip is real when the benefit itself is in doubt.
  • melech-8020 — designs a cheaper shape after melech-roi diagnoses a mismatch. melech-roi itself does not propose that shape.
  • melech-tidy — executes the adaptive diff reduction (purging dead residue, narrowing seam blast radius, and shaking prompt bloat) once melech-roi has graded the existing diff. melech-roi evaluates; melech-tidy changes.
  • melech-challenge — pressure-tests a whole direction with open questions. melech-roi asks one narrower question: is the touched surface proportionate to the benefit.

Typical chain: melech-distill-need → melech-roi → melech-8020 / melech-tidy.

Do / Don't

Do: Show "one submission path" beside "47 request paths," then itemize the shared middleware, persisted state, and cleanup lifecycle as charges.

Don't: Show only "ROI: 58%" with no receipt explaining where ROI was lost.

Do: "This bug happens at every entry point that submits data — a shared fix genuinely matches a shared benefit here. This is not overreach; proceed."

Don't: Force a poor grade onto a genuinely systemic fix just because it touches shared code.

Do: On a transcript idea, not yet coded: "Still a direction, not a diff — confidence is lower. The proposal's permanent shared-service cost is better evidenced than the number of workflows receiving its benefit."

Don't: Invent precise reach counts, candidate solutions, or a replacement design when the evidence does not contain them.

Файлы в комплекте

Модель читает эти файлы по мере необходимости, пока навык загружен. Они доступны только для чтения и никогда не выполняются.

Часто задаваемые вопросы

Что делает навык ИИ Melech Roi?

Grade whether a change's complexity and blast radius are actually worth the benefit it delivers, using an itemized ROI receipt and rankings among solutions already raised. Use on an existing PR, a local diff, or an idea still being discussed before any code exists. Trigger on "is this worth it", "ROI on this fix", "are we overengineering this bugfix", "worth the blast radius", or when a small fix seems to be touching shared systems, adding state, or expanding scope out of proportion to what it fixes.

Зачем использовать Melech Roi в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Melech Roi — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Melech Roi в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/AdirD/agent-shell-hamelech/tree/main/skills/melech-roi. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Melech Roi?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Melech Roi?

С любым количеством. В TypingMind вы можете использовать Melech Roi с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Melech Roi?

Да. Навык опубликован на GitHub по лицензии MIT. Издатель — AdirD. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇