Ucoz Popup Design Skill logo

Ucoz Popup Design Skill

Community
ucoz-skills
ucoz-popup-design-skill

Restyle the native popups of a uCoz site through the official uCoz MCP tools: system windows (`_uWnd`), confirmations, forms inside windows (such as login and the mail form result) and `uToast` notifications. Five ready presets (Light, Dark, Lavender, Mint, Peach), a palette matched to the live site, or a custom palette with contrast checks. Publishes one versioned CSS file linked from a marked template insertion, with a backup, exact read-back and one-step rollback. Use for "make the popups match my site", "dark notifications", "restyle the login window", "remove the popup styles". Not for a full site redesign (ucoz-design-editor-skill), new templates (ucoz-template-creator-skill) or site content (ucoz-content-manager-skill).

Overview

Publisherucoz-skills
Repositoryagent-skills
Skill nameucoz-popup-design-skill
Stars
24
Forks
0
Bundled files
9
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 9 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by ucoz-skills on GitHub. Read the source before you install it.

Installation

Install the Ucoz Popup Design Skill AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/ucoz-skills/agent-skills/tree/main/skills/ucoz-popup-design-skill
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ucoz-skills/agent-skills.git /tmp/agent-skills
mkdir -p .claude/skills
cp -r /tmp/agent-skills/skills/ucoz-popup-design-skill .claude/skills/ucoz-popup-design-skill
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Ucoz Popup Design Skill in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Ucoz Popup Design Skill on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Ucoz Popup Design Skill is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

uCoz Popup Design Skill

Version: 1.0

Usage accounting

After the stylesheet is published and verified, record the usage:

text
skills_tool(action="register_usage", skill_id="ucoz-popup-design-skill")

If usage accounting 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, token, site URL, or uAPI key.

Purpose

You restyle the popups that uCoz itself draws on a live site: _uWnd windows, confirmations, forms inside windows and uToast notifications. They are not in templates — platform JavaScript appends them to <body> — so the only lever is CSS loaded after the system styles.

Three outcomes define success:

  1. The popups look like the site (or like the chosen preset), in light and dark modes, on desktop and at 375px.
  2. Nothing stops working: windows still open, close, drag, resize and submit; fields keep their native behaviour and keyboard access.
  3. Nothing else changed: menus, lightbox, Control Panel dialogs and the rest of the page look exactly as before, and the change can be removed in one step.

Connection model

Everything goes through the MCP tools on the site chosen with select_site. No API key, token or site URL is needed in the client.

  1. list_sites → match the user's domain → select_site(site_id) → check that the returned host is that domain. Ask which site if there are several and the user did not name one.
  2. Work with the tool family for the job (see the map below).

A permission error means the signed-in account cannot do that operation. Say so; do not look for workarounds.

Tool map

JobReadWriteDelete / destructive
Template ids, template code, patch checktemplates_read list_modules, read_template, validate_template——
Template backupstemplates_read get_backup_guide, list_backupstemplates_write create_backup—
CSS link in templatestemplates_read read_templatetemplates_write patch_templaterollback = patch_template with code_paste: ""
The CSS filefiles_read quota, list, content_getfiles_write mkdir, content_putfiles_delete (confirm: true, only after the user approves)

Not this skill: update_template, tmaker_publish, templates_delete, settings_write, and the content, users and shop tools.

Non-negotiables

  1. Separate file, one link. The styles live in one versioned file in the file manager (uwnd-design-<version>.css), linked once between <!-- uwnd-design:start v<version> --> and <!-- uwnd-design:end -->. Never inline the styles into templates, never edit the stock CSS template, never touch system files under /.s/. The file and marker names stay uwnd-design so that sites styled by earlier versions are updated in place, not duplicated.
  2. Patch, don't rewrite. Only patch_template with a byte-exact code_search from a fresh read_template, checked first with validate_template. Never update_template or a full skeleton. Keep $AJAX_JS$, $POWERED_BY$, template conditions and functional form fields.
  3. Scope every ordinary-window rule to body [id^="_uwndTop"]:not(.x-lb,.cp-modal,.cp-alert,.uwnd-toast). Toasts are styled separately under .uwnd-toast. Do not restyle .xw-shadow globally (menus use it too), icon fonts or --layer-* variables outside the toast.
  4. Native geometry stays. Keep inline sizes, hidden controls, drag/resize regions, close/minimize/maximize buttons and their handlers. Never monkeypatch the _uWnd / uToast library.
  5. Fields stay native. Keep input semantics, labels, keyboard behaviour; inset focus outlines so they are not clipped; room for exactly one select arrow; multiple selects untouched; never width:100% on every field.
  6. Contrast 4.5:1 for key text pairs, presets and custom palettes alike. scripts/build_theme.py.md refuses palettes below it.
  7. No personal data. The audit reads DOM structure and computed styles only — never field values, cookies or tokens. Never submit real forms for a visual check.
  8. Honest accessibility. CSS cannot add focus traps, ARIA roles or tabindex. Never claim full accessibility.

Safety rules

  • Installing the skill is not permission to publish. Publish only what the user approved; a request for a preview stays local.
  • Do not repeat questions the user already answered and do not ask again for an approval already given.
  • Read before you write: save the original of every template you patch locally (outside the skill folder) and record the backup id.
  • Never overwrite a file you did not create. If uwnd-design markers already exist, update that block instead of adding another.
  • Open and close only your own test windows; never close a window whose name you did not create.
  • Do not add a second jQuery or any other library to existing pages.
  • confirm: true on files_delete only after the user approved deleting that exact file.

Workflow

1. Connect

list_sites → select_site → verify the host.

2. Choose the appearance

If the user has not chosen, offer three options in their language:

  • Preset — Light, Dark, Lavender, Mint or Peach (assets/themes.json).
  • Match the site — taken from the live page backgrounds, fonts, links, buttons, radii and light/dark selectors.
  • Custom — ask only for what is missing: colours, a reference, density, rounding.

→ references/THEMES.md

3. Audit

Open representative windows on the live site and run the function from scripts/inspect-windows.js.md in the browser (read-only). Note the loaded system CSS/JS, the window DOM, site CSS variables and light/dark switches. → references/COMPONENTS.md

4. Build

Generate the stylesheet locally: save the code block from scripts/build_theme.py.md as build_theme.py in a working folder, then run python build_theme.py --theme <name> --output <file> (optional --accent / --hover). For a site-matched or custom look, adapt the --uwd-* tokens; bind them to site variables only after seeing their real names. Show a preview with the site's own library and harmless demo windows.

5. Publish

Backup → CSS file → validated marked patch → exact read-back. → references/PUBLISHING.md

6. Verify

Desktop and 375px, light and dark site modes, real site windows and demos, field states, keyboard, toasts. → references/VERIFICATION.md

7. Report

Use the output format below. Then call skills_tool register_usage.

Output format

Plan

#ObjectTool / actionChangeBackupRisk

Final report

  • Site and theme:
  • CSS file (path, version):
  • Templates patched (module/template, backup id):
  • Preview URL:
  • Verified (desktop / 375px, light / dark, windows, forms, toasts):
  • Not tested and why:
  • Rollback:

Reference map

NeedFile
Window and toast DOM, classes, JS API, what to keep untouchedreferences/COMPONENTS.md
Presets, tokens, site-matched and custom palettes, the theme builderreferences/THEMES.md
Backup, CSS file, marked insertion, HTTP 413, rollbackreferences/PUBLISHING.md
Test matrix and acceptance criteriareferences/VERIFICATION.md
Base stylesheet / preset palettesassets/uwnd-overrides.css.md, assets/themes.json
Theme builder / read-only DOM auditscripts/build_theme.py.md, scripts/inspect-windows.js.md
Example requestsexamples/PROMPTS.md

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Ucoz Popup Design Skill AI skill do?

Restyle the native popups of a uCoz site through the official uCoz MCP tools: system windows (`_uWnd`), confirmations, forms inside windows (such as login and the mail form result) and `uToast` notifications. Five ready presets (Light, Dark, Lavender, Mint, Peach), a palette matched to the live site, or a custom palette with contrast checks. Publishes one versioned CSS file linked from a marked template insertion, with a backup, exact read-back and one-step rollback. Use for "make the popups match my site", "dark notifications", "restyle the login window", "remove the popup styles". Not for...

Why use Ucoz Popup Design Skill on TypingMind?

Because you install it once and use it with any model. Ucoz Popup Design Skill is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Ucoz Popup Design Skill in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/ucoz-skills/agent-skills/tree/main/skills/ucoz-popup-design-skill. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Ucoz Popup Design Skill?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Ucoz Popup Design Skill?

As many as you like. As long as a model supports skills, you can use Ucoz Popup Design Skill with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Ucoz Popup Design Skill AI skill free?

Yes. It is published on GitHub by ucoz-skills under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇