raffle-winner-picker
它能做什么
这个工具可以从名单、电子表格或文件中随机抽取获奖者,适用于抽奖和比赛活动。它能确保抽选过程公平、不带偏见。
适用场景
- ✓举办社交媒体抽奖活动时。
- ✓在活动现场抽取幸运观众时。
- ✓需要随机挑选参与者时。
技能链接
https://github.com/ComposioHQ/awesome-claude-skills/blob/master/raffle-winner-picker/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“从“participants.csv”文件里随机抽 3 个获奖者。”
每周 5 个新技能,1 分钟读完。
工作原理
你提供一份名单、一个文件(比如 Excel 或 CSV),或者一个 Google Sheet 链接。工具会使用安全的方法随机选出一位或多位获奖者,确保同一个人不会被重复抽中,并展示抽选的过程。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Raffle Winner Picker
This skill randomly selects winners from lists, spreadsheets, or Google Sheets for giveaways and contests.
When to Use This Skill
- Running social media giveaways
- Picking raffle winners at events
- Randomly selecting participants for surveys or tests
- Choosing winners from contest submissions
- Fair distribution of limited spots or resources
- Random team assignments
What This Skill Does
- Random Selection: Uses cryptographically random selection
- Multiple Sources: Works with CSV, Excel, Google Sheets, or plain lists
- Multiple Winners: Can pick one or multiple winners
- Duplicate Prevention: Ensures the same person can't win twice
- Transparent Results: Shows the selection process clearly
- Winner Details: Displays all relevant information about winners
How to Use
From Google Sheets
Pick a random row from this Google Sheet to select a winner
for a giveaway: [Sheet URL]
From Local File
Pick 3 random winners from entries.csv
From List
Pick a random winner from this list:
- Alice (alice@email.com)
- Bob (bob@email.com)
- Carol (carol@email.com)
...
Multiple Winners
Pick 5 random winners from contest-entries.xlsx,
make sure no duplicates
Example
User: "Pick a random row from this Google Sheet to select a winner for a giveaway."
Output:
Accessing Google Sheet...
Total entries found: 247
Randomly selecting winner...
🎉 WINNER SELECTED! 🎉
Row #142
Name: Sarah Johnson
Email: sarah.j@email.com
Entry Date: March 10, 2024
Comment: "Love your newsletter!"
Selection method: Cryptographically random
Timestamp: 2024-03-15 14:32:18 UTC
Would you like to:
- Pick another winner (excluding Sarah)?
- Export winner details?
- Pick runner-ups?
Inspired by: Lenny's use case - picking a Sora 2 giveaway winner from his subscriber Slack community
Features
Fair Selection
- Uses secure random number generation
- No bias or patterns
- Transparent process
- Repeatable with seed (for verification)
Exclusions
Pick a random winner excluding previous winners:
Alice, Bob, Carol
Weighted Selection
Pick a winner with weighted probability based on
the "entries" column (1 entry = 1 ticket)
Runner-ups
Pick 1 winner and 3 runner-ups from the list
Example Workflows
Social Media Giveaway
- Export entries from Google Form to Sheets
- "Pick a random winner from [Sheet URL]"
- Verify winner details
- Announce publicly with timestamp
Event Raffle
- Create CSV of attendee names and emails
- "Pick 10 random winners from attendees.csv"
- Export winner list
- Email winners directly
Team Assignment
- Have list of participants
- "Randomly split this list into 4 equal teams"
- Review assignments
- Share team rosters
Tips
- Document the process: Save the timestamp and method
- Public announcement: Share selection details for transparency
- Check eligibility: Verify winner meets contest rules
- Have backups: Pick runner-ups in case winner is ineligible
- Export results: Save winner list for records
Privacy & Fairness
✓ Uses cryptographically secure randomness ✓ No manipulation possible ✓ Timestamp recorded for verification ✓ Can provide seed for third-party verification ✓ Respects data privacy
Common Use Cases
- Newsletter subscriber giveaways
- Product launch raffles
- Conference ticket drawings
- Beta tester selection
- Focus group participant selection
- Random prize distribution at events
常见问题
工具怎么保证抽选是公平的?
它使用安全可靠的随机数生成方法,与密码学中使用的方法类似,因此结果无法被人为操控。
我可以抽多个获奖者吗?
可以。你需要多少名获奖者都可以选,你也可以要求设置“候补”,以防主要获奖者无法领取奖品。
工具可以按照特殊规则抽取吗?
可以。你可以进行“加权”抽取,让某些人根据某一列中的信息,比其他人拥有更高的中奖概率。
详情
作者的原始描述
Picks random winners from lists, spreadsheets, or Google Sheets for giveaways, raffles, and contests. Ensures fair, unbiased selection with transparency.
热度
- GitHub 星标
- 77k
- 排名
- #2601
- 许可证
- —
- 更新时间
- 2026/9/18
评论
- …
同一仓库的更多技能
artifacts-builder
77k帮助你的智能体构建复杂的用户界面。它借助现代技术,创建功能丰富的交互式网页。
brand-guidelines
77k帮助你的智能体把官方品牌色和字体应用到各类材料中。适合需要体现公司视觉形象的场景,保持视觉统一。
canvas-design
77k让你的智能体创作 .png 和 .pdf 格式的原创视觉作品。当用户需要海报、艺术作品或其他静态设计时使用。
changelog-generator
77k帮助你的智能体根据代码提交记录撰写面向用户的更新说明。它能把技术内容转换成通俗易懂的文字。