Catalogue / ai-tools-reference
ai-tools-reference
MITSignedVerified configuration reference for three of the AI tools Aide supports: Claude Code, GitHub Copilot and OpenAI Codex (OpenCode only where noted). Covers instruction files, skill discovery paths, frontmatter field support, rules, agents, hooks, MCP and config formats, with a comparison matrix and s…--- name: ai-tools-reference description: >- Verified configuration reference for three of the AI tools Aide supports: Claude Code, GitHub Copilot and OpenAI Codex (OpenCode only where noted). Covers instruction files, skill discovery paths, frontmatter field support, rules, agents, hooks, MCP and config formats, with a comparison matrix and source links. Use when: answering which tool reads which path, changing an installer, adding or moving a skill, checking frontmatter field support, updating the support matrix. Do NOT use for: news about new releases (use check-news), general web questions about the tools. ---
AI tools reference
Verified configuration overview for all AI tools we support. This file is the source of truth — don't guess, look it up here.
Last verified: 2026-03-28
Table of contents
- Cross-cutting standards
- Claude Code
- GitHub Copilot
- OpenAI Codex CLI
- Comparison
- Sources
---
Cross-cutting standards
Skills (SKILL.md)
Skills are a cross-cutting standard. All three tools read skills from overlapping paths:
| Path | Claude Code | Copilot | Codex | |-------------------------------------|:-----------:|:-----------------------------:|:-----:| | ~/.claude/skills/<name>/SKILL.md | yes | no (dropped; verified 1.0.79) | no | | ~/.copilot/skills/<name>/SKILL.md | no | yes | no | | ~/.agents/skills/<name>/SKILL.md | no | yes (v1.0.11+) | yes | | .claude/skills/<name>/SKILL.md | yes | yes | no | | .github/skills/<name>/SKILL.md | no | yes | no | | .agents/skills/<name>/SKILL.md | no | yes | yes |
Format: Folder with SKILL.md as the entry point. YAML frontmatter with name and description (required). Markdown body with instructions.
Frontmatter fields (mapped 2026-08-13, spec 71 in aide-specs): the Agent Skills spec defines exactly six fields — name, description, license, compatibility, metadata, allowed-tools. Tool support:
| Field | Spec | Claude Code | Copilot | Codex | |----------------------------------------------------------------------|:------------:|:---------------:|:-------:|:-------:| | name, description | yes | yes | yes | yes | | license | yes | accepted, inert | yes | ignored | | compatibility, metadata | yes | accepted, inert | ignored | ignored | | allowed-tools | experimental | enforced | yes | ignored | | effort, argument-hint | no | yes | ignored | ignored | | 12 more Claude Code fields (model, context, hooks, paths, …) | no | yes | ignored | ignored |
Aide's policy (additive-only): beyond the spec's six fields, skills may only use Claude Code extras that degrade additively — a tool that ignores them loses a nicety, never a guarantee. Today that is effort and argument-hint. The allowlist is enforced by core/tests/specs/unit/core/validation/rules/test_core_skills.py; behavior-critical fields (disable-model-invocation, user-invocable, context, hooks) are banned by default. Note: claude.ai uploads and the Skills API hard-error on any non-spec field, so the skills cannot be uploaded there as-is — a deliberate trade-off.
Copilot no longer reads `~/.claude/commands/` (verified against 1.0.79 with a probe file, 2026-08-13 — it used to read them as skills). Project-level .claude/commands/*.md IS still read as skills (same verification).
Important for Aide: ~/.claude/skills/ is read by Claude Code only — the Copilot CLI stopped reading it (verified hands-on against 1.0.79 with a probe skill, 2026-08-13). Copilot and Codex read the personal skills from ~/.agents/skills/, where the copilot and codex installers put core/skills/ via core/scripts/_install-skills.sh. Project-level .claude/skills/ is still read by the Copilot CLI (same verification).
Instruction files
All tools have a project instruction file that is read automatically:
| Tool | File | Global | |-------------|------------------------------------|--------------------------------------| | Claude Code | CLAUDE.md or .claude/CLAUDE.md | ~/.claude/CLAUDE.md | | Copilot | .github/copilot-instructions.md | ~/.copilot/copilot-instructions.md | | Codex | AGENTS.md | ~/.codex/AGENTS.md | | OpenCode | AGENTS.md | ~/.config/opencode/AGENTS.md |
Copilot also reads the others' files (only in Coding Agent): AGENTS.md and CLAUDE.md in the repo root.
Claude Code falls back to `AGENTS.md` (v2.1.277): a project with no CLAUDE.md has its AGENTS.md read instead — not yet on Bedrock, Vertex or Foundry. A project that has a CLAUDE.md is read as before. Codex falls back to `CLAUDE.md`: Aide's installer sets project_doc_fallback_filenames = ["CLAUDE.md"] (verified 0.171.0). OpenCode 2 reads only AGENTS.md; Aide adds "CLAUDE.md" to instructions in its global config, which reads it beside AGENTS.md too (verified 2.3.0). In a project the user owns, AGENTS.md holds the instructions and CLAUDE.md holds @AGENTS.md; Aide writes neither file.
Plugins as a way to install Aide
All four tools take plugins, and none can carry Aide's whole setup, so Aide installs files instead (verified 2026-11-22):
| Tool | A plugin can ship | Always-on rules | Note | |-------------|-------------------------------------------|--------------------------------------------------------|--------------------------------------------------------------| | Claude Code | skills, hooks, agents, MCP, LSP, bin/ | no: a plugin CLAUDE.md is ignored, no rules/ | Hook additionalContext capped at 10,000 characters | | Codex | skills, hooks, MCP, apps | no AGENTS.md text, no config.toml keys | Install writes config.toml; plugin hooks need trust | | Copilot | skills, agents, hooks, MCP, LSP, rules | yes: com.github.copilot/rules/ with alwaysApply | A personal skill of the same name wins over the plugin's | | OpenCode | TS module: skills, commands, system text | yes, from code (ctx.session.hook("context", ...)) | Still a plugins entry or a file in ~/.config/opencode/ |
Claude Code, Codex and Copilot name a plugin's skills plugin:skill, so aide-implement would be called by a new name. Plugins load headless in claude -p (not --bare) and copilot -p; for codex exec and opencode run it is not documented. Revisit when Claude Code and Codex plugins can ship always-on instructions (docs/ROADMAP.md, item 8).
---
Claude Code
Docs: <https://code.claude.com/docs/>
Configuration files
| File | Path | Purpose | |---------------------|--------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------| | CLAUDE.md | ./CLAUDE.md, ./.claude/CLAUDE.md, ~/.claude/CLAUDE.md | Instructions | | settings.json | .claude/settings.json, ~/.claude/settings.json | Permissions, hooks, env | | settings.local.json | .claude/settings.local.json | Local overrides (gitignored) | | Skills | ~/.claude/skills/<name>/SKILL.md | Slash commands | | claude.ai sync | syncClaudeAiSkills, syncClaudeAiPlugins in settings.json | Skills and plugins enabled on claude.ai appear in terminal sessions beside ~/.claude/skills (v2.1.275); false turns each off | | Rules | ~/.claude/rules/*.md, .claude/rules/*.md | Automatically loaded rules | | Agents | ~/.claude/agents/*.md, .claude/agents/*.md | Subagent definitions | | Commands | ~/.claude/commands/*.md | Unified with skills (both create / commands) | | MCP | ~/.claude/.mcp.json, .claude/.mcp.json | MCP servers | | Memory | ~/.claude/projects/<project>/memory/ | Auto-memory |
Rules
Markdown files in .claude/rules/ or ~/.claude/rules/. Optional YAML frontmatter with paths (glob or YAML list of globs) for path-specific rules. Without paths they are always loaded at session start.
Agents
Markdown with YAML frontmatter. Key fields: name, description, tools, model, skills, mcpServers, hooks, memory, isolation.
Hooks
Configured in settings.json. Events: PreToolUse, PostToolUse, UserPromptSubmit, Stop, SessionStart, SubagentStart, CwdChanged, FileChanged, TaskCreated, StopFailure and more. Hook types: command, http, mcp_tool, prompt, agent. An mcp_tool hook calls a tool on a configured MCP server and treats its text output like a command hook's stdout. Hooks support an if field with permission rule syntax for conditional execution.
What happens when a hook fails or times out:
timeoutis in seconds. The default is 600 forcommand,httpand
mcp_tool, 30 for prompt and 60 for agent.
- A failed or timed-out hook does not stop the action unless the hook
sets "onFailure": "block"; then the failure counts as exit code 2. onFailure works on command and http hooks from v2.1.295, and on mcp_tool hooks from v2.1.328. It has no effect on Stop, SubagentStop, TaskCompleted, TeammateIdle or background hooks. This repo's push guard (scripts/guard-push) sets it, so a guard that crashes or times out stops the push. The hooks Aide installs into other projects do not, so a crash there lets the command through.
Code Mode and refused calls (v2.1.328):
- Code Mode no longer runs
UserPromptSubmithooks on a script's
Preview shortened. The full SKILL.md is in the pack.
| File | Size | SHA-256 |
|---|---|---|
| SKILL.md | 31.0 kB | 0ec978b592cd |
| SKILVAULT_SOURCE.json | 1.2 kB | 223f7562ba2c |
| THIRD_PARTY_NOTICES.md | 1.1 kB | 67523d794ccd |
Published verbatim from the pinned commit. Nothing is rewritten.
| Version | Pinned commit | Signed | |
|---|---|---|---|
| 0.1.0 Current | cf2baace4816 | 24 Nov 2026 |
Locking a skill to one version needs Pro.