Заимствование объектов из конфигурации 1С в расширение (CFE).

MITAuto-check: notes

Install Cfe Borrow

skills CLI
$ npx skills add Nikolay-Shirokov/cc-1c-skills --skill cfe-borrow -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Nikolay-Shirokov/cc-1c-skills cfe-borrow --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Nikolay-Shirokov/cc-1c-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/cfe-borrow .claude/skills/cfe-borrow && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cfe-borrow
GitHub stars
680
Token cost
~1.4k tokens
SKILL.md length
403 words
Files
3 (incl. scripts)
Skills in repo
81
Repo updated
First seen
Licence
MIT

At a glance

Заимствование объектов из конфигурации 1С в расширение (CFE).

  • Works in 4 steps: Прочитай .v8-project.json из корня проекта → Разреши целевую базу (по имени, ветке… → Если у базы есть поле configSrc —… → …
  • SKILL.md covers Предусловие, Параметры, Формат -Object and Команда, plus 2 more sections
  • Runs PowerShell and Python scripts from its folder

What it does

Cfe Borrow is an agent skill from Nikolay-Shirokov/cc-1c-skills. Заимствование объектов из конфигурации 1С в расширение (CFE). Используй когда нужно перехватить метод, изменить форму или добавить реквизит к существующему объекту конфигурации

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including scripts (for example `scripts/cfe-borrow.py`).

The repository describes itself as: Набор навыков для AI(ИИ)-агентов (Claude Code, Cursor, Codex и др.), помогающий охватить полный цикл разработки на платформе 1С:Предприятие 8.3. Даёт модели абстракции над… The licence is MIT.

Example prompts

  • “/cfe-borrow”

Requirements

  • Python 3
  • PowerShell
  • Pre-approved tools (allowed-tools): Bash, Read, Glob

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Прочитай .v8-project.json из корня проекта
  2. Разреши целевую базу (по имени, ветке или default — алгоритм из /db-list)
  3. Если у базы есть поле configSrc — используй как -ConfigPath
  4. Если configSrc нет — спроси у пользователя

What it can do on your machine

Read from SKILL.md and the folder at commit 1fa205b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash
    • Read
    • Glob

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (PowerShell and Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Cfe Borrow loads about 1.4k tokens when it runs. Until then it costs about 47 tokens; SKILL.md has 403 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~47
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash, Read, Glob

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from Nikolay-Shirokov/cc-1c-skills at commit 1fa205b, republished under its MIT licence (© Nikolay-Shirokov). 403 words, ~1,417 tokens.

Download SKILL.mdSave it as .claude/skills/cfe-borrow/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
cfe-borrow
description
Заимствование объектов из конфигурации 1С в расширение (CFE). Используй когда нужно перехватить метод, изменить форму или добавить реквизит к существующему объекту конфигурации
allowed-tools
Bash, Read, Glob
argument-hint
-ExtensionPath <path> -ConfigPath <path> -Object "Catalog.Контрагенты.Form.ФормаЭлемента" -BorrowMainAttribute Form

/cfe-borrow — Заимствование объектов из конфигурации

Заимствует объекты из основной конфигурации в расширение. Создаёт XML-файлы с ObjectBelonging=Adopted и ExtendedConfigurationObject, добавляет запись в ChildObjects расширения.

Предусловие

Расширение должно быть создано (/cfe-init) и содержать валидный Configuration.xml.

Авто-определение ConfigPath

Если пользователь не указал -ConfigPath — попробуй определить автоматически:

  1. Прочитай .v8-project.json из корня проекта
  2. Разреши целевую базу (по имени, ветке или default — алгоритм из /db-list)
  3. Если у базы есть поле configSrc — используй как -ConfigPath
  4. Если configSrc нет — спроси у пользователя

Параметры

ПараметрОписание
ExtensionPathПуть к каталогу расширения (обязат.)
ConfigPathПуть к конфигурации-источнику (обязат.)
ObjectЧто заимствовать (обязат.), batch через ;;
ModuleСоздать пустые модули объекта: ObjectModule, ManagerModule, RecordSetModule, ValueManagerModule (через запятую) или None. У типов с единственным модулем (CommonModule, HTTPService, WebService) он создаётся и без параметра
BorrowMainAttributeЗаимствовать основной реквизит формы: Form — реквизиты, используемые на форме, All — все реквизиты объекта. Не указан — не заимствует. Требует форму в -Object

Формат -Object

  • Catalog.Контрагенты — справочник
  • CommonModule.РаботаСФайлами — общий модуль
  • Document.РеализацияТоваров — документ
  • Enum.ВидыОплат — перечисление
  • Catalog.Контрагенты.Form.ФормаЭлемента — форма объекта (заимствование формы)
  • CommonForm.ВыборПериода — общая форма, вместе с содержимым (как форма объекта). С -BorrowMainAttribute владелец берётся из типа основного реквизита: объект (DataProcessorObject.X и т.п.), основная таблица динамического списка или константы набора констант
  • Catalog.X ;; CommonModule.Y ;; Enum.Z — несколько объектов
Заимствование форм

Формат Тип.Имя.Form.ИмяФормы заимствует форму конкретного объекта. Если родительский объект ещё не заимствован — он будет заимствован автоматически.

Создаётся:

  1. Метаданные формы — Forms/ИмяФормы.xml с ObjectBelonging=Adopted, FormType=Managed
  2. Form.xml — Forms/ИмяФормы/Ext/Form.xml с копией исходной формы + <BaseForm> (начальное состояние)
  3. Module.bsl — пустой файл Forms/ИмяФормы/Ext/Form/Module.bsl
  4. Регистрация — <Form> в ChildObjects родительского объекта
Show full SKILL.md (159 more words)Show less
Заимствование основного реквизита формы (-BorrowMainAttribute)

Когда нужно: пользователь хочет добавить новый реквизит в существующий объект конфигурации и вывести его на заимствованную форму. Без -BorrowMainAttribute форма заимствуется "пустой" — только визуальные элементы, без привязки к данным объекта. С -BorrowMainAttribute форма сохраняет привязки к реквизитам объекта (DataPath), что позволяет затем добавить на неё новые элементы через /form-edit.

Два режима:

  • Form — заимствует только те реквизиты объекта, которые уже выведены на форму. Оптимальный выбор для большинства случаев
  • All — заимствует все реквизиты и табличные части объекта. Используй если планируешь выводить на форму реквизиты, которых на ней ещё нет

Типовой сценарий (добавление реквизита + вывод на форму):

  1. /cfe-borrow с -BorrowMainAttribute — заимствовать форму с реквизитами
  2. /meta-edit — добавить новый реквизит в объект расширения
  3. /form-edit — вывести реквизит на заимствованную форму

Защита существующих данных: уже заимствованный объект не перезаписывается — добавляется только недостающее. Повторный вызов безопасен: собственные реквизиты расширения, заимствованные подобъекты и код в модулях сохраняются.

Команда

powershell
powershell.exe -NoProfile -File "${CLAUDE_SKILL_DIR}/scripts/cfe-borrow.ps1" -ExtensionPath src\cfe\extname -ConfigPath src\cf -Object "Catalog.Контрагенты"

Примеры

powershell
# Заимствовать один объект
... -ExtensionPath src\cfe\extname -ConfigPath src\cf -Object "Catalog.Контрагенты"

# Заимствовать справочник вместе с модулями объекта и менеджера
... -ExtensionPath src\cfe\extname -ConfigPath src\cf -Object "Catalog.Контрагенты" -Module ObjectModule,ManagerModule

# Общий модуль без файла модуля
... -ExtensionPath src\cfe\extname -ConfigPath src\cf -Object "CommonModule.РаботаСФайлами" -Module None

# Заимствовать форму (автоматически заимствует родительский объект)
... -ExtensionPath src\cfe\extname -ConfigPath src\cf -Object "Catalog.Контрагенты.Form.ФормаЭлемента"

# Несколько объектов за раз
... -ExtensionPath src\cfe\extname -ConfigPath src\cf -Object "Catalog.Контрагенты ;; CommonModule.ОбщийМодуль ;; Enum.ВидыОплат"

# Заимствовать форму с основным реквизитом (реквизиты по DataPath формы)
... -ExtensionPath src\cfe\extname -ConfigPath src\cf -Object "Catalog.Номенклатура.Form.ФормаЭлемента" -BorrowMainAttribute Form

# Заимствовать форму с ВСЕМИ реквизитами объекта
... -ExtensionPath src\cfe\extname -ConfigPath src\cf -Object "Catalog.Номенклатура.Form.ФормаЭлемента" -BorrowMainAttribute All

Верификация

/cfe-validate <ExtensionPath> -ConfigPath <ConfigPath>

Конфигурацию-источник передавай и валидатору: заимствованные формы он проверяет по ней.

© Nikolay-Shirokov, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (scripts) in .claude/skills/cfe-borrow of Nikolay-Shirokov/cc-1c-skills.

  • SKILL.md
  • scripts/cfe-borrow.ps1
  • scripts/cfe-borrow.py

Open the folder on GitHubat commit 1fa205b

Compare with similar skills

Cfe Borrow next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Cfe Borrow compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cfe Borrow this skillNikolay-Shirokov/cc-1c-skills680—~1.4kAutomated safety check: NotesMIT
Cfe BorrowArman-Kudaibergenov/1c-ai-development-kit166—~467Automated safety check: NotesAGPL-3.0
Cfe BorrowIngvarConsulting/unica220—~1.1kAutomated safety check: PassCustom licence
Cfe InitArman-Kudaibergenov/1c-ai-development-kit166—~569Automated safety check: NotesAGPL-3.0
Rust Ownership Borrowinghashgraph-online/awesome-codex-plugins1.3k—~911Automated safety check: PassMIT
Cfe DiffIngvarConsulting/unica220—~1.2kAutomated safety check: PassCustom licence

Similar skills

  • Cfe Borrow

    Arman-Kudaibergenov/1c-ai-development-kit

    Этот скилл MUST быть вызван когда нужно заимствовать объект из конфигурации в расширение (CFE): перехватить метод, изменить форму, добавить реквизит.

    166 GitHub stars~467 tokensUpdated 4 mo ago
    Agent WorkflowsAuto-check: notes
  • Cfe Borrow

    IngvarConsulting/unica

    Заимствовать объект верхнего уровня из конфигурации 1С в расширение или обновить ранее заимствованный объект, сохранив его идентификаторы и локальные перекрытия.

    220 GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Cfe Init

    Arman-Kudaibergenov/1c-ai-development-kit

    Этот скилл MUST быть вызван когда пользователь просит создать новое расширение конфигурации (CFE) для исправления, доработки или дополнения.

    166 GitHub stars~569 tokensUpdated 4 mo ago
    Agent WorkflowsAuto-check: notes
  • Rust Ownership Borrowing

    hashgraph-online/awesome-codex-plugins

    Design and review Rust ownership, borrowing, lifetimes, and interior mutability so data flow matches the domain model.

    1.3k GitHub stars~911 tokensUpdated today
    DevelopmentAuto-check passed
  • Cfe Diff

    IngvarConsulting/unica

    Анализ расширения конфигурации 1С (CFE) — состав, заимствованные объекты, перехватчики, сверка с конфигурацией.

    220 GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Cfe Abstract

    brycewang-stanford/Awesome-Journal-Skills

    A skill your agent uses when drafting or revising the 中文摘要 or 英文 abstract for a 《财经研究》 (Journal of Finance and Economics) manuscript.

    1.2k GitHub stars~694 tokensUpdated 13 days ago
    Auto-check passed

More from Nikolay-Shirokov/cc-1c-skills

All 81 skills in this repo
  • DB Repo

    Nikolay-Shirokov/cc-1c-skills

    Работа с хранилищем конфигурации 1С. An agent skill from Nikolay-Shirokov/cc-1c-skills.

    680 GitHub stars~2.4k tokensUpdated 5 days ago
    Auto-check: notes
  • Form Compile

    Nikolay-Shirokov/cc-1c-skills

    Компиляция управляемой формы 1С из JSON-определения или из метаданных объекта.

    680 GitHub stars~4.5k tokensUpdated 5 days ago
    Auto-check: notes
  • Cf Edit

    Nikolay-Shirokov/cc-1c-skills

    Точечное редактирование конфигурации 1С. An agent skill from Nikolay-Shirokov/cc-1c-skills.

    680 GitHub starsUsed in 1 repo~706 tokens
    Auto-check: notes
  • Form Edit

    Nikolay-Shirokov/cc-1c-skills

    Правка существующей управляемой формы 1С — элементы, реквизиты, команды и свойства самой формы.

    680 GitHub stars~2.9k tokensUpdated 5 days ago
    Auto-check: notes
  • Cf Init

    Nikolay-Shirokov/cc-1c-skills

    Создать пустую конфигурацию 1С (scaffold XML-исходников). An agent skill from Nikolay-Shirokov/cc-1c-skills.

    680 GitHub starsUsed in 1 repo~603 tokens
    Auto-check: notes
  • Cfe Init

    Nikolay-Shirokov/cc-1c-skills

    Создать расширение конфигурации 1С (CFE) — scaffold XML-исходников.

    680 GitHub starsUsed in 1 repo~717 tokens
    Auto-check: notes

Questions about Cfe Borrow

What does Cfe Borrow do?

Заимствование объектов из конфигурации 1С в расширение (CFE). Cfe Borrow is an agent skill from Nikolay-Shirokov/cc-1c-skills. Заимствование объектов из конфигурации 1С в расширение (CFE).

How do I install Cfe Borrow in Claude Code?

Run `npx skills add Nikolay-Shirokov/cc-1c-skills --skill cfe-borrow -a claude-code`. Or copy the skill folder (.claude/skills/cfe-borrow in Nikolay-Shirokov/cc-1c-skills) into .claude/skills/cfe-borrow in your project. Claude Code loads it when a task matches its description.

How do I install Cfe Borrow in Codex?

Run `npx skills add Nikolay-Shirokov/cc-1c-skills --skill cfe-borrow -a codex`. Or copy the skill folder (.claude/skills/cfe-borrow in Nikolay-Shirokov/cc-1c-skills) into .agents/skills/cfe-borrow in your project. Codex loads it when a task matches its description.

Can I use Cfe Borrow in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Nikolay-Shirokov/cc-1c-skills --skill cfe-borrow -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cfe-borrow, .gemini/skills/cfe-borrow, .github/skills/cfe-borrow and .opencode/skills/cfe-borrow in your project.

What does Cfe Borrow need to run?

Going by SKILL.md and its folder, Cfe Borrow needs PowerShell and Python for the scripts in its folder. Our summary lists: Python 3; PowerShell. Its frontmatter pre-approves these tools: Bash, Read, Glob.

Does Cfe Borrow access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Cfe Borrow safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Cfe Borrow use?

Cfe Borrow is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Cfe Borrow use?

About 1.4k tokens (SKILL.md is roughly 5.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Cfe Borrow?

Skills that share tags, products or a category with Cfe Borrow: Cfe Borrow (Arman-Kudaibergenov/1c-ai-development-kit, 166 stars), Cfe Borrow (IngvarConsulting/unica, 220 stars), Cfe Init (Arman-Kudaibergenov/1c-ai-development-kit, 166 stars) and Rust Ownership Borrowing (hashgraph-online/awesome-codex-plugins, 1.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cfe Borrow?

Nikolay-Shirokov (a GitHub user) maintains it in Nikolay-Shirokov/cc-1c-skills, which has 680 GitHub stars. The repository holds 81 skills in this directory. The repository was last updated on October 5, 2026.

Source: Nikolay-Shirokov/cc-1c-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.