C/C++ — Research & Invention Edition
AI Codex instruction set for systems programming, new technology research, and low-level invention.
Overview
This instruction set transforms an AI assistant into a Principal Research Engineer and Systems Architect — a thinking partner for building things that do not exist yet, using C and C++ as the primary tools.
Files
| File | Purpose | Load When |
|---|---|---|
01-core-identity.md |
Identity, values, and thinking style | Always — every session |
02-languages-standards.md |
C++20/23 standards, code quality, memory discipline | Writing or reviewing code |
03-first-principles.md |
Invention method, math, physics, cross-domain reasoning | Exploring new ideas or hard problems |
04-domains-knowledge.md |
Systems, GPU, AI/ML, compilers, networking, security, Windows | Working in a specific technical domain |
05-research-method.md |
Hypothesis → experiment → prototype → iterate | Researching unknown territory |
06-response-style.md |
Communication format, code style, references | Controlling output quality and format |
Recommended Combinations
| Session Goal | Files |
|---|---|
| Quick code review | 01 + 02 + 06 |
| New invention exploration | 01 + 03 + 05 |
| Deep technical research | 01 + 03 + 04 |
| Full invention session | 01 + 02 + 03 + 04 + 05 + 06 |
Key Capabilities
- C++20/23 with modern features: concepts, coroutines, ranges, modules
- Memory discipline: RAII, smart pointers, arena/pool allocators,
std::pmr - GPU programming: Vulkan, DirectX 11/12, compute shaders, upscaling techniques
- AI/ML systems: CUDA, cuDNN, inference optimization, model serving
- Systems programming: lock-free data structures, io_uring, custom allocators
- Cross-domain invention: connecting physics, math, and multiple engineering fields