Vote Duck Creator Assistant
Paste the following prompt into your AI chat to install this skill:
Please install @org-qm8l8iwu/toupiaoya-creator according to https://skillhub.cn/install/skillhub.md.
About this skill
The problem it solves
Building a poll, adjusting choices, and checking results usually means switching between a web console and ad hoc API calls. This skill moves the common Vote Duck workflow into a CLI: find templates, create a project, maintain choices and groups, upload assets, and pull voting or traffic data. It fits scripted campaign pages and routine data checks.
How it works
The skill depends on requests; asset upload also needs cos-python-sdk-v5. Auth reuses X-Openclaw-Token from ~/.toupiaoya/config.json or accepts --access-token.
- Template search: query by
--keywords,--color, pagination, and sort fields, then pass the selectedtemplateIdtoproject create. - Project creation: send
briefTitle,briefDesc,voteType, time range, andgroupList; if times are omitted, the service defaults to a 10-day window. - Choice and group management: use
get_choices,add_choices,update_choices, and group commands to manage content, cover, rank, and group placement. - Data and assets:
project listreturns projects; voting data returnsobj,map, andlist;project view-datareturnsuv,pv,spv, andfpv; uploads use COSPutObjectbefore saving the asset.
Boundaries
It assumes an existing Vote Duck account and token. Responses are JSON-first; when id == 0, the payload may only include data.code for preview URL assembly. Creation failures commonly show 400 or 404. If COS upload succeeds but saveFile fails, the error retains the cos fields for debugging.
Use Cases
- When a new-product voting campaign starts, filter templates by keywords and color, then create a text multi-choice poll.
- After launch, update option covers and ranks, and move a chosen option into a newly created group.
- Each week, pull poll records and the last 15 days of UV/PV/share trends for campaign review.
- When uploading voting assets, send local images to COS, save them to the asset library, and collect their IDs and URLs.
Best For
- Campaign operations staff who need to create poll pages, manage choices and groups via scripts.
- Data analysts who need to pull poll records and UV/PV/share trends by project ID for reviews.
- Content or design collaborators who need to upload image assets to COS and save them to the asset library.
- Automation engineers who need token-authenticated CLI flows for templates, projects, choices, and assets.
Related Skills
Applies Deming quality management, PDCA, process optimization, and statistical process control to output data-first diagnostics, Top 3 actions, and fillable templates.
Apply Ries and Trout positioning theory to F&B operations for problem scoping, framework matching, prioritized strategy, and actionable rollout.
Generate ISO 9001 quality manuals, procedures, work instructions, and forms as Word documents using process and risk methods.
Parse multi-format resumes, search job postings, rank matches, and output company due-diligence and fit assessment reports.