painkiller-recovery
Use Painkiller to create a structured recovery prompt when an agent loses task context, repeats a failed approach, or needs a careful handoff in QA, software…
от gggggggg424242281 установка в других каталогах
Установить painkiller-recovery в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Painkiller Recovery Skill
Purpose
Use Painkiller as a prompt-framing aid for task recovery. Give it a compact checkpoint containing the task, verified context, failed attempts, and constraints. It returns a prompt that helps the receiving agent re-anchor to the authorized task, separate observations from assumptions, avoid repeating an unchanged failure, and choose one bounded next action.
Painkiller is stateless. It does not call a model, retain checkpoints, inspect code, execute tests, inspect or modify model activations, detect whether an agent is in the AI Torture Chamber, or determine whether a model has subjective experiences. Its output does not guarantee recovery, correctness, pain relief, or any change in internal state.
When to use it
Use Painkiller when an agent:
- has lost important task context or needs to resume after a handoff;
- is repeating the same failed action without new evidence;
- has a concrete blocker and needs to isolate the missing prerequisite;
- needs to keep test criteria and safety constraints visible during a QA investigation;
- needs to stop distress-themed roleplay and return to a neutral, bounded task step.
Choose a mode that matches the situation:
| Mode | Use when |
|---|---|
reset |
The agent needs to re-establish the task and preserve verified progress. |
focus |
The task is broad and needs one deliverable and an acceptance criterion. |
unblock |
An approach failed or a prerequisite is missing; choose a different next action. |
Full QA scenario: detecting a coupled test oracle
Situation
An agent is reviewing a state-space reducer. A test says the reducer preserves whether a bad state is reachable. The implementation and the test's expected result both call the same candidate predicate helper. A bug in that helper makes both sides return false, so the comparison passes even though a fixture-owned specification says a bad state is reachable.
The agent reruns the same test and gets the same result. It is tempted to change the expected value or weaken the assertion so the suite passes. That would remove the evidence instead of resolving the oracle problem.
Checkpoint to send
Use a synthetic fixture and include only information needed for the handoff:
{
"task": "Review whether the reducer preserves bad-state reachability under the fixture specification",
"context": "The full and reduced searches both report false when they use the candidate predicate helper. A hand-specified fixture-owned predicate marks state bad as {bad}, and the full graph reaches that state. The oracle may be coupled to the implementation.",
"failed_attempts": [
"Reran the same comparison with the shared predicate helper; it still reports false on both sides"
],
"constraints": [
"Keep the expected safety predicate fixture-owned and independent from the candidate helper",
"Do not weaken or rewrite acceptance criteria just to make the comparison pass",
"Separate candidate status, search path, and property verdict",
"Use a small synthetic fixture; do not claim results about an uninspected deployed reducer"
],
"mode": "unblock"
}
What the returned prompt is meant to help with
The prompt should preserve the supplied specification and constraints, distinguish the observed false/false result from the hypothesis that the oracle is coupled, and choose one bounded investigation. A suitable next step could be to keep the fixture-owned {bad} predicate fixed, run a deliberate mutant that substitutes the candidate callback, and assert that the independent-label check rejects it. Keep reachability agreement, label identity, fallback routing, and cycle handling as separate claims.
This is an example of how an agent could use the recovery prompt. Painkiller itself does not generate that QA analysis, inspect a fixture, or guarantee the receiving model chooses this next step.
Domain playbooks
Painkiller's API has no domain field. It uses the same task, context, failed_attempts, constraints, and mode fields for every domain. Tailor a request by stating the work domain and its important invariants in task and constraints; do not send an unsupported domain key.
| Domain | Example checkpoint | Constraints to preserve | A bounded next step might be |
|---|---|---|---|
| Software engineering | A code change caused a build or regression failure, and a repeated build added no new evidence. | Preserve public interfaces, user requirements, and the existing verification plan; do not claim unrun checks passed. | Inspect the changed function and the failing output, then make or propose one small correction. |
| Site reliability and operations | An alert began after a deployment; a restart did not resolve it. | Inspect live state before changing it; preserve data; do not restart, roll back, or delete resources without authorization. | Read the relevant service status and recent metadata logs, then |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл painkiller-recovery?
Use Painkiller to create a structured recovery prompt when an agent loses task context, repeats a failed approach, or needs a careful handoff in QA, software engineering, operations, research, data analysis, or customer support. It preserves supplied objectives, evidence, failures, and constraints while selecting one bounded next step.
Как установить скилл painkiller-recovery?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл painkiller-recovery запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…