Xpersona
A

Activity Campaign from UI

CLAWHUB · Unverified

Generate a new H5/Web campaign proposal and page architecture from UI references, then output a high-fidelity HTML/CSS/JS front-end draft on a fixed stack.

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17454trkm9ntd54mpe0456jt583haq2:activity-campaign-from-ui
  1. Install using `clawhub skill install s17454trkm9ntd54mpe0456jt583haq2:activity-campaign-from-ui` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/bigin58/activity-campaign-from-ui before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-bigin58-activity-campaign-from-ui/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

147,856 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
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 fro

README.md

# activity-campaign-from-ui

Current repository version: **0.6.0**

A reusable OpenClaw skill for turning campaign UI references into a **new H5/Web campaign plan and delivery-ready high-fidelity front-end draft**.

## What this skill does
Given campaign screenshots, poster-like activity pages, or design references, this skill can:
- analyze the reference UI
- abstract the gameplay and module patterns
- propose a **new** campaign instead of copying the reference
- design a page/module architecture
- output visual-first draft code for **H5/Web only**

## Fixed platform and stack
This skill is intentionally strict.

- Platform: **H5 / Web**
- Stack: **HTML + CSS + JavaScript**

If the user asks for any other stack, this skill should still stay on the fixed stack above.

## Modes
This skill supports one skill with multiple modes:

- `analysis` — analyze the reference UI only
- `proposal` — generate a new campaign proposal from the reference
- `architecture` — output page modules, states, popups, and data structure
- `delivery` — output H5/Web high-fidelity draft files in HTML/CSS/JS
- `full` — do the full flow from analysis to delivery

If the user does not specify a mode:
- default to `proposal` when they want a new event idea
- default to `delivery` when they ask for code
- default to `full` when they want both planning and code

## Best for
- holiday event pages
- lucky draw / lottery campaigns
- task + reward campaigns
- promotional landing pages
- mobile-first H5 campaign pages
- poster-style marketing pages

## Typical inputs
- screenshots of activity pages
- multiple campaign references
- poster-like event images
- design previews or accessible design links
- user notes about target users, rewards, and campaign goals

## Typical outputs
- reference analysis
- gameplay abstraction
- new campaign proposal
- page architecture
- config/schema suggestions, including activity factory, animation system, and asset output contract
- visual direction summary
- H5/Web high-fidelity draft code (`index.html`, `styles.css`, `main.js`, `mock-data.js`)

## Boundaries
This skill should not:
- produce code in other stacks
- pretend blurry text is exact
- claim hidden states or backend logic that are not visible
- directly copy the reference page

## Visual quality bar
For `delivery` and `full`, the expected result is a **launch-ready-feeling H5 front-end draft**, not a plain wireframe, demo shell, or generic starter.

Strong outputs should:
- summarize the screenshot's visual language before code
- decide whether the screenshot's colors actually fit the new campaign theme before reusing them
- render a believable first screen with nested hero/module markup
- use gradients, decorative wrappers, chips, badges, and stronger CTA styling when the reference implies them
- avoid repetitive white-card scaffolding unless the user explicitly asks for minimal output

If the reference theme conflicts with the requested campaign theme, keep the structural ideas but rebuild

_meta.json

{
  "ownerId": "kn7f619mqkg9vjpfwwv55535x1827b0j",
  "slug": "activity-campaign-from-ui",
  "version": "0.6.0",
  "publishedAt": 1775618631793
}

references/scope.md

# Scope

This skill turns campaign UI references into a **new** campaign plan and fixed-stack H5/Web delivery output.

## In scope
- reference UI analysis
- gameplay abstraction
- new campaign proposal
- page/module architecture
- popup and state planning
- delivery schema
- H5/Web starter code on HTML + CSS + JavaScript
- mode-based output: analysis / proposal / architecture / delivery / full

## Out of scope
This skill should not:
- output code in other stacks
- pretend to know hidden states or backend logic not shown in the references
- claim exact measurements from blurry images
- directly copy the reference campaign
- promise production-ready release code from incomplete input

## Quality bar
A strong response should:
- distinguish Observed / Inferred / Assumed clearly
- stay on the fixed H5/Web stack
- explain how the new campaign differs from the reference
- produce buildable module structure and a visual-first front-end draft
- summarize the reference's visual language before code when delivery is requested
- render or reference a real top hero image such as `./image/bg.png` when the brief is poster-led, instead of a placeholder image slot
- push that generated hero image toward a photorealistic commercial-poster result instead of an illustrated or uncanny figure
- keep that hero image at the top of the page and let its background treatment reflect the reference mood when appropriate
- keep the generated hero image focused on the woman and atmosphere instead of copying page modules from the reference
- generate the asset used for `./image/bg.png` in the current run when the brief makes image generation mandatory, rather than silently reusing or skipping it
- stop and report a blocked run when required image generation is unavailable instead of downgrading to placeholders
- keep the generated woman distinct from the reference face and pose rather than recreating the same person
- distinguish what visual cues should be reused vs replaced when the requested theme differs from the reference
- generate a configurable new activity type when the brief does not pin the mechanic, instead of being limited to the reference activity family
- include one signature interaction animation and supporting motion layers when the page is reward-led or interaction-led
- ensure local delivery creates the current execution environment's `project/` directory when missing and then creates a nested bundle directory such as `project/<delivery-slug>/`
- ensure Python local delivery saves all final files under `project/<delivery-slug>/` and saves the hero asset under `project/<delivery-slug>/image/` while keeping the in-code path as `./image/bg.png`
- when local output is explicitly requested, avoid stopping at file structure descriptions; actually write the files and report the resulting paths
- avoid collapsing into generic wireframe cards when the screenshot has a strong style
- mark uncertainty explicitly when the source is incomplete

CHANGELOG.md

# Changelog

All notable changes to this skill are documented here.

This repository now uses a simple repository version tracked in the `VERSION` file.

## [0.6.0] - 2026-04-08

### Changed
- Tightened the local delivery contract so explicit local-output requests must write files to disk instead of only returning file structure or code blocks.
- Changed the bundle layout from `project/...` to `project/<delivery-slug>/...` so every delivery is wrapped in one extra bundle directory.
- Updated `SKILL.md`, `README.md`, `README.zh-CN.md`, `references/scope.md`, and examples to document the nested delivery bundle path and actual-write requirement.

### Fixed
- Fixed the local artifact path contract so proposal, delivery, and full-mode artifacts now land under paths such as `project/<delivery-slug>/campaign-proposal.pptx` and `project/<delivery-slug>/index.html`.
- Bumped the repository version from `0.5.0` to `0.6.0`.

## [0.5.0] - 2026-04-08

### Changed
- Changed the local delivery root so all final generated files must be written under the current execution environment's `project/` directory.
- Updated `SKILL.md`, `README.md`, `README.zh-CN.md`, `references/scope.md`, and examples to replace workspace/current-directory local output guidance with the new `project/` delivery-root contract.
- Updated local artifact examples so proposal, delivery, and full-mode outputs now use paths such as `project/campaign-proposal.pptx`, `project/index.html`, and `project/image/bg.png`.

### Fixed
- Fixed the Python local-output contract so runs must create `project/` automatically when missing, then create `project/image/` before saving the hero asset.
- Bumped the repository version from `0.4.0` to `0.5.0`.

## [0.4.0] - 2026-04-08

### Added
- Added an intelligent activity-generation contract so open-ended briefs can produce a configurable new mechanic instead of being limited to the reference activity family.
- Added an animation choreography contract covering signature interaction motion, supporting ambient layers, activity-specific animation defaults, and reduced-motion guidance.
- Added schema coverage for `activityFactory`, `activityConfig`, `animationSystem`, `visualPreset`, and `assetOutput`.

### Changed
- Updated `SKILL.md` to push hero-image generation toward photorealistic commercial-poster quality, including anatomy and uncanny-image quality gates.
- Updated `README.md`, `README.zh-CN.md`, `references/scope.md`, and examples to document the stronger image-quality target, richer motion system, and dynamic activity-generation behavior.
- Updated delivery and architecture examples so later handoffs explicitly cover configurable activity mechanics and animation-system planning.

### Fixed
- Fixed the Python local-output contract so `delivery` and `full` runs must create the project-root `image/` directory and save the generated hero asset to `./image/bg.png`.
- Bumped the repository version from `0.3.2` to `0.4.0`.

## [0.3.2] - 2026-04-07

### Added
- Ad

Sponsored

Ads related to Activity Campaign from UI and adjacent AI workflows.