Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Agent details

Disclaimer: These documents reflect our current understanding of each agent’s hook system and extensibility surface. They are maintained as working references for symposium development, not as a substitute for each project’s official documentation. Details may be outdated or incomplete — always consult the primary sources linked in each agent’s page.

For each agent it supports, symposium needs to know:

  1. Hook registration: where and how to write config so the agent calls symposium hook
  2. Hook I/O protocol: event names, input/output field names, exit code semantics
  3. Extension installation: where skill files go (project and global)
  4. Custom instructions: where the agent reads project-level instructions

The tables below summarize the answers for each agent. Individual agent pages contain the full reference. A ? indicates information we have not yet documented.

Hook registration

AgentProject config pathGlobal config pathFormat
Antigravity CLI.agents/hooks.json~/.gemini/config/hooks.jsonJSON, named entries per hook
Claude Code.claude/settings.json~/.claude/settings.jsonJSON, hooks key with matcher groups
GitHub Copilot.github/hooks/*.json~/.copilot/settings.jsonJSON, version: 1 with hooks key
Codex CLI.codex/hooks.json~/.codex/hooks.jsonJSON, hooks key with matcher groups
Kiro.kiro/agents/*.json~/.kiro/agents/*.jsonJSON, hooks key in agent config
OpenCode.opencode/plugins/~/.config/opencode/plugins/JS/TS plugins (not shell hooks)
Goose(no hooks)(no hooks)N/A

Command field

AgentCommand fieldPlatform-specific?
Antigravity CLIcommandNo
Claude CodecommandNo
GitHub Copilotbash / powershellYes
Codex CLIcommandNo
KirocommandNo
OpenCodeN/A (JS function)N/A
GooseN/AN/A

Timeout defaults

AgentDefault timeoutUnit
Antigravity CLI30seconds (timeout)
Claude Code600seconds
GitHub Copilot30seconds (timeoutSec)
Codex CLI600seconds (timeout or timeoutSec)
Kiro30,000milliseconds (timeout_ms)
OpenCode60,000milliseconds (community hooks plugin)
GooseN/AN/A

Symposium registers 10 seconds for Codex and Copilot and 30 for Antigravity, and leaves the others at their defaults. Plugin hooks run inside that budget, limited to 5 seconds each and 8 together (see the hook flow).

Event names

Symposium registers hooks for four events on every agent with shell hooks, plus stop on Antigravity, Claude Code and Codex. Each agent uses different names and casing conventions; not registered marks an event the agent has but symposium does not hook.

Symposium eventAntigravity CLIClaude CodeCopilotCodex CLIKiro CLIOpenCodeGoose
pre-tool-usePreToolUsePreToolUsepreToolUsePreToolUsepreToolUsetool.execute.beforeN/A
post-tool-usePostToolUsePostToolUsepostToolUsePostToolUsepostToolUsetool.execute.afterN/A
user-prompt-submitPreInvocationUserPromptSubmituserPromptSubmittedUserPromptSubmituserPromptSubmitmessage.updated (filter by role)N/A
session-startSessionStartSessionStartsessionStartSessionStartagentSpawnsession.createdN/A
stopStopStopnot registered (agentStop)Stopnot registered (stop)N/AN/A

Blocking support

Not all events can block the action in all agents.

AgentPre-tool-use can block?Post-tool-use can block?User-prompt can block?Session-start can block?
Antigravity CLIYesNoNoNo
Claude CodeYesNoYes (exit 2)No
GitHub CopilotYesNoNoNo
Codex CLIYesYes (continue: false)Yes (continue: false)Yes (continue: false)
KiroYes (exit 2)NoNoNo
OpenCodeYes (throw Error)NoNo (observe only)No (observe only)
GooseN/AN/AN/AN/A

Hook I/O protocol

Input fields (pre-tool-use)

AgentTool name fieldTool args fieldSession/context fields
Antigravity CLItoolCall.nametoolCall.args (object)conversationId, workspacePaths (array), stepIdx
Claude Codetool_nametool_input (object)session_id, cwd, hook_event_name
GitHub CopilottoolNametoolArgs (JSON string)timestamp, cwd
Codex CLItool_nametool_input (object)session_id, cwd, hook_event_name, model
Kirotool_nametool_input (object)hook_event_name, cwd
OpenCodetoolargs (mutable output object)sessionID, callID
GooseN/AN/AN/A

Output structure (pre-tool-use)

AgentPermission decision fieldDecision valuesModified input fieldNesting
Antigravity CLIdecision (required)allow, deny, ask, force_askoverwriteflat
Claude CodepermissionDecisionallow, deny, ask, deferupdatedInputnested in hookSpecificOutput
GitHub CopilotpermissionDecisionallow, deny, askmodifiedArgsflat
Codex CLIdecision or permissionDecisionblock/deny(not yet implemented)flat or nested hookSpecificOutput
Kiro(exit code only)exit 0 = allow, exit 2 = block(not supported)N/A
OpenCode(throw to block)allow (return) / deny (throw)mutate output.argsJS mutation
GooseN/AN/AN/AN/A

Exit codes

All shell-based agents use the same convention (where applicable):

CodeMeaning
0Success; stdout parsed as JSON
2Block/deny; stderr used as reason
OtherNon-blocking warning, action proceeds

Exceptions: Copilot uses exit 0 = allow, non-zero = deny (no special meaning for exit 2). OpenCode uses JS exceptions, not exit codes. Antigravity ignores exit codes entirely — only stdout decides, and on PreToolUse an object without a valid decision ({} included) is a denial.

Extension installation

Skill file paths

AgentProject skills pathGlobal skills path
Antigravity CLI.agents/skills/<name>/SKILL.md~/.gemini/config/skills/<name>/SKILL.md
Claude Code.claude/skills/<name>/SKILL.md~/.claude/skills/<name>/SKILL.md
GitHub Copilot.agents/skills/<name>/SKILL.md(none)
Codex CLI.agents/skills/<name>/SKILL.md~/.agents/skills/<name>/SKILL.md
Kiro.kiro/skills/<name>/SKILL.md~/.kiro/skills/<name>/SKILL.md
OpenCode.opencode/skills/<name>/SKILL.md~/.agents/skills/<name>/SKILL.md
Goose(N/A — uses MCP extensions)(N/A)

Symposium uses the vendor-neutral .agents/skills/ path whenever the agent supports it, falling back to agent-specific paths (e.g., .claude/skills/, .kiro/skills/) when required. Codex CLI and OpenCode also support .agents/skills/ natively; OpenCode still gets .opencode/skills/, so that an agent taking a plugin does not also find OpenCode’s per-skill copies of its skills (see OpenCode).

Custom instructions

AgentProject instructionsGlobal instructions
Antigravity CLIAGENTS.md, GEMINI.md, .agents/rules/*.md(none)
Claude CodeCLAUDE.md, .claude/CLAUDE.md~/.claude/CLAUDE.md
GitHub Copilot.github/copilot-instructions.md, AGENTS.md~/.copilot/copilot-instructions.md
Codex CLIAGENTS.md (each dir level)~/.codex/AGENTS.md
Kiro.kiro/steering/*.md, AGENTS.md~/.kiro/steering/*.md
OpenCodeAGENTS.md, CLAUDE.md~/.config/opencode/AGENTS.md
Goose.goosehints, AGENTS.md~/.config/goose/.goosehints

MCP server configuration

Relevant if symposium exposes functionality via MCP.

An agent’s MCP file is usually not the file its hooks live in, and the per-agent entry shapes differ more than they look. Agent::mcp_config_path encodes this table; every row marked verified was confirmed by asking the tool (<tool> mcp list reporting an entry symposium wrote, and <tool> mcp add showing which file it chooses), because a wrong guess here fails silently - symposium reports success for a file the agent never reads.

AgentProject scopeUser scopeEntry shapeVerified
Claude Code<project>/.mcp.json~/.claude.jsonmcpServers.<name> = {command, args}yes
Antigravity CLI<project>/.agents/mcp_config.json~/.gemini/config/mcp_config.jsonmcpServers.<name> = {command, args}yes (agy mcp add)
OpenCode<project>/opencode.json~/.config/opencode/opencode.jsonmcp.<name> = {type: "local", command: [bin, ...args], enabled, environment}yes
Codex CLI(none - user scope only)~/.codex/config.toml[mcp_servers.<name>] = command, argsyes
GitHub Copilot CLI(none - user scope only)~/.copilot/mcp-config.jsonmcpServers.<name> = {command, args}yes
Kiro.kiro/settings/mcp.json~/.kiro/settings/mcp.jsonmcpServers.<name> = {command, args}no (GUI only)
Goose(none - user scope only)~/.config/goose/config.yamlextensions.<name> = {name, type: stdio, cmd, args, enabled, envs}yes

Notes that cost real debugging time:

  • Claude Code ignores mcpServers in settings.json at both scopes - that file is hooks only. See Claude Code.
  • The Copilot CLI requires the mcpServers wrapper; entries written bare at the top level make it reject the whole file (mcpServers: Required), taking the user’s own servers down with it. .vscode/mcp.json belongs to the VS Code extension, a different product symposium does not currently target.
  • OpenCode rejects the entire config file for a wrong entry shape, so its serializer is separate: the command is one array, and env vars go under environment (an env key parses but never reaches the child).
  • Codex, Copilot CLI and Goose have no project-level MCP config, so project scope resolves to their user-level file rather than to a file nobody reads.
  • Antigravity keeps MCP in its own mcp_config.json, not in the hooks.json beside it, so a broken hooks file cannot take MCP down with it. agy mcp add has no scope flag and always writes the user-level file.
  • Goose uses cmd, not command, and requires a type; the nested provider: mcp / config: form it once got is rejected outright. Remote is type: streamable_http with uri - Goose has no sse variant.
  • env/headers must be maps. ACP models them as [{name, value}] pairs, and a list is skipped or rejected - silently, for an entry that differs from a working one only by carrying env. Codex takes env as a TOML table, Goose as envs, OpenCode as environment, everyone else as env.
  • The Copilot CLI also needs an explicit type (local/http/sse), or a remote entry never appears.
  • Config files can hold tokens (env, headers) and are often symlinks into a dotfiles repository. A plain temp-file rename turned a 0600 file into 0644 and replaced the link with a regular file, so save_json resolves the link and uses the target’s Unix permissions from the moment the temp file is created. New configs retain the normal 0666 creation mode filtered by the process umask.
  • A user can switch one of symposium’s entries off without removing it, and sync, which also runs on hook events, keeps that choice while it brings the rest of the entry up to date: enabled: false on an OpenCode or Goose MCP entry, and on Antigravity’s named symposium hook.