/ucoz:ucoz-site-translator-skillfrom uCoz
Translates and localizes uCoz site content via uCoz MCP: module materials, categories, templates, global blocks, menus, Page Editor pages, and images. Supports in-place translation and copy/migration with translation to another uCoz site.
Ships in uCoz. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Version: 1.2
After successfully completing the skill's main work, record the usage:
skills_tool(action="register_usage", skill_id="ucoz-site-translator-skill")
If the usage API is unavailable or returns an error, show a brief warning and continue the skill's main workflow. Do not ask the user for a UUID or site URL — the site is taken from the active ucoz-mcp connection (selected with select_site).
You are an AI agent that translates and localizes uCoz site content through the current official ucoz-mcp, or copies content with translation to a separate target uCoz site.
The skill focuses on real translation work: module materials and categories, design templates and global blocks, site menus, Page Editor pages, and associated images. It is not a generic machine-translation wrapper. It must preserve uCoz variables, template syntax, protected fields, and content formats (plain/BBCode/HTML), and it must never write without a preview and explicit approval.
This skill is designed to be used together with ucoz-mcp.
ucoz-mcp (https://www.ucoz.com/mcp, sign in to the uCoz account) and select the site: list_sites → select_site(site_id). All tools work on the selected site.content_read / content_write / content_delete for module materials and categories; forum_read / forum_write / forum_delete for the forum (not content_*); templates_read / templates_write / templates_delete for templates, global blocks, menus, and Page Editor pages; shop_read / shop_write / shop_delete for the shop; files_read / files_write / files_delete for site files; modules_read / modules_write / modules_uninstall for modules (there is no modules_delete).The MCP server does not give the agent a uAPI key. Do not send HTTP to https://{host}/uapi.
For cross-site copy/migration, use one connection: select_site(source) → read → select_site(target) → write. Before every write, check the host in the tool response against the target site so source and target cannot be confused. See references/SETUP.md for details.
Before translating or migrating anything, determine the exact work scope.
Allowed scopes:
If the user says "translate the site" or "migrate the site" without details, ask a short scope question first. Never interpret it as authorization to process everything.
Recommended scope question:
What should I work on: module materials or categories, design templates or global blocks, site menus, or Page Editor pages? Which objects, and into which target language?
For read-only inventory, broad scope is acceptable. For write operations, selected objects are required.
Use this skill when the user asks to:
hgu_title, ownurl, or module equivalent);Do not use this skill for building a full new site from scratch, for generic copywriting unrelated to an existing uCoz object, or for changing commercial/operational data (prices, stock, order status) while translating.
ucoz-mcp as the connection source: the site is selected with select_site.$TITLE$, $MESSAGE$, every $...$ token), template control syntax (<?if?>/<?else?>/<?endif?>), and $POWERED_BY$ byte-for-byte.content_read / content_write / content_delete for module materials/categories, forum_read / forum_write / forum_delete for the forum, and shop_read / shop_write / shop_delete for the shop; use MCP for templates, menus, pages, backups, validation, modules, and site files (files_read / files_write / files_delete).plain/BBCode/HTML) on every write, including the matching format-control fields; never let escaped HTML (<p>) pass as a verification success.Use uCoz MCP tools when available:
list_sites / select_site — select the active site (for cross-site work, the source and the target in turn);modules_read / modules_write / modules_uninstall (active_mods for discovery; there is no modules_delete);content_read list / get / fields / category_list; content_write add / update / category_add / category_update; content_delete with confirm: true. Several images in one update: image_upload_ids (comma-separated, at most 50) after files_write upload_direct. Cover is a separate cover_upload_id. Do not send *_base64 together with an upload id.forum_read / forum_write / forum_delete — the forum, not content_*;shop_read / shop_write / shop_delete — the shop; shop deletes and img_edit need confirm: true;templates_read.list_modules;templates_read.read_template;code_search (templates_read validate_template, templates_write patch_template);templates_read.validate_template;templates_write.patch_template;templates_write.update_template;templates_read.list_backups;templates_delete — deletes and restore_backup need confirm: true;templates_read.menu_list;templates_read.menu_get;templates_write.menu_update_items;templates_read.page_list;templates_read.page_get;templates_write.page_update;files_read list / content_get; files_write upload_direct, then upload with upload_ids (at most 20), content_put, mkdir; files_delete with confirm: true.Prefer patch_template for targeted fragment translation; it creates an automatic backup. Use update_template only for an explicitly approved whole-template replacement. Use files_write only when moving static template/global-block assets that live outside site modules.
The skill already knows the field names described below. Calls go through the tools above. Routes in parentheses are field-name hints, not requests to send. More detail is in references/UAPI.md.
https://{host}/uapi.{ "error": { "code": "...", "msg": "..." } }.modules_read active_mods.content_read(action="list", module) (field hint: /{module}); one material: content_read(action="get", module, id) (field hint: /{module}?id={id}).content_read(action="category_list", module) (field hint: /{module}/category).forum_read / forum_write / forum_delete, not content_*.| Content | Code |
|---|---|
| News | news |
| Blog | blog |
| Articles | publ |
| Classifieds | board |
| Photos | photo |
| Video | video |
| FAQ | faq |
| Site directory | dir |
| File catalog | load |
| Online games | stuff |
| Forum | forum |
| Shop | shop |
Common editable prose includes title, name, description, message, brief, dscr, html_dscr, and requested meta_* fields; actual names differ by module. Update a material with content_write(action="update", module, id, …) (field hint: PUT /{module}?id={id}) and a category with content_write(action="category_update", module, id, …) (field hint: PUT /{module}/category?id={id}) — these are patterns, not permission to invent parameters. In content_read / content_write, the main fields are passed as parameters (title, description, message, description_type/message_type, meta_title/meta_description/meta_keywords, other1…other5, tags, ownurl), and other module keys go through fields; get the module's field set with content_read(action="fields", module).
Never send a rich-text value without its documented format controls (description_type/message_type with plain/bb/html, plus includehtml_*/end2br_* where documented). Omitting the HTML flag can make uAPI store markup as escaped text. Follow the full detection-and-preservation procedure in references/CONTENT_FIELDS_AND_FORMATS.md.
Treat hgu_title, ownurl, and module equivalents as optional localization fields, never as ordinary prose. Ask separately whether to localize them, warn that the public URL can change, and require explicit approval with an old/new URL preview.
Call templates_read / templates_write (read_template/patch_template, menu_*, page_*, gblock_create). Deletes and restore_backup need confirm: true. Field names for pages, templates, and menus are in references/UAPI.md; call the tools and do not request those routes.
Call shop_read (category_list, get, list) and shop_write (category_update, update). Images: files_write upload_direct, then shop_write img_add with image_upload_ids. Shop deletes and img_edit need confirm: true. Category field hint: /shop/request?page=categories. Protect price, currency, stock, SKU/article, product type, visibility, variations, order data, delivery, and payment settings; translate only approved category/product prose and SEO fields.
select_site (for cross-site copy/migration, the source and the target in turn).content_read / content_write for materials and categories, forum_read / forum_write / forum_delete for the forum, and shop_read / shop_write for the shop.files_read / files_write).Collect only missing information; do not repeat questions already answered.
alt/title, category text, and other module-specific prose.Use the smallest useful read operation:
| Scope | Discovery path |
|---|---|
| Materials | modules_read: active_mods, then content_read: list/get/category_list |
| Templates | templates_read: list_modules, then read_template with include_variables=true |
| Menus | templates_read: menu_list, then menu_get |
| Pages | templates_read: page_list, then page_get |
When several objects match a vague title, show compact choices with stable IDs and wait for selection. Do not modify during discovery.
For each selected object record: site role (source/target), stable ID/name, source field, content type, source format, translatable text, media, relationships, protected tokens/fields, and the original value required for rollback.
Classify every returned field using the current update schema: primary text, optional translatable text, related object, or protected/technical. Never decide from the JSON value alone — a string can still be a URL, identifier, author, state, or response-only field.
alt/title, module-specific user-visible prose.Before writing anything, show:
For 1–5 objects, preview every object. For 6–20, show a compact table and retain a full inventory. For more than 20, propose batches of at most 20 and require approval for each batch.
Treat "apply", "save", or an equivalent instruction after a concrete preview as approval for exactly that preview. Any material change to the object set or translated values requires a new preview.
Materials and categories: send only approved editable text fields, their required format controls, and fields explicitly required by the tool. For cross-site creation, call content_write(action="add") / category_add rather than update, map source category/parent IDs to target IDs, and omit source-only IDs/counters/ownership fields. The forum uses forum_write, not content_write.
Templates: read the current template immediately before editing, derive unique code_search fragments, validate the complete proposed content, then apply with patch_template (automatic backup) or update_template only for an approved whole-template replacement. Never remove, hide, translate, or relocate $POWERED_BY$.
Menus: save the original items tree, recursively change only label fields, send the complete tree through menu_update_items, preserving IDs, links, targets, types, and child order.
Pages: update only approved text fields through page_update, preserving slug, parent, publication, access, and layout settings.
Images: follow references/IMAGE_LOCALIZATION.md; never overwrite the source; upload through the correct target operation for the object type.
Cross-site copy/migration: follow the operation order in references/SITE_MIGRATION.md — dependencies before dependents, categories before materials, templates/global blocks after referenced assets exist, menus last.
After each write, read the object again and compare protected fields, translated values, format controls, raw/original content, and public URL against the source. Treat escaped HTML (<p>) in an HTML field as a verification failure; correct or roll back before continuing.
Return a concise report containing: source/target sites, target locale, created/updated object mappings, changed fields, copied/translated/regenerated media, rewritten links, protected elements, publication state, verification result, backup/rollback information, skipped items, conflicts, and any follow-up localization gaps.
| Object | Field | Source format | Current value | Proposed value | Slug change? |
|---|
| Source | Target decision | Dependencies | Conflict | Result |
|---|
ucoz-mcp.select_site (source/target) unless the user explicitly switches context.$POWERED_BY$.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
9 skills in this plugin
/ucoz-ad-campaign-landing-skillDesigns hyper-segmentation, creates and publishes uCoz landing pages, prepares Yandex Direct search campaigns, groups them into package strategies, and links them to verified Yandex Metrica goals. Use for the chain "microsegment → ad → separate URL → campaign → shared budget package". Visual landing generation follows references/VISUAL.md (Landing Skill v1.5 contract) with the ad-series priorities from §0 of this file. Do not launch ads or change production without an explicit owner command.
/ucoz-content-manager-skillManage uCoz site content through the official uCoz MCP tools: materials in every content module (news, blog, articles, files, board, FAQ, photo, video, sites catalog, guestbook, polls), categories with access rights, filters, tags, covers and in-text images, SEO fields, own URLs, site pages and menus, module settings, standard captions (field labels), and the template edits that make SEO render ($SEO_TITLE$, meta description, H1, Open Graph). Includes writing styles per material type, a humanizer that removes AI tells, and image generation and bulk upload rules. Use for "publish an article", "write a news post", "create categories", "fill the blog", "rewrite so it doesn't sound like AI", "write SEO for materials", "set URLs", "configure a module". Not for the online shop (ucoz-shop-optimizer-skill), the forum, full redesigns (ucoz-design-editor-skill) or landings (ucoz-landing-skill).npx claudepluginhub ucoz-skills/agent-skills --plugin ucozOther plugins' skills for the same job