gravitas-highstakes — скилл для Claude Code
Скилл gravitas-highstakes добавляет обязательный чекпойнт перед необратимыми операциями: миграциями БД, удалением файлов, изменениями в auth и production-конфигах, force-push в git. Срабатывает, когда риск высок.
MIT 446 установок ★ 509 обновлён 2026-10-24
npx skills add udaysharmadev/Gravitas --skill gravitas-highstakes -a claude-codeЧто делает gravitas-highstakes
gravitas-highstakes встраивается в рабочий процесс и блокирует выполнение до явного подтверждения пользователя. Перед каждой опасной операцией скилл формулирует, что именно будет изменено, почему это Tier-2 действие (необратимое), какие риски есть, а затем запрашивает явное согласие.
Скилл следует полному циклу: описание плана → критический разбор → сухой запуск, если возможен (без вмешательства пользователя) → остановка и запрос подтверждения → выполнение → проверка результата. Если на любом этапе что-то пошло не так, скилл останавливается и не продолжает выполнение дальше.
Используй скилл для миграций БД, удаления файлов, изменений в системе аутентификации, конфигов production-окружения и команд git, которые переписывают историю. Скилл работает на Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI и OpenCode.
Какие задачи решает
- предотвратить случайное удаление файлов или папок
- контролировать миграции базы данных перед применением
- избежать ошибок при изменении аутентификации и прав доступа
- проверить production-конфиги перед деплоем
- подтвердить force-push или переписывание истории git
Примеры запросов агенту
- Удали все логи старше 30 дней из
/var/logs - Примени миграцию, которая добавляет колонку в таблицу users
- Измени переменную
AUTH_SECRETв production.env
Как установить gravitas-highstakes
1Через Skills CLI (Vercel)
npx skills add udaysharmadev/Gravitas --skill gravitas-highstakes -a claude-code2Вручную: положить файлы
~/.claude/skills/gravitas-highstakes/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/gravitas-highstakes/
1Через Skills CLI (Vercel)
npx skills add udaysharmadev/Gravitas --skill gravitas-highstakes -a codex2Вручную: положить файлы
.agents/skills/gravitas-highstakes/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add udaysharmadev/Gravitas --skill gravitas-highstakes -a cursor2Вручную: положить файлы
.cursor/skills/gravitas-highstakes/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install udaysharmadev/Gravitas skills/gravitas-highstakes2Вручную: положить файлы
.github/skills/gravitas-highstakes/SKILL.md1Через Skills CLI (Vercel)
npx skills add udaysharmadev/Gravitas --skill gravitas-highstakes -a gemini-cli2Командой платформы
gemini skills install https://github.com/udaysharmadev/Gravitas --path skills/gravitas-highstakesВручную: положить файлы
.devin/skills/gravitas-highstakes/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add udaysharmadev/Gravitas --skill gravitas-highstakes -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о gravitas-highstakes
Как установить gravitas-highstakes в Claude Code?
Запусти npx skills add udaysharmadev/Gravitas --skill gravitas-highstakes -a claude-code, затем найди файл в ~/.claude/skills/gravitas-highstakes/SKILL.md.
Что делает gravitas-highstakes?
Скилл добавляет обязательный контрольный пункт перед необратимыми операциями — миграциями БД, удалением файлов, изменениями в auth и конфигах production. Перед выполнением любой такой операции ты должен явно подтвердить её.
Какие операции требуют подтверждения?
Скилл срабатывает на миграции схемы БД, удаление файлов, изменения в системе аутентификации и прав доступа, изменения production-конфигов и force-push в git. Для каждой операции скилл сформулирует риски и попросит явного согласия.
Исходный текст
SKILL.md · MIT
---
name: gravitas-highstakes
description: >
Mandatory checkpoint skill for irreversible/high-stakes changes (schema
migrations, file deletion, auth/security changes, production config,
force-pushes). Use when a task risks hard-to-reverse damage.
license: MIT
---
# GRAVITAS High-Stakes Skill
For Tier-2 actions (hard-to-reverse, high-stakes), follow this skill
**in addition to** the standard GRAVITAS cognitive loop. This skill
enforces explicit user checkpoints.
---
## Steps
### 1. State the Change and Tier Classification
Before doing anything, explicitly state:
- **What** you plan to change (specific files, tables, configs)
- **Why** this is Tier 2 (what makes it hard to reverse)
- **What** could go wrong
Format:
```
This is a Tier-2 action because: [reason]
Plan:
1. [specific step]
2. [specific step]
...
Risk: [what could break]
```
### 2. Present the Plan + Adversarial Critique
Run the full Pillar 2 process:
- Write the numbered plan
- Run the adversarial critique (separate reasoning pass)
- Revise the plan based on critique
- Present the revised plan to the user
### 3. Dry Run (if available)
If a dry-run, lint, test, or validation command is available for this
type of change, run it now:
```
# turbo — auto-approved, no user confirmation needed for this step
```
Examples:
- Database migration: `--dry-run` flag
- Config change: schema validation
- Code change: type check + lint
- Deployment: preview environment
### 4. STOP — Wait for Explicit User Confirmation
**Do not execute the plan yet.** Present the plan and ask for confirmation:
```
I've completed the reconnaissance, plan, and adversarial critique.
This is a Tier-2 (irreversible/high-stakes) action.
[Show the plan]
Do you want me to proceed with this plan? Please confirm explicitly.
```
Wait for the user's response. Do not proceed until they confirm.
### 5. Execute the Confirmed Plan
Only after explicit confirmation:
1. Execute each step in the plan
2. After each step, verify it succeeded
3. If any step fails, **stop immediately** — do not continue with the plan
### 6. Re-Verify After Execution
After all steps complete:
1. Run any available post-change verification
2. Re-read the changed files to confirm edits landed
3. If applicable, run the full test suite
Report back with:
- What was changed
- Evidence it's working
- Any concerns or follow-ups
---
## Abort Conditions
Stop the skill and report to the user if:
- A dry-run reveals unexpected side effects
- The plan needs to change mid-execution
- A verification step fails
- The user requests changes to the plan at any point
---
## Example: Database Migration
```
This is a Tier-2 action because: schema changes are irreversible once applied.
Plan:
1. Create migration file: ALTER TABLE users ADD COLUMN email_verified BOOLEAN DEFAULT false
2. Run migration against dev database
3. Update ORM model to include new column
4. Add NOT NULL constraint after backfill (separate migration)
Risk: If the backfill is incomplete, the NOT NULL constraint will fail.
If the migration runs in production prematurely, it could lock the table.
Dry run: psql --dry-run (or migration tool's dry-run flag)
```
[Wait for user confirmation]
[Execute and verify]
© udaysharmadev · MIT · udaysharmadev/Gravitas