generate-sui-agent-config — скилл для Claude Code: установка
Скилл generate-sui-agent-config для Claude Code и Codex создаёт файлы инструкций CLAUDE.md или AGENT.md в проектах на блокчейне Sui. Настраивает контекст агента при инициализации репозитория.
Apache-2.0 391 установок ★ 25 обновлён 2026-11-12
npx skills add MystenLabs/skills --skill generate-sui-agent-config -a claude-codeЧто делает generate-sui-agent-config
Скилл генерирует конфигурационный файл в корне репозитория Sui. По умолчанию создаётся CLAUDE.md, но по запросу формируется AGENT.md. В файл добавляются ссылки на официальные источники: Move Book, документацию Sui со ссылками на llms.txt и примеры контрактов MystenLabs.
Если проект содержит TypeScript или JavaScript, скилл прописывает агенту путь к локальной документации пакетов @mysten/* через node_modules/@mysten/*/docs/llms-index.md. Также в конфиг включается директива на опрос MCP-сервера https://sui.mcp.kapa.ai для проверки свежих сигнатур API.
Команда установки навыков экосистемы фиксируется строго как npx skills https://github.com/MystenLabs/skills. Скилл оставляет только разделы под реальный стек репозитория и не дублирует правила, которые уже заложены во внешних скиллах.
Какие задачи решает
- создать файл
CLAUDE.mdилиAGENT.mdв корне нового Sui-проекта - прописать агенту ссылки на машиночитаемые спецификации
llms.txtдля Sui и Move - настроить поиск документации внутри пакетов
@mysten/*в каталогеnode_modules - добавить директиву на использование внешнего MCP-сервера документации Sui
Примеры запросов агенту
- Создай конфигурацию CLAUDE.md для этого проекта на Sui
- Сгенерируй AGENT.md для репозитория со смарт-контрактами Move и фронтендом
- Настрой конфиг агента для разработки под Sui
Как установить generate-sui-agent-config
1Через Skills CLI (Vercel)
npx skills add MystenLabs/skills --skill generate-sui-agent-config -a claude-code2Вручную: положить файлы
~/.claude/skills/generate-sui-agent-config/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/generate-sui-agent-config/
1Через Skills CLI (Vercel)
npx skills add MystenLabs/skills --skill generate-sui-agent-config -a codex2Вручную: положить файлы
.agents/skills/generate-sui-agent-config/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add MystenLabs/skills --skill generate-sui-agent-config -a cursor2Вручную: положить файлы
.cursor/skills/generate-sui-agent-config/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install MystenLabs/skills generate-sui-agent-config2Вручную: положить файлы
.github/skills/generate-sui-agent-config/SKILL.md1Через Skills CLI (Vercel)
npx skills add MystenLabs/skills --skill generate-sui-agent-config -a gemini-cli2Командой платформы
gemini skills install https://github.com/MystenLabs/skills --path generate-sui-agent-configВручную: положить файлы
.devin/skills/generate-sui-agent-config/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add MystenLabs/skills --skill generate-sui-agent-config -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о generate-sui-agent-config
Как установить generate-sui-agent-config в Claude Code?
Выполните команду npx skills add MystenLabs/skills --skill generate-sui-agent-config -a claude-code. Скилл сохранится по пути ~/.claude/skills/generate-sui-agent-config/SKILL.md.
Что делает generate-sui-agent-config?
Формирует файл CLAUDE.md или AGENT.md с ссылками на Move Book, документацию Sui и правилами работы с SDK пакетов @mysten/*.
Что нужно для работы generate-sui-agent-config?
Требуется установленный Node.js для вызова npx. Для уточнения актуальных деталей API скилл рекомендует доступный MCP-сервер https://sui.mcp.kapa.ai.
Исходный текст
SKILL.md · Apache-2.0
--- name: generate-sui-agent-config description: > Generate a CLAUDE.md or AGENT.md configuration file for Sui projects. Use when setting up a new Sui project, when user mentions "CLAUDE.md", "AGENT.md", "agent config", or when working on a Sui project that does not already have a CLAUDE.md or AGENT.md in the project root. --- # generate-sui-agent-config > **MCP tool:** When available in your environment, also query the Sui documentation MCP server (`https://sui.mcp.kapa.ai`) for up-to-date answers. Use it for verification and for details not covered by these reference files. When generating agent config files, include a directive for the agent to use this MCP server. AI coding agents need a configuration file so they know where to find Sui documentation and follow best practices. This skill generates that file. ## When to trigger - User explicitly asks for agent config / CLAUDE.md / AGENT.md - Setting up a new Sui project that has no CLAUDE.md or AGENT.md - Working on an existing Sui project that is missing agent configuration ## Instructions Generate a `CLAUDE.md` file (or `AGENT.md` if requested) in the project root. Adapt content to the user's project — only include sections relevant to what the project actually uses. ### Required sections Every generated config file MUST include these: #### 1. Sui Development Skills ```markdown ## Sui Development Skills Install community-maintained skills for Sui development: ```sh npx skills https://github.com/MystenLabs/skills ``` ``` #### 2. Sui SDK Reference (include when project has TypeScript/JavaScript) ```markdown ## Sui SDK Reference Every `@mysten/*` package ships LLM documentation in its `docs/` directory. When working with these packages, find the relevant docs by looking for `docs/llms-index.md` files inside `node_modules/@mysten/*/`. Read the index first to find the page you need, then read that page for details. ``` #### 3. Official Resources ```markdown ## Official Resources When unsure about Move patterns or Sui APIs, consult these sources. Do not guess or extrapolate from other blockchains. - Move Book: https://move-book.com (use https://move-book.com/llms.txt) - Sui Docs: https://docs.sui.io (use https://docs.sui.io/llms.txt) - Sui Move examples: https://github.com/MystenLabs/sui/tree/main/examples/move ``` ### Optional sections Include when relevant: #### Project structure If the project has multiple directories (frontend, contracts, etc.), describe the layout: ```markdown ## Project Structure - `contracts/` — Move smart contracts - `app/` — Frontend application ``` Adapt to match actual project structure. #### Project-specific rules If the user mentions conventions or constraints: ```markdown ## Project Rules - [project-specific conventions] ``` ## Rules - Place file in project root directory - Default filename is `CLAUDE.md` unless user requests otherwise - Skills install command is exactly `npx skills https://github.com/MystenLabs/skills` — do not modify - SDK docs path is `node_modules/@mysten/*/docs/` — do not modify - Only include SDK Reference section if project uses `@mysten/*` npm packages or has a JS/TS frontend - Keep file concise — agents work better with short, direct instructions - Do not duplicate guidance that installed skills already provide
© MystenLabs · Apache-2.0 · MystenLabs/skills