Skip to content

feat: add ralph-cli skill and replace Aider with Pi#57

Merged
kasperjunge merged 1 commit into
mainfrom
skill/ralph-cli-and-pi-swap
Jun 9, 2026
Merged

feat: add ralph-cli skill and replace Aider with Pi#57
kasperjunge merged 1 commit into
mainfrom
skill/ralph-cli-and-pi-swap

Conversation

@kasperjunge

Copy link
Copy Markdown
Collaborator

What

Two related changes:

  1. New ralph-cli agent skill (skills/ralph-cli/), modeled on the
    agr-cli skill. A top-level SKILL.md plus six reference files
    (writing-ralphs, running, the-loop, agents, troubleshooting,
    python-api) that teach an agent to operate the ralph CLI: scaffold,
    write/fix RALPH.md, run loops, pick an agent, debug, and use the Python
    API. Registered in agr.toml via agr add ./skills/ralph-cli.

  2. Replace Aider with Pi (pi.dev) everywhere it was suggested β€” README.md,
    docs/index.md, docs/cli.md, docs/llms.txt, docs/llms-full.txt,
    examples/optimize-docs/RALPH.md, and the new skill. Unlike Aider, Pi reads
    piped stdin natively, so the config collapses from a bash -c '... "$(cat -)"'
    wrapper to just agent: pi -p -a. Pi's invocation was verified against
    pi.dev and the earendil-works/pi docs.

    In the tests, aider was only a generic non-Claude placeholder agent; swapped
    to pi (still non-Claude/non-stream-json, behavior unchanged). The two
    mentions in tasks/done/ are archived history and were left intact.

Verification

  • pytest tests/test_agent.py tests/test_console_emitter.py β†’ 229 passed, 1 xpassed
  • mkdocs build --strict β†’ clean, zero warnings
  • grep -rin aider β†’ only intentional tasks/done/ history remains

A diary entry is included at docs/diary/2026-06-09-ralph-cli-skill-and-pi-swap.md.

Note for reviewers

The skill description's trigger terms ("ralph", "RALPH.md", "loop engineering")
are common in this repo, so the skill may activate often when working here β€”
worth a look if that's undesirable.

πŸ€– Generated with Claude Code

…ve ralph

Add an in-repo ralph-cli agent skill (modeled on agr-cli) covering scaffold,
run, RALPH.md authoring, agent selection, debugging, and the Python API, and
register it in agr.toml. Replace every Aider agent suggestion across docs,
examples, llms files, and the skill with Pi (pi.dev) β€” Pi reads piped stdin
natively, so the config is just `pi -p -a` with no bash wrapper.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@kasperjunge kasperjunge merged commit 5e9b9ce into main Jun 9, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant