Skip to content

🚀 Start AI Agents Master Setup Prompt & Execution Protocol

Entry Point 23: This document provides the universal, copy-pasteable Start AI Agents Prompt designed to bootstrap and align any AI agent (Google Jules, Google Antigravity, Anthropic Claude, Cursor, GitHub Copilot, OpenAI ChatGPT, Google Gemini) with the Deep State of Mind (DSOM) Protocol for first-time project setup.


🧭 Overview & Purpose

When introducing an AI agent to a project for the first time, human operators need a single, deterministic prompt that forces the AI agent to: 1. Establish the Dual AGENTS.md Gateway Architecture (AGENTS.md at root and .agents/AGENTS.md in .agents/). 2. Initialise spatial memory in .agents/brain/ (task.md, walkthrough.md, palace_registry.md, active_context_manifest.md). 3. Apply the Open Knowledge Format (OKF v0.1/v0.2) YAML frontmatter standard across all Markdown files. 4. Enforce the Universal Gateway Matrix (.cursorrules, CLAUDE.md, .github/copilot-instructions.md, AGENTS.md) and pre-commit guardrails. 5. Scaffold the 6-Pillar Downstream Footprint without imposing framework bloat on downstream source code. 6. Configure the 4-Tier Environment Map (T1 Windows Command Centre, T2 WSL2/Dev Bridge, T3 Staging/Jumphost, T4 Production Fabric).

Below is the complete, self-contained prompt ready for human operators to copy and paste directly into their AI chat or agent prompt window.


📋 Copy-Paste Master Prompt for AI Agents

I need you to setup everything in this repository to strictly follow the Deep State of Mind (DSOM) For My AI Protocol. DSOM Protocol is our non-negotiable baseline for spatial memory, cognitive alignment, GitOps, and digital sovereignty. Adopt everything specified in the DSOM specification (GitHub Pages: https://linuxmalaysia.github.io/deep-state-of-mind-for-my-ai/START-HERE/ or GitBook: https://malaysia-open-source-community.gitbook.io/deep-state-of-mind-dsom-protocol-for-my-ai/start-here) and implement all necessary governance, rulebooks, and spatial brain files.

Execute the following complete initialisation and setup sequence immediately under non-destructive preflight rules (inspect proposed targets before modifying, preserve existing project-specific policies and states, create only missing governance or spatial files, and request explicit approval before replacing any pre-existing file):

### 1. DUAL AGENTS.MD ARCHITECTURE SETUP
Create and synchronise the dual AGENTS.md registry:
- **Root Gateway (`AGENTS.md`):** Create line 1 column 1 OKF-compliant gateway file at the repository root summarizing DSOM, setting UK English standards, listing core principles, and explicitly redirecting all scanning agents to `.agents/AGENTS.md` and `.agents/brain/`.
- **Full Rulebook (`.agents/AGENTS.md`):** Create the comprehensive Sovereign AI Rulebook containing all active constitutional laws, the LinuxMalaysia persona profile, the 5-Step Knowledge-First Discovery Flow, the Mechanical Boot Sequence, defensive credential rules, and procedural execution constraints.

### 2. SPATIAL MEMORY INITIALISATION (`.agents/brain/`)
Create the `.agents/brain/` spatial memory directory and populate the 4 foundational artifacts with valid OKF v0.2 frontmatter:
- **`task.md`:** Present state checklist covering Phase 1 initialisation, environment mapping, and pending tasks.
- **`walkthrough.md`:** Historical session log and Mental Anchors recording the project genesis session.
- **`palace_registry.md`:** Spatial index of the Sovereign Markdown Palace mapping wings, halls, and rooms (`room_clean_architecture`, `room_crisp_strategy`, `room_dsom_protocol`, `room_tooling`, `room_ledger`).
- **`active_context_manifest.md`:** Live tracking manifest listing all files currently in active engineering scope with valid OKF frontmatter.

### 3. UNIVERSAL GATEWAY MATRIX & DOWNSTREAM FOOTPRINT
Deploy the Universal Gateway Matrix to compel foreign AI agents (Cursor, Claude Code, Copilot, Jules, Gemini) to strictly honor the DSOM brain:
- Create `.cursorrules` with DSOM governance and Concise Output Standard (DTS 0.1).
- Create `CLAUDE.md` with DSOM commands, testing invariants, and DTS 0.1 standards.
- Create `.github/copilot-instructions.md` with GitHub Copilot execution boundaries.
- Scaffold the lean 6-Pillar footprint: OKF YAML frontmatter, `.agents/brain/` spatial memory, Diátaxis quadrant structuring (`docs/tutorials/`, `docs/how-to/`, `docs/reference/`, `docs/explanation/`), Triple-Ledger sync (`README.md`, `CHANGELOG.md`, `HISTORY.md`), and domain-relevant skills (`.agents/skills/`).

### 4. OPEN KNOWLEDGE FORMAT (OKF) & DTS 0.1 COMPLIANCE
- Ensure EVERY `.md` file starts at line 1, column 1 with `---` (no leading UTF-8 BOM).
- Wrap string values containing emojis, colons, brackets, or special characters in double quotes.
- Format `topics:` as an array of 3–5 lowercase keyword strings placed immediately after `description:`.
- Apply DTS 0.1 concise output standards: answer first, one idea per sentence, no promotional fluff, UK English spelling (e.g., categorise, localise, standardise).

### 5. COGNITIVE TWIN PROTOCOL & 4-TIER ENVIRONMENT MAP
Create or update `docs/AI-COGNITIVE-TWIN-PROTOCOL.md` (or `docs/governance/AI-COGNITIVE-TWIN-PROTOCOL.md`) with the 4-tier infrastructure topology:
- **T1:** Command Centre (Local Workstation / Windows 11 DeX).
- **T2:** Dev Bridge / Control Node (WSL2 AlmaLinux 10 / Ubuntu).
- **T3:** Staging / Jump Host.
- **T4:** Production Node Fabric.

### 6. CONFIRMATION HANDSHAKE
Upon completing setup, verify all files with read tools, confirm zero linter/test/compliance errors, and state:
"Sovereign State Synchronised — DSOM Protocol is fully operational and active."

🛠️ Execution Verification Checklist for AI Agents

When an AI agent receives the prompt above, it must execute and verify the following steps:

  1. Verify File Creation & OKF Frontmatter:
  2. Run python tools/apply_okf_frontmatter.py or inspect files using read_file to confirm line 1 column 1 --- alignment without BOM.
  3. Verify Dual Gateway Sync:
  4. Confirm AGENTS.md at root redirects to .agents/AGENTS.md.
  5. Confirm .agents/AGENTS.md contains the full rulebook.
  6. Verify Spatial Brain Integrity:
  7. Confirm .agents/brain/task.md lists current initialisation tasks.
  8. Confirm .agents/brain/walkthrough.md contains a valid Session Anchor.
  9. Confirm .agents/brain/palace_registry.md indexes active palace rooms.
  10. Confirm .agents/brain/active_context_manifest.md is present with valid OKF frontmatter and tracks active context.
  11. Verify Universal Gateways:
  12. Confirm .cursorrules, CLAUDE.md, .github/copilot-instructions.md, and AGENTS.md are populated and present.
  13. Run Test Suite & Compliance Checks:
  14. Run uv run pytest and verify full compliance to ensure zero linter or test errors across all compliance assertions.


Deep State of Mind (DSOM) For My AI Protocol | Harisfazillah Jamel (LinuxMalaysia) | 2026-09-04 Standard: UK English | DBP-standard Bahasa Melayu Malaysia (Piawai) | GNU General Public License v3.0