/together-pack:together-sdk-patterns [repository-path] [python|typescript]from together-pack
Creates a typed adapter around Together AI SDK v2 with model catalog resolution, bounded retries, streaming normalization, and OpenAI-compatible migration. Useful when building a reusable Together client layer to isolate provider changes.
Ships in together-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This skill creates an application-owned boundary around Together's native v2 client or OpenAI-compatible surface so provider changes do not leak through every caller.
Use Read, Glob, and Grep to map existing provider calls and error handling. Use WebFetch for current SDK and API contracts. Use Write or Edit only to implement the approved adapter and focused tests.
base_url="https://api.together.ai/v1".404.Construct clients from runtime-injected TOGETHER_API_KEY. Keep the key out of adapter configuration objects that may be logged or serialized. REST and OpenAI-compatible clients send it as a Bearer token.
Do not change the default model, retry amplification, or OpenAI-to-Together routing globally without latency, quality, and cost evidence plus a rollback.
Return the adapter interface, runtime configuration contract, normalized result/error shapes, retry policy, model policy, and test evidence.
| Condition | Response |
|---|---|
OpenAI model ID returns 404 | Resolve a Together model ID; do not rewrite the error as transient. |
| Stream chunk has no choices | Skip safely and continue until terminal evidence. |
| SDK major mismatch | Stop and apply the v2 migration contract before feature work. |
| Retry budget exhausted | Return the last redacted status and retry metadata. |
The example below shows the minimum redacted evidence expected from a successful invocation of this operator workflow.
adapter=typed; sdk=together-v2; model=catalog-resolved; retries=bounded; usage=normalized
What SKILL.md sets; muted values are Claude Code's defaults
inherithighThree short reads, in order
16 skills in this plugin
/together-ci-integrationGate Together AI client, batch, fine-tuning, and deployment changes with offline contract tests plus a protected bounded live lane. Use when adding CI for a Together-backed repository. Trigger with "Together CI", "test Together integration", or "Together contract tests"./together-common-errorsAnalyze and diagnose Together AI authentication, billing, request, model, throttling, overload, batch, fine-tuning, and endpoint failures from redacted evidence. Use when a Together integration fails or behaves inconsistently. Trigger with "Together error", "Together 429", or "Together model not found"./together-core-workflow-aPrepare, submit, monitor, and disposition a Together AI fine-tuning job using SDK v2, validated training data, explicit cost approval, and separate deployment verification. Use when adapting a model to custom examples or preferences. Trigger with "Together fine-tune", "train a Together model", or "Together DPO job"./together-core-workflow-bRun Together AI asynchronous batch inference from validated JSONL through upload, job polling, output/error download, and custom-id reconciliation. Use when bulk work can trade latency for lower cost. Trigger with "Together batch inference", "bulk Together requests", or "Together Batch API"./together-cost-tuningReduce Together AI spend using measured token usage, live per-model prices, cached-input evidence, batch discounts, model evaluation, and dedicated break-even analysis. Use when forecasting or optimizing Together workloads. Trigger with "Together cost", "optimize Together spend", or "Together batch savings"./together-deploy-integrationDeploy and roll back Together AI integrations across serverless inference or v2 Dedicated Model Inference with secret injection, health probes, traffic control, and cost shutdown. Use when releasing Together-backed services or dedicated models. Trigger with "deploy Together", "Together dedicated endpoint", or "Together rollout".npx claudepluginhub jeremylongshore/tons-of-skills-marketplace --plugin together-packOther plugins' skills for the same job