← ClaudeAtlas

add-adapterlisted

Teach the Gateweave Agents scanner a new coding agent or a new file format of one it already reads - an adapter in packages/adapters with its docs links, redaction, wants/detect and tests. Use when a vendor adds a file type (skills, commands, MCP config) or when adding an agent such as Windsurf or Copilot.
gateweavehq/agents · ★ 2 · AI & Automation · score 65
Install: claude install-skill gateweavehq/agents
# Add or change an adapter `packages/adapters` turns a repository's files into a scan. One module per coding agent; the contract it produces lives in `packages/model/src/inputs.ts` (`DetectedAgent`, `DetectedAsset`, `ScanProblem`, `scanResult`). ## 1. Read the vendor's current docs Formats change often. Fetch the official documentation (not memory, not a blog), and note: - which files are committed to a repository, and at what depth they are read (root only, or any folder, as nested `CLAUDE.md` and `AGENTS.md` are); - each file's format and the fields worth showing (front matter, JSON keys, TOML tables); - which files are personal and gitignored (`CLAUDE.local.md`, `settings.local.json`): skip them; - which other agents' files it also reads (Cursor reads `AGENTS.md` and `.claude/skills`). Put the URLs and the date you checked in the comment at the top of the adapter. Say what the docs contradicted from what you expected; that is what future readers need. ## 2. Write the adapter Create `packages/adapters/src/<agent>.ts` exporting an `Adapter` (`src/types.ts`) and add it to `ADAPTERS` in `src/detect.ts`. If the agent is new, its runtime must exist in `REPOSITORY_RUNTIMES` in `packages/model/src/vocabulary.ts` first; that is a model change. - `wants(path)` is true for every path whose text you need, and only those. The scanner downloads nothing else. It cannot depend on file contents, so a file that is only needed when a setting names it (a custom Gemini `context.f