Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add yandex/kit-skills --skill kit-custom-sectionsgit clone --depth 1 https://github.com/yandex/kit-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/yandex/kit-skills/kit-custom-sections)<a href="https://agentmods.dev/skills/yandex/kit-skills/kit-custom-sections"><img src="https://agentmods.dev/badge/skills/yandex/kit-skills/kit-custom-sections/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/yandex/kit-skills/kit-custom-sections"><img src="https://agentmods.dev/badge/skills/yandex/kit-skills/kit-custom-sections.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00266 | $0.07934 |
| Opus 5.5 | $0.00106 | $0.03174 |
| Sonnet 5.5 | $0.00053 | $0.01587 |
| Haiku 4.5 | $0.00027 | $0.00793 |
Grade A, and why
kit-custom-sections scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 21d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 259 lines — stays where its author put it; the contents beside it link to each section on GitHub.
When editing this skill or its scripts, first read AGENTS.md, which in turn points at the repository contract.
Яндекс.Кит custom sections (offline)
This skill produces files. It assembles and validates the html + css + json_schema triple of a custom storefront section locally. It makes no network calls, needs no token and uploads nothing — uploading, binding and publishing belong to kit-storefront-constructor, whose exact commands this skill prints for you.
Knowledge freshness
- First action of any scenario:
scripts/section.py doctor— prints the reference build date, age in days, coverage counters and the maximum available check level. - The vendored knowledge (tag registry, helpers, tokens, schemas) is a snapshot. If a tag, helper or
$refis not in the reference — do not invent it; say the knowledge may be stale and suggest rebuilding the reference instead of guessing. references/generated/*are machine-produced; never edit them by hand and never quote them wholesale into context — query them viascripts/section.py ref.
Hard rules
- Не писать html руками — начинать с
patterns list/patterns match. - Свободный HTML только через
freeform --confirmи только после того, какpatterns matchвернул пусто. - Кастомная секция — ровно тройка html + css + json_schema. Поле
scriptу шаблона в контракте бэка есть, но этот скил JS не генерирует — это политика скила, а не ограничение платформы: скрипт исполняется только на собственном домене магазина, а на*.yandex.ru(адрес<slug>.yastore.yandex.ru, превью конструктора) не исполняется вовсе, и офлайн его поведение не проверить. Механика поля —references/manual/rules.md. {{{ }}}не поддерживается;{{!-- --}}печатается как текст; блочный хелпер не работает внутри значения атрибута.- Теги — только из реестра движка (114: 8 встроенных + 44 контроллера + 62 атома; точные счётчики печатает
doctor), из них два без префиксаya-kit:yandex-pay-badge-discount,yandex-pay-badge-split. Неизвестный блочный хелпер = падение секции; неизвестный тег = молчаливая пустота. <script>и<style>внутри html вырезаются молча — CSS только в полеcss.- CSS скоупится платформой автоматически (
#ya-kit-<templateId>) — руками не префиксовать.:global(запрещён: так переписываются стили всей витрины. Одно исключение — контентya-kit-drawer/ya-kit-paranja: платформа рендерит его порталом вне скоупа секции, поэтому он стилизуется только:global(.<уникальный префикс> …)(гейт G6 — WARNING). - Символ
<в CSS запрещён (вырезается вместе с хвостом до>); комбинаторы>и+разрешены. - Цвета и отступы —
var(--ys-*); хардкод hex/rgb перебивает тему магазина, потому что #id-скоуп даёт высокую специфичность. - Каждое
{{settings.X}}обязано быть вpropertiesjson_schema и наоборот. - json_schema — без
oneOf/allOf/if/then/else/patternProperties, иначе секцию потом нельзя редактировать черезkit-storefront-constructor. $ref— только из белого списка (21 резервный + 5 служебных +#/definitions/partials/*+ собственные определения того же документа). Резервный#/definitions/ProductVariant(выбор варианта товара) тела в схеме витрины не имеет: в шаблоне опираться только на ключvariantIdего значения.aliasшаблона пуст у любой секции страницы.YandexKit.Header/YandexKit.Footerставит только режим слота (new/freeform --slot header|footer) и только с--confirm-slot: такой шаблон становится шапкой или подвалом каждой страницы витрины, включая страницы, которые сервер добавит сам. Скрыть секцию в слоте сервер позволяет, но витрина тогда останется без шапки или подвала: нативный блок сам не вернётся (по коду, живьём не проверено). Запуск без--confirm-slotпечатает предупреждение — показать его пользователю и получить явное согласие именно на смену шапки или подвала всей витрины;--confirm-slotбез такого согласия не подставлять. Правила слота (безh1иscript, секция без отступов и на всю ширину, меню только через$ref: #/definitions/MenuIdс id из нативного слота, порядок 1/9999 держит сам слот) —references/manual/rules.md, гейт G12.template_idвешать только на секции с виджетомYandexKit.Mystique. Ни бэк, ни push-гейты конструктора это не проверяют.- Ничего не заливать самому — печатать готовые команды соседа;
--confirmне подставлять и чужой скрипт не запускать. - Живой шаблон править нельзя: витрина инлайнит его актуальную строку во все версии контента, поэтому правка задним числом меняет и старые версии. Залитая секция правится переездом на новый шаблон:
templates export→ правки →lint→templates create→content pullзаново →section set --template-id новый --settings-file→content push --no-publishна просмотр → публикация. Настройки при переезде обязательны: перед тем как отдать команду, сверьте, что каждое заполненное поле живой секции есть в новой схеме. Поля, которому в новой схеме места нет, — это потеря данных: назовите его пользователю и дождитесь решения, молча не выбрасывайте. Обратное тоже меняет вид: ключам новой схемы, которых в живых настройках нет, витрина подставляет ихdefault(по коду витрины с 26.10.2026), поэтому новая функция с умолчанием «включено» появится и у перенесённой секции. Назовите такие ключи пользователю; прежний вид сохраняют только явные значения в--settings-file(что меняется у паттернов каталога при переезде со старой версии, написано в их превью). Просмотр без публикации здесь обязателен, а не по желанию: отката версии у конструктора нет. Если у живого шаблона непустое полеscript, а в новом шаблоне его нет, переезд теряет JS — назовите это пользователю до переезда; переносимый JS покажите ему целиком: у скрипта доступ к странице, и линт его не проверяет.
What ships with it
60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- AGENTS.md 3.9 KB
- agents/openai.yaml 905 B
- references/gates.md 20 KB
- references/generated/controllers.md 5.7 KB
- references/generated/data-context.md 7.1 KB
- references/generated/definitions.json 16 KB
- references/generated/helpers.md 12 KB
- references/generated/manifest.json 7.1 KB
- references/generated/registry.json 60 KB
- references/generated/schema-keywords.md 4.3 KB
- references/generated/tags.md 19 KB
- references/generated/tokens.md 3.1 KB
- references/index.md 3.4 KB
- references/manual/controller-payloads.md 15 KB
- references/manual/pitfalls.md 23 KB
- references/manual/rules.md 28 KB
- references/manual/workflow.md 15 KB
- references/patterns/advantages/answers.schema.json 8.8 KB
- references/patterns/advantages/defaults.json 827 B
- references/patterns/advantages/demo.json 202 B
- references/patterns/advantages/looks.json 1.4 KB
- references/patterns/advantages/pattern.yaml 1022 B
- references/patterns/advantages/preview.md 8.3 KB
- references/patterns/advantages/schema.json 10 KB
- references/patterns/advantages/styles.css 17 KB
- references/patterns/advantages/template.hbs 8.7 KB
- references/patterns/before-after/answers.schema.json 3.8 KB
- references/patterns/before-after/defaults.json 539 B
- references/patterns/before-after/demo.json 90 B
- references/patterns/before-after/pattern.yaml 739 B
- references/patterns/before-after/preview.md 1.4 KB
- references/patterns/before-after/schema.json 4.2 KB
- references/patterns/before-after/styles.css 1.7 KB
- references/patterns/before-after/template.hbs 2.9 KB
- references/patterns/button-row/answers.schema.json 2.7 KB
- references/patterns/button-row/defaults.json 446 B
- references/patterns/button-row/demo.json 90 B
- references/patterns/button-row/looks.json 559 B
- references/patterns/button-row/pattern.yaml 802 B
- references/patterns/button-row/preview.md 5.1 KB
- references/patterns/button-row/schema.json 4.7 KB
- references/patterns/button-row/styles.css 4.7 KB
- references/patterns/button-row/template.hbs 1.4 KB
- references/patterns/cards-with-drawer/answers.schema.json 7.3 KB
- references/patterns/cards-with-drawer/defaults.json 1.5 KB
- references/patterns/cards-with-drawer/demo.json 1.7 KB
- references/patterns/cards-with-drawer/looks.json 447 B
- references/patterns/cards-with-drawer/pattern.yaml 1.2 KB
- references/patterns/cards-with-drawer/preview.md 7.5 KB
- references/patterns/cards-with-drawer/schema.json 6.9 KB
- references/patterns/cards-with-drawer/styles.css 12 KB
- references/patterns/cards-with-drawer/template.hbs 5.4 KB
- references/patterns/category-subnav/answers.schema.json 4.6 KB
- references/patterns/category-subnav/defaults.json 566 B
- references/patterns/category-subnav/demo.json 35 B
- references/patterns/category-subnav/looks.json 741 B
- references/patterns/category-subnav/pattern.yaml 1.0 KB
- references/patterns/category-subnav/preview.md 6.1 KB
- references/patterns/category-subnav/schema.json 7.0 KB
- references/patterns/category-subnav/styles.css 8.2 KB
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 21d ago Changed · +102 lines · +7 tokens per session b856c03c0664
- 23d ago First seen · 157 lines · 259 tokens per session scan A c799725a32e5
kit-custom-sections is a skill published in the GitHub repository yandex/kit-skills (30 stars, last pushed 9d ago), licensed MIT. It adds 266 tokens to every session and 7,934 once invoked, about $0.0011 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-11.
kit-custom-sections compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| kit-custom-sectionsyandex/kit-skills | Skill | 30 | 9d ago | MIT | A | 266 | Claude Code, Codex |
| shopify-theme-optimizationnexscope-ai/eCommerce-Skills | Skill | 1.6k | 23d ago | MIT | A | 25 | Claude Code, Codex |
| shopifyMindrally/skills | Skill | 325 | 1mo ago | Apache-2.0 | A | 27 | Claude Code |
| shopify-theme-development-guidelinesMindrally/skills | Skill | 325 | 1mo ago | Apache-2.0 | A | 25 | Claude Code |
| sf-b2c-ismlOrcaQubits/agentic-commerce-skills-plugins | Skill | 41 | 21d ago | MIT | A | 68 | Claude Code |
| bc-stencilOrcaQubits/agentic-commerce-skills-plugins | Skill | 41 | 21d ago | MIT | A | 50 | Claude Code |
| bc-widgetsOrcaQubits/agentic-commerce-skills-plugins | Skill | 41 | 21d ago | MIT | A | 51 | Claude Code |