agent-registry
БесплатноБез исполняемых скриптовНе проверенGuide for managing the Agent Registry - database-backed agent configuration system. Use when asked to "configure agents", "manage skills", "set tool…
от diegosouzapw★ 68 звёзд на GitHubОб этом скилле
Agent Registry Management
Overview
The Agent Registry is a database-backed system for managing AI agent configurations. It replaces file-based configuration with a centralized, dynamic approach that supports:
- Agent definitions - Name, model, base prompt, enabled status
- Skill assignments - Which skills each agent has access to
- Tool permissions - Allow/deny patterns for MCP tools
- Context rules - Agent selection based on platform, chat, environment
Quick Reference
Dashboard UI
Access the Agents tab in the dashboard at http://localhost/ → Management → Agents
Features:
- View all agents with stats (total, enabled, skills, context rules)
- Edit agent details (name, description, model, prompt)
- Manage skills (checkbox list of available skills)
- Configure tool patterns (allow/deny lists)
- View agent details with all configurations
CLI Commands
# Sync database config to filesystem (for OpenCode)
npm run agents:sync
# Sync with verbose output
npm run agents:sync -- --verbose
# Dry run (show what would change)
npm run agents:sync -- --dry-run
# Sync for specific environment
npm run agents:sync -- --env prod
# Seed default agents
npm run agents:seed
# Force re-seed (overwrites existing)
npm run agents:seed:force
# Run database migration
npm run db:migrate
MCP Tools
Two MCP tools are available for agents to self-discover their capabilities:
ai_first_get_agent_context
{
"platform": "whatsapp",
"chatId": "123456789",
"environment": "local"
}
Returns: Agent role, enabled skills, allowed tools, base prompt
ai_first_list_agents
{
"includeDetails": true
}
Returns: All registered agents with optional skill/tool details
Database Schema
Tables
| Table | Purpose |
|---|---|
agents |
Core agent definitions (id, name, model, prompt, enabled) |
agent_skills |
Skills assigned to each agent |
agent_tools |
Tool allow/deny patterns per agent |
context_rules |
Rules for agent selection by context |
Context Types
| Type | Context ID | Purpose |
|---|---|---|
default |
null | Fallback agent when no other rules match |
platform |
whatsapp/slack/opencode/cursor | Platform-specific agent |
chat |
Chat/Channel ID | Chat-specific agent assignment |
channel |
Slack channel name | Channel-specific agent |
environment |
local/prod | Environment-specific skill overrides |
Default Agents
| Agent | Mode | Skills | Description |
|---|---|---|---|
| pm-assistant | primary | jira-management, workflow-management, presentation-updates, message-scheduling, tool-discovery | JIRA, meetings, workflows, project management |
| communicator | specialized | slack-formatting, whatsapp-messages | Slack/WhatsApp messaging with proper formatting |
| scheduler | specialized | message-scheduling, tool-discovery | Calendar management, reminders |
| explorer | specialized | project-architecture, tool-discovery | Fast codebase exploration |
API Endpoints
All endpoints require authentication via JWT token.
Agent CRUD
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/agents |
List all agents |
| GET | /api/agents/stats |
Get registry statistics |
| GET | /api/agents/:id |
Get agent with details |
| POST | /api/agents |
Create new agent |
| PATCH | /api/agents/:id |
Update agent |
| DELETE | /api/agents/:id |
Delete agent |
| POST | /api/agents/:id/toggle |
Toggle enabled status |
Skills
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/agents/:id/skills |
Get agent's skills |
| PUT | /api/agents/:id/skills |
Replace agent's skills |
| GE |
Установить agent-registry в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл agent-registry?
Guide for managing the Agent Registry - database-backed agent configuration system. Use when asked to "configure agents", "manage skills", "set tool permissions", "create context rules", or when working with agent assignments per platform/chat. Covers dashboard UI, API endpoints, CLI commands, and MCP tools.
Как установить скилл agent-registry?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл agent-registry запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic