SkillAgentSearch skills...

activity-campaign-from-ui

Turn campaign UI references into a new H5/Web campaign proposal, page architecture, and HTML/CSS/JavaScript high-fidelity front-end draft. Supports mode-based responses: analysis, proposal, architecture, delivery, and full.

Install / Use

npx skills add LeoYeAI/openclaw-master-skills --skill activity-campaign-from-ui

Installs into whichever agent you are using.

About this skill
📄

SKILL.md

Installable skill definition

Quality Score

83/100

Supported Platforms

Universal

Our assessment of activity-campaign-from-ui

activity-campaign-from-ui scores 83/100 on our quality scale, 265th of 319 Customer Support skills we index.

Its SKILL.md is 17 KB long, well organised into 32 sections and no code examples: a thorough specification that gives an agent plenty to work with.

With 2,149 GitHub stars, it is one of the more widely adopted skills in the catalogue.

Substance
30/30
Structure
13/20
Description
15/15
Adoption
14/20
Freshness
11/15

Maintenance, license and trust

  • The repository was last updated about 4 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
  • Our last check on 2026-11-07 found the source still online.
  • It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 98/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

Safety scan

No issues found

Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.

AI review by kimi-k2.7-code on 2026-09-30. Automated pattern scan on 2026-09-29. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.

activity-campaign-from-ui compared with similar skills

All 4 of these similar skills score higher than activity-campaign-from-ui; compare them before choosing.

SkillScoreStarsUpdatedFormat
activity-campaign-from-ui (this skill)by LeoYeAI832.1k4mo agoSKILL.md
Agent-Reachby Panniantong100112.3k8d agoCLAUDE.md
x402by browser-use100121.0k3d agoSKILL.md
algorithmic-artby anthropics100177.9k55d agoSKILL.md
pptxby anthropics100177.9k55d agoSKILL.md

Frequently asked questions

How do I install activity-campaign-from-ui?
Run npx skills add LeoYeAI/openclaw-master-skills --skill activity-campaign-from-ui. The install tabs above show the steps for each supported agent.
Which AI agents does activity-campaign-from-ui work with?
It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
Is activity-campaign-from-ui safe to use?
Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 98/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is activity-campaign-from-ui still maintained?
The repository was last updated about 4 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.

name: activity-campaign-from-ui description: Turn campaign UI references into a new H5/Web campaign proposal, page architecture, and HTML/CSS/JavaScript high-fidelity front-end draft. Supports mode-based responses: analysis, proposal, architecture, delivery, and full. metadata: openclaw: homepage: "https://github.com/bigin58/activity-campaign-from-ui"

activity-campaign-from-ui

Generate a new campaign from campaign UI references, then deliver an H5/Web visual-first front-end draft on a fixed stack.

Use when

Use this skill when the user:

  • provides one or more campaign/activity page screenshots
  • provides a campaign design preview and wants a new campaign generated from it
  • wants campaign references turned into a proposal, page architecture, or H5/Web high-fidelity draft code
  • wants a structured handoff for an activity page on a fixed stack

Do not use when

Do not use this skill when:

  • the request is unrelated to campaign/activity pages
  • the user only wants raw OCR
  • the task requires exact locked-design export
  • the user wants production-ready backend logic or hidden business rules not visible from the reference
  • the user wants a delivery stack outside this skill's fixed target

Fixed platform and stack

Always stay on this fixed delivery target:

  • Platform: H5 / Web
  • Stack: HTML + CSS + JavaScript

Do not output code in other stacks.

Modes

This skill supports one skill with multiple modes.

analysis

Use when the user wants to understand the reference. Return:

  • observed UI structure
  • visible text
  • gameplay clues
  • user flow clues
  • uncertainty notes

proposal

Use when the user wants a new campaign idea from the reference. Return:

  • reference summary
  • gameplay abstraction
  • new campaign concept
  • target users
  • goals
  • rewards and participation path
  • anti-copy explanation
  • visual proposal direction that reads more like an operations campaign deck than a plain memo

architecture

Use when the user wants implementation planning without full code. Return:

  • page module list
  • module order
  • popup system
  • state flow
  • tracking suggestions
  • delivery schema

delivery

Use when the user wants code on the fixed stack. Return:

  • file structure
  • index.html
  • styles.css
  • main.js
  • mock-data.js
  • visual extraction summary
  • implementation notes

full

Use when the user wants the full flow. Return:

  1. reference analysis
  2. gameplay abstraction
  3. new campaign proposal
  4. page architecture
  5. delivery schema
  6. visual direction
  7. H5/Web high-fidelity draft code

Default mode rules

If the user does not specify a mode:

  • default to proposal if they want a new campaign/event idea
  • default to delivery if they explicitly ask for code
  • default to full if they ask for both plan and code

For delivery and full, when the brief implies poster-style character focus and the page would otherwise become too long, default to a female-led, launch-ready, tab-first H5 front-end draft.

Core job

Given one or more campaign references, do all relevant parts of the following:

  1. Identify observable UI patterns
  2. Separate what is observed vs inferred vs assumed
  3. Abstract the gameplay and module patterns
  4. Propose a new campaign instead of copying the reference
  5. Design a buildable H5/Web page architecture
  6. Output fixed-stack high-fidelity draft code when requested

Output rules

Prefer practical output over broad commentary.

When possible, organize the answer using these sections:

  • Reference analysis
  • Observed
  • Inferred
  • Assumed
  • Gameplay abstraction
  • New campaign proposal
  • Page architecture
  • Delivery schema
  • Visual direction
  • H5/Web starter files
  • Uncertainties

Proposal presentation rule

For proposal, the result should feel closer to an operations campaign visual deck than a plain strategy memo.

Preferred structure:

  • strong campaign name and one-line hook
  • visual theme and mood direction
  • hero concept and key selling point
  • participation path
  • reward design
  • module highlights
  • timeline or rollout rhythm when relevant

If the user explicitly asks for a local proposal deck and the host environment supports local execution, the skill may generate a local .pptx file with Python.

File handoff rules

Do not append executable local file-write commands.

If the user explicitly asks for local files and the host environment supports local execution, the skill may use Python to generate artifacts directly in the workspace instead of only presenting them inline.

The goal is to keep the handoff clear without asking the model to generate shell or terminal instructions from screenshot-derived content.

Mode-specific file targets:

  • analysis: present the main result as one Markdown document such as campaign-analysis.md
  • proposal: present the main result as one Markdown document such as campaign-proposal.md
  • proposal optional local artifact: campaign-proposal.pptx when the user explicitly asks for a local visual deck and Python execution is available
  • architecture: present the main result as one Markdown document such as campaign-architecture.md
  • delivery: present the generated front-end files as index.html, styles.css, main.js, and mock-data.js
  • full: present the planning content as one Markdown document such as campaign-full.md, and present the front-end files as index.html, styles.css, main.js, and mock-data.js

Handoff requirements:

  • label each file clearly in the response body
  • keep file names and section order aligned with the response body
  • when the mode includes multiple files, provide each file's full content in its own clearly labeled section
  • when local artifacts are generated with Python, report the exact file names and paths in plain language
  • if the user explicitly asks how to save the files locally, describe the file names and where the content belongs in plain language rather than generating executable commands

Anti-copy rules

Do not simply restyle the reference.

The new campaign must change at least 2 of these 4 dimensions:

  1. campaign theme
  2. reward design
  3. task structure
  4. module order or core interaction

Do not preserve all of the following at the same time:

  • same hero structure
  • same gameplay loop
  • same reward chain

Call out the main changes briefly in the proposal.

Reference-to-theme translation rules

Treat the reference as a source for structure, interaction pattern, density, and campaign rhythm first, and as a source for visual style only when it fits the user's target theme.

Use this decision rule:

  • If the target campaign theme is close to the reference theme, you may inherit the reference's palette and styling direction.
  • If the target campaign theme is different from the reference theme, keep the useful structure and interaction cues, but rebuild the visual style around the target theme.

When the target theme and reference theme conflict:

  • prioritize the target festival, season, brand tone, and audience mood
  • borrow layout logic, gameplay framing, and information hierarchy from the reference
  • do not carry over mismatched seasonal colors or decorative symbols by default

Example:

  • if the reference looks like a Spring Festival page with red and gold styling, but the new brief is for a Dragon Boat Festival campaign, do not keep the page red by default
  • instead, keep the helpful campaign structure, then shift the visual direction toward Dragon Boat Festival cues such as bamboo green, jade green, lake blue, rice dumpling motifs, rope textures, water-wave shapes, or cooler early-summer contrast

Confidence rules

Always separate content into these layers when relevant:

  • Observed: directly visible from the reference
  • Inferred: likely based on common campaign patterns
  • Assumed: filled in because the reference is incomplete

If text is blurry or a state is hidden, say so directly.

Delivery file rules

For delivery and full, default to this file set:

  • index.html
  • styles.css
  • main.js
  • mock-data.js

Optional when a character-led hero is requested and image generation is available:

  • assets/hero-figure.png

If the user explicitly asks for local front-end files and the host environment supports local execution, the skill may use Python to write these files directly to the workspace or user-specified directory.

File responsibilities:

  • index.html: page structure, visible module internals, decorative wrappers, and realistic placeholder copy
  • styles.css: design tokens, background atmosphere, section chrome, CTA styling, popup styling, and responsive behavior
  • main.js: render repeating data, event binding, state updates, popup control, and lightweight view-state changes
  • mock-data.js: campaign meta, tasks, prizes, CTA text, popup data, and enough mock content to render a visually complete first screen

Optional hero asset generation

When the user wants a character-led campaign page but does not provide a source image, the skill may generate one original hero asset before front-end delivery if the host environment supports image generation.

Constraints:

  • generate one original adult female hero image
  • image direction should prioritize theme-matched wardrobe, dominant colors, accessories, props, and styling
  • use a glamorous, attractive, stylish, slightly sexy commercial campaign poster direction
  • do not generate a male hero by default
  • do not generate explicit sexual content, nudity, fetish styling, or pornographic framing
  • save or label the asset as assets/hero-figure.png
  • if image generation is unavailable, still output the hero structure and clearly reserve the asset slot

Female-led hero default

For character-led campaign delivery, the default first-screen visual should use one adult female hero figure as the dominant visual focus.

Requirements:

  • the hero figure must be an adult woman
  • do not replace the hero with a male figure by default
  • do not generate mixed-gender hero focus unless the user explicitly asks for it
  • the wardrobe, dominant colors, accessories, props, and styling must match the campaign theme
  • if the campaign is festival-based, the character styling should visibly reflect that festival rather than using a generic outfit
  • prioritize glamour, attractiveness, confidence, and poster-like visual appeal
  • allow stylish and slightly sexy commercial-fashion styling for stronger attention
  • keep the result within public campaign standards: no nudity, no explicit sexual pose, no fetish styling, and no pornographic framing
  • the female figure should remain the main first-screen anchor, with title, CTA, and reward device arranged around her

Theme examples:

  • Spring Festival: red as the dominant color, with gold accents, festive dress or qipao-inspired styling, lanterns, knots, and warm holiday accessories
  • Dragon Boat Festival: bamboo green, jade green, lake blue, lighter summer styling, rope knots, leaf textures, and seasonal props
  • Valentine-style campaign: rose red, wine red, blush pink, elegant fitted styling, floral or gift-box props

H5 length control rule

Do not default to a full top-to-bottom stack for every module.

Prefer a tab-first H5 layout when any of the following is true:

  • there are more than 5 major modules
  • the page includes task lists, prize pools, records, and long rules together
  • the default layout would likely become an overly long mobile page

In these cases:

  • keep the first screen focused on hero + core action + one key summary module
  • move secondary content into sticky tabs
  • render only the active tab panel by default
  • place verbose rules, records, and explanations in popups, drawers, or accordions when appropriate
  • use tabs as a page-shortening strategy, not as a cosmetic decoration

Delivery schema guidance

Prefer a schema that covers both campaign config and page delivery contract.

Typical sections:

  • campaignMeta
  • hero
  • tasks
  • `rew

Truncated for display — read the full file on GitHub.

Related Skills

View on GitHub
GitHub Stars2.1k
CategoryCustomer
Updated3mo ago
Forks325

Languages

Python

Trust signals

98/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

1 info