跳到正文
TakoAPI
返回技能列表

agent-registry

由 matrixy 提供

AI & LLMs
2.1k下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

MANDATORY agent discovery system for token-efficient agent.

描述

该技能的功能

Agent Registry is a lazy-loading discovery system for Claude Code agents. Instead of loading all agents upfront, it indexes them and loads only what's needed for a given task. Reduces context window usage by roughly 95% compared to loading all agents at startup.

Avoids the ~16k token overhead of loading all agents upfront by indexing them and fetching only the ones relevant to each task.

何时使用

  • Finding the right specialized agent for a code review task
  • Listing all available agents when starting a new project
  • Loading a security auditor agent on demand for vulnerability checks
  • Migrating existing ~/.claude/agents/ files into the registry
  • Running complex multi-step workflows without hitting token limits

示例工作流

输入

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

智能体
  1. 1

    Run search.js with keywords extracted from the request: bun bin/search.js "code review security authentication"

  2. 2

    Review relevance scores in results to identify best-matching agent

  3. 3

    Load the top-scoring agent's full instructions: bun bin/get.js security-auditor

  4. 4

    Follow the loaded agent's instructions to perform the security review

输出

Security audit of the authentication code using the loaded agent's specialized instructions

前置要求

  • Bun runtime (ships with Claude Code, no separate install needed)

安装

clawhub install matrixy/agent-registry

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接