Skip to content
Development
Skill

/v8unpack-cf

Read and write 1C binaries without the platform: an ordinary form `Ext/Form.bin` via the `unpack_ordinary_form` / `build_ordinary_form` MCP tools, a whole CF / CFE / EPF via the `v8unpack` CLI. Use for `Form.bin`, обычные формы, or a binary with no infobase / Designer / `ibcmd`.

From plugin
ai-rules-1c
55032 skills13 agents45 commands

Claude Code

$ npx -y skills add comol/ai_rules_1c --skill v8unpack-cf --agent claude-code

SKILL.md

v8unpack-cf.SKILL.md
name: v8unpack-cf
description: "Read and write 1C binaries without the platform: an ordinary form `Ext/Form.bin` via the `unpack_ordinary_form` / `build_ordinary_form` MCP tools, a whole CF / CFE / EPF via the `v8unpack` CLI. Use for `Form.bin`, обычные формы, or a binary with no infobase / Designer / `ibcmd`."

v8unpack-cf — read and write 1C binary artifacts

Two workflows live here, and they are not variants of one thing:

| You have | Route | Section | |---|---|---| | One **ordinary form** — `.../Forms/<Форма>/Ext/Form.bin` | MCP tools `unpack_ordinary_form` / `build_ordinary_form` | *Ordinary forms — `Form.bin`* | | A whole **CF / CFE / EPF** binary | `v8unpack` CLI (`-E` / `-B`) | *Whole binaries — CF / CFE / EPF* |

Use either when the 1C:Enterprise platform is not at hand. When the configuration lives in an infobase, extract it through the platform instead — see the `getconfigfiles` rule.

Dependency

  • `v8unpack` Python package — `pip install "v8unpack>=1.2.6,<2"`. Verify with

`python -m v8unpack --help`.

  • Both MCP servers declare it in their own requirements, so the tools work in a

built image. When it is missing they answer `status="error"`, `error_code="dependency_missing"` with the install line in `hint` — that is the answer, not a crash.

Ordinary forms — `Form.bin`

Before any ordinary-form tool call or payload edit, read [ordinary-forms.md](docs/ordinary-forms.md): exact MCP contract, workspace, workflow and warnings. Never edit `Form.bin` directly or deflate its entries. Edit `payload/`, preserve the manifest, and require logical payload verification before delivery.

Whole binaries — CF / CFE / EPF

Before whole-binary extraction, build, indexing or Python API use, read [whole-binaries.md](docs/whole-binaries.md). On Windows use `--processes 1` unless parallel processing is validated for the artifact. A rebuilt current-configuration `.cf` is not a loadable substitute for a platform-written file; the limitations below apply.

Limitations

Of the CLI route:

  • Object properties and form layout are stored in `header` / `raw` as raw arrays.
  • Files larger than 1 MB (layouts, HTML) are stored as `.bin` without decoding.
  • Encrypted modules are kept in binary form.
  • With `--auto_include`, nested objects are sorted alphabetically.

Of ordinary forms specifically — measured on a real extraction (`1C-Gitter` 1.1.0.8, 170 form artifacts, v8unpack 1.2.6), not assumed:

  • **`*.elem.json` is populated for managed forms and empty for ordinary ones.**

23 of 23 managed forms (`Тип формы` = `1`) came back with a named `tree`; 147 of 147 ordinary forms (`Тип формы` = `0`, element version `''` or `0-5-1`) came back empty, because neither version is in v8unpack's `FormCore.supported_form_versions` (`0-26`, `0-27`, `1`). So for the ordinary forms of a modern configuration the CLI route yields no named elements, and the layout has to be read from `Form.bin` — positionally.

  • **`v8unpack` 1.2.6 cannot write a container with compressed entries through

`Container.build(nested=False)`** — it raises `struct.error`, because `Document.compress` returns no table-of-contents offset. Irrelevant for a `Form.bin`: its entries must be plain anyway (see [ordinary-form warnings](docs/ordinary-forms.md#warnings--read-before-the-first-call)), and the MCP codec writes them plain with verbatim (`nested=True`) container records. Relevant only if you drive the library directly for a whole CF / CFE / EPF.

  • **A `.cf` rebuilt with `-B` from a current configuration is not the

configuration** — see [whole-binary build](docs/whole-binaries.md#build--b). Observed metadata degradation on 8.3.27; the platform is the only writer of a loadable configuration file.

  • A rebuilt binary's SHA-256 always differs from its source (write timestamps).

Compare logical payload, not the container hash (see [ordinary-form warnings](docs/ordinary-forms.md#warnings--read-before-the-first-call)).

Relationship to other rules

  • `getconfigfiles` — extracts configuration objects from a running infobase through the

platform. Prefer it when an infobase is available; use `v8unpack-cf` when you only have a binary artifact and no platform.

  • `1c-metadata-manage` — MCP-based skill for operating on the metadata structure once the

sources are unpacked. It owns **managed** forms (`Ext/Form.xml`); ordinary forms are this skill's, because there is no XML for it to edit.

  • `forms.md` — the router for managed-form work. It sends ordinary forms here.
  • `mcp-1c-tools` — the MCP catalog. `unpack_ordinary_form` / `build_ordinary_form`

are listed there under both `1c-code-metadata-mcp` and `1c-graph-metadata-mcp`; [ordinary-forms.md](docs/ordinary-forms.md) is the contract they share.

Read more
@comol
Ships withai-rules-1c

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

55032 skills13 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
550
Star history of comol/ai_rules_1c on GitHub, a chart by star-history.com

Other skills on ai-rules-1c.

openspec-apply-change

openspec-apply-change

Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or work through…

@comol@comolInstall Skill
openspec-archive-change

openspec-archive-chang…

Archive a completed OpenSpec change in the experimental workflow. Use when the user wants to finalize and archive a change after…

@comol@comolInstall Skill
openspec-explore

openspec-explore

Enter OpenSpec explore mode - a thinking partner for exploring ideas, investigating problems, and clarifying requirements in a…

@comol@comolInstall Skill
openspec-propose

openspec-propose

Propose a new OpenSpec change with all artifacts generated in one step. Use when the user wants to quickly describe what they…

@comol@comolInstall Skill
openspec-sync-specs

openspec-sync-specs

Sync delta specs from an OpenSpec change to main specs. Use when the user wants to update main specs with changes from a delta…

@comol@comolInstall Skill
openspec-update-change

openspec-update-change

Update an OpenSpec change by revising its existing planning artifacts and keeping them coherent with one another. Use when the…

@comol@comolInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react9d252k
@facebook@facebookInstall Skill

Questions about v8unpack-cf.

Which coding agents can use v8unpack-cf?
v8unpack-cf installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.