agentleFS
wwwrootwwwroot/ai-codex/skills/codex-start/SKILL.md

codex-start

Skill1 starsChanged 4 months agoMITView on GitHub

Initializes a project session, auto-detects the technology stack and architecture, aligns with AI Codex domain knowledge editions, and scaffolds initial technical specifications and draft plans inside codex-drive/ with precise timestamps. Use when starting work in a workspace or initiating any new feature/request.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Every file generated by codex-start MUST be a Markdown (.md) file located inside codex-drive/ with explicit date-time metadata.

    line 98
  2. Very specific:

    When codex-start finishes execution:

    line 144

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Codex Start — Project Onboarding & Workspace Initialization Skill

The entry point for starting work on any workspace, onboarding a codebase, or initiating a new task.


Overview

codex-start transforms general requests into structured, high-context engineering sessions. It automatically inspects the workspace, identifies programming languages, frameworks, and architecture patterns, maps them to the appropriate AI Codex Edition (skills/codex/<edition>), and creates structured, timestamped artifacts in codex-drive/.


When to Trigger

  • User runs /codex-start (e.g., /codex-start add new theme color, /codex-start onboard project, /codex-start build auth service)
  • Opening a new repository or workspace where context is needed
  • Initiating any new feature, refactor, or complex task

Execution Workflow

 ┌────────────────────────────────────────────────────────┐
 │ 0. CHECK PERSISTENT BRAIN MEMORY                       │
 │    Scan codex-drive/brains/ for recent session context.│
 └──────────────────────────┬─────────────────────────────┘
                            │
                            ▼
 ┌────────────────────────────────────────────────────────┐
 │ 1. DISCOVER & DETECT TECH STACK                        │
 │    Scan root markers, configuration files & manifests. │
 └──────────────────────────┬─────────────────────────────┘
                            │
                            ▼
 ┌────────────────────────────────────────────────────────┐
 │ 2. MAP TO AI CODEX EDITION                             │
 │    Load domain rules from skills/codex/<edition>/.     │
 └──────────────────────────┬─────────────────────────────┘
                            │
                            ▼
 ┌────────────────────────────────────────────────────────┐
 │ 3. PARSE INTENT & DEFINE SCOPE                         │
 │    Decompose the user request into concrete goals.     │
 └──────────────────────────┬─────────────────────────────┘
                            │
                            ▼
 ┌────────────────────────────────────────────────────────┐
 │ 4. GENERATE TIMESTAMPED ARTIFACTS IN CODEX-DRIVE       │
 │    Create codex-drive/specs/YYYY-MM-DD-<slug>.spec.md  │
 │    Create codex-drive/plans/YYYY-MM-DD-<slug>.plan.md  │
 └──────────────────────────┬─────────────────────────────┘
                            │
                            ▼
 ┌────────────────────────────────────────────────────────┐
 │ 5. RECOMMEND NEXT WORKFLOW STEP                        │
 │    Provide clickable links and suggest next command.   │
 └────────────────────────────────────────────────────────┘

Step 1: Technology Stack Auto-Detection Protocol

Inspect the root directory and subdirectories for project manifests to determine the active stack:

Detected Manifest / FilePrimary TechnologyTarget AI Codex Edition
Cargo.toml, Cargo.lockRustskills/codex/rust/
go.mod, go.sumGoskills/codex/go/
mix.exsElixir / OTPskills/codex/elixir/
build.zig, build.zig.zonZig (Systems / Toolchains)skills/codex/zig/
pyproject.toml, requirements.txt, PipfilePythonskills/codex/python/
package.json (React, Next.js, Vite, Vue, Svelte)TypeScript / React / Webskills/codex/typescript-react/
composer.json, artisanPHP (Laravel / Symfony)skills/codex/php/
pom.xml, build.gradle, build.gradle.ktsJava / Kotlin (Spring / Android)skills/codex/java-kotlin/
CMakeLists.txt, Makefile, meson.buildC / C++skills/codex/c-cpp/
Package.swift, *.xcodeproj, *.xcworkspaceSwift (iOS, macOS, visionOS)skills/codex/swift/
*.sln, *.csproj, Directory.Build.propsC# / .NET (ASP.NET, Unity, Godot)skills/codex/csharp-dotnet/
schema.sql, migrations/, drizzle.config.*, prisma/SQL & Database Engineering (Postgres, MySQL)skills/codex/sql-database/
foundry.toml, hardhat.config.*, contracts/*.solSolidity & Web3 Systems (Ethereum / EVM)skills/codex/solidity-web3/
pubspec.yaml, pubspec.lockFlutter & Dart (Cross-Platform / Mobile)skills/codex/flutter-dart/
CSS design tokens, Figma exports, Tailwind configsUI/UX Design Systemsskills/codex/ui-ux-design/

Step 2: Artifact Creation in codex-drive/

Every file generated by codex-start MUST be a Markdown (.md) file located inside codex-drive/ with explicit date-time metadata.

1. Specification Artifact: codex-drive/specs/YYYY-MM-DD-<slug>.spec.md

2. Implementation Plan Artifact: codex-drive/plans/YYYY-MM-DD-<slug>.plan.md

Standard Header Template for all codex-drive/ files:

# [Project / Feature Title] Specification

> **Created At**: YYYY-MM-DD HH:MM:SS (Local Time)
> **Detected Stack**: [e.g., TypeScript / Next.js 15 / React 19]
> **Active Codex Edition**: [`skills/codex/<edition>/`](file:///...)
> **Status**: DRAFT | IN_PROGRESS | COMPLETED

---

## 1. Executive Summary & Objective
[Concise summary of what is being built or analyzed]

## 2. Workspace & Architecture Baseline
- **Root Directory**: `...`
- **Detected Package Manager & Tools**: `...`
- **Key Architectural Boundaries**: `...`

## 3. Scope & Requirements
- **Functional Requirements**:
  - [ ] Requirement 1
  - [ ] Requirement 2
- **Non-Functional Requirements** (Performance, Memory, Safety):
  - [ ] Constraint 1

## 4. Recommended AI Codex Files to Load
- `skills/codex/<edition>/01-core-identity.md` (Always)
- `skills/codex/<edition>/02-languages-standards.md` (Code rules)
- `skills/codex/<edition>/04-domains-knowledge.md` (Domain patterns)

## 5. Next Steps
- Run `/codex-plans` to generate full technical task decomposition.
- Run `/codex-architecture` to model domain boundaries and state machines.

Step 3: Response Protocol

When codex-start finishes execution:

  1. Announce the detected technology stack and active Codex edition.
  2. Provide clickable file links to the newly generated artifacts in codex-drive/specs/ and codex-drive/plans/.
  3. Provide a concise summary of immediate actionable recommendations.
  4. Suggest the logical next command (e.g., /codex-plans or /codex-architecture).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.