Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

agent-registry

bởi matrixy

AI & LLMs
2.1kLượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

MANDATORY agent discovery system for token-efficient agent.

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

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

AGENT
  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

ĐẦU RA

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

Yêu cầu

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

Cài đặt

clawhub install matrixy/agent-registry

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết