rabbit-writes / rabbit-rewrites
CLAUDE.md0 starsChanged 2 months agoMITView on GitHub
Benchmarks and drives the model-backed rewrite path over an OpenAI-compatible endpoint. The rewrite engine itself (rwlib/endpoint.py, rwlib/rewrite.py) lives in skills/rabbit-writes/scripts/rwlib/ and is documented there. This skill's own scripts exercise that engine rather than owning it.
In this repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- skills/rabbit-agents-md/CLAUDE.mdCLAUDE.md
- skills/rabbit-readme-improver/CLAUDE.mdCLAUDE.md
- skills/rabbit-reads/CLAUDE.mdCLAUDE.md
- skills/rabbit-writes/CLAUDE.mdCLAUDE.md
- skills/voice-setup/CLAUDE.mdCLAUDE.md
- rabbit-agents-mdSkill
- rabbit-readme-improverSkill
- rabbit-readsSkill
- rabbit-rewritesSkill
- rabbit-writesSkill
- voice-setupSkill
The file
Files
rabbit-rewrites
Benchmarks and drives the model-backed rewrite path over an OpenAI-compatible endpoint. The rewrite engine itself (rwlib/endpoint.py, rwlib/rewrite.py) lives in skills/rabbit-writes/scripts/rwlib/ and is documented there. This skill's own scripts exercise that engine rather than owning it.
Commands
# Run the skill test suite (the model battery, and the bench that scores against it)
python3 skills/rabbit-rewrites/tests/run.py
# Benchmark a running endpoint against the battery
python3 skills/rabbit-rewrites/scripts/bench.py --model-endpoint http://127.0.0.1:8080/v1 --model-name qwen2.5-3b
# Repeat for a stabler pass rate, and save JSON
python3 skills/rabbit-rewrites/scripts/bench.py --repeat 3 --json > qwen2.5-3b.jsonStructure
scripts/bench.py: The model-benchmarking runner.scripts/battery.json: The passages scored in the benchmark.references/models.md: Recommended local models, download sources, and quantization notes.
Gotchas
- A battery case that raises no findings is invisible from reading the file. Three of the original twelve in
battery.jsondid: one used technical-blog vocabulary the register correctly exempts, one used a hedge not in the lexicon, and one was 24 words under the 120-word floor that gates every stylometric finding (wc >= 120inscan.py). The bench happily printed a pass rate over nine cases while reporting twelve.test_every_battery_case_actually_raises_a_findingis the guard, andtest_every_battery_case_carries_a_fact_to_loseis the other half: a case with no number, path, or quotation in it can only ever measure fluency, never preservation.
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.

