repo-codex-bootstrap

Create or refresh Codex scaffolding with .codex/config.toml and AGENTS.md.

Updated Mar 24, 2026
One-click install
npx skills add https://github.com/yangshu2087/Codex --skill repo-codex-bootstrap
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: repo-codex-bootstrap
Source: https://github.com/yangshu2087/Codex/tree/main/.agents/skills/repo-codex-bootstrap
Command: npx skills add https://github.com/yangshu2087/Codex --skill repo-codex-bootstrap

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Add or refresh repository-level Codex scaffolding such as .codex/config.toml and AGENTS.md. Use when a repo needs lightweight Codex defaults, repo-specific instructions, or a repeatable project bootstrap.

Core Features & Use Cases

  • Inspect the repository before changes: assess git status, top-level files, and existing Codex files.
  • Infer repository purpose from local context and apply minimal, targeted defaults.
  • Write an AGENTS.md with repo-specific rules and verification steps to keep changes auditable.

Quick Start

Run repo-codex-bootstrap in the target repository to initialize or refresh Codex scaffolding.

Frequently Asked Questions about repo-codex-bootstrap

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add Codex configuration to an existing repository?

To add Codex configuration to an existing repository, run a bootstrap process that inspects git status and top-level files. It infers the repository purpose to apply minimal, targeted defaults like .codex/config.toml and AGENTS.md.

What is repository Codex scaffolding used for?

Repository Codex scaffolding provides lightweight Codex defaults and project-specific instructions. It ensures minimal, auditable configuration for your project by generating files like AGENTS.md with repo-specific rules and verification steps to keep changes auditable.

How do I refresh outdated Codex config files in my project?

To refresh outdated Codex config files in your project, run a repository bootstrap process. It evaluates your existing Codex files and local context, then rewrites the configuration to ensure your project maintains minimal, targeted defaults and auditable rules.

Do I need to manually write AGENTS.md when setting up Codex defaults?

You do not need to manually write AGENTS.md when setting up Codex defaults. The bootstrap process automatically infers your repository purpose from local context and writes an AGENTS.md file containing repo-specific rules and verification steps.

When should I use an automated Codex bootstrap instead of manual configuration?

You should use an automated Codex bootstrap instead of manual configuration when a repository lacks Codex config or requires local, project-specific setup. It ensures repeatable project initialization by applying minimal, auditable configuration without manual file editing.