Vibe Sort — AI skill for Claude Code
Proof-of-concept Ruby gem that sorts arrays using LLM APIs: OpenAI, Anthropic Claude, Google Gemini, Groq, and SpaceXAI Grok.
How to install Vibe Sort
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open chayuto/vibe-sort and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Vibe Sort does
Proof-of-concept Ruby gem that sorts arrays using LLM APIs: OpenAI, Anthropic Claude, Google Gemini, Groq, and SpaceXAI Grok.
Alternatives in AI
- WindsurfAPI — Turn Windsurf / Devin Desktop's 100+ AI models (Claude, GPT, Gemini, DeepSeek, Kimi, GLM, SWE) into OpenAI-, A 3k ★
- Anthropic SDK TypeScript — Access to Anthropic's safety-first language model APIs in TypeScript 2.1k ★
- DeepLearning.Ai Courses ClaudeCode — Vibe Genius 团队整理的 DeepLearning.AI 官方课程 'Claude Code: A Highly Agentic Coding Assistant' 学习笔记,由 Andrew Ng 和 Ant 326 ★
README
VibeSort
**AI-powered array sorting using OpenAI, Anthropic Claude, Google Gemini, Groq, SpaceXAI Grok, or OpenRouter**
VibeSort is a proof-of-concept Ruby gem that demonstrates sorting arrays by leveraging LLM APIs. Instead of using traditional sorting algorithms, it asks an AI model to do the work. Supports the OpenAI Chat Completions API, the Anthropic Messages API, the Google Gemini API, and the OpenAI-compatible Groq, SpaceXAI (xAI), and OpenRouter APIs, with zero dependencies beyond Faraday.
[](https://badge.fury.io/rb/vibe-sort) [](https://opensource.org/licenses/MIT)
Disclaimer
This is a **proof-of-concept** and educational project. It is not intended for production use. Traditional sorting algorithms are far more efficient, reliable, and cost-effective. Use this gem to explore AI capabilities, not to sort arrays in real applications.
Features
- AI-Powered Sorting: Uses OpenAI, Anthropic Claude, Google Gemini, Groq, SpaceXAI Grok, or OpenRouter models to sort arrays
- Multi-Provider: Switch providers with a single
provider:option, no extra dependencies - Key Format Detection: Omit
provider:and VibeSort infers it from your API key's prefix - Simple Interface: Clean, intuitive API with a single
sortmethod - Configurable: Custom model, temperature, and an
extra_params:escape hatch for any provider-native request parameter - Error Handling: Comprehensive error handling with clear error messages
- Structured Output: Uses JSON mode for reliable, parsable responses
- Type Validation: Validates input and output to ensure data integrity
- Mixed-Type Support: Sorts arrays containing integers, floats, and strings
Requirements
- Ruby 3.0 or newer (MRI)
- Bundler 2.0+
- An API key for at least one supported provider (OpenAI, Anthropic, Google Gemini, Groq, SpaceXAI, or OpenR
Related Skills
Ruby Nano Bots
Ruby Implementation of Nano Bots: small, AI-powered bots that can be easily shared as a single file, designed
Searchstack Aeo
Searchstack — Open-source AEO/GEO/SEO tech stack for AI-native founders. Monitor your visibility across Google
Srt GPT Translator
Translate .srt subtitle files between languages using Anthropic (Claude) APIs in a Google Colab notebook.
Prompt To Session
A proof of concept for prompt-driven DAW automation using ChatGPT, Claude Cowork, Codex, and Ableton Live 12 L
Gem To Agent Kit
讓任何 AI agent 化身升級顧問,把 Google Gemini 的 Gem 升級成 Agent 工作流(主打 Antigravity)
TelegramAgent
Self-hosted Telegram AI agent: Claude, OpenAI, Gemini, DeepSeek or free Groq. Live streaming replies, topics a
Related Agents
ZeroClaw Android
Run AI agents 24/7 on your Android phone. Native Rust core, 25+ providers (OpenAI, Claude, Gemini, Groq, DeepS
Grok Agent 01
ONLY job: find free or freemium AI token/API plans (OpenAI-compatible, Anthropic, Google, open routers, studen
LLM Orchestrator
Use this agent for LLM integration work — prompt engineering, multi-provider abstraction (OpenRouter, Gemini,