new-agent-creation
When to Use: Creating new AI agents for Unite-Hub
npx skills add majiayu000/claude-skill-registry --skill new-agent-creation --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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
- Step-by-Step Agent Implementation
- Quick Start Template
- 1. Create Agent File
- 2. Register in Orchestrator
- 3. Add to Registry
- 4. Create Tests
- 5. Create CLI Runner (Optional)
- Checklist
What does the new-agent-creation skill do?
When to Use: Creating new AI agents for Unite-Hub
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill new-agent-creation --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
