hashgraph-online/awesome-codex-plugins / plugins/alelaguard/agentguards-plugins/skills/setup
setup
UnverifiedSet up and verify AgentGuards in Codex. Use when the user asks to configure AgentGuards, set their API key, or check that the guardrails are wired up correctly.
AgentGuards setup
Guide the user through finishing AgentGuards setup after installing the plugin. The plugin already bundles the enforcing hooks — the only thing the user must supply is their API key.
Steps
-
Check for the API key. The hooks use the first of: the
AGENTGUARDS_API_KEYenvironment variable,~/.codex/agentguards_token, then~/.agentguards/credentials.json. If none holds a key starting withag_, the easiest fix is the AgentGuards CLI:agentguards loginsigns in through the browser and saves the key where the hooks read it (install the CLI from https://agentguards.co if it isn't there). Otherwise, tell the user to:-
Get a key from the dashboard at https://agentguards.co/dashboard/keys
-
Export it so the hooks can read it. For the current shell and future sessions, add to their shell profile (
~/.bashrc,~/.zshrc, etc.):export AGENTGUARDS_API_KEY=ag_your_token_here -
Restart Codex (or start a new session) so the hooks pick up the key.
-
-
Confirm the URL (optional). AgentGuards defaults to
https://prod.agentguards.co. Only setAGENTGUARDS_URLif the user runs a self-hosted instance. -
Fail-open vs fail-closed. The hooks fail closed by default — if the AgentGuards service is unreachable, actions are blocked. A user who prefers availability over strict enforcement can set
AGENTGUARDS_FAIL_OPEN=true. Mention this only if they ask or report unexpected blocks. -
Verify. Run the checks in the
statusskill yourself: they prove the key is accepted (HTTP 200), not just present. If it fails, the most common cause isAGENTGUARDS_API_KEYnot being exported in the environment Codex was launched from. -
Summarize what is now active: prompt screening, shell-command authorization (with Codex's approval prompt for anything borderline), scanning of content fetched by shell commands, and security scanning of
apply_patchedits.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 463k | Updated | Claude CodeCodex | Verified | Install |
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 463k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 318k | Updated | Claude CodeCodex | Unverified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 318k | Updated | Claude CodeCodex | Unverified | Install |