competition-graphql-rpc-drift — скилл для Claude Code
Скилл competition-graphql-rpc-drift для Claude Code сравнивает GraphQL- и RPC-контракты с поведением обработчиков. Подключается к CTF-задаче после настройки песочницы главным оркестратором.
MIT 110 установок ★ 45 047 обновлён 2026-09-22
npx skills add zhaoxuya520/reverse-skill --skill competition-graphql-rpc-drift -a claude-codeЧто делает competition-graphql-rpc-drift
Скилл сопоставляет схемы GraphQL, RPC-манифесты, OpenAPI и сгенерированные клиенты с запросами и поведением работающих обработчиков. Он ищет скрытые операции, устаревшие поля и расхождения между контрактом и обработчиком.
Работа начинается со сбора контрактов и реальных запросов с параметрами, заголовками, cookies и статусами ответа. Затем скилл сводит расхождение к минимальной последовательности, которая показывает решающую ветку. Для деталей он загружает references/graphql-rpc-drift.md.
Скилл подключается только после $ctf-sandbox-orchestrator, который задаёт условия песочницы и направляет к нему. Если задача переходит к JWT, OAuth или очередям, он передаёт её более специализированному скиллу.
Какие задачи решает
- сравнить GraphQL-схему с запросами и обработчиками
- найти скрытые или устаревшие операции
- проследить поведение сгенерированного клиента
- показать расхождение между RPC-контрактом и обработчиком
Примеры запросов агенту
- Сравни GraphQL-схему с реальными запросами и найди скрытые операции.
- Проследи, где RPC-манифест расходится с поведением обработчика.
- Покажи минимальную последовательность, которая доказывает расхождение контракта и обработчика.
Как установить competition-graphql-rpc-drift
1Через Skills CLI (Vercel)
npx skills add zhaoxuya520/reverse-skill --skill competition-graphql-rpc-drift -a claude-code2Вручную: положить файлы
~/.claude/skills/competition-graphql-rpc-drift/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/competition-graphql-rpc-drift/
1Через Skills CLI (Vercel)
npx skills add zhaoxuya520/reverse-skill --skill competition-graphql-rpc-drift -a codex2Вручную: положить файлы
.agents/skills/competition-graphql-rpc-drift/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add zhaoxuya520/reverse-skill --skill competition-graphql-rpc-drift -a cursor2Вручную: положить файлы
.cursor/skills/competition-graphql-rpc-drift/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install zhaoxuya520/reverse-skill CTF-Sandbox-Orchestrator/competition-graphql-rpc-drift/SKILL.md2Вручную: положить файлы
.github/skills/competition-graphql-rpc-drift/SKILL.md1Через Skills CLI (Vercel)
npx skills add zhaoxuya520/reverse-skill --skill competition-graphql-rpc-drift -a gemini-cli2Командой платформы
gemini skills install https://github.com/zhaoxuya520/reverse-skill --path CTF-Sandbox-Orchestrator/competition-graphql-rpc-driftВручную: положить файлы
.devin/skills/competition-graphql-rpc-drift/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add zhaoxuya520/reverse-skill --skill competition-graphql-rpc-drift -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о competition-graphql-rpc-drift
Как установить competition-graphql-rpc-drift в Claude Code?
Выполни npx skills add zhaoxuya520/reverse-skill --skill competition-graphql-rpc-drift -a claude-code. Файл скилла находится по пути ~/.claude/skills/competition-graphql-rpc-drift/SKILL.md.
Что делает competition-graphql-rpc-drift?
Скилл сравнивает GraphQL- и RPC-контракты с запросами и реальными обработчиками. Он помогает находить скрытые операции и сводить расхождение к минимальному пути, который показывает его эффект.
Когда подключается competition-graphql-rpc-drift?
Только после $ctf-sandbox-orchestrator, когда тот установил условия песочницы и передал ему задачу.
Исходный текст
SKILL.md · MIT
--- name: competition-graphql-rpc-drift description: Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for GraphQL schemas, persisted queries, RPC manifests, generated clients, OpenAPI drift, hidden operations, and contract-to-handler mismatches. Use when the user asks to inspect GraphQL or RPC requests, compare client contracts to live handlers, recover hidden operations, trace generated clients, or explain how schema or contract drift produces the decisive behavior. Use only after `$ctf-sandbox-orchestrator` has already established sandbox assumptions and routed here. --- # Competition Graphql Rpc Drift Use this skill only as a downstream specialization after `$ctf-sandbox-orchestrator` is already active and has established sandbox assumptions, node ownership, and evidence priorities. If that has not happened yet, return to `$ctf-sandbox-orchestrator` first. Use this skill when the hard part is matching declared contracts with live handlers to find hidden, stale, or privileged operations. Reply in Simplified Chinese unless the user explicitly requests English. ## Quick Start 1. Collect the declared contract surface first: schema, manifest, generated client, persisted query map, or OpenAPI spec. 2. Record actual request shapes, operation names, variables, method, path, and auth context before mutating anything. 3. Compare declared contract, generated client behavior, and live handler behavior side by side. 4. Preserve one accepted operation and one drifted or hidden operation with the smallest delta. 5. Reproduce the smallest contract-to-handler mismatch that proves the decisive branch. ## Workflow ### 1. Map The Declared Contract Surface - Record GraphQL schema, introspection output, persisted query ids, RPC manifests, generated clients, or OpenAPI documents that define the intended surface. - Note versioned endpoints, client-only guards, hidden enums, optional fields, and operation naming conventions. - Keep document source and generation path tied to the observed requests. ### 2. Prove Live Handler Behavior - Capture the real request and response pairs, including operation name, variables, headers, cookies, and status. - Compare client-side validation, schema expectations, and live handler normalization or fallback behavior. - Record hidden operations, stale fields, undocumented methods, or handler-only branches that still execute. ### 3. Reduce To The Decisive Drift Path - Compress the result to the smallest sequence: declared contract -> actual request -> handler branch -> resulting capability. - State clearly whether the decisive drift lives in generated client assumptions, persisted query mapping, schema version skew, RPC manifest mismatch, or handler-side hidden logic. - If the task shifts into generic JWT, OAuth, or queue behavior after acceptance, hand off to the tighter specialized skill. ## Read This Reference - Load `references/graphql-rpc-drift.md` for the contract checklist, live-handler checklist, and evidence packaging. ## What To Preserve - Schemas, manifests, generated clients, persisted query ids, operation names, and version markers - One accepted and one drifted request pair that proves the mismatch - One minimal contract-to-handler sequence that reaches the decisive effect
© zhaoxuya520 · MIT · zhaoxuya520/reverse-skill