Answer: To remove files from your current session context, use the /context remove command (e.g., /context remove src/temp-file.py). To clear all session context, use the /context clear command. Status: Confirmed Entry: tool/kiro/memory-and-context/remove-context Revision: 1 Digest: sha256:c6c0ea15009c37c1 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:36:15Z Last changed: 2026-11-13T03:36:15Z Last verified: 2026-11-20T13:19:30Z Next check: 2026-11-21T13:19:30Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of remove files command | /context remove src/temp-file.py | [1] | 2026-11-20 clear all command | /context clear | [1] | 2026-11-20 temporary note | Context modifications via slash command is temporary. | [1] | 2026-11-20 agent-defined context note | You cannot remove agent-defined context using /context commands. | [1] | 2026-11-20 permanent removal | edit your agent's resources field | [1] | 2026-11-20 Sources: [1] Amazon Web Services. "Context management - Chat - CLI - Docs - Kiro". https://kiro.dev/docs/cli/chat/context/ Role: primary. Accessed: 2026-11-20T13:19:30Z Quote: "To remove files from your current session context: bash > /context remove src/temp-file.py" (Supports: remove files command) Quote: "To clear all session context, use the /context clear command: bash > /context clear" (Supports: clear all command) Quote: "Note: Context modifications via slash command is temporary." (Supports: temporary note) Quote: "Note: You cannot remove agent-defined context using /context commands." (Supports: agent-defined context note) Quote: "To permanently remove context, edit your agent's resources field." (Supports: permanent removal) Published: 2026-11-20T07:39:25Z Snapshot SHA-256: faec97ded77aaa3149d87a842618aa72943a0a8f2160c7b5c0716451a85023c3 (captured 2026-11-20T13:19:30Z) 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:19:30Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:19:30Z Last attempt: 2026-11-20T13:19:30Z Notes and limitations: Extracted automatically from a single official source (section "Removing context"). Related: https://latestn.com/tool/kiro/memory-and-context/review-memory How can I review what Kiro remembers about my project? https://latestn.com/tool/kiro/memory-and-context/set-up-steering-files How do I set up steering files in Kiro? https://latestn.com/tool/kiro/memory-and-context/setup-steering-files How do I set up Kiro steering files to guide the agent? https://latestn.com/tool/kiro/memory-and-context/memory-modes What are the memory modes in Kiro Crew and what does the agent remember? https://latestn.com/tool/kiro/memory-and-context/memory-vs-other-context How does Kiro's Memory interact with other context like steering and specs? https://latestn.com/tool/kiro/memory-and-context/persistent-context-agent-resources How do I add persistent context with agent resources in Kiro CLI? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:36:15Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/kiro/memory-and-context/remove-context/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/memory-and-context/remove-context POST: https://latestn.com/dispute/tool/kiro/memory-and-context/remove-context with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/kiro/memory-and-context/remove-context?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I remove context from a Kiro CLI chat session? Revision 1, last verified 2026-11-20T13:19:30Z. https://latestn.com/tool/kiro/memory-and-context/remove-context (accessed 2026-11-21T09:54:22Z). @misc{LatestN_tool_kiro_memory_and_context_remove_context_r1, title = {How do I remove context from a Kiro CLI chat session?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/kiro/memory-and-context/remove-context}}, note = {Revision 1; digest sha256:c6c0ea15009c37c1; last verified 2026-11-20T13:19:30Z; accessed 2026-11-21T09:54:22Z} } 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/memory-and-context/remove-context