ppteval / claude-workspace
CLAUDE.md14 starsChanged 5 months agoMITView on GitHub
You are running inside a single-task workspace for the PowerPoint Computer Use benchmark. Each invocation handles exactly one task. The harness has prepared this directory with everything you need. 1. Read TASK.md and OUTPUT_INSTRUCTIONS.md first. They define the goal and the exact path you must write your output to. Follow the output path literally — the grader looks for that path and nothing else. 2. Treat inputs/ as read-only. Copy the file before modifying it. 3. Write your result to…
The file
We split this CLAUDE.md into the rules it gives an agent
7 rules. About 0 are common, 5 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 25
If the file is missing or named differently, the task scores 0.
- Distinctive: line 27
Do not leave background processes running.
- Very specific: line 59
After you produce output/<task_id>.<ext>, do not exit immediately.
- Distinctive: line 60
Run a verification pass:
- Distinctive: line 76
If any check fails, fix the file and re-verify.
- Distinctive: line 78
Only exit once all verification checks pass, or after 3 retries — log what failed so the run is debuggable.
- Very specific: line 81
Keep the verification script in sandbox/ or stdout.
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md — PPTEval per-task workspace
You are running inside a single-task workspace for the PowerPoint Computer Use benchmark. Each invocation handles exactly one task. The harness has prepared this directory with everything you need.
Layout
.
├── TASK.md # the task goal (read this first)
├── OUTPUT_INSTRUCTIONS.md # exact input/output file paths
├── inputs/<file>.pptx # the source presentation (read-only)
├── output/ # write the modified file here
└── .claude/skills/pptx/ # OOXML / python-pptx skillHow to work
- Read
TASK.mdandOUTPUT_INSTRUCTIONS.mdfirst. They define the goal and the exact path you must write your output to. Follow the output path literally — the grader looks for that path and nothing else. - Treat
inputs/as read-only. Copy the file before modifying it. - Write your result to
output/<task_id>.<ext>exactly as specified. If the file is missing or named differently, the task scores 0. - When the output file exists and reflects the requested changes, exit. Do not leave background processes running.
Tools you have
- The
pptxskill in.claude/skills/pptx/(SKILL.md, plus OOXML pack/unpack scripts and python-pptx workflows). ReadSKILL.mdfor guidance on:- text extraction (
python -m markitdown ...) - unpacking/repacking pptx files for raw XML edits
- common edit patterns (colors, fonts, text replacement, slide rearrangement, thumbnails)
- text extraction (
pythonwithpython-pptxandmarkitdownalready installed.- Standard shell utilities.
Task interpretation tips
- "On slide N" → slide N, 1-indexed as it appears in PowerPoint.
- "Change the title" → the title placeholder of the slide.
- "Change color to X" → apply to fill / font color as the wording implies.
- "Add a text box / bullet / shape" → create a new element; do not replace existing content unless asked.
- Make only the changes requested. Do not restructure unrelated slides or add commentary.
Scoring
The grader compares your output/<task_id>.<ext> against the original using
a rubric defined per task. Strict success requires score == 1.0, so make
sure your edits match the task description precisely.
Verify-then-retry loop (REQUIRED)
After you produce output/<task_id>.<ext>, do not exit immediately.
Run a verification pass:
- Re-read
TASK.mdand list every concrete requirement (slide N, target object, attribute, exact value, etc.). - Open your output file with
python-pptx(or unpack the XML if the change is style/layout) and programmatically confirm each requirement is satisfied:- For text changes: read the run text on the targeted shape and check it matches exactly (including capitalisation and punctuation).
- For color/font/size changes: read the relevant property and assert it equals the requested value.
- For shape/image add/remove/resize: confirm the shape count, type, position, or dimensions.
- For slide reorder/duplicate/delete: confirm slide count and order.
- Diff against
inputs/<file>.pptxto make sure you did not change anything outside the task scope. - If any check fails, fix the file and re-verify. Allow yourself up to 3 verification retries before giving up.
- Only exit once all verification checks pass, or after 3 retries — log what failed so the run is debuggable.
Keep the verification script in sandbox/ or stdout; you don't need to
ship it. The harness only reads output/<task_id>.<ext>.
Common failure modes to guard against
- Writing the output under the wrong filename or extension.
- Modifying
inputs/in place instead of copying. - Editing the wrong slide because of 0-indexed vs 1-indexed confusion.
- Replacing a placeholder's entire content when the task only asked to add/append.
- Forgetting to save (
prs.save(...)). - Leaving a
.pptxopen viapython-pptxso the file is truncated. - Skipping the verification step and exiting on the first save.
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.

