form-edit

form-edit is a skill for Claude Code from timoshinoleg-eng/1c-ai-workbench. It costs 37 tokens per session (1,421 once invoked), scanned A, a copy of form-edit, MIT.

A targeted editor for an existing managed 1C form. It adds form elements, fields, commands and event handlers from a JSON description.

In plain words
What is it for?
Use it to add a field, place an element, create a command or attach an event to an existing form, including inherited extension forms.
Why use it?
It removes the risk and effort of hand-editing complex Form.xml files for small changes.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the 1c-skills plugin — 71 skills, 2 hooks shipped together

Good fit Use it to add a field, place an element, create a command or attach an event to an existing form, including inherited extension forms.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/timoshinoleg-eng/1c-ai-workbench/form-edit
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add timoshinoleg-eng/1c-ai-workbench --skill form-edit
Clone the repo
git clone --depth 1 https://github.com/timoshinoleg-eng/1c-ai-workbench

Made for: Claude Code.

Or install 1c-skills, the plugin that ships this one along with the rest of its 71 skills, 2 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for form-edit

README.md
[![agentmods](https://agentmods.dev/badge/skills/timoshinoleg-eng/1c-ai-workbench/form-edit/github.svg)](https://agentmods.dev/skills/timoshinoleg-eng/1c-ai-workbench/form-edit)
Your own site
<a href="https://agentmods.dev/skills/timoshinoleg-eng/1c-ai-workbench/form-edit"><img src="https://agentmods.dev/badge/skills/timoshinoleg-eng/1c-ai-workbench/form-edit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for form-edit

Your own site · 80×15
<a href="https://agentmods.dev/skills/timoshinoleg-eng/1c-ai-workbench/form-edit"><img src="https://agentmods.dev/badge/skills/timoshinoleg-eng/1c-ai-workbench/form-edit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,421 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.01421
Opus 5.5 $0.00015 $0.00568
Sonnet 5.5 $0.00007 $0.00284
Haiku 4.5 $0.00004 $0.00142

Measured 1mo ago against content hash 78cfc3ea985e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

form-edit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/form-edit.ps1, scripts/form-edit.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to form-edit — 272 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

tools/cc-1c-skills/.claude/skills/form-edit/SKILL.md · 143 lines

How it starts

The opening of the file, as written. The whole thing — 143 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/form-edit — Редактирование формы

Добавляет элементы, реквизиты и/или команды в существующий Form.xml. Автоматически выделяет ID из правильного пула, генерирует companion-элементы (ContextMenu, ExtendedTooltip, и др.) и обработчики событий.

Использование

/form-edit <FormPath> <JsonPath>

Параметры

Параметр Обязательный Описание
FormPath да Путь к существующему Form.xml
JsonPath да Путь к JSON с описанием добавлений

Команда

powershell.exe -NoProfile -File "${CLAUDE_SKILL_DIR}/scripts/form-edit.ps1" -FormPath "<путь>" -JsonPath "<путь>"

JSON формат

{
  "into": "ГруппаШапка",
  "after": "Контрагент",
  "elements": [
    { "input": "Склад", "path": "Объект.Склад", "on": ["OnChange"] }
  ],
  "attributes": [
    { "name": "СуммаИтого", "type": "decimal(15,2)" }
  ],
  "commands": [
    { "name": "Рассчитать", "action": "РассчитатьОбработка" }
  ]
}

Расширения (extension-формы)

Для заимствованных форм (с <BaseForm>) автоматически активируется extension-режим: ID начинаются с 1000000+. Доступны дополнительные секции:

{
  "formEvents": [
    { "name": "OnCreateAtServer", "handler": "Расш1_ПриСозданииПосле", "callType": "After" },
    { "name": "OnOpen", "handler": "Расш1_ПриОткрытии", "callType": "Before" }
  ],
  "elementEvents": [
    { "element": "Банк", "name": "OnChange", "handler": "Расш1_БанкПриИзменении", "callType": "Before" }
  ],
  "commands": [
    { "name": "Подбор", "action": "Расш1_ПодборПосле", "callType": "After" },
    { "name": "Запрос", "actions": [
      { "callType": "Before", "handler": "Расш1_ЗапросПеред" },
      { "callType": "After", "handler": "Расш1_ЗапросПосле" }
    ]}
  ],
  "elements": [
    { "input": "Поле", "path": "Объект.Поле", "on": [{ "event": "OnChange", "callType": "After" }] }
  ]
}

Позиционирование элементов

Ключ По умолчанию Описание
into корневой ChildItems Имя группы/таблицы/страницы, куда вставлять
after в конец Имя элемента, после которого вставлять

Read the full file on GitHub · 143 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 143 lines · 37 tokens per session scan A 78cfc3ea985e

Subscribe to this mod's changes

form-edit is a skill published in the GitHub repository timoshinoleg-eng/1c-ai-workbench (0 stars, last pushed 1mo ago), licensed MIT. It adds 37 tokens to every session and 1,421 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to form-edit, differing in 272 lines, and is treated as a copy.