Commit Graph
3 Commits
Author SHA1 Message Date
Hotragn Pettugani d3a3f573e3 fix(aider): CONVENTIONS.md is a roster index, not 3.8 million characters of agents (#871)
Aider loads a conventions file into context and keeps it there for the whole
session — that is what the file is for, and the docs say to load it with
--read so prompt caching can hold it. This integration concatenated every
agent body into it. At 279 agents that is 3,816,372 characters, roughly a
million tokens. No model takes that. Anyone who ran

    ./scripts/install.sh --tool aider

got a CONVENTIONS.md that either blows the context window on the first turn
or bills for a million tokens trying.

CONVENTIONS.md is now the roster index it was described as: one entry per
agent with the name, the description, the division, and the path to the
agent file. 96,823 characters, down from 3.8 million. The header explains
how to pull a single agent's full instructions into the session:

    /read-only /path/to/agency-agents/engineering/engineering-frontend-developer.md

Naming an agent in a prompt still works the way it did — the description is
what the model needed for that, and it is still there.

test-convert-outputs.sh now holds the index to being an index: it fails if
CONVENTIONS.md grows past 250,000 characters, if it does not list exactly
one path per roster agent, or if any path it prints does not resolve. The
existing round-trip check on the accumulated file still covers the names and
descriptions.
2026-09-20 18:35:10 -05:00
Ryanba 30f6f18d41 文档: 同步 OpenClaw 安装与集成说明 (#432)
Syncs OpenClaw install docs and integration paths. Aligns README examples with current script behavior.
2026-04-10 18:54:58 -05:00
4shil 4f68131a01 feat: add multi-tool integration scripts and converted agent files
Adds support for installing The Agency agents across 7 agentic coding
tools via two scripts:

scripts/convert.sh
  - Reads all 61 agents and converts them into tool-specific formats
  - Supports: Antigravity, Gemini CLI, OpenCode, Cursor, Aider, Windsurf
  - Shellcheck-clean, pure bash, no external deps
  - Run: ./scripts/convert.sh [--tool <name>]

scripts/install.sh
  - Interactive terminal UI with auto-detection of installed tools
  - Pre-selects detected tools, toggle by number or bulk commands
  - Falls back gracefully in CI / non-interactive mode
  - Cross-platform: Linux, macOS (bash 3.2+), Windows Git Bash / WSL
  - Run: ./scripts/install.sh [--tool <name>] [--no-interactive]

integrations/ (generated, committed for reference)
  - antigravity/   SKILL.md per agent (61 files)
  - gemini-cli/    SKILL.md per agent + gemini-extension.json
  - opencode/      .md agent files for .opencode/agent/
  - cursor/        .mdc rule files for .cursor/rules/
  - aider/         single CONVENTIONS.md (all agents combined)
  - windsurf/      single .windsurfrules (all agents combined)
  - claude-code/   README only (agents copied directly from repo root)
  - README.md      full usage + tool-specific instructions

README.md
  - Added Multi-Tool Integrations section with supported tools table,
    quick-start guide, per-tool expandable instructions, and updated
    roadmap marking integrations as complete
2026-03-08 20:30:01 +05:30