codex-session-bootstrap

Load project rules from .cursor/AGENTS.md and .cursor/rules/*.mdc at session start.

43|21|Updated Jun 3, 2025
One-click install
npx skills add https://github.com/blockscout/mcp-server --skill codex-session-bootstrap
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codex-session-bootstrap
Source: https://github.com/blockscout/mcp-server/tree/main/.codex/skills/codex-session-bootstrap
Command: npx skills add https://github.com/blockscout/mcp-server --skill codex-session-bootstrap

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill ensures that critical project rules and agent configurations are read and understood at the very beginning of every interaction, preventing misinterpretations and ensuring adherence to project guidelines.

Core Features & Use Cases

  • Mandatory Rule Loading: Automatically reads essential configuration files (.cursor/AGENTS.md, .cursor/rules/*.mdc) at the start of each session.
  • Enforced Adherence: Guarantees that AI agents operate within the defined project constraints and roles.
  • Use Case: Before any code generation or modification, this Skill runs to load the project's specific coding standards and agent responsibilities, ensuring the AI acts as intended.

Quick Start

Run the codex-session-bootstrap skill to load all mandatory startup rules.

Frequently Asked Questions about codex-session-bootstrap

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

FAQPage Schema
How do I load mandatory project rules at the start of a Codex session?

To load mandatory project rules at the start of a Codex session, run the bootstrap skill, which automatically reads `.cursor/AGENTS.md` and `.cursor/rules/*.mdc` files before any other reasoning or action.

Why does my AI agent ignore project-specific configurations during code generation?

Your AI agent ignores project-specific configurations during code generation because mandatory rule loading was not triggered; reading `.cursor/AGENTS.md` and `.cursor/rules/*.mdc` files at the beginning enforces adherence to defined project constraints.

What is the best way to enforce coding standards for AI agents in a repository?

The best way to enforce coding standards for AI agents in a repository is to load mandatory rules and agent configurations at the beginning of each session, ensuring the AI operates within defined project constraints.

Do I need to run a bootstrap command for read-only queries in Codex?

Yes, you need to run a bootstrap command for read-only queries in Codex because the session rule loading applies to all user requests within the repository, including planning and code modifications.

Can I use Codex session startup rules with `.mdc` configuration files?

Yes, you can use Codex session startup rules with `.mdc` configuration files because the bootstrap process specifically requires reading `.cursor/rules/*.mdc` files to understand agent responsibilities.