Configure codex

From Luohaothu/everything-codex · View interactive version

Configure codex is an AI agent skill from the GitHub repository Luohaothu/everything-codex. Interactive installer for everything-codex. Guides users through selecting and installing skills, AGENTS.md templates, and execution policy rules.

How to use this skill

Skill file

Configure Everything Codex

An interactive, step-by-step installation guide for the everything-codex project.

When to Activate

Step 0: Clone Repository

rm -rf /tmp/everything-codex
git clone https://github.com/anthropics/everything-codex.git /tmp/everything-codex

Set ECX_ROOT=/tmp/everything-codex as the source for all subsequent operations.


Step 1: Choose Installation Level

Ask the user where to install:


Step 2: Select & Install Skills

Skill Categories

Use interactive prompts to let the user choose:

Execute Installation

# Skills install to ~/.agents/skills/ (user-level) or .agents/skills/ (project-level)
SKILLS_DIR="$HOME/.agents/skills"  # or .agents/skills for project-level
for skill_dir in $ECX_ROOT/skills/*/; do
    skill_name=$(basename "$skill_dir")
    mkdir -p "$SKILLS_DIR/$skill_name"
    cp -r "$skill_dir"* "$SKILLS_DIR/$skill_name/"
done

Step 3: Install AGENTS.md and Rules

# Root AGENTS.md
cp $ECX_ROOT/AGENTS.md ~/.codex/AGENTS.md

# Language-specific AGENTS.md templates
for lang in golang python typescript; do
    mkdir -p ~/.codex/$lang
    cp $ECX_ROOT/$lang/AGENTS.md ~/.codex/$lang/
done

# Execution policy rules
mkdir -p ~/.codex/rules
cp $ECX_ROOT/rules/*.rules ~/.codex/rules/

Step 4: Post-Installation Verification

  1. Verify all installed skill directories contain SKILL.md
  2. Check that SKILL.md files have proper frontmatter (name and description)
  3. Verify no tools or model fields in frontmatter
  4. Report any issues found

Step 5: Installation Summary

## Installation Complete

### Skills Installed ([count])
Location: ~/.agents/skills/

### AGENTS.md Installed
- ~/.codex/AGENTS.md
- ~/.codex/golang/AGENTS.md
- ~/.codex/python/AGENTS.md
- ~/.codex/typescript/AGENTS.md

### Rules Installed
- ~/.codex/rules/*.rules

### Verification
- [count] skills validated
- [count] issues found

Clean up the cloned repository:

rm -rf /tmp/everything-codex

Troubleshooting

"Skills not being picked up"

"Rules not working"

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.