2654400439/Paper2Seminar / skills/paper-ppt-orchestrator
paper-ppt-orchestrator
VerifiedBuild complete fixed-layout academic-paper presentations from a PDF with bundled PPTX and one-page HTML templates. Use for full paper reading, complexity-aware slide budgeting, subsection coverage mapping, figure extraction, TikZ or Matplotlib evidence visuals, deterministic PPTX assembly, and final QA. Trigger for requests to turn a paper PDF into a discussion-group deck, especially 12-16+ page systems, security, networking, or measurement papers.
scripts/export_pptx_pages.ps1
View on GitHubparam(
[Parameter(Mandatory=$true)]
[string]$InputPptx,
[Parameter(Mandatory=$true)]
[string]$OutputDir,
[int]$Dpi = 120
)
$ErrorActionPreference = "Stop"
$inputPath = (Resolve-Path -LiteralPath $InputPptx).Path
$outputPath = $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($OutputDir)
New-Item -ItemType Directory -Force -Path $outputPath | Out-Null
$pdfPath = Join-Path $outputPath "deck.pdf"
$powerPoint = New-Object -ComObject PowerPoint.Application
try {
$presentation = $powerPoint.Presentations.Open($inputPath, $true, $false, $false)
try {
$presentation.SaveAs($pdfPath, 32)
}
finally {
$presentation.Close()
[System.Runtime.InteropServices.Marshal]::ReleaseComObject($presentation) | Out-Null
}
}
finally {
$powerPoint.Quit()
[System.Runtime.InteropServices.Marshal]::ReleaseComObject($powerPoint) | Out-Null
}
$prefix = Join-Path $outputPath "slide"
& pdftoppm -png -r $Dpi $pdfPath $prefix
if ($LASTEXITCODE -ne 0) { throw "pdftoppm failed with exit code $LASTEXITCODE" }
$count = (Get-ChildItem -LiteralPath $outputPath -Filter "slide-*.png" -File).Count
if ($count -eq 0) { throw "No slide PNGs were generated." }
Write-Output "Rendered $count slides to $outputPath"
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |