Index of every page on this site: llms.txt
All skills
jeremylongshore avatar

/together-reference-architecture

@0d57af8
Run it yourself

Design a production Together AI service with a typed provider boundary, policy-based model routing, serverless and dedicated lanes, batch workers, telemetry, budgets, and reversible degradation. Use when defining the integration topology. Trigger with "Together architecture", "Together model gateway", or "design Together service".

Use this Skill: https://skilld.dev/gh/jeremylongshore/tons-of-skills-marketplace/together-reference-architecture

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈91 tokens for metadata: the name and description. ≈869 when used: this file. ≈758 more on demand in 1 file.

Description uses 4.6% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈366 characters, or 4.6%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Together AI Reference Architecture

Overview

This skill turns workload requirements into explicit real-time, batch, and dedicated paths with one governed provider boundary and observable cost/quality behavior.

Prerequisites

  • Workload classes, modalities, volumes, latency objectives, and data classifications
  • Model-quality evaluations and fallback constraints
  • Availability, cost, retention, residency, and recovery objectives
  • Existing gateway, queue, telemetry, and secret-management topology

Tool Discipline

Use Read, Glob, and Grep to map callers, trust boundaries, queues, storage, and observability. Use WebFetch for current Together capabilities and limits. Use Write or Edit only for approved diagrams, ADRs, interfaces, or configuration.

Current Contract

  • Interactive serverless and dedicated models share inference request shapes, but capacity and billing differ.
  • Batch is an asynchronous file/job path with arbitrary result order and separate error artifacts.
  • Model IDs, prices, redirects, and availability are runtime policy inputs, not constants scattered through callers.
  • Credentials are project-scoped; isolate environments and inject keys at the gateway or worker boundary.

Authentication

Use separate TOGETHER_API_KEY references per environment and workload authority. Keep provider credentials server-side. Internal callers authenticate to the application gateway independently; they never receive the Together key.

Instructions

  1. Partition workloads into interactive, offline batch, training, and reserved-capacity classes.
  2. Define a typed provider adapter and policy service for model, bounds, fallback, and deprecation state.
  3. Place bounded queues around bursty and asynchronous work with durable IDs and reconciliation.
  4. Add per-model request/token control, circuit breaking, usage/cost telemetry, and quality sampling.
  5. Define data redaction, retention, tenant isolation, and secret rotation at each trust boundary.
  6. Document degradation, model migration, batch recovery, dedicated scale-to-zero, and provider-exit paths.

Approval Boundaries

Do not introduce provider failover, cross-region data movement, dedicated capacity, or automatic model substitution without security, quality, reliability, and cost owners.

Output

Return component/flow topology, trust boundaries, provider interfaces, model policy, capacity lanes, observability, budgets, failure modes, rollback, and decision owners.

Error Handling

Condition Response
Requirements conflict Record the tradeoff and seek the named decision owner.
Provider unavailable Apply bounded circuit/degradation policy; do not retry indefinitely.
Model deprecated Route through evaluated migration policy, not an ad hoc replacement.
Batch partially fails Reconcile by ID and retry only approved failed records.

Examples

The example below shows the minimum redacted evidence expected from a successful invocation of this operator workflow.

interactive=serverless-gateway; offline=batch-worker; reserved=dedicated-v2; secrets=per-environment

Resources

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    This skill provides architectural guidance for designing Together AI services, incorporating best practices for model routing, cost management, and credential isolation. It references official Together AI documentation and repositories and contains no malicious patterns or security vulnerabilities.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at 0d57af8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 2 months ago
What it can do
Reads files Network Edits files
Modelinherit
argument-hint
[repository-path] [workload-profile]
version
1.9.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
All 6 allowed tools
ReadGlobGrepWebFetchWriteEdit
Other metadata
tags
[
  "saas",
  "together-ai",
  "architecture"
]
model
inherit
effort
high
compatibility
Designed for Claude Code; implementation may require cloud, queue, secret-store, and Together AI access

README badge

README badge for jeremylongshore/tons-of-skills-marketplace/together-reference-architecture