strategy/ agents missing from divisions.json — not counted in install.sh or displayed in TUI

Author: lijunyu726Created Jul 31, 2026Updated Jul 31, 2026

divisions.json has 17 divisions registered, but strategy/ contains 16 agent files with proper frontmatter that install.sh does scan (via AGENT_DIRS), yet they do not appear in team counts or the interactive selector.

Reproduction

./scripts/install.sh --tool claude-code --dry-run
# Shows: Teams: all (17) | Agents: 270

./scripts/install.sh --list teams
# Lists 17 teams; strategy/ is absent from the count

Root cause

  • AGENT_DIRS in install.sh includes strategy (line ~155)
  • divisions.json has no "strategy" entry
  • install_claude_code() iterates AGENT_DIRS and calls is_agent_file() on every .md, so strategy files DO get copied — they are just invisible to the selection/UI layer because ALL_DIVISIONS (derived from divisions.json) is what drives the TUI and count reporting

Fix

Add "strategy" to divisions.json:

"strategy": { "label": "Strategy", "icon": "Brain", "color": "#8B5CF6" }

Add strategy to the division_emoji() case in install.sh for completeness:

strategy) printf '';;

After the fix, install.sh --list teams should show 18 teams / 286 agents instead of 17 / 270.

Note

The strategy files are already being copied to ~/.claude/agents/ — this is a reporting/UI issue only, not a functional install bug.

Source: msitarzewski/agency-agents