Merge pull request #184 from Smit2553/main

Good catch on the dual-directory requirement — thanks for the screenshots verifying the fix!
This commit is contained in:
Michael Sitarzewski
2026-03-13 20:20:11 -05:00
committed by GitHub
4 changed files with 16 additions and 12 deletions

View File

@@ -487,7 +487,7 @@ The Agency works natively with Claude Code, and ships conversion + install scrip
### Supported Tools ### Supported Tools
- **[Claude Code](https://claude.ai/code)** — native `.md` agents, no conversion needed → `~/.claude/agents/` - **[Claude Code](https://claude.ai/code)** — native `.md` agents, no conversion needed → `~/.claude/agents/`
- **[GitHub Copilot](https://github.com/copilot)** — native `.md` agents, no conversion needed → `~/.github/agents/` - **[GitHub Copilot](https://github.com/copilot)** — native `.md` agents, no conversion needed → `~/.github/agents/` + `~/.copilot/agents/`
- **[Antigravity](https://github.com/google-gemini/antigravity)** — `SKILL.md` per agent → `~/.gemini/antigravity/skills/` - **[Antigravity](https://github.com/google-gemini/antigravity)** — `SKILL.md` per agent → `~/.gemini/antigravity/skills/`
- **[Gemini CLI](https://github.com/google-gemini/gemini-cli)** — extension + `SKILL.md` files → `~/.gemini/extensions/agency-agents/` - **[Gemini CLI](https://github.com/google-gemini/gemini-cli)** — extension + `SKILL.md` files → `~/.gemini/extensions/agency-agents/`
- **[OpenCode](https://opencode.ai)** — `.md` agent files → `.opencode/agents/` - **[OpenCode](https://opencode.ai)** — `.md` agent files → `.opencode/agents/`
@@ -521,7 +521,7 @@ The installer scans your system for installed tools, shows a checkbox UI, and le
System scan: [*] = detected on this machine System scan: [*] = detected on this machine
[x] 1) [*] Claude Code (claude.ai/code) [x] 1) [*] Claude Code (claude.ai/code)
[x] 2) [*] Copilot (~/.github/agents) [x] 2) [*] Copilot (~/.github + ~/.copilot)
[x] 3) [*] Antigravity (~/.gemini/antigravity) [x] 3) [*] Antigravity (~/.gemini/antigravity)
[ ] 4) [ ] Gemini CLI (gemini extension) [ ] 4) [ ] Gemini CLI (gemini extension)
[ ] 5) [ ] OpenCode (opencode.ai) [ ] 5) [ ] OpenCode (opencode.ai)
@@ -572,7 +572,7 @@ See [integrations/claude-code/README.md](integrations/claude-code/README.md) for
<details> <details>
<summary><strong>GitHub Copilot</strong></summary> <summary><strong>GitHub Copilot</strong></summary>
Agents are copied directly from the repo into `~/.github/agents/` -- no conversion needed. Agents are copied directly from the repo into `~/.github/agents/` and `~/.copilot/agents/` -- no conversion needed.
```bash ```bash
./scripts/install.sh --tool copilot ./scripts/install.sh --tool copilot

View File

@@ -64,7 +64,7 @@ See [claude-code/README.md](claude-code/README.md) for details.
## GitHub Copilot ## GitHub Copilot
The Agency also works natively with GitHub Copilot. Agents can be copied The Agency also works natively with GitHub Copilot. Agents can be copied
directly into `~/.github/agents/` without conversion. directly into `~/.github/agents/` and `~/.copilot/agents/` without conversion.
```bash ```bash
./scripts/install.sh --tool copilot ./scripts/install.sh --tool copilot

View File

@@ -6,11 +6,12 @@ agents use the existing `.md` + YAML frontmatter format.
## Install ## Install
```bash ```bash
# Copy all agents to your GitHub Copilot agents directory # Copy all agents to your GitHub Copilot agents directories
./scripts/install.sh --tool copilot ./scripts/install.sh --tool copilot
# Or manually copy a category # Or manually copy a category
cp engineering/*.md ~/.github/agents/ cp engineering/*.md ~/.github/agents/
cp engineering/*.md ~/.copilot/agents/
``` ```
## Activate an Agent ## Activate an Agent

View File

@@ -11,7 +11,7 @@
# #
# Tools: # Tools:
# claude-code -- Copy agents to ~/.claude/agents/ # claude-code -- Copy agents to ~/.claude/agents/
# copilot -- Copy agents to ~/.github/agents/ # copilot -- Copy agents to ~/.github/agents/ and ~/.copilot/agents/
# antigravity -- Copy skills to ~/.gemini/antigravity/skills/ # antigravity -- Copy skills to ~/.gemini/antigravity/skills/
# gemini-cli -- Install extension to ~/.gemini/extensions/agency-agents/ # gemini-cli -- Install extension to ~/.gemini/extensions/agency-agents/
# opencode -- Copy agents to .opencode/agent/ in current directory # opencode -- Copy agents to .opencode/agent/ in current directory
@@ -109,7 +109,7 @@ check_integrations() {
# Tool detection # Tool detection
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
detect_claude_code() { [[ -d "${HOME}/.claude" ]]; } detect_claude_code() { [[ -d "${HOME}/.claude" ]]; }
detect_copilot() { command -v code >/dev/null 2>&1 || [[ -d "${HOME}/.github" ]]; } detect_copilot() { command -v code >/dev/null 2>&1 || [[ -d "${HOME}/.github" || -d "${HOME}/.copilot" ]]; }
detect_antigravity() { [[ -d "${HOME}/.gemini/antigravity/skills" ]]; } detect_antigravity() { [[ -d "${HOME}/.gemini/antigravity/skills" ]]; }
detect_gemini_cli() { command -v gemini >/dev/null 2>&1 || [[ -d "${HOME}/.gemini" ]]; } detect_gemini_cli() { command -v gemini >/dev/null 2>&1 || [[ -d "${HOME}/.gemini" ]]; }
detect_cursor() { command -v cursor >/dev/null 2>&1 || [[ -d "${HOME}/.cursor" ]]; } detect_cursor() { command -v cursor >/dev/null 2>&1 || [[ -d "${HOME}/.cursor" ]]; }
@@ -139,7 +139,7 @@ is_detected() {
tool_label() { tool_label() {
case "$1" in case "$1" in
claude-code) printf "%-14s %s" "Claude Code" "(claude.ai/code)" ;; claude-code) printf "%-14s %s" "Claude Code" "(claude.ai/code)" ;;
copilot) printf "%-14s %s" "Copilot" "(~/.github/agents)" ;; copilot) printf "%-14s %s" "Copilot" "(~/.github + ~/.copilot)" ;;
antigravity) printf "%-14s %s" "Antigravity" "(~/.gemini/antigravity)" ;; antigravity) printf "%-14s %s" "Antigravity" "(~/.gemini/antigravity)" ;;
gemini-cli) printf "%-14s %s" "Gemini CLI" "(gemini extension)" ;; gemini-cli) printf "%-14s %s" "Gemini CLI" "(gemini extension)" ;;
opencode) printf "%-14s %s" "OpenCode" "(opencode.ai)" ;; opencode) printf "%-14s %s" "OpenCode" "(opencode.ai)" ;;
@@ -288,9 +288,10 @@ install_claude_code() {
} }
install_copilot() { install_copilot() {
local dest="${HOME}/.github/agents" local dest_github="${HOME}/.github/agents"
local dest_copilot="${HOME}/.copilot/agents"
local count=0 local count=0
mkdir -p "$dest" mkdir -p "$dest_github" "$dest_copilot"
local dir f first_line local dir f first_line
for dir in design engineering game-development marketing paid-media sales product project-management \ for dir in design engineering game-development marketing paid-media sales product project-management \
testing support spatial-computing specialized; do testing support spatial-computing specialized; do
@@ -298,11 +299,13 @@ install_copilot() {
while IFS= read -r -d '' f; do while IFS= read -r -d '' f; do
first_line="$(head -1 "$f")" first_line="$(head -1 "$f")"
[[ "$first_line" == "---" ]] || continue [[ "$first_line" == "---" ]] || continue
cp "$f" "$dest/" cp "$f" "$dest_github/"
cp "$f" "$dest_copilot/"
(( count++ )) || true (( count++ )) || true
done < <(find "$REPO_ROOT/$dir" -name "*.md" -type f -print0) done < <(find "$REPO_ROOT/$dir" -name "*.md" -type f -print0)
done done
ok "Copilot: $count agents -> $dest" ok "Copilot: $count agents -> $dest_github"
ok "Copilot: $count agents -> $dest_copilot"
} }
install_antigravity() { install_antigravity() {