Skip to content
Development
Skill

/1c-live-ib

Answer what only the running infobase knows — does a query parse, what it returns on real data, does a BSL fragment run, what the event log recorded — via the 1c-data-mcp service on the infobase. Read-only by default; any mutation needs explicit user consent.

BOOST
From plugin
ai-rules-1c
48732 skills13 agents45 commands
Install
$ npx -y skills add comol/ai_rules_1c --skill 1c-live-ib --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/1c-live-ib

Context preview

The summary Claude sees to decide when to auto-load this skill.

Answer what only the running infobase knows — does a query parse, what it returns on real data, does a BSL fragment run, what the event log recorded — via the 1c-data-mcp service on the infobase. Read-only by default; any mutation needs explicit user consent.

SKILL.md

1c-live-ib.SKILL.md
name: 1c-live-ib
description: "Answer what only the running infobase knows — does a query parse, what it returns on real data, does a BSL fragment run, what the event log recorded — via the 1c-data-mcp service on the infobase. Read-only by default; any mutation needs explicit user consent."
argument-hint: "<query text | bsl fragment | lasterror>"
allowed-tools: mcp__1c-data-mcp__validatequery, mcp__1c-data-mcp__vcexecutequery, mcp__1c-data-mcp__vcexecutecode, mcp__1c-data-mcp__vcloggetlasterror

1c-live-ib — the running infobase

Escalate here only when the configuration dump, the static validators and the docs cannot answer: "does it run *now* in *this* IB". Never a replacement for `1c-validate`. Available only when the tools are exposed in the session; a configured URL proves nothing, and fake "execution output" is a defect.

Tools and exact arguments

| Need | Call | Arguments | Pass criterion | |---|---|---|---| | Does the query parse | `vcvalidatequery` | `querytext` | `"нет ошибок"` — parse only, no metadata or RLS check | | What does it return on real data | `vcexecutequery` | `querytext` with parameters embedded in the text | text table | | Does the fragment run on this platform | `vcexecutecode` | `bslcode`; assign `Результат = …` to get a value back | `"ошибок нет"` or the error text | | Last error in the event log | `vcloggetlasterror` | — (24 h window, level `Ошибка`, one record) | formatted record or `"ошибок не найдено"` |

Calls

{"tool": "vcvalidatequery", "args": {"querytext": "ВЫБРАТЬ Т.Ссылка ИЗ Справочник.Контрагенты КАК Т ГДЕ Т.ИНН = \"7701234567\""}}
{"tool": "vcexecutequery", "args": {"querytext": "ВЫБРАТЬ ПЕРВЫЕ 5 Т.Ссылка, Т.ИНН ИЗ Справочник.Контрагенты КАК Т"}}
{"tool": "vcexecutecode", "args": {"bslcode": "Результат = Строка(Метаданные.Справочники.Контрагенты.Реквизиты.ИНН.Тип.КвалификаторыСтроки.Длина);"}}
{"tool": "vcloggetlasterror", "args": {}}

Safety

  • Read-only first: `vcvalidatequery` → `vcexecutequery`; non-mutating fragments for `vcexecutecode`.
  • No `Записать()`, `Удалить()`, `НачатьТранзакцию`, register movements without asking the user, naming the object and having a rollback plan; on a production IB (`.dev.env` `INFOBASE_ROLE=prod`) refuse and request a copy.
  • No secrets or personal data in `bslcode` / `querytext` — they travel over HTTP and may be logged.
  • Validate AI-generated text first (`vcvalidatequery`, `syntaxcheck`), then run it here.
  • Gate 3a (`content/rules/verification-gates.md`) uses only the read-only tools.

Where it sits in the playbooks: error fixing step 2 and 6, performance step 5, new-code step 5 — `content/rules/tooling-playbooks.md`. Setup and 401/403 troubleshooting — `content/commands/checkmcp.md`. Details: `content/skills/mcp-1c-tools/docs/1c-data-mcp.md`.

Read more
Ships withai-rules-1c

Rules\skills\subagens for vibecoding in 1C(bsl)

Get the whole plugin

Other skills on ai-rules-1c.