consulting-slide-skill
AGENTS.md3 starsChanged 21 days agoMITView on GitHub
Python (python-pptx) tool that builds ONE finished, native, editable consulting slide from a JSON spec, in the style of a case-competition archive. Windows; Python is py -3. Read before changing anything: docs/rulings.md (the user's decisions, which win over the code), docs/architecture.md (map of the code), docs/archetypes.md (spec reference; composite is the main archetype).
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 35,117 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repositoryOne other file it gives its agents.
- slideSkill
The file
We split this AGENTS.md into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
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
- could be automatic: a setting could enforce it
- Very specific: line 5
Read before changing anything: docs/rulings.md (the user's decisions, which win over the code), docs/architecture.md (map of the code), …
- Very specific: line 24
Never edit .claude/settings.local.json, secrets or API keys.
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.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
Slide generator: instructions for coding agents
Python (python-pptx) tool that builds ONE finished, native, editable consulting slide from a JSON spec, in the style of a case-competition archive. Windows; Python is py -3.
Read before changing anything: docs/rulings.md (the user's decisions, which win over the code), docs/architecture.md (map of the code), docs/archetypes.md (spec reference; composite is the main archetype).
Layout
slidegen/: rendering.composite.py(multi-panel slides),charts.py(native charts),core.py(text, shapes, footer),themes.json(styles as tokens).build.py: CLI + validation.schemas/archetypes.schema.jsonis GENERATED bytools/gen_schema.py; edit the generator, then runpy -3 -I tools/gen_schema.py.mcp_server.py: MCP server (slide tools)..claude/skills/slide/SKILL.md: the slide-making workflow (Claude Code loads it as the/slideskill;desktop/slideis the Claude Desktop version).tools/:compose.py(composition recommender),grammar.py(archive slide grammar from vision labels ->brain/30-patterns/),retrieve.py+rank.py(nearest examples, best-of-3),layout_metrics.py,ab_judge.py(blind A/B),preview.ps1(render with real PowerPoint).exemplars/: approved example slides (spec + png).examples/: example specs.analysis/: archive statistics (grammar.json,layout_stats.json, anonymisedelements*.jsonl).docs/gaps.md: ranked tool gaps.- Local only, never in git:
archive/(source decks),out/,render/, andprivate/(real deck/team names, exemplars rebuilt from other teams' slides, audits). The repo must not leak other teams' material: after regenerating archive-derived files (mine_elements,merge_labels,grammar.py,summarize_elements), runpy -3 -I tools/anonymize.pybefore committing.
Commands (run from the project root)
- Build:
py -3 build.py spec.json -o out/name.pptx [--theme bain_red]; styles:py -3 build.py --styles - Render:
powershell -NoProfile -File tools\preview.ps1 out\name.pptx(writes out\name.png; look at it) - Tests (all must exit 0 before you commit):
py -3 tools/test_build.py,py -3 tools/check_examples.py,py -3 -I tools/test_compose.py,py -3 -I tools/test_mcp.py,py -3 -I tools/test_metrics_ab.py,py -3 -I tools/test_retrieve_rank.py
Rules
- Smallest working change; reuse helpers that already exist; no new dependencies.
- New options must not change existing renders unless the change is the point; re-render
examples/composite_orbital.pt.jsonafter touching layout or chart code and look at it. - Never edit
.claude/settings.local.json, secrets or API keys; never commitarchive/orprivate/. - Work on a git branch, commit small steps with clear messages;
mainis the stable line and the only branch pushed to GitHub (never push tags or the localfull-history-*history).
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.

