跳到正文
TakoAPI
返回技能列表

strawpoll-cli

由 dedene 提供

CLI Utilities
491下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Create and manage StrawPoll polls, meeting polls, and ranking polls from the terminal using the strawpoll CLI.

描述

该技能的功能

Command-line interface for the StrawPoll API v3. Supports creating and managing multiple-choice polls, meeting availability polls, and ranked-choice polls. Output can be plain text, JSON, or tab-separated for scripting.

Eliminates the need to open a browser for routine polling tasks and makes StrawPoll scriptable in shell pipelines.

何时使用

  • Creating a team vote on project priorities without leaving the terminal
  • Scheduling a meeting by collecting availability across multiple dates
  • Running a ranked-choice vote to decide sprint focus areas
  • Automating poll creation in CI scripts with JSON output
  • Checking live poll results and sharing the URL with teammates

示例工作流

输入

User asks: create a poll asking the team to pick a release day, then check results

智能体
  1. 1

    Run strawpoll poll create "Release day?" Monday Tuesday Wednesday Thursday Friday --copy to create the poll and copy its URL

  2. 2

    Capture the poll ID from the JSON output or note it from the printed URL

  3. 3

    Share the URL with teammates for voting

  4. 4

    Run strawpoll poll results <poll-id> to view vote counts in a formatted table

  5. 5

    Run with --json flag and pipe to jq if results need to be processed programmatically

输出

A StrawPoll URL ready to share, plus a results table showing vote counts per option

前置要求

  • STRAWPOLL_API_KEY environment variable or stored via `strawpoll auth set-key`
  • StrawPoll account (free) at strawpoll.com to obtain an API key

安装

clawhub install dedene/strawpoll-cli

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接