mirror of
https://github.com/msitarzewski/agency-agents/
synced 2026-06-09 10:13:17 +00:00
feat(gemini-cli): switch to native subagents (#565)
Migrates Gemini CLI to native subagents (~/.gemini/agents/) + quotes zk-steward description. Rebased from #472; e2e-verified with real gemini v0.43.0. Closes #473. Co-Authored-By: Tomo Wang <tomo_wang@163.com>
This commit is contained in:
committed by
GitHub
parent
723e7e1dd5
commit
f954ca5378
@@ -1,36 +1,40 @@
|
||||
# Gemini CLI Integration
|
||||
|
||||
Packages all Agency agents as a Gemini CLI extension. The extension
|
||||
installs to `~/.gemini/extensions/agency-agents/`.
|
||||
Packages all Agency agents as Gemini CLI subagents. These agents
|
||||
install to `~/.gemini/agents/`.
|
||||
|
||||
## Install
|
||||
|
||||
```bash
|
||||
# Generate the Gemini CLI integration files first
|
||||
# Generate the Gemini CLI agent files first
|
||||
./scripts/convert.sh --tool gemini-cli
|
||||
|
||||
# Then install the extension
|
||||
# Then install them to ~/.gemini/agents/
|
||||
./scripts/install.sh --tool gemini-cli
|
||||
```
|
||||
|
||||
## Activate a Skill
|
||||
## Use an Agent
|
||||
|
||||
In Gemini CLI, reference an agent by name:
|
||||
In Gemini CLI, reference an agent by name in your prompt:
|
||||
|
||||
```
|
||||
Use the frontend-developer skill to help me build this UI.
|
||||
Use the frontend-developer agent to help me build this UI.
|
||||
```
|
||||
|
||||
## Extension Structure
|
||||
Or invoke the agent directly if your version of Gemini CLI supports it:
|
||||
|
||||
```bash
|
||||
gemini --agent frontend-developer "How should I structure this React component?"
|
||||
```
|
||||
|
||||
## Structure
|
||||
|
||||
```
|
||||
~/.gemini/extensions/agency-agents/
|
||||
gemini-extension.json
|
||||
skills/
|
||||
frontend-developer/SKILL.md
|
||||
backend-architect/SKILL.md
|
||||
reality-checker/SKILL.md
|
||||
...
|
||||
~/.gemini/agents/
|
||||
frontend-developer.md
|
||||
backend-architect.md
|
||||
reality-checker.md
|
||||
...
|
||||
```
|
||||
|
||||
## Regenerate
|
||||
|
||||
Reference in New Issue
Block a user