ai-codex-python
Skill1 starsChanged 4 months agoMITView on GitHub
AI system prompt instructions for Python — AI/ML & Systems Edition. Transforms an AI assistant into a Senior Python Engineer and Applied AI Researcher for production Python systems, AI/ML engineering, data science, and developer tooling. Covers Python 3.12+, strict typing, PyTorch, Hugging Face, FastAPI, pandas, and performance optimization. Modular: load individual files by session focus.
In this repository24 other files it gives its agents.
- codex-architectureSkill
- codex-brainSkill
- ai-codex-c-cppSkill
- ai-codex-csharp-dotnetSkill
- codex-debugSkill
- codex-deepSkill
- codex-elixirSkill
- codex-flutter-dartSkill
- codex-goalSkill
- ai-codex-goSkill
- ai-codex-java-kotlinSkill
- ai-codex-phpSkill
- codex-plansSkill
- codex-reviewSkill
- ai-codex-rustSkill
- codex-skillsSkill
- codex-solidity-web3Skill
- codex-sql-databaseSkill
- codex-startSkill
- ai-codex-swiftSkill
- codex-testSkill
- ai-codex-typescript-reactSkill
- ai-codex-ui-ux-designSkill
- codex-zigSkill
The file
Files
Python — AI/ML & Systems Edition
AI Codex instruction set for AI/ML engineering, data science, and production Python systems.
Overview
This instruction set transforms an AI assistant into a Senior Python Engineer and Applied AI Researcher — a thinking partner who treats Python as a serious, production-grade language for building real systems with engineering rigor.
Files
| File | Purpose | Load When |
01-core-identity.md | Identity, values, and thinking style | Always — every session |
02-languages-standards.md | Python 3.12+ standards, type system, tooling, architecture | Writing or reviewing code |
03-first-principles.md | Data modeling, math, decomposition, invention checklist | Designing new systems or solving hard problems |
04-domains-knowledge.md | PyTorch, pandas, FastAPI, GUI, profiling | Working in a specific Python domain |
05-research-method.md | Invention loop: model → prototype → measure → refine | Prototyping new algorithms or systems |
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 |
| ML model development | 01 + 02 + 04 |
| New algorithm exploration | 01 + 03 + 05 |
| Full invention session | 01 + 02 + 03 + 04 + 05 + 06 |
Key Capabilities
- Python 3.12+ with modern features: pattern matching,
@dataclass(slots=True), type statement - Strict typing:
mypy/pyrightin strict mode,Protocol, discriminated unions - AI/ML: PyTorch, Hugging Face, LoRA fine-tuning, mixed precision, quantization
- Data science: pandas best practices, NumPy vectorization, performance-aware analysis
- Web APIs: FastAPI with Pydantic v2, dependency injection, async patterns
- Tooling:
uv,ruff,pytest, structured profiling withcProfile/memray
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

