composiohq/selecionador-de-vencedores-de-sorteio

Seleciona vencedores aleatórios de listas, planilhas ou Google Sheets para brindes, sorteios e concursos. Garante seleção justa e imparcial com transparência.

O que é selecionador-de-vencedores-de-sorteio?

Esta skill automatiza a seleção de vencedores para brindes, sorteios e concursos a partir de fontes de dados como listas de texto, planilhas locais ou Google Sheets. É útil para organizadores de eventos, equipes de marketing e community managers que desejam garantir um processo justo, auditável e imparcial. Compatível com plataformas como Claude Code (por meio do framework Composio), a skill permite configurar critérios como número de vencedores, exclusão de duplicatas e seleção aleatória com semente determinística para reprodutibilidade. O fluxo típico envolve a leitura dos dados de entrada via ferramentas do Composio (ex.: leitura de arquivo ou consulta a Sheets), a aplicação de um algoritmo de sorteio transparente no backend e a devolução dos nomes ou identificadores dos vencedores. A skill também oferece logs detalhados para auditoria e integração com notificações via webhook ou Slack, conforme documentado no SKILL.md.

Funciona com~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/composiohq/awesome-claude-skills/tree/main/skills/raffle-winner-picker

Installed? Explore more Programação e Desenvolvimento skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

Perguntar na sua IA favorita

Abre um novo chat com esta habilidade de agente já pré-carregada.

Documentação

O que selecionador-de-vencedores-de-sorteio faz?

Seleciona vencedores aleatórios de listas, planilhas ou Google Sheets para brindes, sorteios e concursos. Garante seleção justa e imparcial com transparência.

Visão Geral

Esta skill permite que você escolha vencedores de forma aleatória a partir de uma lista de participantes, seja ela fornecida como texto, arquivo CSV, ou diretamente de uma planilha do Google Sheets. O processo é totalmente auditável e garante que cada participante tenha chances iguais.

Funcionalidades

  • Múltiplas fontes de entrada: aceita listas em texto simples, arquivos CSV ou conexão direta com Google Sheets.
  • Número configurável de vencedores: defina quantos vencedores deseja selecionar.
  • Seleção sem reposição: cada participante só pode ser sorteado uma vez.
  • Semente aleatória determinística: opção para usar uma semente fixa, permitindo reproduzir resultados para auditoria.
  • Exclusão de duplicatas: remove automaticamente entradas repetidas da lista.
  • Logs de transparência: registra o processo e a semente utilizada para verificação posterior.

Como Usar

  1. Configurar a skill no ambiente Composio (Claude Code ou outros agentes compatíveis).
  2. Fornecer os dados dos participantes, seja como:
    • Uma lista de texto delimitada por quebras de linha.
    • Um arquivo CSV ou Excel.
    • Uma planilha do Google Sheets (autenticação necessária).
  3. Definir parâmetros:
    • num_winners: número de vencedores (padrão: 1).
    • seed (opcional): semente para o gerador aleatório.
    • remove_duplicates: booleano para remover entradas repetidas.
  4. Executar a ação. A skill retornará os nomes ou identificadores dos vencedores.

Exemplo de comando:

composio run composiohq/raffle-winner-picker \
  --input "data/participantes.csv" \
  --params '{"num_winners": 3, "seed": 42, "remove_duplicates": true}'

Integração com Google Sheets

Para usar o Google Sheets como fonte de dados:

  1. Conecte sua conta do Google via Composio (necessita permissão de leitura).
  2. Especifique o sheet_id e o intervalo (ex.: A2:A100).
  3. A skill lê os valores da coluna e aplica o sorteio.

Exemplo:

source:
  type: google_sheets
  sheet_id: "1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms"
  range: "Sheet1!A2:A100"

Transparência e Fairness

  • O algoritmo usa o gerador aleatório criptograficamente seguro do sistema operacional quando nenhuma semente é fornecida.
  • Se uma semente for fornecida, o gerador Mersenne Twister é utilizado, e a semente é registrada nos logs para auditoria.
  • A ordem de sorteio é embaralhada usando o algoritmo Fisher-Yates.

Limitações

  • A lista de participantes deve conter menos de 100.000 entradas para garantir performance.
  • Para Google Sheets, a planilha deve estar compartilhada com o e-mail da conta de serviço do Composio.

Suporte

Para dúvidas ou problemas, consulte a documentação oficial do Composio ou abra uma issue no repositório.

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

composiohq/artifacts-builder

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

composiohq/brand-guidelines

Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

composiohq/canvas-design

Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.

composiohq/changelog-generator

Automatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual changelog writing into minutes of automated generation.

composiohq/competitive-ads-extractor

Extracts and analyzes competitors' ads from ad libraries (Facebook, LinkedIn, etc.) to understand what messaging, problems, and creative approaches are working. Helps inspire and improve your own ad campaigns.

composiohq/connect

Connect Claude to any app. Send emails, create issues, post messages, update databases - take real actions across Gmail, Slack, GitHub, Notion, and 1000+ services.

composiohq/connect-apps

Connect Claude to external apps like Gmail, Slack, GitHub. Use this skill when the user wants to send emails, create issues, post messages, or take actions in external services.

composiohq/content-research-writer

Assists in writing high-quality content by conducting research, adding citations, improving hooks, iterating on outlines, and providing real-time feedback on each section. Transforms your writing process from solo effort to collaborative partnership.

composiohq/developer-growth-analysis

Analyzes your recent Claude Code chat history to identify coding patterns, development gaps, and areas for improvement, curates relevant learning resources from HackerNews, and automatically sends a personalized growth report to your Slack DMs.

composiohq/domain-name-brainstormer

Generates creative domain name ideas for your project and checks availability across multiple TLDs (.com, .io, .dev, .ai, etc.). Saves hours of brainstorming and manual checking.

composiohq/file-organizer

Intelligently organizes your files and folders across your computer by understanding context, finding duplicates, suggesting better structures, and automating cleanup tasks. Reduces cognitive load and keeps your digital workspace tidy without manual effort.

composiohq/image-enhancer

Improves the quality of images, especially screenshots, by enhancing resolution, sharpness, and clarity. Perfect for preparing images for presentations, documentation, or social media posts.

composiohq/internal-comms

A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).

composiohq/invoice-organizer

Automatically organizes invoices and receipts for tax preparation by reading messy files, extracting key information, renaming them consistently, and sorting them into logical folders. Turns hours of manual bookkeeping into minutes of automated organization.

composiohq/langsmith-fetch

Debug LangChain and LangGraph agents by fetching execution traces from LangSmith Studio. Use when debugging agent behavior, investigating errors, analyzing tool calls, checking memory operations, or examining agent performance. Automatically fetches recent traces and analyzes execution patterns. Requires langsmith-fetch CLI installed.

composiohq/lead-research-assistant

Identifies high-quality leads for your product or service by analyzing your business, searching for target companies, and providing actionable contact strategies. Perfect for sales, business development, and marketing professionals.

composiohq/mcp-builder

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

composiohq/meeting-insights-analyzer

Analyzes meeting transcripts and recordings to uncover behavioral patterns, communication insights, and actionable feedback. Identifies when you avoid conflict, use filler words, dominate conversations, or miss opportunities to listen. Perfect for professionals seeking to improve their communication and leadership skills.

composiohq/skill-creator

Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.

composiohq/skill-share

A skill that creates new Claude skills and automatically shares them on Slack using Rube for seamless team collaboration and skill discovery.

Habilidades Relacionadas