Aiagent Tooling Setup
Agent Buildingaiagent-tooling-setupAiagent Tooling Setup is an Agent Skill for agent building published in the minicoohei/ai-agent-camp repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
ai-agent-camp用のCodexツーリングを設定するスキル。 「MCPサーバーを設定」「フックをインストール」「Codexの設定」「ツールセットアップ」「Codex CLIのインストール」等のリクエストで発動。
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/minicoohei/ai-agent-camp/blob/HEAD/skills/aiagent-tooling-setup/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/aiagent-tooling-setup, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
AI Agent Tooling Setup
Codex CLI は OpenAI が提供するターミナルベースの AI コーディングアシスタントです。
Use this skill when the user needs Codex-specific tooling guidance.
Workflow
- Read
docs/codex-mcp.md. - Identify whether the request is about repo tools, repo hooks, or MCP servers.
- Prefer existing repo scripts over ad hoc shell instructions.
- Keep the final answer focused on the exact tooling path the learner needs.
Repo Commands
bash scripts/install_hooks.shuv run python tools/check_command_paths.pyuv run python tools/credential_manager.py status
Codex CLI Installation & Authentication
Installation
npm install -g @openai/codex
codex --version # verify installation
Requires Node.js 18+.
Authentication
Set the OpenAI API key via environment variable:
export OPENAI_API_KEY="your-api-key-here"
Or add OPENAI_API_KEY=... to the repo .env file (never commit this file).
Recommended Runtime
| Setting | Value | Reason |
|---|---|---|
| Sandbox | workspace-write | Restricts writes to the repo directory |
| Approval | on-request | Asks before external commands |
Launch with:
codex -a on-request
Avoid danger-full-access for normal learning flows. See docs/codex-safety.md.
First-Time Flow
- Install Codex CLI (
npm install -g @openai/codex) - Set
OPENAI_API_KEY - Open ai-agent-camp and run
bash scripts/install_hooks.sh - Use
aiagent-check-setupskill to verify environment - Start lessons via
aiagent-lesson-runnerskill
Reminders
- Keep project rules in
AGENTS.md. - Keep machine-specific settings in the Codex config layer.
- Avoid implying that Cursor command files are executable in Codex.