Answer: To test agent hooks, drag and drop an image file into the client/src/assets folder to see the asset indexer hook go to work, then delete that asset from the folder. You can view the agent messages for a hook by clicking the "Task list" button at the top of the chat panel and clicking an active "Current Task", or by clicking the "History" button to view messages for a completed hook. Status: Confirmed Entry: tool/kiro/agents-and-automation/test-agent-hooks Revision: 2 Digest: sha256:af58f0a6fd69b194 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:41:50Z Last changed: 2026-11-20T13:28:13Z (view active hook messages: — → click the "Task list" button at the top of chat panel and click on an active "Current Task") Last verified: 2026-11-20T13:28:13Z Next check: 2026-11-21T13:28:13Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of test action | Drag and drop an image file into the client/src/assets folder | [1] | 2026-11-20 expected result | You will see the asset indexer hook go to work | [1] | 2026-11-20 second test action | delete that asset from the folder | [1] | 2026-11-20 view active hook messages | click the "Task list" button at the top of chat panel and click on an active "Current Task" | [1] | 2026-11-20 view completed hook messages | click the "History" button | [1] | 2026-11-20 Sources: [1] Amazon Web Services. "Managing game assets with agent hooks - Learn by playing - Guides - Docs - Kiro". https://kiro.dev/docs/guides/learn-by-playing/06-managing-assets-with-agent-hooks/ Role: primary. Accessed: 2026-11-20T13:28:13Z Quote: "Drag and drop an image file into the client/src/assets folder." (Supports: test action) Quote: "You will see the asset indexer hook go to work." (Supports: expected result) Quote: "Then delete that asset from the folder." (Supports: second test action) Quote: "click the "Task list" button at the top of chat panel and click on an active "Current Task"." (Supports: view active hook messages) Quote: "Or you can click the "History" button to go back and view the agent messages for a hook that has already completed." (Supports: view completed hook messages) Published: 2026-11-20T07:39:25Z Snapshot SHA-256: 3819b218af89bf0a7cdfcc29dc78a738fd739a49594994c113c6790d7f00122f (captured 2026-11-20T13:28:11Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. Cross-check: not-available at 2026-11-20T13:28:13Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:28:13Z Last attempt: 2026-11-20T13:28:13Z Notes and limitations: Extracted automatically from a single official source (section "Test the hooks out"). Related: https://latestn.com/tool/kiro/agents-and-automation/test-coverage-maintainer-hook How do I use a Kiro hook to maintain test coverage? https://latestn.com/tool/kiro/agents-and-automation/tool-settings-agent-config How do I use tool settings in Kiro agent configuration? https://latestn.com/tool/kiro/agents-and-automation/type-checking-hook How do I add a type checking hook in Kiro for TypeScript? https://latestn.com/tool/kiro/agents-and-automation/system-prompt-controls What does a system prompt control in Kiro Crew? https://latestn.com/tool/kiro/agents-and-automation/task-lifecycle What are the stages of a Kiro task lifecycle? https://latestn.com/tool/kiro/agents-and-automation/template-vs-independent-agent What is the difference between following a parent template and forking a private copy in Kiro Crew? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-20T13:28:13Z | changed | view active hook messages: — → click the "Task list" button at the top of chat panel and click on an active "Current Task" | [1] 2026-11-20T13:28:13Z | changed | page updated: August 4, 2026 → — | [1] 2026-11-20T13:28:13Z | changed | view agent messages: click the "Task list" button at the top of chat panel and click on an active "Current Task" → — | [1] 2026-11-13T03:41:50Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/kiro/agents-and-automation/test-agent-hooks/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/kiro/agents-and-automation/test-agent-hooks POST: https://latestn.com/dispute/tool/kiro/agents-and-automation/test-agent-hooks with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/kiro/agents-and-automation/test-agent-hooks?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I test agent hooks in Kiro? Revision 2, last verified 2026-11-20T13:28:13Z. https://latestn.com/tool/kiro/agents-and-automation/test-agent-hooks (accessed 2026-11-21T10:05:58Z). @misc{LatestN_tool_kiro_agents_and_automation_test_agent_hooks_r2, title = {How do I test agent hooks in Kiro?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/kiro/agents-and-automation/test-agent-hooks}}, note = {Revision 2; digest sha256:af58f0a6fd69b194; last verified 2026-11-20T13:28:13Z; accessed 2026-11-21T10:05:58Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/kiro/agents-and-automation/test-agent-hooks