A unified skill for analyzing and inspecting any 1C object from an XML dump. Replaces the separate cf-info, meta-info, form-info, skd-info, mxl-info, subsystem-info, role-info.
1. Configuration (Configuration.xml)
Reads Configuration.xml from the configuration dump and outputs a compact description of the structure.
Parameters
| Parameter | Description |
|---|---|
ConfigPath |
Path to Configuration.xml or to the dump directory |
Mode |
overview (default), brief, full |
Limit / Offset |
Pagination (150 lines by default) |
OutFile |
Write the result to a file (UTF-8 BOM) |
powershell.exe -NoProfile -File .claude/skills/inspect/scripts/cf-info.ps1 -ConfigPath "<путь>"
Modes
| Mode | What it shows |
|---|---|
overview (default) |
Header + key properties + table of object counters by type |
brief |
One line: Name — "Synonym" vVersion | N objects | compatibility |
full |
All properties by category + full list of ChildObjects + DefaultRoles + mobile functionalities |
Examples
# Обзор конфигурации
... -ConfigPath upload/cfempty
# Краткая сводка
... -ConfigPath upload/acc_8.3.24 -Mode brief
# Полная информация с пагинацией
... -ConfigPath upload/acc_8.3.24 -Mode full -Limit 50 -Offset 100
2. Metadata object (XML dump)
Reads the XML of a metadata object and outputs a compact description: attributes, tabular sections, forms, movements, types.
Parameters
| Parameter | Description |
|---|---|
ObjectPath |
Path to the XML file of the object or to the directory (auto-resolve <name>/<name>.xml) |
Mode |
overview (default), brief, full |
Name |
Drill-down by element name (attribute, tabular section, enumeration value, URL template, operation) |
Limit / Offset |
Pagination (150 lines by default) |
OutFile |
Write the result to a file (UTF-8 BOM) |
powershell.exe -NoProfile -File .claude/skills/inspect/scripts/meta-info.ps1 -ObjectPath "<путь>"
Modes
| Mode | What it shows |
|---|---|
overview (default) |
Header + key properties + structure without revealing details |
brief |
Everything in one or two lines: field names, counters |
full |
Everything revealed: tabular section columns, list of subscription sources, movements, forms |
-Name — drill-down: reveal a specific element (tabular section, attribute, URL template, web service operation).
Supported types (23)
Reference: Catalog, Document, Enum, Business process, Task, Exchange plan, Chart of accounts, PVC, PVR Registers: Information register, Accumulation register, Accounting register, Calculation register Service: Report, Data processor, HTTP service, Web service, Common module, Scheduled job, Event subscription Other: Constant, Document journal, Defined type
Examples
# Справочник — overview
... -ObjectPath Catalogs/Валюты/Валюты.xml
# Документ — полная сводка с колонками ТЧ, движениями, формами
... -ObjectPath Documents/АвансовыйОтчет/АвансовыйОтчет.xml -Mode full
# Регистр сведений — краткая сводка
... -ObjectPath InformationRegisters/КурсыВалют/КурсыВалют.xml -Mode brief
# Drill-down в ТЧ документа
... -ObjectPath Documents/АвансовыйОтчет/АвансовыйОтчет.xml -Name Товары
# HTTP-сервис — drill-down в шаблон URL
... -ObjectPath HTTPServices/ExternalAPI/ExternalAPI.xml -Name АктуальныеЗадачи
# Веб-сервис — drill-down в операцию
... -ObjectPath WebServices/EnterpriseDataUpload_1_0_1_1/EnterpriseDataUpload_1_0_1_1.xml -Name TestConnection
3. Managed form (Form.xml)
Reads Form.xml and outputs a compact summary: element tree, attributes with types, commands, events. Replaces the need to read thousands of lines of XML.
Parameters
| Parameter | Required | Default | Description |
|---|---|---|---|
FormPath |
yes | — | Path to file Form.xml |
Limit |
no | 150 |
Max. output lines |
Offset |
no | 0 |
Skip N lines (for pagination) |
powershell.exe -NoProfile -File .claude/skills/inspect/scripts/form-info.ps1 -FormPath "<путь к Form.xml>"
With pagination:
... -FormPath "<путь>" -Offset 150
Reading output
Elements — compact tree of UI elements with types, data bindings, flags and events:
Elements:
├─ [Group:AH] ГруппаШапка
│ ├─ [Input] Организация -> Объект.Организация {OnChange}
│ └─ [Input] Договор -> Объект.Договор [visible:false] {StartChoice}
├─ [Table] Товары -> Объект.Товары
│ └─ [Input] Номенклатура -> Объект.Товары.Номенклатура {OnChange}
└─ [Pages] Страницы
├─ [Page] Основное (5 items)
└─ [Page] Печать (2 items)
Type abbreviations: [Group:V/H/AH/AV], [Input], [Check], [Label], [Table], [Button], [Pages], [Page], [Popup]
Flags: [visible:false], [enabled:false], [ro], ,collapse
Attributes — form attributes (type, ValueTable with columns, DynamicList → MainTable).
Parameters — form parameters with key parameter (key).
Commands — Имя -> Обработчик [Сочетание].
Events — form event handlers.
4. DCS — Data composition schema (Template.xml)
Reads Template.xml data composition schemas (DCS) and outputs a compact summary. Detailed reference on modes — in references/skd-modes-reference.md.
Parameters
| Parameter | Description |
|---|---|
TemplatePath |
Path to Template.xml or template directory (auto-resolve to Ext/Template.xml) |
Mode |
Analysis mode (by default overview) |
Name |
Dataset name (query), fields (fields/calculated/resources/trace), variant (variant), grouping/fields (templates) |
Batch |
Query package number, 0 = all (query only) |
Limit / Offset |
Pagination (by default 150 lines) |
OutFile |
Write result to file (UTF-8 BOM) |
powershell.exe -NoProfile -File .claude/skills/inspect/scripts/skd-info.ps1 -TemplatePath "<путь>"
With mode specified:
... -Mode query -Name НоменклатураСЦенами
... -Mode query -Name ДанныеТ13 -Batch 3
... -Mode fields -Name КадастроваяСтоимость
... -Mode trace -Name "Коэффициент Ки"
... -Mode variant -Name 1
... -Mode templates -Name ВидНалоговойБазы
Modes
| Mode | Without -Name |
С -Name |
|---|---|---|
overview |
Schema navigation map + Next hints | — |
query |
— | Dataset query text (with batch table of contents) |
fields |
Map: field names by dataset | Field detail: dataset, type, role, format |
links |
All dataset links | — |
calculated |
Map: calculated field names | Expression + title + constraints |
resources |
Map: resource names (* = group formulas) |
Aggregation formulas by groupings |
params |
Parameters table: type, value, visibility | — |
variant |
List of variants | Grouping structure + filters + output |
templates |
Template binding map (field/group) | Template contents: rows, cells, expressions |
trace |
— | Full chain: dataset → calculation → resource |
full |
Full summary: overview + query + fields + resources + params + variant | — |
Typical workflow
overview— understand the structure, see hintstrace -Name <поле>— find out how a report column is calculated (in a single call)query -Name <набор>— view the SQL query textvariant -Name <N>— view the variant's groupings and filters
5. MXL — Spreadsheet document template (Template.xml)
Reads Template.xml of the spreadsheet document and outputs a compact summary: named areas, parameters, column sets.
Parameters
| Parameter | Default | Description |
|---|---|---|
TemplatePath |
— | Direct path to Template.xml |
ProcessorName |
— | Processor name (alternative to path) |
TemplateName |
— | Template name (alternative to path) |
SrcDir |
src |
Source directory |
Format |
text |
Output format: text or json |
WithText |
false | Include static text and templates |
MaxParams |
10 | Max parameters in the list per area |
Limit |
150 | Max output rows |
Offset |
0 | Skip N rows (for pagination) |
powershell.exe -NoProfile -File .claude/skills/inspect/scripts/mxl-info.ps1 -TemplatePath "<путь>"
Or by processor/template name:
... -ProcessorName "<Имя>" -TemplateName "<Макет>" [-SrcDir "<каталог>"]
Additional flags:
... -WithText # включить текстовое содержимое ячеек
... -Format json # JSON-вывод для программной обработки
... -MaxParams 20 # показать больше параметров на область
... -Offset 150 # пагинация
Reading the output
Named areas — areas are listed in document order (top to bottom):
--- Named areas ---
Заголовок Rows rows 1-4 (1 params)
Строка Rows rows 14-14 (8 params)
Итого Rows rows 16-17 (1 params)
Types: Rows (horizontal), Columns (vertical), Rectangle (rows+columns), Drawing (picture/barcode).
Parameters by area — parameters with detailParameter (decoding):
Строка: НомерСтроки, Товар, Количество, Цена, Сумма, ... (+3)
detail: Товар->Номенклатура
Parameters [tpl] — are built into the template text: "Инв № [ИнвентарныйНомер]", filled programmatically like regular ones.
Intersections (if Rows+Columns is present): Макет.ПолучитьОбласть("ВысотаЭтикетки|ШиринаЭтикетки")
6. Subsystem (XML export)
Reads the subsystem XML and outputs a compact description: composition, child subsystems, command interface, hierarchy tree.
Parameters
| Parameter | Description |
|---|---|
SubsystemPath |
Path to the subsystem XML file, subsystem directory, or directory Subsystems/ (for tree) |
Mode |
overview (default), content, ci, tree, full |
Name |
Drill-down: object type in content, section in ci, subsystem name in tree |
Limit / Offset |
Pagination (default 150 lines) |
OutFile |
Write the result to a file (UTF-8 BOM) |
powershell.exe -NoProfile -File .claude/skills/inspect/scripts/subsystem-info.ps1 -SubsystemPath "<путь>"
Modes
| Mode | What it shows |
|---|---|
overview (default) |
Compact summary: properties, composition (grouped by type), child subsystems, presence of CI |
content |
Content list grouped by type. -Name Catalog — directories only |
ci |
Parsing CommandInterface.xml: visibility, placement, order of commands/subsystems/groups |
tree |
Recursive subsystem hierarchy tree with markers [CI], [OneCmd], [Hidden] |
full |
overview + content + ci in a single call |
Examples
# Обзор подсистемы
... -SubsystemPath Subsystems/Продажи.xml
# Состав — только документы
... -SubsystemPath Subsystems/Продажи.xml -Mode content -Name Document
# Командный интерфейс
... -SubsystemPath Subsystems/Продажи.xml -Mode ci
# Дерево подсистем от корня
... -SubsystemPath Subsystems -Mode tree
# Дерево для одной подсистемы
... -SubsystemPath Subsystems -Mode tree -Name Администрирование
7. Role and rights (Rights.xml)
Parses Rights.xml roles and produces a compact summary: objects are grouped by type, only granted rights are shown. Compression: thousands of XML lines → 50–150 lines of text.
Parameters
| Parameter | Description |
|---|---|
RightsPath |
Path to the file Rights.xml (usually Roles/ИмяРоли/Ext/Rights.xml) |
ShowDenied |
Show denied rights (hidden by default) |
Limit / Offset |
Pagination (default 150 lines; 0 = no limit) |
OutFile |
Write the result to a file (UTF-8 BOM) |
powershell.exe -File .claude/skills/inspect/scripts/role-info.ps1 -RightsPath <path> -OutFile <output.txt>
Important: Always use -OutFile and read the result via the Read tool. Direct console output breaks Cyrillic.
Output format
=== Role: БазовыеПраваБП --- "Базовые права: Бухгалтерия предприятия" ===
Allowed rights:
Catalog (8):
Контрагенты: Read, View, InputByString
...
InformationRegister (6):
ЦеныНоменклатуры: Read [RLS], Update
...
RLS: 4 restrictions
Templates: ДляРегистра, ПоЗначениям
Total: 138 allowed, 18 denied
[RLS]— a right with record-level restriction (restrictionByCondition)- Nested objects:
Контрагенты.StandardAttribute.PredefinedDataName
General pagination rules
All scripts support -Limit (default 150) and -Offset. When truncating:
[TRUNCATED] Shown 150 of 220 lines. Use -Offset 150 to continue.