Skip to content

chore: add Codex discovery for PyAutoBrain agents #84

Description

@Jammy2211

Overview

Make every public PyAutoBrain conductor and faculty discoverable as a Codex skill while preserving the existing Claude command surface. Extend the organism-wide installer to support both harnesses without duplicating canonical workflow bodies.

This is phase 1 of the approved Codex-wrapper rollout. Phase 2 applies the resulting contract to PyAutoMind, PyAutoHeart, and PyAutoBuild.

Plan

  • Add thin SKILL.md wrappers for every public PyAutoBrain agent and existing command/workflow surface.
  • Update the installer to install skills for both Claude and Codex while retaining Claude commands when both files exist.
  • Remove shared Brain wording that assumes Claude-only models, tools, or generated output.
  • Add isolated validation for metadata, public-agent coverage, symlink installation, and existing behavior.
  • Run the autonomous ship gate and stop at an open PR.
Detailed implementation plan

Affected Repositories

  • PyAutoBrain (primary)

Branch Survey

Repository Current Branch Dirty?
PyAutoBrain main clean

No active worktree claims conflict with PyAutoBrain.

Suggested branch: feature/codex-brain-skill-wrappers

Work classification: organism infrastructure (direct single-repo maintenance)

Worktree root: /home/jammy/Code/PyAutoLabs/.worktrees/codex-brain-skill-wrappers/

Implementation Steps

  1. Add concise wrappers beside existing command bodies under skills/*/SKILL.md, pointing to the canonical Markdown workflow and CLI rather than copying it.
  2. Add skill directories for public CLI agents without an existing command surface: clone, release, vitals, review, memory, and samplers.
  3. Update bin/install.sh so skill and command discovery are independent, Claude receives both surfaces where present, and Codex receives every skill.
  4. Parameterize installation roots so tests can use temporary homes without touching live ~/.claude or ~/.codex directories.
  5. Update AGENTS.md, bin/README.md, skills/COMMANDS.md, and shared workflow references to describe both harnesses and use model-tier terminology.
  6. Add pytest coverage for dispatcher-to-skill completeness and dual-harness installation.
  7. Validate every wrapper with Codex quick_validate.py, run the skill line-count guard, shell syntax checks, and the PyAutoBrain test suite.

Key Files

  • bin/pyauto-brain - authoritative public agent inventory.
  • bin/install.sh - cross-organ skill and command installer.
  • skills/*/SKILL.md - thin Codex discovery wrappers.
  • skills/COMMANDS.md - command/agent surface contract.
  • skills/WORKFLOW.md - cross-harness workflow doctrine.
  • tests/ - isolated installer and coverage tests.

Original Prompt

Click to expand starting prompt

yes, make SKILL.md wrappers for PyAutoBrain and any other repos you see a Claude bias

Autonomy

Launched with --auto; effective level: safe (maintenance cap). The run may proceed through the four-leg autonomous ship gate and ends at PR-open. Merge and issue closure remain human actions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions