general-presentation
Skill174 starsChanged 6 months agoMITView on GitHub
Generate and iteratively refine PowerPoint presentations from simulation results using python-pptx.
In this repository133 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/atomisticskills.mdcCursor rule
- .cursor/rules/use-agent-skills.mdcCursor rule
- chem-bond-dissociationSkill
- chem-conformer-searchSkill
- chem-db-mofSkill
- chem-db-qmofSkill
- chem-db-spectraSkill
- chem-dft-orca-advanced-calculationSkill
- chem-dft-orca-optimizationSkill
- chem-dft-orca-singlepointSkill
- chem-docking-voidSkill
- chem-hazard-toxicitySkill
- chem-irc-verificationSkill
- chem-msms-predictSkill
- chem-neb-barrierSkill
- chem-nmr-analysisSkill
- chem-nmr-predictSkill
- chem-react-otSkill
- chem-similarity-searchSkill
- chem-solution-mdSkill
- chem-sorption-gcmcSkill
- chem-sorption-relaxSkill
- chem-sorption-widomSkill
- chem-spectrum-matcherSkill
- chem-thermochemistrySkill
- chem-ts-optimizationSkill
- chem-vibrationSkill
- drug-admet-predictionSkill
- drug-binding-site-definitionSkill
- drug-bioactivity-assaySkill
- drug-complex-system-builderSkill
- drug-db-chemblSkill
- drug-db-pdbSkill
- drug-db-pubchemSkill
- drug-docking-analysisSkill
- drug-docking-vinaSkill
- drug-ligand-prepSkill
- drug-mmpbsa-gbsaSkill
- drug-molecular-fingerprintsSkill
- drug-pocket-detectionSkill
- drug-pose-validationSkill
- drug-protein-ligand-mdSkill
- drug-protein-prepSkill
- drug-redocking-rmsdSkill
- drug-retrosynthesisSkill
- drug-trajectory-analysisSkill
- general-arxiv-searchSkill
- general-biorxiv-searchSkill
- general-chemical-literatureSkill
- general-chemical-pricingSkill
- general-deep-researchSkill
- general-fair-data-reviewSkill
- general-patent-searchSkill
- general-peer-reviewSkill
- general-plot-digitizerSkill
- general-property-unitsSkill
- general-publisher-access-guardSkill
- general-query-literature-databaseSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 0 are distinctive, and 4 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.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 11
Create professional PowerPoint presentations from simulation results (plots, tables, parameters) using python-pptx.
- Very specific: line 17
All scripts should import slide_utils from this skill:
- Very specific: line 43
Every builder function returns the Slide (or Shape) object, allowing further customization with raw python-pptx calls if needed.
- Very specific: line 95
Slide dimensions: Default 16:9 (13.333 × 7.5 inches).
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill 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
Presentation Generation
Goal
Create professional PowerPoint presentations from simulation results (plots, tables, parameters) using python-pptx. The agent writes standalone Python scripts using a helper library, enabling direct iteration with the user on the script to refine slides.
Instructions
1. Import the Helper Library
All scripts should import slide_utils from this skill:
# Env: base-agent
import sys
sys.path.insert(0, ".agents/skills/general-presentation/scripts")
from slide_utils import *2. Build Slides Using Helper Functions
Available functions:
| Function | Purpose |
create_presentation(title, subtitle, author) | Create a new presentation with a styled title slide |
add_title_slide(prs, title, subtitle) | Additional title/divider slides |
add_section_slide(prs, title) | Section divider (colored background) |
add_image_slide(prs, title, image_path, caption, notes) | Single image/plot slide |
add_two_image_slide(prs, title, left_img, right_img, ...) | Side-by-side images |
add_image_and_text_slide(prs, title, image_path, text, ...) | Image + text layout |
add_table_slide(prs, title, headers, rows) | Data table slide |
add_bullets_slide(prs, title, bullets) | Bullet point slide |
add_autofit_box(slide, left, top, height, text, bg_color) | Add a colored box that auto-scales width to text |
save_presentation(prs, path) | Save to .pptx file |
Every builder function returns the Slide (or Shape) object, allowing further customization with raw python-pptx calls if needed.
3. Customize the Theme (Optional)
Override the THEME dictionary before building slides:
from slide_utils import *
THEME["primary"] = RGBColor(0x00, 0x50, 0x80)
THEME["font_family"] = "Arial"4. Save and Iterate Visually
save_presentation(prs, "output.pptx")The agent edits the Python script and re-runs to reflect changes. CRITICAL ITERATION LOOP: The agent MUST visually inspect the generated slides using their VLM capabilities to ensure elements do not overlap, text fits perfectly within boxes, and the slide space is used efficiently with a universal, professional design style.
To preview a slide as an image for visual inspection:
# Render PPTX to PDF using LibreOffice, then to PNG
libreoffice --headless --convert-to pdf output.pptx --outdir .
pdftocairo -png output.pdf output
# This generates output-1.png, which you can visually inspect.Examples
Generating a simulation report:
# Env: base-agent
import sys
sys.path.insert(0, ".agents/skills/general-presentation/scripts")
from slide_utils import *
prs = create_presentation("LiFePO4 Stability", "MACE-MP Results", "Research Agent")
add_image_slide(prs, "Phonon DOS", "phonon_dos.png", caption="No imaginary modes observed")
add_table_slide(prs, "Parameters", ["Param", "Value"], [["Model", "MACE-MP"], ["fmax", "0.02 eV/A"]])
add_bullets_slide(prs, "Conclusions", ["Dynamically stable", "E_hull = 0 meV/atom"])
save_presentation(prs, "LiFePO4_report.pptx")See amorphorization example for a complete runnable example with structure images, tables, and RDF plots.
Constraints
- Environment: Scripts require
base-agentwithpython-pptxinstalled. - Image formats: PNG, JPG, BMP, GIF, TIFF supported.
- Slide dimensions: Default 16:9 (13.333 × 7.5 inches). Override via
THEME["width"]/THEME["height"]. - Tables: Large tables (>15 rows) may overflow the slide — split across multiple slides.
Author: Bowen Deng Contact: GitHub @learningmatter-mit
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.

