competition-oauth-oidc-chain — скилл для Claude Code
Скилл competition-oauth-oidc-chain для Claude Code разбирает цепочки OAuth и OIDC, перенаправления, параметры обратного вызова и токены. Запускается после активации координатора песочницы CTF.
MIT 109 установок ★ 45 047 обновлён 2026-09-22
npx skills add zhaoxuya520/reverse-skill --skill competition-oauth-oidc-chain -a claude-codeЧто делает competition-oauth-oidc-chain
Скилл выстраивает цепочку авторизации по шагам от точки входа и параметров перенаправления до обмена токенов и финального сервиса. Агент отслеживает параметры вроде state, nonce, PKCE и области видимости, отделяя владение токеном от реального признания идентичности. Перед началом работы должен быть активен оркестратор ctf-sandbox-orchestrator, задавший предположения песочницы.
В ходе работы агент сохраняет минимальную последовательность от запроса до принятия прав и проверяет соответствие токенов приложению. При необходимости углубиться в разбор заголовков JWT или валидацию скилл переключается на смежный инструмент конфигурации.
Инструкции и чек-листы для проверки хранятся в файле references/oauth-oidc-chain.md. Скилл отвечает на упрощённом китайском языке, если пользователь не запросил английский отдельно.
Какие задачи решает
- собрать цепочку перенаправлений и токенов OAuth и OIDC
- зафиксировать параметры state, nonce и PKCE
- доказать превращение токена в принятую сессию приложения
- сократить поток запросов до минимальной последовательности авторизации
Примеры запросов агенту
- Проследи всю цепочку перенаправлений OAuth и OIDC для текущего входа
- Зафиксируй параметры authorize и token endpoint перед отправкой
- Собери минимальную последовательность шагов от редиректа до сессии
Как установить competition-oauth-oidc-chain
1Через Skills CLI (Vercel)
npx skills add zhaoxuya520/reverse-skill --skill competition-oauth-oidc-chain -a claude-code2Вручную: положить файлы
~/.claude/skills/competition-oauth-oidc-chain/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/competition-oauth-oidc-chain/
1Через Skills CLI (Vercel)
npx skills add zhaoxuya520/reverse-skill --skill competition-oauth-oidc-chain -a codex2Вручную: положить файлы
.agents/skills/competition-oauth-oidc-chain/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add zhaoxuya520/reverse-skill --skill competition-oauth-oidc-chain -a cursor2Вручную: положить файлы
.cursor/skills/competition-oauth-oidc-chain/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install zhaoxuya520/reverse-skill CTF-Sandbox-Orchestrator/competition-oauth-oidc-chain/SKILL.md2Вручную: положить файлы
.github/skills/competition-oauth-oidc-chain/SKILL.md1Через Skills CLI (Vercel)
npx skills add zhaoxuya520/reverse-skill --skill competition-oauth-oidc-chain -a gemini-cli2Командой платформы
gemini skills install https://github.com/zhaoxuya520/reverse-skill --path CTF-Sandbox-Orchestrator/competition-oauth-oidc-chainВручную: положить файлы
.devin/skills/competition-oauth-oidc-chain/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add zhaoxuya520/reverse-skill --skill competition-oauth-oidc-chain -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о competition-oauth-oidc-chain
Как установить competition-oauth-oidc-chain в Claude Code?
Выполните команду npx skills add zhaoxuya520/reverse-skill --skill competition-oauth-oidc-chain -a claude-code, а затем обратитесь к файлу ~/.claude/skills/competition-oauth-oidc-chain/SKILL.md.
Что делает competition-oauth-oidc-chain?
Скилл анализирует и воспроизводит цепочки OAuth и OIDC в песочницах CTF, отслеживая редиректы, токены, параметры state и nonce, а также точки привязки прав.
Что нужно для работы competition-oauth-oidc-chain?
Для работы скилла требуется предварительно запущенный координатор ctf-sandbox-orchestrator.
Исходный текст
SKILL.md · MIT
--- name: competition-oauth-oidc-chain description: Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for OAuth, OIDC, redirect flows, state or nonce handling, PKCE, token exchange, refresh logic, claim mapping, and accepted login paths. Use when the user asks to trace redirects, callback parameters, scopes, state, nonce, PKCE, refresh tokens, consent, or explain how an OAuth or OIDC chain turns into accepted identity or privilege. Use only after `$ctf-sandbox-orchestrator` has already established sandbox assumptions and routed here. --- # Competition OAuth OIDC Chain 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 proving how an OAuth or OIDC flow is shaped, exchanged, and ultimately accepted. Reply in Simplified Chinese unless the user explicitly requests English. ## Quick Start 1. Map the auth chain in order: entry route, redirect, authorize request, callback, token exchange, refresh, and final accepting service. 2. Record scopes, state, nonce, PKCE material, redirect URIs, and claim-bearing tokens before mutating anything. 3. Separate token possession from actual identity acceptance. 4. Keep browser-visible redirects and backend-visible token exchange in one compact chain. 5. Reproduce the smallest redirect-to-acceptance flow that proves the decisive identity edge. ## Workflow ### 1. Map The Redirect And Token Path - Record issuer, client ID, redirect URI, authorize parameters, callback parameters, token endpoint, and refresh path. - Note which values are user-controlled, derived, cached, or validated: `state`, `nonce`, PKCE verifier, audience, scope, or prompt. - Keep browser redirects, server-side exchanges, and resulting session state tied together. ### 2. Prove Token-To-Identity Acceptance - Show how code, ID token, access token, or refresh token turns into app session, claims mapping, tenant selection, or accepted privilege. - Record token claims, expiration, audience, subject, scopes, and the exact accepting app or backend edge. - Distinguish UI login success from backend authorization success. ### 3. Reduce To The Decisive OAuth Chain - Compress the result to the smallest sequence: entry request -> redirect -> callback -> token or claim acceptance -> resulting capability. - Keep one canonical good flow and one minimal mutated flow if a parameter change matters. - If the task broadens into generic web routing or storage behavior outside the auth chain, switch back to the broader web-runtime skill. ## Read This Reference - Load `references/oauth-oidc-chain.md` for the redirect checklist, token checklist, and evidence packaging. - If the hard part is JWT header parsing, claim normalization, key lookup, or token validation confusion after issuance, prefer `$competition-jwt-claim-confusion`. ## What To Preserve - Redirect URIs, parameters, codes, token claims, scopes, and the accepting service or callback - The exact point where claims or tokens become accepted app identity - One minimal replayable redirect-to-acceptance sequence
© zhaoxuya520 · MIT · zhaoxuya520/reverse-skill