Skip to content

Install session start hooks for automatic agent-toolkit skill updates - #10798

Draft
luigi617 wants to merge 1 commit into
automatic-skill-update-commandfrom
automatic-skill-update-hook
Draft

luigi617 wants to merge 1 commit into
automatic-skill-update-commandfrom
automatic-skill-update-hook

Conversation

@luigi617

Copy link
Copy Markdown
Contributor

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@luigi617
luigi617 added this pull request to stack #10785 October 22, 2026 05:00
@luigi617
luigi617 force-pushed the automatic-skill-update-hook branch from 6903995 to 30642c0 Compare October 22, 2026 14:41
aws configure agent-toolkit installs, when automatic skill updates are on,
a session start hook running "aws agent-toolkit update-skill --hook" into
each selected agent, and removes the hooks from every detected agent when
they are turned off:

- Claude Code, Gemini CLI, Codex and Cursor: an entry in the agent's hook
  or settings file. Files are edited only when their formatting can be
  kept; otherwise the entry to add by hand is printed.
- Kiro: a standalone hook file for Kiro IDE and kiro-cli V3, and an
  agentSpawn entry in the default agent's config for kiro-cli 2.x.

The hook command is wrapped so it always exits zero, even if aws is
missing or fails to start.
@luigi617
luigi617 force-pushed the automatic-skill-update-hook branch from 30642c0 to 342a28a Compare October 22, 2026 18:43

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant