Sitemap
Cloud Security

Cybersecurity Attacks and Defenses in a Cloudy World

Adding Permanent Context to Amazon Q CLI chat

Well…I tried… #awswishlist

4 min readSep 28, 2025

--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

⚙️ Security Automation (Pre-AI). The Code.

⚙️ AI Automation. The Code.

🔒 Related Stories: Cybersecurity | Penetration Tests

💻 Free Content on Jobs in Cybersecurity | ✉️ Sign up for the Email List

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I have some rules I want Amazon Q to follow every time I open it. After asking Q how to add my global context I wasn’t getting good answers.

NOTE: I think I figured out how to do this in a post linked at the bottom. I also published my script to deploy that agent in GitHub.

First Q told me I could use the expiramental knowledge feature. But after adding my context files they were not showing up when I ran:

/context show

Q also said I could add an agent and add context to my agent. However, I just want my context to be used all the time.

After asking a few different ways Q says there is nothing in the documentation that can help me.

When I run the above command this is what I see:

Press enter or click to view image in full size

--

--

Cloud Security
Cloud Security

Published in Cloud Security

Cybersecurity Attacks and Defenses in a Cloudy World

Teri Radichel
Teri Radichel

Written by Teri Radichel

CEO 2nd Sight Lab | Pentesting | Research | AWS Security Hero | Masters of Infosec & Masters Software Engineering | GSE | IANS | SANS Difference Makers Award