This repository is the editable source of truth for a growing collection of custom Codex skills. Each direct child of skills/ is an independent runtime package; collection documentation, evaluation suites, and shared tooling stay outside those packages.
New to Codex skills? Follow Getting started to install and use scientific-code-documenter.
Edit skills in this repository. Runtime discovery uses one symbolic link per skill under $HOME/.agents/skills/<name>, pointing to skills/<name>/. Do not link or copy the repository root into the runtime skills directory.
codex_skills/
├── skills/
│ ├── README.md
│ └── scientific-code-documenter/
│ ├── SKILL.md
│ ├── agents/openai.yaml
│ └── references/comment-examples.md
├── evals/
│ ├── README.md
│ └── scientific-code-documenter/
│ ├── fixtures/
│ ├── results/
│ ├── checks.sh
│ ├── prompts.yaml
│ └── rubric.md
├── scripts/ # Shared discovery, validation, fixture, and installation tools
├── AGENTS.md
├── CHANGELOG.md
├── CONTRIBUTING.md
├── GETTING_STARTED.md
├── LICENSE
└── README.md
| Skill | Purpose | Status |
|---|---|---|
scientific-code-documenter |
Improve scientific and technical code documentation and readability while preserving behavior | Experimental v0.3.0; validated with scientific Python and ORCA Shell real-repository acceptance plus controlled Python, Shell, LaTeX, HTML/CSS/JavaScript, trigger, and boundary tests |
The collection-level commands work from any checkout path:
./scripts/list_skills.sh
./scripts/check_skill.sh scientific-code-documenter
./scripts/check_all_skills.sh
./scripts/run_fixture_checks.sh scientific-code-documenter
./scripts/install_skill.sh --dry-run scientific-code-documenter
./scripts/install_skill.sh scientific-code-documenter
./scripts/install_all_skills.sh --dry-run
./scripts/install_all_skills.shUse placeholders for future skills:
./scripts/check_skill.sh <name>
./scripts/run_fixture_checks.sh <name>
./scripts/install_skill.sh <name>Installers derive the repository root from their own location and create individual links under $HOME/.agents/skills. A conflicting file, directory, or link is moved to <name>.backup-<timestamp> before installation; it is never deleted silently. Open a new Codex session after the first installation so skill discovery refreshes, then check that the skill appears in /skills.
Use scientific-code-documenter for review-only documentation assessments, focused docstring and comment work, or behavior-preserving readability improvements. Invoke it explicitly for a review-only request:
$scientific-code-documenter
Review this file for readability and documentation quality. Do not modify it.
Codex may also select it implicitly for requests such as:
- “Add concise docstrings and document the units and NumPy array shapes without changing calculations.”
- “Replace these repetitive AI-like comments with explanations of the non-obvious data-ordering constraints.”
- “Clarify this Shell workflow's aggregate-error behavior without changing its exit codes.”
- “Organize these LaTeX macros while preserving labels, rendered content, and the template workaround.”
- “Make this scientific dashboard easier to maintain without changing its DOM or CSV contracts.”
For an editing-mode request:
$scientific-code-documenter
Apply only high-confidence documentation and readability improvements to this file. Preserve calculations, public interfaces, file formats, and numerical behaviour.
Units, shapes, conventions, physical roles, and numerical context should be documented only when supported by code, tests, configuration, repository documentation, or user-provided evidence. Uncertainty should be stated rather than converted into scientific fact. A review-only or “do not edit” instruction takes precedence over opportunities to fix stale comments or improve code.
Ordinary debugging, dependency upgrades, test execution, and unrelated feature work should not trigger the skill merely because code is present.
- Create
skills/<name>/SKILL.mdusing a kebab-case directory and matching frontmatter name. - Add only runtime-required references, scripts, templates, or assets beside the skill file.
- Create
evals/<name>/with trigger prompts, synthetic fixtures, a rubric, and result-recording instructions. - Add an executable
evals/<name>/checks.shwhen fixtures support deterministic checks. - Run the shared validation and fixture checks.
- Dry-run and then perform the individual installation.
- Update this catalogue and
CHANGELOG.md.
See CONTRIBUTING.md for the complete workflow.
Structural validation proves that a skill can be discovered and parsed; it does not prove usefulness. Evaluation therefore combines controlled A/B runs, trigger and scope-boundary measurements, independent behavior checks, adversarial fixtures, and authorized real-repository acceptance.
scientific-code-documenter v0.3.0 retains the accepted v0.2.0 runtime unchanged. Its real-repository ORCA Shell acceptance reviewed nine production-style scripts (4,319 lines), made zero review-only edits, and tested three controlled A/B pairs. The skill scored 89/90 versus 80/90 baseline, won all three scripts, and preserved generated ORCA inputs, command order, CLI and environment contracts, failures, restarts, cleanup, logs, outputs, and exit codes under independent mocks and dry runs. No expensive scientific calculation was launched.
The prior scientific Python real-repository acceptance and controlled Shell, LaTeX, HTML, CSS, and JavaScript evidence remain applicable because the runtime hash did not change. Mock and dry-run equivalence cannot prove every scheduler, cluster, MPI, or operating-system interaction. See the sanitized v0.3.0 evaluation summary for exact results and limitations. The skill remains experimental and scientific edits still require human review.
Use synthetic, public-safe fixtures. Before sharing changes, inspect staged and tracked files for credentials, personal absolute paths, private server details, proprietary names, unpublished research, copied third-party code, and generated artifacts. Confirm publication rights separately from technical validation.
Keep commits coherent and reviewable, preserve unrelated work, and update evaluations alongside behavior changes. This collection is available under the MIT License.