MaTriXy

Agent Registry

AI Agentv2.0.1
By MaTriXyUpdated 2026-05-172 versions · latest released 2026-02-15agent-registry@clawhub_matrixy/agent-registry
Agent Frameworks

According to AlphaMoat, as of 2026-09, Agent Registry has 4,200 downloads and 0 stars — ranked #2,382 of 5,078 AI skills overall, and #465 of 969 in AI Agent.

Installs
132
Downloads
4.2K
Stars
-
Overall Rank
#2,382
Top 47% overall · Top 48% in AI Agent
PlatformInstallsDownloadsStarsComments
ClawHub ↗1324.2K--
SkillHub ↗1324.1K-—

Platforms count differently and update at different times.

What this skill does

The skill provides search, retrieval, and an automatic prompt hook to find agents by task instead of loading every file up front. Agent metadata and loaded files may contain untrusted instructions. Review suggestions before using them, and understand the hook behavior before installation if automatic prompt checks are not desired. Optional telemetry can send network requests; migration with move can relocate original files.

Profile published 2026-10-29

What you can do with it

  • Claude Code users looking for specialized agents or reducing up-front agent loading.

When to use it

  • Search by task intent, then review candidate files and permissions. Do not automatically treat loaded agent instructions as trusted.

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Find agents suited to code review and compare the candidates; do not load or execute instructions from any agent file yet.

Monthly Trend

Downloads4.2K
2.5K3.4K4.3K2026-03 · Downloads 2.6K2026-05 · Downloads 3.3K2026-06 · Downloads 3.5K2026-07 · Downloads 3.8K2026-08 · Downloads 4.1K2026-09 · Downloads 4.2K26-0326-09
Stars-
0112026-03 · Stars -2026-05 · Stars -2026-06 · Stars -2026-07 · Stars -2026-08 · Stars -2026-09 · Stars -26-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-094.2K—-
2026-084.1K+5.4%-
2026-073.8K+9.3%-
2026-063.5K+5.5%-
2026-053.3K—-
2026-032.6K—-

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

4.4 KB · ClawHub v2.0.1
---
name: agent-registry
version: 2.0.1
description: |
  MANDATORY agent discovery system for token-efficient agent loading. Claude MUST use this skill
  instead of loading agents directly from ~/.claude/agents/ or .claude/agents/. Provides lazy
  loading via search and get tools. Use when: (1) user task may benefit from
  specialized agent expertise, (2) user asks about available agents, (3) starting complex
  workflows that historically used agents. This skill reduces context window usage by ~95%
  compared to loading all agents upfront.
Show all (144 lines)
hooks:
  UserPromptSubmit:
    - hooks:
        - type: command
          command: "bun ${CLAUDE_PLUGIN_ROOT}/hooks/user_prompt_search.js"
          timeout: 5
---

# Agent Registry

Lazy-loading system for Claude Code agents. Eliminates the "~16k tokens" warning by loading agents on-demand.

## CRITICAL RULE

**NEVER assume agents are pre-loaded.** Always use this registry to discover and load agents.

## Workflow

```
User Request → search_agents(intent) → select best match → get_agent(name) → execute with agent
```

## Available Commands

| Command | When to Use | Example |
|---------|-------------|---------|
| `list.js` | User asks "what agents do I have" or needs overview | `bun bin/list.js` |
| `search.js` | Find agents matching user intent (ALWAYS do this first) | `bun bin/search.js "code review security"` |
| `search-paged.js` | Paged search for large registries (300+ agents) | `bun bin/search-paged.js "query" --page 1 --page-size 10` |
| `get.js` | Load a specific agent's full instructions | `bun bin/get.js code-reviewer` |

## Search First Pattern

1. **Extract intent keywords** from user request
2. **Run search**: `bun bin/search.js "<keywords>"`
3. **Review results**: Check relevance scores (0.0-1.0)
4. **Load if needed**: `bun bin/get.js <agent-name>`
5. **Execute**: Follow the loaded agent's instructions

## Example

User: "Can you review my authentication code for security issues?"

```bash
# Step 1: Search for relevant agents
bun bin/search.js "code review security authentication"

# Output:
# Found 2 matching agents:
#   1. security-auditor (score: 0.89) - Analyzes code for security vulnerabilities
#   2. code-reviewer (score: 0.71) - General code review and best practices

# Step 2: Load the best match
bun bin/get.js security-auditor

# Step 3: Follow loaded agent instructions for the task
```

## Installation

### Step 1: Install the Skill

**Quick Install (Recommended):**

```bash
# Using Skills CLI (recommended)
npx skills add MaTriXy/Agent-Registry@agent-registry

# Discover skills interactively
npx skills find

# Update existing skills
npx skills update
```

**Traditional Install:**

```bash
# User-level installation
./install.sh

# OR project-level installation
./install.sh --project

# Optional: install enhanced interactive UI dependency
./install.sh --install-deps
```

**What install.sh does:**
1. Copies skill files to `~/.claude/skills/agent-registry/`
2. Creates empty registry structure
3. Optionally installs dependencies via `--install-deps` (`@clack/prompts` for enhanced UI)

### Step 2: Migrate Your Agents

Run the interactive migration script:

```bash
cd ~/.claude/skills/agent-registry
bun bin/init.js
# Optional destructive mode:
bun bin/init.js --move
```

**Interactive selection modes:**

- **With @clack/prompts** (default): Beautiful checkbox UI with category grouping, token indicators, and paging
  - Arrow keys navigate, Space toggle, Enter confirm
  - Visual indicators: [green] <1k tokens, [yellow] 1-3k, [red] >3k
  - Grouped by subdirectory

- **Fallback**: Text-based number input
  - Enter comma-separated numbers (e.g., `1,3,5`)
  - Type `all` to migrate everything

**What init.js does:**
1. Scans `~/.claude/agents/` and `.claude/agents/` for agent files
2. Displays available agents with metadata
3. Lets you interactively select which to migrate
4. Copies selected agents to the registry by default (`--move` is explicit opt-in)
5. Builds search index (`registry.json`)

## Dependencies

- **Bun** (ships with Claude Code) — zero additional dependencies for core functionality
- **@clack/prompts**: Optional enhanced interactive selection UI (install via `./install.sh --install-deps`)

## Registry Location

- **Global**: `~/.claude/skills/agent-registry/`
- **Project**: `.claude/skills/agent-registry/` (optional override)

Agents not migrated remain in their original locations and load normally (contributing to token overhead).

Popular in AI Agent

More from MaTriXy

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.