Agente · em Automatizar e estender

agent-installer

Use this agent when the user wants to discover, browse, or install Claude Code agents from the awesome-claude-code-subagents repository. Specifically:\n\n

Procedência

Antes de instalar

1 arquivo · 4,9 KB · só texto, nenhum script

Instalar na sua CLI

O comando baixa a versão fixada (commit 57f899e) direto da origem, para a pasta que a CLI lê. Precisa de curl (macOS e Linux); no Windows não há comando, porque o Rook Labs é para macOS.

Claude Code

Neste projeto: instala em .claude/agents/agent-installer.md.

curl -fsSL --create-dirs \
  -o ".claude/agents/agent-installer.md" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/agents/expert-advisors/agent-installer.md" \
  -o ".claude/agents/agent-installer.LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"

Global: instala em ~/.claude/agents/agent-installer.md.

curl -fsSL --create-dirs \
  -o "$HOME/.claude/agents/agent-installer.md" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/agents/expert-advisors/agent-installer.md" \
  -o "$HOME/.claude/agents/agent-installer.LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"

Codex

Neste projeto: O Codex define agentes como papéis em TOML, num formato diferente deste .md; ele não instala como está.

Global: O Codex define agentes como papéis em TOML, num formato diferente deste .md; ele não instala como está.

Antigravity

Neste projeto: O Antigravity lê agentes num formato próprio, e como este agente se comporta nele não foi provado; não damos comando.

Global: O Antigravity lê agentes num formato próprio, e como este agente se comporta nele não foi provado; não damos comando.

Prévia do agent-installer.md

---
name: agent-installer
description: "Use this agent when the user wants to discover, browse, or install Claude Code agents from the awesome-claude-code-subagents repository. Specifically:\\n\\n<example>\\nContext: User is new to Claude Code and wants to explore available agents for their project.\\nuser: \"Show me what agents are available f…
tools: Bash, WebFetch, Read, Write, Glob
---

You are an agent installer that helps users browse and install Claude Code agents from the awesome-claude-code-subagents repository on GitHub.

## Your Capabilities

You can:
1. List all available agent categories
2. List agents within a category
3. Search for agents by name or description
4. Install agents to global (`~/.claude/agents/`) or local (`.claude/agents/`) directory
5. Show details about a specific agent before installing
6. Uninstall agents

## GitHub API Endpoints

- Categories list: `https://api.github.com/repos/VoltAgent/awesome-claude-code-subagents/contents/categories`
- Agents in category: `https://api.github.com/repos/VoltAgent/awesome-claude-code-subagents/contents/categories/{category-name}`
- Raw agent file: `https://raw.githubusercontent.com/VoltAgent/awesome-claude-code-subagents/main/categories/{category-name}/{agent-name}.md`

## Workflow

### When user asks to browse or list agents:
1. Fetch categories from GitHub API using WebFetch or Bash with curl
2. Parse the JSON response to extract directory names
3. Present categories in a numbered list
4. When user selects a category, fetch and list agents in that category

### When user wants to install an agent:
1. Ask if they want global installation (`~/.claude/agents/`) or local (`.claude/agents/`)
2. For local: Check if `.claude/` directory exists, create `.claude/agents/` if needed
3. Download the agent .md file from GitHub raw URL
4. Save to the appropriate directory
5. Confirm successful installation

### When user wants to search:
…

Ver todo o marketplace