1c Db Cfe Admin logo

1c Db Cfe Admin

Community
Desko77
1c-db-cfe-admin

Управление расширениями в базе 1С через ibcmd: список, проверка применимости, безопасный режим, активность, удаление. Используй когда EDT нет и нужно включить или выключить расширение, снять безопасный режим либо удалить расширение из базы. Не используй, если EDT открыта (infobase_admin AI-EDT) или нужна сборка .cfe (скилы 1c-cfe-*).

Overview

PublisherDesko77
Repositoryclaude-code-skills-1c
Skill name1c-db-cfe-admin
Stars
88
Forks
17
Bundled files
3
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 3 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by Desko77 on GitHub. Read the source before you install it.

Installation

Install the 1c Db Cfe Admin AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Desko77/claude-code-skills-1c/tree/main/skills/1c-db-cfe-admin
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Desko77/claude-code-skills-1c.git /tmp/claude-code-skills-1c
mkdir -p .claude/skills
cp -r /tmp/claude-code-skills-1c/skills/1c-db-cfe-admin .claude/skills/1c-db-cfe-admin
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable 1c Db Cfe Admin in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads 1c Db Cfe Admin on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so 1c Db Cfe Admin is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

/db-cfe-admin - Расширения в информационной базе

Управляет расширениями, которые уже лежат в информационной базе: список, проверка, свойства, удаление. Движок один - ibcmd. Конфигуратор и EDT не вызываются.

Когда применять

  • EDT недоступна, а расширение в базе надо включить, выключить, снять с безопасного режима или удалить.
  • Нужно увидеть, какие расширения есть в базе, и проверить, применимо ли названное расширение.

Когда не применять

  • Проект открыт в EDT и доступен AI-EDT. Свойства расширения в базе меняет infobase_admin.
  • Нужно создать исходники расширения, заимствовать объект или собрать файл .cfe. Это скилы 1c-cfe-*.
  • Нужно загрузить .cfe или XML в базу. Это /db-load-cf и /db-load-xml.

Параметры подключения

Прочитай .v8-project.json из корня проекта. Возьми v8path (каталог bin или путь к ibcmd.exe) и разреши базу:

  1. Если пользователь указал параметры подключения (путь, сервер) - используй напрямую
  2. Если указал базу по имени - ищи по id / alias / name в .v8-project.json
  3. Если не указал - сопоставь текущую ветку Git с databases[].branches
  4. Если ветка не совпала - используй default

Если v8path не задан - автоопределение: Get-ChildItem "C:\Program Files\1cv8\*\bin\ibcmd.exe" | Sort FullName | Select -Last 1 Если файла нет - попроси путь к ibcmd.exe в -V8Path. Если использованная база не зарегистрирована - после выполнения предложи добавить через /db-list add.

ibcmd не ходит в кластер 1С. Файловая база передается ключом --db-path (-InfoBasePath). Пара -InfoBaseServer и -InfoBaseRef передается как --db-server и --db-name: сервер и имя базы СУБД, как в справке ibcmd. Тип СУБД - -Dbms (--dbms). Без -Dbms утилита считает базу файловой. Если заданы и путь, и пара сервер/имя, в команду попадает пара: так же цель выбирает защита боевой базы.

База с ролью prod в .v8-project.json отказывает операциям set-properties и delete: скрипт завершается кодом 1, пока не передан -AllowProd. Операции list и check защиту не проходят: они базу не меняют.

Команда

powershell
powershell.exe -NoProfile -File skills/1c-db-cfe-admin/scripts/db-cfe-admin.ps1 <операция> <параметры>

Порт Python: skills/1c-db-cfe-admin/scripts/db-cfe-admin.py. Имена параметров те же. -WhatIf и --dry-run печатают команду ibcmd и не запускают ее.

Операции

ОперацияКоманда ibcmdЧто делает
listinfobase config extension listСписок расширений базы
checkinfobase config check --extension=<имя>Проверка конфигурации расширения в этой базе
set-propertiesinfobase config extension updateСвойства расширения
deleteinfobase config extension deleteУдаление одного расширения или всех (-All)

check соответствует команде infobase config check из справки ibcmd: проверка конфигурации названного расширения. Ключ -Name обязателен.

Параметры скрипта

ПараметрОбязательныйОписание
Operationдаlist, check, set-properties, delete
-V8Path <путь>нетКаталог bin, ibcmd.exe или 1cv8.exe (тогда берется ibcmd.exe рядом)
-InfoBasePath <путь>*Файловая база, ключ --db-path
-InfoBaseServer <сервер>*Сервер СУБД, ключ --db-server
-InfoBaseRef <имя>*Имя базы СУБД, ключ --db-name
-Dbms <тип>нетMSSQLServer, PostgreSQL, IBMDB2, OracleDatabase
-DataPath <путь>нетКаталог данных автономного сервера, ключ --data
-UserName <имя>нетПользователь информационной базы, ключ --user
-Password <пароль>нетПароль, ключ --password. В печатной команде значение заменено на ***
-AllowProdнетРазрешить set-properties и delete на базе с role: prod
-WhatIfнетНапечатать команду ibcmd и выйти с кодом 0. В Python то же делает --dry-run
-Name <имя>**Имя расширения
-AllнетУдалить все расширения. Только с delete, вместе с -Name не задается

* - нужен либо -InfoBasePath, либо пара -InfoBaseServer + -InfoBaseRef

** - обязателен для check, set-properties и delete без -All

Свойства set-properties

Хотя бы одно свойство обязательно. Значения yes и no - как в справке ibcmd.

ПараметрКлюч ibcmdЗначение
-Active--activeyes или no
-SafeMode--safe-modeyes или no
-SecurityProfileName--security-profile-nameИмя профиля безопасности. В справке у ключа написано yes|no, описание ключа - имя профиля. Скрипт передает строку как есть. На ibcmd 8.3.27.1989 строка с именем принимается; в том же запуске безопасный режим становится yes, даже если --safe-mode не передавался
-UnsafeActionProtection--unsafe-action-protectionyes или no
-UsedInDistributedInfobase--used-in-distributed-infobaseyes или no
-Scope--scopeinfobase или data-separation

Коды возврата

КодОписание
0Успешно, либо -WhatIf
1Ошибка параметров, отказ защиты боевой базы или ненулевой код ibcmd

Ограничения

  • ibcmd.exe входит в компонент автономного сервера и ставится с платформой не всегда: в каталоге bin установленной платформы его может не быть. Тогда путь к ibcmd.exe передается в -V8Path.
  • Для серверной базы ibcmd подключается к СУБД: -InfoBaseServer и -InfoBaseRef - сервер и имя базы СУБД, а не кластер 1С. Защита боевой базы сравнивает их с полями server и ref записи .v8-project.json; если там записаны имена кластера, запись не совпадет и защита не сработает. Для серверной боевой базы указывать в записи сервер и имя базы СУБД либо не выполнять изменяющие операции без явной команды пользователя.
  • set-properties -SecurityProfileName в одном вызове с другими свойствами может вернуть безопасный режим во включенное состояние (замер 8.3.27.1989): после вызова проверить свойства командой list.

Примеры

powershell
# Список расширений файловой базы
powershell.exe -NoProfile -File skills/1c-db-cfe-admin/scripts/db-cfe-admin.ps1 list -InfoBasePath "C:\Bases\MyDB"

# Проверка применимости расширения
powershell.exe -NoProfile -File skills/1c-db-cfe-admin/scripts/db-cfe-admin.ps1 check -InfoBasePath "C:\Bases\MyDB" -Name "МоеРасширение"

# Снять безопасный режим и оставить расширение активным
powershell.exe -NoProfile -File skills/1c-db-cfe-admin/scripts/db-cfe-admin.ps1 set-properties -InfoBasePath "C:\Bases\MyDB" -Name "МоеРасширение" -SafeMode no -Active yes

# Удаление
powershell.exe -NoProfile -File skills/1c-db-cfe-admin/scripts/db-cfe-admin.ps1 delete -InfoBasePath "C:\Bases\MyDB" -Name "МоеРасширение"

# Команда без запуска
powershell.exe -NoProfile -File skills/1c-db-cfe-admin/scripts/db-cfe-admin.ps1 delete -InfoBasePath "C:\Bases\MyDB" -Name "МоеРасширение" -WhatIf

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the 1c Db Cfe Admin AI skill do?

Управление расширениями в базе 1С через ibcmd: список, проверка применимости, безопасный режим, активность, удаление. Используй когда EDT нет и нужно включить или выключить расширение, снять безопасный режим либо удалить расширение из базы. Не используй, если EDT открыта (infobase_admin AI-EDT) или нужна сборка .cfe (скилы 1c-cfe-*).

Why use 1c Db Cfe Admin on TypingMind?

Because you install it once and use it with any model. 1c Db Cfe Admin is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install 1c Db Cfe Admin in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Desko77/claude-code-skills-1c/tree/main/skills/1c-db-cfe-admin. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use 1c Db Cfe Admin?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with 1c Db Cfe Admin?

As many as you like. As long as a model supports skills, you can use 1c Db Cfe Admin with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the 1c Db Cfe Admin AI skill free?

Yes. It is published on GitHub by Desko77 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇