From together-pack
Installs Together AI Python SDK or OpenAI client for Node.js, sets up API key, verifies connection, and lists models for inference/fine-tuning.
How this skill is triggered — by the user, by Claude, or both
Slash command
/together-pack:together-install-authThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Together AI provides an OpenAI-compatible API for open-source model inference and fine-tuning. Base URL: `https://api.together.xyz/v1`. Works with the official `together` Python SDK or any OpenAI-compatible client.
Together AI provides an OpenAI-compatible API for open-source model inference and fine-tuning. Base URL: https://api.together.xyz/v1. Works with the official together Python SDK or any OpenAI-compatible client.
# Python (official)
pip install together
# Node.js (use OpenAI SDK with custom base URL)
npm install openai
# .env
TOGETHER_API_KEY=your-api-key-here
from together import Together
client = Together(api_key=os.environ["TOGETHER_API_KEY"])
response = client.chat.completions.create(
model="meta-llama/Llama-3.3-70B-Instruct-Turbo",
messages=[{"role": "user", "content": "Say hello"}],
max_tokens=10,
)
print(f"Connected! Response: {response.choices[0].message.content}")
import OpenAI from 'openai';
const client = new OpenAI({
apiKey: process.env.TOGETHER_API_KEY,
baseURL: 'https://api.together.xyz/v1',
});
const response = await client.chat.completions.create({
model: 'meta-llama/Llama-3.3-70B-Instruct-Turbo',
messages: [{ role: 'user', content: 'Say hello' }],
max_tokens: 10,
});
console.log(`Connected! ${response.choices[0].message.content}`);
models = client.models.list()
for m in models.data[:5]:
print(f"{m.id} ({m.type})")
| Error | Cause | Solution |
|---|---|---|
401 Unauthorized | Invalid API key | Check key at api.together.xyz |
Model not found | Wrong model ID | Use client.models.list() to verify |
ModuleNotFoundError | SDK not installed | pip install together |
429 Too Many Requests | Rate limit | Back off and retry |
Proceed to together-hello-world for inference examples.
npx claudepluginhub jeremylongshore/claude-code-plugins-plus-skills --plugin together-packProvides patterns for Together AI SDK inference, fine-tuning, and model deployment using OpenAI-compatible API and Python clients.
Installs Mistral AI SDK for Node.js/TypeScript and Python, configures API key authentication via env vars/dotenv, and verifies connection with model listing scripts.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.