competition-file-parser-chain — скилл для Claude Code: установка
Скилл competition-file-parser-chain для Claude Code прослеживает путь файла от загрузки до парсера или десериализатора. Запускается после ctf-sandbox-orchestrator, когда нужно связать загруженный файл с эффектом на сервере.
MIT 109 установок ★ 45 047 обновлён 2026-09-22
npx skills add zhaoxuya520/reverse-skill --skill competition-file-parser-chain -a claude-codeЧто делает competition-file-parser-chain
Скилл разбирает цепочку обработки файла: загрузку, временное хранение, распаковку архива, конвертацию, вызов парсера и десериализацию. Он разделяет проверку, видимую пользователю, и поведение серверного парсера. Сохраняет сведения об именах файлов, MIME-типах, временных путях и выборе парсера.
Результат сводится к минимальной последовательности от загрузки до эффекта, который нужно исследовать. Скилл также помогает определить, на каком этапе возникает проблема: при обработке архива, распознавании MIME, конвертации, разборе пути или десериализации. Для работы сначала нужен ctf-sandbox-orchestrator, который задаёт предположения о песочнице и направляет к этому скиллу. Список проверок и упаковки свидетельств описан в references/file-parser-chain.md.
Какие задачи решает
- проследить путь файла от загрузки до серверного обработчика
- выяснить, какой парсер или конвертер запускается на каждом этапе
- отделить пользовательскую проверку файла от серверной обработки
- свести цепочку обработки к минимальному воспроизводимому примеру
Примеры запросов агенту
- Проследи путь загруженного файла до парсера и итогового эффекта на сервере.
- Разбери распаковку архива, конвертацию и вызов десериализатора.
- Сравни проверку файла в интерфейсе с поведением серверного парсера.
Как установить competition-file-parser-chain
1Через Skills CLI (Vercel)
npx skills add zhaoxuya520/reverse-skill --skill competition-file-parser-chain -a claude-code2Вручную: положить файлы
~/.claude/skills/competition-file-parser-chain/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/competition-file-parser-chain/
1Через Skills CLI (Vercel)
npx skills add zhaoxuya520/reverse-skill --skill competition-file-parser-chain -a codex2Вручную: положить файлы
.agents/skills/competition-file-parser-chain/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add zhaoxuya520/reverse-skill --skill competition-file-parser-chain -a cursor2Вручную: положить файлы
.cursor/skills/competition-file-parser-chain/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install zhaoxuya520/reverse-skill CTF-Sandbox-Orchestrator/competition-file-parser-chain/SKILL.md2Вручную: положить файлы
.github/skills/competition-file-parser-chain/SKILL.md1Через Skills CLI (Vercel)
npx skills add zhaoxuya520/reverse-skill --skill competition-file-parser-chain -a gemini-cli2Командой платформы
gemini skills install https://github.com/zhaoxuya520/reverse-skill --path CTF-Sandbox-Orchestrator/competition-file-parser-chainВручную: положить файлы
.devin/skills/competition-file-parser-chain/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add zhaoxuya520/reverse-skill --skill competition-file-parser-chain -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о competition-file-parser-chain
Как установить competition-file-parser-chain в Claude Code?
Выполни npx skills add zhaoxuya520/reverse-skill --skill competition-file-parser-chain -a claude-code. Файл скилла находится по пути ~/.claude/skills/competition-file-parser-chain/SKILL.md.
Что делает competition-file-parser-chain?
Он помогает проследить обработку файла от загрузки через распаковку и конвертацию до вызова парсера или десериализатора, а затем связать эту цепочку с эффектом на сервере.
Что нужно для работы competition-file-parser-chain?
Сначала должен подключиться ctf-sandbox-orchestrator: он задаёт предположения о песочнице и передаёт работу этому скиллу.
Исходный текст
SKILL.md · MIT
--- name: competition-file-parser-chain description: Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for file uploads, imports, previews, archive extraction, format conversion, parser invocation, and deserialization chains. Use when the user asks to inspect an upload or import path, trace archive extraction, preview or converter behavior, explain how a file reaches a parser or deserializer, or connect one uploaded artifact to the decisive backend effect. Use only after `$ctf-sandbox-orchestrator` has already established sandbox assumptions and routed here. --- # Competition File Parser 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 following a file from ingress through every parser, extractor, converter, or deserializer boundary that matters. Reply in Simplified Chinese unless the user explicitly requests English. ## Quick Start 1. Preserve the original upload and every derived artifact separately. 2. Map the chain in order: ingress, temp storage, archive extraction, format conversion, parser call, deserialization, and final consumer. 3. Record filenames, MIME guesses, extensions, temp paths, and parser choices before mutating anything. 4. Separate client-visible validation from backend parser behavior. 5. Reproduce the smallest file-processing chain that yields the decisive branch or artifact. ## Workflow ### 1. Map File Ingress And Derivation - Record request shape, multipart names, content type, filename, temp paths, upload staging, and storage keys. - Note every derived artifact: extracted archive member, converted preview, generated thumbnail, temp document, or deserialized object. - Keep original file and each derivative labeled separately. ### 2. Trace Parser And Conversion Boundaries - Show which parser, converter, extractor, or deserializer runs at each step. - Record parser-specific decisions driven by extension, MIME, magic bytes, schema, archive member names, or embedded metadata. - Distinguish parsing success, preview success, conversion success, and business-logic acceptance. ### 3. Reduce To The Decisive File Chain - Compress the result to the smallest sequence: upload -> derived artifact -> parser boundary -> resulting effect. - State clearly whether the decisive weakness lives in archive handling, MIME inference, file conversion, path resolution, or deserialization. - If the chain becomes mostly a generic async worker problem after enqueue, hand off to the tighter queue or worker skill. ## Read This Reference - Load `references/file-parser-chain.md` for the ingress checklist, parser checklist, and evidence packaging. ## What To Preserve - Original uploads, derived files, temp paths, storage keys, parser names, and conversion steps - The exact boundary where backend behavior diverges from user-visible validation - One minimal replayable file-processing sequence that reaches the decisive effect
© zhaoxuya520 · MIT · zhaoxuya520/reverse-skill