Skip to main content

setup

Set 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.

소스 정보

저장소
hashgraph-online/awesome-codex-plugins
최근 소스 활동
2026년 9월 25일 02:48
감지된 SKILL.md 언어
영어
스타
1,082
포크
297

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
setup
description
Set 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 1. **Check for the API key.** The hooks use the first of: the `AGENTGUARDS_API_KEY` environment variable, `~/.codex/agentguards_token`, then `~/.agentguards/credentials.json`. If none holds a key starting with `ag_`, the easiest fix is the AgentGuards CLI: `agentguards login` signs 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. 2. **Confirm the URL (optional).** AgentGuards defaults to `https://prod.agentguards.co`. Only set `AGENTGUARDS_URL` if the user runs a self-hosted instance. 3. **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. 4. **Verify.** Run the checks in the `status` skill yourself: they prove the key is **accepted** (HTTP 200), not just present. If it fails, the most common cause is `AGENTGUARDS_API_KEY` not being exported in the environment Codex was launched from. 5. **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_patch` edits.
GitHub에서 보기