template-add

template-add is a skill for Claude Code from Nikolay-Shirokov/cc-1c-skills. It costs 26 tokens per session (1,174 once invoked), scanned A, original, MIT.

A command for adding an empty layout to a 1C object, such as a report, catalog, or document.

In plain words
What is it for?
Use it to add a named layout of a specified type to a 1C object's XML definition.
Why use it?
It creates and registers the layout structure so the object can later use it for HTML, text, spreadsheet, binary, or data-composition content.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the 1c-skills plugin — 81 skills, 2 hooks shipped together

Good fit Use it to add a named layout of a specified type to a 1C object's XML definition.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nikolay-shirokov/cc-1c-skills/template-add
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 Nikolay-Shirokov/cc-1c-skills --skill template-add
Clone the repo
git clone --depth 1 https://github.com/Nikolay-Shirokov/cc-1c-skills

Made for: Claude Code.

Or install 1c-skills, the plugin that ships this one along with the rest of its 81 skills, 2 hooks.

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 template-add

README.md
[![agentmods](https://agentmods.dev/badge/skills/nikolay-shirokov/cc-1c-skills/template-add/github.svg)](https://agentmods.dev/skills/nikolay-shirokov/cc-1c-skills/template-add)
Your own site
<a href="https://agentmods.dev/skills/nikolay-shirokov/cc-1c-skills/template-add"><img src="https://agentmods.dev/badge/skills/nikolay-shirokov/cc-1c-skills/template-add/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 template-add

Your own site · 80×15
<a href="https://agentmods.dev/skills/nikolay-shirokov/cc-1c-skills/template-add"><img src="https://agentmods.dev/badge/skills/nikolay-shirokov/cc-1c-skills/template-add.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,174 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium analysis-evasion · line 1
    Suspicious Unicode normalization or mixed-script content
    Fix: Review the flagged content for security risks. Ensure no credentials, secrets, or sensitive data are exposed.
How audits are shown
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.00026 $0.01174
Opus 5.5 $0.00010 $0.00470
Sonnet 5.5 $0.00005 $0.00235
Haiku 4.5 $0.00003 $0.00117

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

Security

Grade A, and why

template-add 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 5d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/add-template.ps1, scripts/add-template.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

.claude/skills/template-add/SKILL.md · 92 lines

How it starts

The opening of the file, as written. The whole thing — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/template-add — Добавление макета

Создаёт макет указанного типа и регистрирует его в корневом XML объекта.

Usage

/template-add <ObjectName> <TemplateName> <TemplateType>
Параметр Обязательный По умолчанию Описание
ObjectName да — Имя объекта
TemplateName да — Имя макета
TemplateType да — Тип: HTML, Text, SpreadsheetDocument, BinaryData, DataCompositionSchema
Synonym нет = TemplateName Синоним макета
Lang нет ru Код языка страницы — только для типа HTML. Повторный вызов с другим языком добавляет страницу в существующий макет
SrcDir нет src Путь к папке типа объектов (Reports, DataProcessors, Catalogs, Documents...), внутри которой лежит <ObjectName>.xml. Дефолт src подходит для каталогов с внешними обработками/отчётами, лежащими рядом
-SetMainSKD нет — Принудительно установить MainDataCompositionSchema

Команда

powershell.exe -NoProfile -File "${CLAUDE_SKILL_DIR}/scripts/add-template.ps1" -ObjectName "<ObjectName>" -TemplateName "<TemplateName>" -TemplateType "<TemplateType>" [-Synonym "<Synonym>"] [-Lang "<Lang>"] [-SrcDir "<SrcDir>"] [-SetMainSKD]

Пример

Добавить основную СКД к отчёту в расширении:

powershell.exe -NoProfile -File "${CLAUDE_SKILL_DIR}/scripts/add-template.ps1" -ObjectName "ОтчётПродажи" -TemplateName "ОсновнаяСхемаКомпоновкиДанных" -TemplateType "DataCompositionSchema" -SrcDir "src/cfe/МоёРасширение/Reports"

Маппинг типов

Пользователь может указать тип в свободной форме. Определи нужный по контексту:

Read the full file on GitHub · 92 lines

Files

What ships with it

2 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. 5d ago Changed 98a7df41e771
  2. 1mo ago Changed · +2 lines 9d3b4a3720be
  3. 1mo ago First seen · 90 lines · 26 tokens per session scan A 73649a0090cc

Subscribe to this mod's changes

template-add is a skill published in the GitHub repository Nikolay-Shirokov/cc-1c-skills (730 stars, last pushed yesterday), licensed MIT. It adds 26 tokens to every session and 1,174 once invoked, about $0.0001 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-09-03.