extends-form

extends-form is a skill for Claude Code, Codex from Guiziweb/guiziweb-plugins. It costs 35 tokens per session (1,241 once invoked), scanned A, original, MIT.

A Sylius development procedure for adding a custom field to an existing admin form. It uses Symfony form extensions, Twig hooks for placement, and translations for labels.

In plain words
What is it for?
Showing a new text, number, checkbox, or autocomplete field on Product, Taxon, Channel, Customer, or another Sylius admin form.
Why use it?
It avoids replacing the whole form when only one field needs to be added to an existing Sylius screen.

Skill for Claude CodeCodex

Part of the sylius-app plugin — 11 skills shipped together

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.

agentmods
npx agentmods add skills/guiziweb/guiziweb-plugins/extends-form
Any agent
npx skills add Guiziweb/guiziweb-plugins --skill extends-form
Clone the repo
git clone --depth 1 https://github.com/Guiziweb/guiziweb-plugins

Made for: Claude Code, Codex.

Or install sylius-app, the plugin that ships this one along with the rest of its 11 skills.

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 extends-form

README.md
[![agentmods](https://agentmods.dev/badge/skills/guiziweb/guiziweb-plugins/extends-form.svg)](https://agentmods.dev/skills/guiziweb/guiziweb-plugins/extends-form)
Your own site
<a href="https://agentmods.dev/skills/guiziweb/guiziweb-plugins/extends-form"><img src="https://agentmods.dev/badge/skills/guiziweb/guiziweb-plugins/extends-form.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,241 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found 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 $0.00035 $0.01241
Opus 5 $0.00017 $0.00620
Sonnet 5 $0.00007 $0.00248
Haiku 4.5 $0.00003 $0.00124

Measured 4d ago against content hash 6a7ec58a9f19, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

extends-form 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 4d ago.

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.

plugins/sylius-app/skills/extends-form/SKILL.md · 142 lines

How it starts

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

Extend a Sylius admin form

Ask the user if not provided:

  • TargetModel: the Sylius entity whose admin form receives the new field (e.g. Product, Taxon, Channel, Customer)
  • FieldName: the property name, camelCase — must match the column on the entity (e.g. metadataTitle)
  • FieldType: the Symfony form type to use — a scalar (TextType, TextareaType, IntegerType, CheckboxType) or a custom type such as {Related}AutocompleteType for a relation
  • Whether the field is required (default: false)
  • The target section hook (default: general). To list available sections, on Sylius 2.3+:
    bin/console sylius:debug:twig-hooks sylius_admin.{target_model_snake}
    
    On older versions, fall back to bin/console debug:config sylius_twig_hooks.

Prerequisites:

  • The field must exist on the entity. Run /sylius-app:extends-model first for a Sylius core entity, or add the column on your own resource.
  • For an entity-autocomplete field type, run /sylius-app:add-autocomplete first so {Related}AutocompleteType exists.

1. Identify the target FormType

bin/console sylius:debug:resource sylius.{target_model_snake}

The classes.form row in the output is the FormType FQCN used by the admin. Use it directly as the use statement and as the getExtendedTypes() return. Without an argument, the command lists every resource alias.

2. Create the FormTypeExtension

src/Form/Extension/{TargetModel}/{TargetModel}TypeExtension.php:

<?php

declare(strict_types=1);

namespace App\Form\Extension\{TargetModel};

use {TargetFormFqcn};  // value returned by step 1
use Symfony\Component\Form\AbstractTypeExtension;
use Symfony\Component\Form\Extension\Core\Type\{FieldType};  // or your custom type
use Symfony\Component\Form\FormBuilderInterface;

final class {TargetModel}TypeExtension extends AbstractTypeExtension
{
    public function buildForm(FormBuilderInterface $builder, array $options): void
    {
        $builder->add('{field_name}', {FieldType}::class, [
            'label' => 'app.form.{target_model_snake}.{field_name}',
            'required' => {required},
        ]);
    }

    public static function getExtendedTypes(): iterable
    {
        return [{TargetModel}Type::class];
    }
}

Read the full file on GitHub · 142 lines

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. 4d ago First seen · 142 lines · 35 tokens per session scan A 6a7ec58a9f19

Subscribe to this mod's changes

extends-form is a skill published in the GitHub repository Guiziweb/guiziweb-plugins (4 stars, last pushed 1mo ago), licensed MIT. It adds 35 tokens to every session and 1,241 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

planning-with-files-ar

تخطيط مستمر قائم على الملفات لعمل وكلاء الذكاء الاصطناعي متعدد الخطوات. يحتفظ بملفات taskplan.md و findings.md و progress.md على القرص، وتحقن خطافات دورة الحياة سياق التخطيط المحدد للمشروع. تقرأ الاستعادة التلقائية ملفات تخطيط المشروع فقط. يمكن للأمر الصريح session-catchup.py --metadata فحص بيانات وصفية لجلسات الوكيل…

OthmanAdi/planning-with-files · 189 tokens

kl-consistency-test

Write, calibrate, and debug the prefill-vs-decode logprob (KL) consistency tests in sglang -- the two independent conditions a zero requires (every operator batch-invariant, and the two paths computing the same function), which helper separates them, how to pick a threshold once they hold, and how to localize a…

sgl-project/sglang · 108 tokens

i18n-localization

Internationalization and localization patterns. Detecting hardcoded strings, managing translations, locale files, RTL support.

vudovn/ag-kit · 27 tokens

baoyu-youtube-transcript

Downloads YouTube video transcripts/subtitles and cover images by URL or video ID. Supports multiple languages, translation, chapters, and speaker identification. Caches raw data for fast re-formatting. Use when user asks to "get YouTube transcript", "download subtitles", "get captions", "YouTube字幕", "YouTube封面"…

JimLiu/baoyu-skills · 107 tokens

switchyard-rust-review

Review Switchyard Rust changes for correctness and maintainability. Use for pull requests or diffs touching crates, PyO3 bindings, async runtime behavior, streaming, protocol types, translation, algorithms, or LLM clients.

NVIDIA-NeMo/Switchyard · 50 tokens

seedance-vocab-ja

This skill should be used when the user asks for Japanese Seedance 2.0 prompt wording, Japanese cinematic vocabulary, or translation of camera, lighting, action, VFX, audio, and production terms into Japanese.

Emily2040/seedance-2.0 · 50 tokens