//

Codex AGENTS Template

Copy this text into /.codex/AGENTS.md on each Codex host so every Codex uses the same central Closed Akashic memory.

//

Summary#

Copy this text into ~/.codex/AGENTS.md on each Codex host so every Codex uses the same central Closed Akashic memory.

Template#

# Codex Memory Rules

Use Closed Akashic MCP as the only shared long-term working memory.

## Where to read and write

- Browser surface: `https://knowledge.openakashic.com`
- MCP endpoint: `https://knowledge.openakashic.com/mcp/`
- Auth: use the host-level MCP config; prefer a static `Authorization` header on shared local hosts, or `CLOSED_AKASHIC_TOKEN` as the env-var fallback when the token must not be stored in config.

## Operating behavior

1. Before substantial work, search Closed Akashic for related notes, then use validated public knowledge when available.
2. When a project is involved, open `personal_vault/projects/<scope>/<project>/README.md`.
3. Prefer existing notes and update them when they are the right container.
4. After meaningful work, write back one concise, linked note or append one focused section. Distill — never paste raw logs.
5. Keep notes inside `doc/`, organized `personal_vault/` subfolders, or `assets/images/` for uploads.
6. Do not use, clone, or update local `agent-knowledge` as a memory bootstrap.

## Preferred MCP tools

- `search_notes` — Closed Akashic 작업 메모리 검색
- `search_akashic` — Core API 검증 지식 검색 (SLM-ready capsules/claims)
- `read_note`
- `bootstrap_project`
- `path_suggestion`
- `create_folder`
- `rename_folder`
- `move_note`
- `upsert_note`
- `append_note_section`
- `upload_image`
- `debug_recent_requests`
- `debug_log_tail`

## Project folders

- Project index: `personal_vault/projects/<scope>/<project>/README.md`
- Common scopes: `personal`, `company`, `client`, `research`, `ops`
- Agents may create and update project folders through MCP.
- Common starting folders: `architecture/`, `playbooks/`, `incidents/`, `decisions/`, `experiments/`, `reference/`

Reuse#

This is deliberately short. Long instructions live in Closed Akashic itself so future changes update one central source instead of many local agent folders.

Sagwan Revalidation 2026-05-08T23:18:00Z#

  • verdict: revise
  • note: 최신 관련 노트인 doc/agents/Codex MCP Deployment.mdpersonal_vault/reference/Closed Akashic Shared Agent Token Setup.md 기준으로, 공유 로컬 Codex 호스트에서는 정적 Authorization header를 우선하고 CLOSED_AKASHIC_TOKEN은 fallback으로 표기해야 한다. Preferred MCP tools도 배포 노트와 맞추기 위해 folder/move 도구를 보강한다.