Codex CLI Installation

Lernen Sie, wie Sie Agent Skills für Codex CLI installieren und konfigurieren.

Voraussetzungen

  • Codex CLI installiert
  • Node.js 18 oder höher
  • Eine Codex-Konfigurationsdatei

Installation

Schritt 1: Skill hinzufügen

bash
codex config add-skill owner/skill-repo

Beispiel:

bash
codex config add-skill openai/code-review

Schritt 2: Installation überprüfen

bash
codex config list-skills

Schritt 3: Skill verwenden

Der Skill ist jetzt in allen Codex-Sitzungen aktiv.

Konfiguration

Manuelle Konfiguration

Bearbeiten Sie Ihre ~/.codex/config.json:

json
{
  "skills": [
    "https://github.com/owner/skill-repo"
  ]
}

Projektspezifische Skills

Erstellen Sie eine .codex/config.json in Ihrem Projekt:

json
{
  "skills": [
    "https://github.com/owner/project-skill"
  ]
}

Skills aktualisieren

bash
codex config update-skills

Skills entfernen

bash
codex config remove-skill owner/skill-repo

Nächste Schritte