{"name":"agent.offer","slug":"agent-offer","family":"setting","title":"Settings keys","noun":"settings key","description":"Plugins can now control which subagents are offered, skill prompt text, and commit attribution.","description_source":"entry","described_by":{"version":"2.1.251","anchor":"plugins-can-now-hook-agent-offers-skill-prompts-and-attribut"},"presence":{"first_seen":null,"removed_in":null,"in_current_build":false,"newest_mined":"2.1.330","builds":0,"mined_builds":169,"first_cited":{"version":"2.1.251","released_at":"2026-08-28 15:34:26","spans":2}},"aliases":[],"entries":[{"version":"2.1.328","anchor":"tool-offer-and-surfaced-tools-announcements","heading":"Agent offer events now say which agent they are for","line":"The agent offer event now includes the agent's ID, and Claude Code records when tools meant to load up front surface late","released_at":"2026-11-18 23:09:39","reason":"named in this entry, found in this entry's text"},{"version":"2.1.312","anchor":"new-start-shell-task-control-request-and-a-plugin-hook-allo","heading":"Remote clients can ask to start a shell task, and a hooks list grows","line":"A new request lets a connected program start a shell task, and a list in the hooks runtime now holds five event names instead of two","released_at":"2026-10-27 18:36:10","reason":"found in this entry's text"},{"version":"2.1.312","anchor":"prompt-hook-overrides-can-be-bypassed-by-a-new-check","heading":"Some prompt-rewriting hooks can now be skipped by a new check","line":"The `prompt.section`, `agent.offer` and `attribution.text` hooks now also skip when a new condition is met","released_at":"2026-10-27 18:36:10","reason":"found in this entry's text"},{"version":"2.1.267","anchor":"hooks-engine-gains-sessioncompact-sessionreceive-uireso","heading":"Hooks engine gains session.compact, session.receive, ui.resolve event contracts","line":"The plugin hooks system adds validated event types for session compaction, session receive, and UI resolution","released_at":"2026-09-09 18:25:42","reason":"found in this entry's text"},{"version":"2.1.265","anchor":"hook-registry-gains-commanddescribe-as-a-core-hook-event","heading":"Hook registry gains command.describe as a core hook event","line":"Claude Code adds a new internal hook event called command.describe","released_at":"2026-09-08 19:05:16","reason":"found in this entry's text"},{"version":"2.1.251","anchor":"plugins-can-now-hook-agent-offers-skill-prompts-and-attribut","heading":"Plugins can now hook agent offers, skill prompts and attribution text","line":"Plugins can now control which subagents are offered, skill prompt text, and commit attribution.","released_at":"2026-08-28 15:34:26","reason":"found in this entry's text"},{"version":"2.1.251","anchor":"agent-offers-are-described-as-a-matchable-event","heading":"Agent offers are described as a matchable event","line":"Agent offers now have a formal hook event definition answered with a single yes-or-no.","released_at":"2026-08-28 15:34:26","reason":"found in this entry's text"}],"entries_total":7,"docs":[{"source":"claude-code","path":"plugins\/mods\/reference","title":"Mods reference","documented":false}],"docs_total":1,"gates":[],"related":[{"name":"agent","slug":"agent","description":"Start every session as a named [subagent](https:\/\/code.claude.com\/docs\/en\/sub-agents.md) with its prompt, tools, and model"},{"name":"agent.call","slug":"agent-call","description":"Hooks modules in plugins can now run WebAssembly, call an agent, judge tool calls and draw shader and backdrop elements"},{"name":"agent.list","slug":"agent-list","description":"Internal listing of local agents and in-process teammates gains richer detail"},{"name":"agent.register","slug":"agent-register","description":"Plugin SDK adds agent.register and session.refreshAgents, plus a one-shot flag for whether the system prompt was delivered"},{"name":"agent.report","slug":"agent-report","description":"Plugins can now hook into agent.report, and `\/fork` refuses when the launching app chose where added-directory skills come from"},{"name":"agent.spawn","slug":"agent-spawn","description":"A plugin hook can block a subagent from starting or change which model it uses."},{"name":"agentDefinitions","slug":"agentdefinitions","description":"Session telemetry now records whether todo tools were enabled for you."},{"name":"agentId","slug":"agentid","description":"TaskOutput ignores the old wait_up_to setting and just uses the 30 second default timeout."},{"name":"agentNameRegistry","slug":"agentnameregistry","description":null},{"name":"agentPeer","slug":"agentpeer","description":"Artifact live-subscribe now checks agent-peer and sync-live eligibility before connecting, and it is off by default."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/setting\/agent-offer","family_url":"https:\/\/changelogs.core-directive.com\/reference\/setting.json"}