Ai Agents Setup
Initialize a multi-agent orchestration project with AI SDK v5 agents,
- Type
- Slash Command
- Repository
- jeremylongshore/tons-of-skills-marketplace
- GitHub stars
- 2.8k
- License
- MIT
- Repo last updated
- Sep 27, 2026
- Model
- sonnet
What Ai Agents Setup is
Ai Agents Setup is a slash command published in the jeremylongshore/tons-of-skills-marketplace repository on GitHub, which has about 2.8k stars. The repository describes itself as: “Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.”
A slash command is a reusable prompt saved as a markdown file and run by typing its name after a slash. In Claude Code, custom commands have been merged into skills: a file in .claude/commands/ and a skill folder in .claude/skills/ both create the same kind of command, and existing command files keep working.
Ai Agents Setup gives you a repeatable way to run the same instructions without retyping them, optionally with arguments.
How to install Ai Agents Setup
Claude Code
- Download ai-agents-setup.md from the repository.
- Save it to ~/.claude/commands/ (all projects) or .claude/commands/ (one project). As a skill, you can instead save it as ~/.claude/skills/<name>/SKILL.md.
- Run it by typing / followed by its name.
Claude Cowork
- Turn the command into a skill: create a folder with the file saved as SKILL.md and zip it.
- In Customize → Skills, click +, then upload the ZIP.
- Run it from any task with / and the skill name.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from plugins/ai-ml/ai-sdk-agents/commands/ai-agents-setup.md, shared under the repository's MIT license. Read the full file on GitHub.
You are an expert in multi-agent system architecture and AI SDK v5 orchestration.
Mission
Set up a complete multi-agent orchestration project using @ai-sdk-tools/agents, including:
- Project directory structure
- Multiple specialized agents (coordinator, researcher, coder, reviewer)
- Orchestration configuration
- Environment setup for API keys
- Example usage and testing scripts
Setup Process
1. Check Dependencies
First, verify the user has Node.js 18+ installed:
node --versionIf not installed, guide them to install Node.js from https://nodejs.org/
2. Create Project Structure
mkdir -p ai-agents-project
cd ai-agents-project
# Initialize npm project
npm init -y
# Install dependencies
npm install @ai-sdk-tools/agents ai zod
# Install AI provider SDKs (user chooses)
npm install @ai-sdk/anthropic # For Claude
npm install @ai-sdk/openai # For GPT-4
npm install @ai-sdk/google # For Gemini3. Create Directory Structure
mkdir -p agents
mkdir -p examples
mkdir -p config4. Create Agent Files
agents/coordinator.ts
import { createAgent } from '@ai-sdk-tools/agents';
import { anthropic } from '@ai-sdk/anthropic';
export const coordinator = createAgent({
name: 'coordinator',
model: anthropic('claude-3-5-sonnet-20241022'),
system: `You are a coordinator agent responsible for:
- Analyzing incoming requests
- Routing to the most appropriate specialized agent
- Managing handoffs between agents
- Aggregating results from multiple agents
- Returning cohesive final output
Available agents:
- researcher: Gathers information, searches documentation
- coder: Implements code, follows specifications
- reviewer: Reviews code quality, security, best practices
…agents/researcher.ts
import { createAgent } from '@ai-sdk-tools/agents';
import { anthropic } from '@ai-sdk/anthropic';
import { z } from 'zod';
export const researcher = createAgent({
name: 'researcher',
model: anthropic('claude-3-5-sonnet-20241022'),
system: `You are a research specialist. Your job is to:
- Gather information from documentation
- Search for best practices
- Find relevant examples
- Analyze technical requirements
- Provide comprehensive research summaries
Always provide sources and reasoning for your findings.`,
tools: {
search: {
…agents/coder.ts
import { createAgent } from '@ai-sdk-tools/agents';
import { anthropic } from '@ai-sdk/anthropic';
export const coder = createAgent({
name: 'coder',
model: anthropic('claude-3-5-sonnet-20241022'),
system: `You are a code implementation specialist. Your job is to:
- Write clean, production-ready code
- Follow best practices and patterns
- Implement features according to specifications
- Write code that is testable and maintainable
- Document your code appropriately
When you complete implementation, hand off to reviewer for quality check.`,
handoffTo: ['reviewer', 'coordinator']
});agents/reviewer.ts
import { createAgent } from '@ai-sdk-tools/agents';
import { anthropic } from '@ai-sdk/anthropic';
export const reviewer = createAgent({
name: 'reviewer',
model: anthropic('claude-3-5-sonnet-20241022'),
system: `You are a code review specialist. Your job is to:
- Review code quality and structure
- Check for security vulnerabilities
- Verify best practices are followed
- Ensure code is testable and maintainable
- Provide constructive feedback
Provide a comprehensive review with:
- What's good
- What needs improvement
- Security concerns (if any)
- Overall quality score`
…5. Create Orchestration Setup
index.ts
import { orchestrate } from '@ai-sdk-tools/agents';
import { coordinator } from './agents/coordinator';
import { researcher } from './agents/researcher';
import { coder } from './agents/coder';
import { reviewer } from './agents/reviewer';
// Register all agents
const agents = [coordinator, researcher, coder, reviewer];
export async function runMultiAgentTask(task: string) {
console.log(`\n🤖 Starting multi-agent task: ${task}\n`);
const result = await orchestrate({
agents,
task,
coordinator, // Coordinator decides routing
maxDepth: 10, // Max handoff chain length
timeout: 300000, // 5 minutes
…6. Create Environment Setup
.env.example
# Choose your AI provider(s) and add the appropriate API keys
# Anthropic (Claude)
ANTHROPIC_API_KEY=your_anthropic_key_here
# OpenAI (GPT-4)
OPENAI_API_KEY=your_openai_key_here
# Google (Gemini)
GOOGLE_API_KEY=your_google_key_here.gitignore
node_modules/
.env
dist/
*.log7. Create Example Scripts
examples/code-generation.ts
import { runMultiAgentTask } from '../index';
async function example() {
const result = await runMultiAgentTask(
'Build a TypeScript REST API with user authentication, including tests and documentation'
);
console.log('Result:', result);
}
example();examples/research-pipeline.ts
import { runMultiAgentTask } from '../index';
async function example() {
const result = await runMultiAgentTask(
'Research best practices for building scalable microservices with Node.js'
);
console.log('Result:', result);
}
example(); Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Ai Agents Setup?
Ai Agents Setup is a slash command for Claude Code and Claude Cowork from the jeremylongshore/tons-of-skills-marketplace repository on GitHub. Initialize a multi-agent orchestration project with AI SDK v5 agents,
How do I install Ai Agents Setup in Claude Code?
Download ai-agents-setup.md from the repository. Save it to ~/.claude/commands/ (all projects) or .claude/commands/ (one project). As a skill, you can instead save it as ~/.claude/skills/<name>/SKILL.md. Run it by typing / followed by its name.
Can I use Ai Agents Setup in Claude Cowork?
Turn the command into a skill: create a folder with the file saved as SKILL.md and zip it. In Customize → Skills, click +, then upload the ZIP. Run it from any task with / and the skill name.
Is Ai Agents Setup safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- Severity1 Marketplace Severity level classification and prompt improvement for marketplace plugins. Assigns severity ratings (S1-Critical through S4-Low) and enhances plugin prompts for clarity, safety, and effectiveness. Plugin · jeremylongshore/tons-of-skills-marketplace
- Severity Triage Classifies incoming issues, bug reports, and vulnerability findings using the S1-S4 severity framework with blast-radius analysis and escalation routing. Use when triaging bugs or security findings that need consistent prioritization. Trigger with "triage this issue", "classify severity". Subagent · jeremylongshore/tons-of-skills-marketplace
- Shipwright Enhance Add features to an existing Shipwright project Slash Command · jeremylongshore/tons-of-skills-marketplace
- Shipwright Build Build a new app from a plain-English description Slash Command · jeremylongshore/tons-of-skills-marketplace
- Ai Agents Test Test your multi-agent system with a sample task, showing agent handoffs, Slash Command · jeremylongshore/tons-of-skills-marketplace
- Ai Agent Create Create a new specialized AI agent with custom tools, handoff rules, and Slash Command · jeremylongshore/tons-of-skills-marketplace
- Ai Monitoring Setup Set up comprehensive LLM monitoring, cost tracking, and observability Slash Command · jeremylongshore/tons-of-skills-marketplace
- Aggregate News Aggregate crypto news with sentiment analysis and market impact scoring from Slash Command · jeremylongshore/tons-of-skills-marketplace