kit-custom-sections

kit-custom-sections is a skill for Claude Code, Codex from yandex/kit-skills. It costs 266 tokens per session (7,934 once invoked), scanned A, original, MIT.

An offline builder for custom sections in a Yandex KIT storefront. It fills verified section patterns and produces validated HTML, CSS, and a JSON Schema file; it does not upload or publish anything.

In plain words
What is it for?
Use it to create sections such as hero areas, calls to action, FAQs, product shelves, reviews, listings, and text-with-media layouts.
Why use it?
It lets you prepare a storefront section without network access or store credentials. Validation helps catch unsupported structure before another tool uploads it.

Skill for Claude CodeCodex

Written for Claude Code and Codex: allowed-tools in frontmatter, but also agents/openai.yaml present. Also seen: mentions AGENTS.md.

Part of the kit-skills plugin — 5 skills shipped together

Good fit Use it to create sections such as hero areas, calls to action, FAQs, product shelves, reviews, listings, and text-with-media layouts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yandex/kit-skills/kit-custom-sections
Install

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.

Any agent
npx skills add yandex/kit-skills --skill kit-custom-sections
Clone the repo
git clone --depth 1 https://github.com/yandex/kit-skills

Made for: Claude Code, Codex.

Or install kit-skills, the plugin that ships this one along with the rest of its 5 skills.

Wrote 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.

agentmods badge for kit-custom-sections

README.md
[![agentmods](https://agentmods.dev/badge/skills/yandex/kit-skills/kit-custom-sections/github.svg)](https://agentmods.dev/skills/yandex/kit-skills/kit-custom-sections)
Your own site
<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.

agentmods 80×15 button for kit-custom-sections

Your own site · 80×15
<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>
Per session 266 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,934 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 21d ago against content hash b856c03c0664, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

skills/kit-custom-sections/SKILL.md · 259 lines

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

  1. 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.
  2. The vendored knowledge (tag registry, helpers, tokens, schemas) is a snapshot. If a tag, helper or $ref is not in the reference — do not invent it; say the knowledge may be stale and suggest rebuilding the reference instead of guessing.
  3. references/generated/* are machine-produced; never edit them by hand and never quote them wholesale into context — query them via scripts/section.py ref.

Hard rules

  1. Не писать html руками — начинать с patterns list / patterns match.
  2. Свободный HTML только через freeform --confirm и только после того, как patterns match вернул пусто.
  3. Кастомная секция — ровно тройка html + css + json_schema. Поле script у шаблона в контракте бэка есть, но этот скил JS не генерирует — это политика скила, а не ограничение платформы: скрипт исполняется только на собственном домене магазина, а на *.yandex.ru (адрес <slug>.yastore.yandex.ru, превью конструктора) не исполняется вовсе, и офлайн его поведение не проверить. Механика поля — references/manual/rules.md.
  4. {{{ }}} не поддерживается; {{!-- --}} печатается как текст; блочный хелпер не работает внутри значения атрибута.
  5. Теги — только из реестра движка (114: 8 встроенных + 44 контроллера + 62 атома; точные счётчики печатает doctor), из них два без префикса ya-kit: yandex-pay-badge-discount, yandex-pay-badge-split. Неизвестный блочный хелпер = падение секции; неизвестный тег = молчаливая пустота.
  6. <script> и <style> внутри html вырезаются молча — CSS только в поле css.
  7. CSS скоупится платформой автоматически (#ya-kit-<templateId>) — руками не префиксовать. :global( запрещён: так переписываются стили всей витрины. Одно исключение — контент ya-kit-drawer/ya-kit-paranja: платформа рендерит его порталом вне скоупа секции, поэтому он стилизуется только :global(.<уникальный префикс> …) (гейт G6 — WARNING).
  8. Символ < в CSS запрещён (вырезается вместе с хвостом до >); комбинаторы > и + разрешены.
  9. Цвета и отступы — var(--ys-*); хардкод hex/rgb перебивает тему магазина, потому что #id-скоуп даёт высокую специфичность.
  10. Каждое {{settings.X}} обязано быть в properties json_schema и наоборот.
  11. json_schema — без oneOf/allOf/if/then/else/patternProperties, иначе секцию потом нельзя редактировать через kit-storefront-constructor.
  12. $ref — только из белого списка (21 резервный + 5 служебных + #/definitions/partials/* + собственные определения того же документа). Резервный #/definitions/ProductVariant (выбор варианта товара) тела в схеме витрины не имеет: в шаблоне опираться только на ключ variantId его значения.
  13. 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.
  14. template_id вешать только на секции с виджетом YandexKit.Mystique. Ни бэк, ни push-гейты конструктора это не проверяют.
  15. Ничего не заливать самому — печатать готовые команды соседа; --confirm не подставлять и чужой скрипт не запускать.
  16. Живой шаблон править нельзя: витрина инлайнит его актуальную строку во все версии контента, поэтому правка задним числом меняет и старые версии. Залитая секция правится переездом на новый шаблон: 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 покажите ему целиком: у скрипта доступ к странице, и линт его не проверяет.

Read the full file on GitHub · 259 lines

Files

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.

Changes

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.

  1. 21d ago Changed · +102 lines · +7 tokens per session b856c03c0664
  2. 23d ago First seen · 157 lines · 259 tokens per session scan A c799725a32e5

Subscribe to this mod's changes

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.

Related

kit-custom-sections compared with skills from other repositories

kit-custom-sections next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
kit-custom-sectionsyandex/kit-skillsSkill309d agoMITA266Claude Code, Codex
shopify-theme-optimizationnexscope-ai/eCommerce-SkillsSkill1.6k23d agoMITA25Claude Code, Codex
shopifyMindrally/skillsSkill3251mo agoApache-2.0A27Claude Code
shopify-theme-development-guidelinesMindrally/skillsSkill3251mo agoApache-2.0A25Claude Code
sf-b2c-ismlOrcaQubits/agentic-commerce-skills-pluginsSkill4121d agoMITA68Claude Code
bc-stencilOrcaQubits/agentic-commerce-skills-pluginsSkill4121d agoMITA50Claude Code
bc-widgetsOrcaQubits/agentic-commerce-skills-pluginsSkill4121d agoMITA51Claude Code