chunk — скилл для Codex: что делает и как установить
Помогает настроить CircleCI Chunk, починить упавшие сборки и запускать команды через web UI или chunk-cli.
npx skills add openai/plugins --skill chunk -a codexЧто делает chunk
Скилл направляет работу с CircleCI Chunk по двум сценариям: через интерфейс веб-приложения или через утилиту chunk-cli. Для интерфейса агент помогает подключить провайдеров моделей и настроить окружение проекта. Для терминала формирует команды init, validate, build-prompt, auth, sandbox и запуск пакетных задач task.
Перед запуском действий проверяются репозиторий, ветка, статус интеграции с GitHub и способ авторизации у провайдеров моделей. Если нужные права на уровне организации или контексты CircleCI ещё не настроены, операции в терминале будут заблокированы.
Все функции песочницы находятся в статусе закрытого превью, поэтому требуют отдельного доступа.
Какие задачи решает
- Разобрать и исправить ошибки в упавших сборках CircleCI
- Подготовить команды для утилиты chunk-cli
- Сконфигурировать рабочее окружение проекта в CircleCI Chunk
- Сгенерировать промпты и контекст для задач автоматизации
Примеры запросов агенту
- Помоги настроить CircleCI Chunk для нашего репозитория через chunk-cli
- Разбери причину сбоя в последнем билде CircleCI и предложи фикс
- Сгенерируй контекст для сборки через chunk-cli build-prompt
Как установить chunk
1Через Skills CLI (Vercel)
npx skills add openai/plugins --skill chunk -a codex2Вручную: положить файлы
.agents/skills/chunk/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add openai/plugins --skill chunk -a claude-code2Вручную: положить файлы
~/.claude/skills/chunk/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/chunk/
Вручную: положить файлы
.cursor/skills/chunk/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install openai/plugins chunk2Вручную: положить файлы
.github/skills/chunk/SKILL.mdКомандой платформы
gemini skills install https://github.com/openai/plugins --path plugins/circleci/skills/chunkВручную: положить файлы
.devin/skills/chunk/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Скиллы Codex: как установить, где лежат и как вызвать
Вопросы о chunk
Как установить chunk в Codex?
Выполните в терминале npx skills add openai/plugins --skill chunk -a codex. Файл навыка сохранится по пути .agents/skills/chunk/SKILL.md.
Что делает скилл chunk?
Он выбирает рабочий процесс между веб-интерфейсом CircleCI и утилитой chunk-cli, проверяет доступы к репозиторию и помогает чинить упавшие сборки.
Какие требования нужны для работы с chunk-cli?
Требуется интеграция с GitHub, ключи провайдера моделей или аккаунт CircleCI, а также токены аутентификации в локальной системе.
Исходный текст
SKILL.md · MIT
--- name: chunk description: Use CircleCI Chunk for AI-assisted CI/CD work through either the Chunk web UI or the chunk-cli. Trigger this skill when users ask to set up Chunk, troubleshoot or fix failing builds with Chunk, configure Chunk environments, schedule/proactively run Chunk tasks, or use chunk-cli commands such as init, validate, build-prompt, auth, sandbox, task, and skill install. --- # Chunk ## Overview Use this skill to choose the best Chunk workflow (UI or CLI), then execute it with clear prechecks and safe defaults. Keep responses action-oriented and grounded in verified commands and setup requirements. ## Workflow 1. Classify the request path. - Use UI path for org setup, model-provider onboarding, fix buttons, or environment selection in the CircleCI app. - Use CLI path for terminal-based project setup, validation hooks, prompt/context generation, sandbox operations, or scripted task execution. - Use mixed path when users want UI setup plus CLI execution in the same flow. 2. Gather minimum context. - Confirm repository/project, branch, and whether GitHub integration is in place. - Confirm whether the user is using CircleCI-managed model provider or bring-your-own keys. - For CLI operations, confirm local OS compatibility and required tokens/auth. 3. Execute using the matching reference. - For UI/setup flows, load [chunk-ui.md](references/chunk-ui.md). - For CLI flows, load [chunk-cli.md](references/chunk-cli.md). 4. Close with verification. - State what was configured or run, what remains blocked, and the next safest command or UI action. ## Guardrails - Treat Chunk features as beta unless the user confirms otherwise. - Never expose or log secret values (API keys, tokens, bearer credentials). - Do not invent `chunk` subcommands or flags; stick to documented command families. - If sandbox features are requested, call out private preview status and any access gate. - If a task depends on org-level prerequisites (GitHub App install, org toggles, contexts), verify those first. ## Reference Map - [chunk-ui.md](references/chunk-ui.md): CircleCI app setup, provider onboarding, fix buttons, environment file/setup, and operational troubleshooting. - [chunk-cli.md](references/chunk-cli.md): Installation, command map, quick-start flows, auth/env variables, and platform constraints. ## Output Contract Provide: 1. Path chosen (UI, CLI, or mixed) and why. 2. Steps executed with exact command/UI actions. 3. Required prerequisites not yet met. 4. Concrete next action to finish the user’s goal.
© CircleCI · MIT · openai/plugins