template-add

template-add is a skill for Claude Code from Nikolay-Shirokov/cc-1c-skills. It costs 26 tokens per session (1,104 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 — 79 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 79 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,104 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.01104
Opus 5 $0.00013 $0.00552
Sonnet 5 $0.00005 $0.00221
Haiku 4.5 $0.00003 $0.00110

Measured 8d ago against content hash 73649a0090cc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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 8d 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 · 90 lines

How it starts

The opening of the file, as written. The whole thing — 90 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 Синоним макета
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>"] [-SrcDir "<SrcDir>"] [-SetMainSKD]

Пример

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

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

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

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

Пользователь пишет TemplateType Расширение Содержимое
HTML HTMLDocument .html Пустой HTML-документ
Text, текстовый документ, текст TextDocument .txt Пустой файл
SpreadsheetDocument, табличный документ, MXL SpreadsheetDocument .xml Минимальный spreadsheet
BinaryData, двоичные данные BinaryData .bin Пустой файл
DataCompositionSchema, СКД, схема компоновки DataCompositionSchema .xml Минимальная DCS-схема

Read the full file on GitHub · 90 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. 8d 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 (591 stars, last pushed 4d ago), licensed MIT. It adds 26 tokens to every session and 1,104 once invoked, about $0.0001 per session on Opus 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.

Related

Other skills, from other repositories

mxl-info

A tool for examining the structure of an MXL tabular document, the 1C format used for printable spreadsheet-like layouts. It shows layout areas, settings, and column sets.

IngvarConsulting/unica · 45 tokens

mxl-compile

A tool for compiling a JSON description into an MXL tabular document, the 1C format used for printable spreadsheet-like layouts.

IngvarConsulting/unica · 34 tokens

mxl-decompile

A tool for converting an MXL tabular document—the 1C format for printable spreadsheet-like layouts—into a JSON description. JSON is a text format that is easier to read and edit.

IngvarConsulting/unica · 39 tokens

officecli-financial-model

Use this skill when the user wants to build a financial model — 3-statement model, DCF valuation, LBO, SaaS unit economics, sensitivity / scenario analysis, debt schedule, or fundraising projections — in Excel. Trigger on: 'financial model', '3-statement model', 'P&L + BS + CF', 'DCF', 'WACC', 'NPV', 'terminal value'…

iOfficeAI/OfficeCLI · 222 tokens

xlsx

Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or…

agentscope-ai/QwenPaw · 201 tokens

xlsx

A guide for working with spreadsheet files such as Excel workbooks, CSV files, and TSV files.

agentscope-ai/QwenPaw · 232 tokens