← ClaudeAtlas

new-agent-creationlisted

Provides step-by-step templates and guidance for creating new AI agents in Unite-Hub with proper registration, testing, and governance
aiskillstore/marketplace · ★ 329 · AI & Automation · score 79
Install: claude install-skill aiskillstore/marketplace
# New Agent Creation Skill ## Step-by-Step Agent Implementation **When to Use**: Creating new AI agents for Unite-Hub --- ## Quick Start Template ### 1. Create Agent File **Location**: `src/lib/agents/my-new-agent.ts` ```typescript import { BaseAgent, AgentTask, AgentConfig } from './base-agent'; import { getAnthropicClient } from '@/lib/anthropic/lazy-client'; export class MyNewAgent extends BaseAgent { constructor() { super({ name: 'MyNewAgent', queueName: 'my-new-agent-queue', concurrency: 1, retryDelay: 5000 }); } protected async processTask(task: AgentTask): Promise<any> { // Your agent logic here const client = getAnthropicClient(); const response = await client.messages.create({ model: 'claude-sonnet-4-5-20250929', max_tokens: 4096, messages: [{ role: 'user', content: `Task: ${task.task_type}\nPayload: ${JSON.stringify(task.payload)}` }] }); return { result: response.content[0].text, workspace_id: task.workspace_id, model_used: 'claude-sonnet-4-5-20250929', input_tokens: response.usage.input_tokens, output_tokens: response.usage.output_tokens }; } } ``` ### 2. Register in Orchestrator **File**: `src/lib/agents/orchestrator-router.ts` ```typescript // Add to AgentIntent enum export type AgentIntent = | 'my_new_agent' // ← Add this | 'email' | 'content' | ...; // Add to classifyIntent function if (objective.includes('my