openai-assistants
OpenAI Assistants API v2 for stateful chatbots with Code Interpreter, File Search, RAG. Use for threads, vector stores, or encountering active run errors, indexing delays. ⚠️ Sunset August 26, 2026.
npx skills add majiayu000/claude-skill-registry --skill openai-assistants-secondsky-claude-skills --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# OpenAI Assistants API v2 **Status**: Production Ready (Deprecated H1 2026) | **Package**: openai@6.9.1 **Last Updated**: 2025-11-21 | **v2 Sunset**: H1 2026 --- ## ⚠️ Important: Deprecation Notice **OpenAI announced that the Assistants API will be deprecated in favor of the Responses API.** **Timeline:** - ✅ **Dec 18, 2024**: Assistants API v1 deprecated - ⏳ **H1 2026**: Planned sunset of Assistants API v2 - ✅ **Now**: Responses API available (recommended for new projects) **Should you still use this skill?** - ✅ **Yes, if**: You have existing Assistants API code (12-18 month migration window) - ✅ **Yes, if**: You need to maintain legacy applications - ✅ **Yes, if**: Planning migration from Assistants → Responses - ❌ **No, if**: Starting a new project (use openai-responses skill instead) **Migration Path:** See `references/migration-to-responses.md` for complete migration guide. --- ## Quick Start (5 Minutes) ### 1. Installation ```bash bun add openai@6.7.0 # preferred # or: npm install openai@6.7.0 ``` ### 2. Environment Setup ```bash export OPENAI_API_KEY="sk-..." ``` ### 3. Basic Assistant ```typescript import OpenAI from 'openai' const openai = new OpenAI({ apiKey: process.en
- ⚠️ Important: Deprecation Notice
- Quick Start (5 Minutes)
- 1. Installation
- 2. Environment Setup
- 3. Basic Assistant
- Core Concepts
- Critical Rules
- Always Do
- Never Do
- Top 5 Errors Prevention
- Error #1: "Thread Already Has Active Run"
- Error #2: Vector Store Indexing Timeout
- Error #3: Run Status Polling Infinite Loop
- Error #4: Function Call Not Submitted
bun add openai@6.7.0 # preferred export OPENAI_API_KEY="sk-..."
What does the openai-assistants skill do?
OpenAI Assistants API v2 for stateful chatbots with Code Interpreter, File Search, RAG. Use for threads, vector stores, or encountering active run errors, indexing delays. ⚠️ Sunset August 26, 2026.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill openai-assistants-secondsky-claude-skills --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
