본문으로 건너뛰기
cccskills
무료GitHub에 공개

codex-context-engine

Use when a project has 50+ files, missing context, or explicit $codex-genome request; generates multi-layer project context to reduce hallucination.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(2)

  • SKILL.md3.0 KB
  • agents/openai.yaml293 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

TL;DR

Generate .codex/context/genome.md for macro project understanding. Load genome.md automatically if it exists. For large projects, also generate per-module maps. This reduces hallucination by giving AI compressed project knowledge instead of raw file scanning.

Context Engine (Project Genome)

Activation

  1. Auto-load: If .codex/context/genome.md exists in the project, load it at session start.
  2. Auto-suggest: If project has 50+ files and no genome.md exists, suggest generating one.
  3. Explicit: On $codex-genome, $generate-genome, or $genome command.

Quick Commands

  • $codex-genome / $genome - Generate or refresh project genome
  • $codex-genome --force / $genome --force - Force regeneration

When to Generate

Project SizeAction
< 50 filesOptional. Suggest only if user asks
50-500 filesSuggest on first encounter. Shallow depth (genome.md only)
500+ filesStrongly recommend. Full depth (genome.md + module maps)

When to Load

  • genome.md: Load at session start if it exists. This is your project briefing - read it before any code edit.
  • Module maps: Load only the module(s) relevant to the current task. Never load all module maps at once.

How to Use Context

After loading genome.md:

  1. You now know the tech stack, directory structure, entry points, data models, API surface, and coding conventions.
  2. When working on a specific module, check if .codex/context/modules/{module-name}.md exists and load it.
  3. Use this knowledge to avoid:
    • Guessing import paths (genome tells you the structure)
    • Wrong naming conventions (genome tells you the patterns)
    • Missing dependencies (genome tells you module boundaries)
    • Hallucinating APIs (genome tells you the real routes)

Script Invocation

  • Use generate_genome.py from codex-project-memory.
  • See skills/.system/REGISTRY.md for full script paths.

Script Invocation Discipline

  1. Always run --help before invoking.
  2. Treat script as a black-box tool and execute by contract first.
  3. Read script source only when customization or bug fixing is required.

Freshness Check

  • genome.md includes a "Generated:" timestamp and file counts.
  • If current file count differs significantly (>20%) from genome.md counts, suggest re-generation.
  • When user restructures the project (adds/removes modules), remind to regenerate.

Output Files

FilePurposeSize Target
.codex/context/genome.mdMacro project context500-800 words
.codex/context/modules/{name}.mdPer-module detail200-400 words each

Context Loading Budget

  • genome.md: always (~2000-2400 tokens)
  • Module maps: max 3 at a time (~600-1200 tokens each)
  • Total context overhead: <5000 tokens (<4% of context window)

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Use when implementation is complete, all tests pass, and you need to decide how to integrate the work — guides completion of development work by presenting structured options for merge, PR, or cleanup

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Bang-isme/CodexAI---Skills102026년 10월 5일 업데이트

Use for DESIGN.md visual identity contracts; author, scaffold, lint, diff, and export design contracts with the upstream spec and CLI.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Bang-isme/CodexAI---Skills102026년 10월 5일 업데이트

Use when the task involves reading, creating, or editing `.docx` documents, especially when formatting or layout fidelity matters; prefer `python-docx` plus the bundled `scripts/render_docx.py` for visual checks.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Bang-isme/CodexAI---Skills102026년 10월 5일 업데이트

Use when code changes may require documentation updates; maps git diff to candidate docs without auto-editing documentation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Bang-isme/CodexAI---Skills102026년 10월 5일 업데이트

Use for documents, reports, memos, guides, academic papers, or formal text that needs clear structure, reliable tone, formatting, and diagrams.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Bang-isme/CodexAI---Skills102026년 10월 5일 업데이트

Use when frontend, backend, mobile, data, DevOps, or security work needs domain routing and at most four focused references.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Bang-isme/CodexAI---Skills102026년 10월 5일 업데이트

Bang-isme의 스킬 모두 보기

이 스킬의 문제 신고