Where the instructions go
The CLI delivers the instructions in a format each agent reads:If your agent runs under a wrapper script, the CLI can’t recognize it by name. Pass
--agent with claude, codex, gemini, or generic to choose the format.Agents you build yourself
Every run sets theINFISICAL_PAM_CONTEXT_FILE environment variable to the path of the instruction file. To give your own agent the instructions, read the file and add its contents to your agent’s system prompt: