# Codex Agent Setup

> Explicit-only installer for the Sigma Auth Siggy Codex custom agent. Use ONLY when the user explicitly asks to install, update, check, uninstall, or set up the Sigma Auth or Siggy Codex agent, including "install Siggy in Codex", "update the Sigma Auth Codex agent", or "check sigma_auth_guide". Never auto-invoke for ordinary OAuth, authentication, Better Auth, BAP, wallet, session, passkey, or security requests.

- Skill: `b-open-io/codex-agent-setup-2` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx skillmds@latest add b-open-io/codex-agent-setup-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/b-open-io/codex-agent-setup-2/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML, Marketing & Growth
- Author: b-open-io (https://skillmd.com/u/b-open-io)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/b-open-io/codex-agent-setup-2

---


# Sigma Auth Codex Agent Setup

Install Siggy's generated Codex adapter as a regular file. Run this skill only
after an explicit request to install, update, check, or uninstall Siggy.

## Safety contract

- Default to the current project's `.codex/agents/` directory.
- Use `--user` only when the user explicitly requests a user-wide install.
- Never edit `~/.codex/config.toml` or any global Codex configuration.
- Never create plugin-cache symlinks or delete unrelated custom agents.
- Run `--check` when the user asks what would change.

## Commands

```bash
bash "${SKILL_DIR}/scripts/setup.sh" [--check|--uninstall|--force]
bash "${SKILL_DIR}/scripts/setup.sh" --user [--check|--uninstall|--force]
bash "${SKILL_DIR}/scripts/setup.sh" --target /custom/agents/directory
```

The installer manages only `sigma-auth-guide.toml` and records ownership in
`.sigma-auth-agents.json`. An unmanaged collision is refused unless the user
explicitly authorizes `--force`.

After a successful install or update, tell the user to start a **new Codex
session**, then invoke Siggy using the runtime name `sigma_auth_guide`.

## Maintainer generation

```bash
bash "${SKILL_DIR}/scripts/generate.sh"
bash "${SKILL_DIR}/scripts/generate.sh" --check
```

