aai-coding
The Answer.AI coding harness: the shared configuration, skills, and tooling that make a Claude Code or codex session work the way our team works. If you are an LLM reading this, you are probably either setting the harness up (follow SETUP.md, but read this file first) or working inside it and wanting to understand why it is shaped this way, so you can give your user informed advice.
The system in one paragraph
The Claude Code setup and one codex setup are kernel-centric: native file tools are denied, and file reading, editing, searching, and Python execution go through one persistent IPython kernel (clikernel) loaded with curated tooling discovered via pyskills. Codex can instead use a hybrid setup: normal apply_patch and Bash for files and shell work, with a quiet clikernel reserved for Python-specific work. The kernel-centric setup uses two host-level bootstrap skills, persistent-python and pyskills; the hybrid setup uses clikernel-workflow to define the boundary and notebook-dialog-editing for safe kernel-free notebook and aidialog work. Everything else that would conventionally be a host skill is a pyskill in this package: skill text lives in module docstrings, read with doc(), listed by list_pyskills(), and versioned, released, and installed like any other Python code.
What is in here
aai_coding/- the pyskills.coding_patterns(style, testing judgment, and team policy; part of the kernel startup doc round),write_prose(anti-slop rules for narrative prose),write_docs(the voiceless register for docstrings, READMEs, and PRs),harness_docs(how to find official harness docs via llms.txt), andharness(not a skill: theaai-hookCLI that implements both harnesses' hooks).skills/- the harness-level SKILL.md sources, symlinked into~/.claude/skillsor~/.codex/skills.persistent-pythonandpyskillsbootstrap the kernel-centric setup;clikernelandnotebook-dialog-editingsupport the hybrid codex setup.plugins/safecmd/- a Claude Code plugin that auto-approves allowlisted Bash commands via thesafecmdpackage, so the deny-heavy permission setup stays livable.prompts/- shared prompt text.core.mdholds harness-neutral behavioral rules: codex reads it natively via a~/.codex/AGENTS.mdsymlink, and Claude Code can append it.sysp.mdis a full replacement for Claude Code's default system prompt, tuned against the default's consultant and action biases; install it as a~/.claude/syspsymlink and launch withclaude --system-prompt-file ~/.claude/sysp --append-system-prompt-file <this repo>/prompts/core.md(replacement drops the default prompt's prose but tool schemas survive; the dynamic environment block and scratchpad path are the known losses).SETUP.md- the setup runbook, written as a prompt for an LLM session rather than an installer script.
Design decisions, and why
- Task skills are pyskills. In a kernel-centric harness the native skill list stops being the discovery surface;
list_pyskills()is. Docstrings-as-skill-text means nothing depends on the harness's skill machinery. It also lets skill text live beside its executable companions in one module. The hybrid codex workflow remains a host skill because it tells codex when to cross into the kernel at all. - Hooks are a CLI. Every hook body is a subcommand of
aai-hook(aai_coding/harness.py): versioned, unit-tested Python instead of shell one-liners scattered through settings files. Harness configs only register command names. - Everything installs by symlink. Like the workspace's editable installs, config points into the checkout, so
git pullupdates every machine and there is no copy to drift. The only exceptions are settings files that must be merged (Claude Code'ssettings.json, codex'sconfig.toml), which is why setup is a runbook and not a script: merging into someone's existing configuration takes judgment and conversation, which an LLM has and an installer does not. - Per-harness differences are data, not templates. Where Claude Code and codex genuinely differ, a module carries both facts (a
dictkeyed by harness, or two adjacent bullets); nothing is rendered or generated. - Team-agreeable versus personal. This repo holds only what any team member would nod at. Personal preferences (model choice, sounds people disagree about, individual workflow like release management) belong in each person's own CLAUDE.md, settings, and local skills, and the runbook is explicit about which is which.
Using and changing it
Day to day there is nothing to operate. Kernel-centric sessions bootstrap through persistent-python; hybrid codex sessions use clikernel-workflow for Python, notebook-dialog-editing for notebooks and aidialog dialogs, and the native tools otherwise. Both discover Python tooling through the pyskills catalog and read it with doc() or pyskills-doc. To change a skill, edit its source in this checkout and let the team pick it up by pulling; releases go through the standard fastship flow (ship-release), with the version in aai_coding/__init__.py bumped after each release.
Metadata
Release files for aai-coding 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aai_coding-0.1.0.tar.gz | 50.7 kB | Without provenance | Details for aai_coding-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aai_coding-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for aai_coding-0.1.0-py3-none-any.whl |
Total release size: 100.8 kB
Release files / aai_coding-0.1.0.tar.gz
| Download URL | aai_coding-0.1.0.tar.gz |
|---|---|
| Size | 50.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7bf4d167561f9b48a487dc932e55b0f2103a90a27b9c7889232a4512b0a3e54a
|
|
BLAKE2b-256 checksum How to use checksums |
5753a525f356cfed1e256f886656954eb85adff860af38c4a014a3ebc630a429
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Release files / aai_coding-0.1.0-py3-none-any.whl
| Download URL | aai_coding-0.1.0-py3-none-any.whl |
|---|---|
| Size | 50.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dbc13c9bc233a1e1ebf0baf2291d49468cf04e50924cc18deb15ec30ce5bf159
|
|
BLAKE2b-256 checksum How to use checksums |
ccdb390a8b67dd0bd4e087d4eea33b50395f3b77016cd6457737d9da444d87be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Security for aai-coding 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.