sg-build

sg-build is a skill for Claude Code from davistroy/claude-marketplace. It costs 45 tokens per session (759 once invoked), scanned A, original, MIT.

A build step that turns presentation markdown and images into a PowerPoint file (.pptx). It uses a selected slide template to assemble the deck.

In plain words
What is it for?
Use it after drafting presentation content and generating slide images when you need a finished PowerPoint file.
Why use it?
It removes the manual work of placing prepared slide content and images into a PowerPoint presentation.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the slide-gen plugin — 9 skills shipped together

Good fit Use it after drafting presentation content and generating slide images when you need a finished PowerPoint file.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/davistroy/claude-marketplace/sg-build
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add davistroy/claude-marketplace --skill sg-build
Clone the repo
git clone --depth 1 https://github.com/davistroy/claude-marketplace

Made for: Claude Code.

Or install slide-gen, the plugin that ships this one along with the rest of its 9 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sg-build

README.md
[![agentmods](https://agentmods.dev/badge/skills/davistroy/claude-marketplace/sg-build/github.svg)](https://agentmods.dev/skills/davistroy/claude-marketplace/sg-build)
Your own site
<a href="https://agentmods.dev/skills/davistroy/claude-marketplace/sg-build"><img src="https://agentmods.dev/badge/skills/davistroy/claude-marketplace/sg-build/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sg-build

Your own site · 80×15
<a href="https://agentmods.dev/skills/davistroy/claude-marketplace/sg-build"><img src="https://agentmods.dev/badge/skills/davistroy/claude-marketplace/sg-build.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 759 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00045 $0.00759
Opus 5.5 $0.00018 $0.00304
Sonnet 5.5 $0.00009 $0.00152
Haiku 4.5 $0.00005 $0.00076

Measured 1mo ago against content hash 8247e5c0723e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sg-build scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/slide-gen/skills/sg-build/SKILL.md · 89 lines

How it starts

The opening of the file, as written. The whole thing — 89 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Slide Generator: Build Step

Assemble the final PowerPoint file (.pptx) from the presentation markdown and generated images. Uses python-pptx to create a professional slide deck with the selected template.

Pre-loaded Context

Working directory: !pwd

Available presentation files: !ls -la *.md 2>/dev/null | grep -i pres || echo "No presentation files found"

Available images: !ls images/ 2>/dev/null | wc -l || echo "0"

Available templates: !sg list-templates 2>&1 || echo "Cannot list templates"

Prerequisites

  • Preflight: sg --version must succeed before proceeding — if sg is missing, stop and tell the user this requires the private davistroy/slide-generator engine (owner-only; see ADR-0008)
  • slide-generator package installed
  • A presentation.md file with slide content
  • Generated images in images/ directory (optional — builds without images if missing)

Input Validation

Required:

  • <presentation.md> - Path to presentation markdown file

Optional:

  • --template <name> - Template to use (default: generic). Use sg list-templates to see options
  • --style <path> - Custom style JSON file for colors, fonts, sizing
  • --output <path> - Output .pptx file path

Instructions

  1. Verify input: Confirm presentation markdown and images exist
  2. List templates (if user hasn't specified):
    sg list-templates
    
  3. Run build:
    sg build presentation.md --template generic
    
  4. Verify output: Confirm .pptx file was created
  5. Report results: Show file path, file size, slide count

How It Works

The build step:

  • Parses markdown into structured slide data (titles, bullets, notes, image refs)
  • Classifies each slide type (title, content, two-column, image-heavy, etc.)
  • Applies template layout rules for each slide type
  • Embeds generated images at appropriate positions
  • Adds speaker notes, slide numbers, and footers
  • Uses dynamic year detection for copyright footers

Read the full file on GitHub · 89 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 89 lines · 45 tokens per session scan A 8247e5c0723e

Subscribe to this mod's changes

sg-build is a skill published in the GitHub repository davistroy/claude-marketplace (5 stars, last pushed 19d ago), licensed MIT. It adds 45 tokens to every session and 759 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.

Related

Other skills, from other repositories

orbit-notion

Open Orbit briefing skill — selected by the Orbit pipeline when Notion is the user's only connected connector, or when the user explicitly scopes their daily digest to Notion. Pulls the past 24 hours of document edits, comments, mentions, and database row changes from the user's authenticated Notion connection and…

nexu-io/open-design · 117 tokens

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

apify-youtube-transcript-scraper

Get YouTube captions, timestamped quotations, SRT/VTT and translated transcripts for videos, channels and playlists through the harshmaur/youtube-transcript-scraper Apify Actor.

sickn33/agentic-awesome-skills · 48 tokens

legal-hold

Issue, refresh, release, or report on legal holds — drafts the hold notice as .docx, updates legalhold fields in log.yaml, and calendars the next refresh. Use when the user says "issue a hold", "refresh hold", "release hold", or asks for a portfolio-wide hold status report.

anthropics/claude-for-legal · 68 tokens

baoyu-youtube-transcript

A tool for downloading the written captions, subtitles, chapter information, speaker labels, and cover image from a YouTube video using its URL or ID.

JimLiu/baoyu-skills · 107 tokens

feishu

Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.

Hmbown/CodeWhale · 33 tokens