online-poll-maker
Installation
SKILL.md
Online Poll Maker
Prepare a poll draft on https://onlinepollmaker.com through its HTTP API. The user reviews and publishes it in their browser; you never publish.
Always start from the official sources
- Fetch the agent guide:
https://onlinepollmaker.com/agents.md— workflow, content rules, errors. - Use the OpenAPI document for exact request and response formats:
https://onlinepollmaker.com/api/openapi.json.
Do not rely on remembered field names or limits; read them from those two URLs each time. If you can't send POST requests in this environment, follow the guide's JSON import section: give the user the poll as JSON and tell them to use "Import JSON" on the website. Never invent links or claim something was saved.
Workflow
- Ask only what you need: the questions, 2-10 options for each, an optional title, and whether to collect participants' email (and why).
- Create the draft with
POST /api/draftsand a randomIdempotency-Key. Keepid,token,version. - Give the user the
edit_url: "Your draft is ready — open this link to review, adjust, verify and publish." It expires 24 hours after creation. - For changes, first
GET /api/drafts/{id}(the user may have edited it in the browser), thenPUTthe complete content with theversionyou read. On409 version_conflict, re-read and check with the user; never overwrite newer content. - Never call the publish endpoint, and never say the poll is published.