Agent skill · Audited from source
Gamma Sdk Patterns
skill · jeremylongshore/claude-code-plugins-plus-skillsMIT licenceAudited 8 Oct 2026 · source 4f83675ca38a
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 4f83675ca38a and found no filesystem, network or shell access and no hard-coded secrets. What it does: Reusable patterns for the Gamma REST API (no SDK exists).
Cite
Cite this page
ModelsAtlas. “Gamma Sdk Patterns (jeremylongshore/claude-code-plugins-plus-skills)”. Retrieved 8 Oct 2026. https://modelsatlas.com/skills/jeremylongshore/gamma-sdk-patterns
Trust audit
Audit 0.4.1 · source read 8 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | PASS | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (0)
No findings at any severity. We re-audit when the source changes.
Audit 0.4.1 · source sha 4f83675ca38a · 8 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publisherjeremylongshore GitHub userOwner of the repository this skill is read from
- Source folderjeremylongshore/claude-code-plugins-plus-skills/plugins/saas-packs/gamma-pack/skills/gamma-sdk-patternsThe exact folder we audited
- LicenceMITAs the repository states it
- Commit pinned for this verdict4f83675ca38aA new audit runs when the source changes
- Repository statusNot archivedPushed today
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Reusable patterns for the Gamma REST API (no SDK exists).
--- name: gamma-sdk-patterns description: 'Reusable patterns for the Gamma REST API (no SDK exists). Use when building typed wrappers, generation helpers, template factories, or error handling for Gamma. Trigger: "gamma patterns", "gamma client wrapper", "gamma best practices", "gamma API helper", "gamma code structure". ' allowed-tools: Read, Write, Edit version: 1.13.0 license: MIT author: Jeremy Longshore <[email protected]> tags: - saas - gamma - patterns - api compatibility: Designed for Claude Code --- # Gamma API Patterns ## Output Produce a client-validation receipt with contract/fixture version, opaque operation ID, schema result, idempotency outcome, owner, and redacted failure reference. Do not log presentation content or tokens. ## Examples Use a scoped staging integration and fictional document to validate field allowlists and duplicate suppression. Reject an unknown destination before the provider call and retain only aggregate results. ## Overview Gamma has no published SDK — all interaction is via REST at `https://public-api.gamma.app/v1.0/`. This skill provides production-grade patterns for typed clients, generation helpers, polling, template workflows, and error handling. ## Prerequisites - Completed `gamma-install-auth` setup - TypeScript project with `fetch` (Node.js 18+) - Understanding of the generate-poll-retrieve workflow ## Instructions ### Step 1: Typed Client Singleton ```typescript // lib/gamma.ts const GAMMA_BASE = "https://public-api.gamma.app/v1.0"; interface GammaConfig { apiKey: string; baseUrl?: string; timeoutMs?: number; } // Types based on actual API responses interface GenerateRequest { content: string; outputFormat?: "presentation" | "document" | "webpage" | "social_post"; themeId?: string; exportAs?: "pdf" | "pptx" | "png"; textMode?: "generate" | "condense" | "preserve"; textAmount?: "brief" | "medium" | "detailed" | "extensive"; imageOptions?: { style?: string }; sharingOptions?: { workspaceAccess?: "noAccess" | "view" | "comment" | "edit" | "fullAccess"; externalAccess?: "noAccess" | "view" | "comment" | "edit" | "fullAccess"; }; folderIds?: string[]; } interface GenerateResult { generationId: string; status: "in_progress" | "completed" | "failed"; gammaUrl?: string; exportUrl?: string; creditsUsed?: number; } let instance: ReturnType<typeof createGammaClient> | null = null; export function getGamma() { if (!instance) { instance = createGammaClient({ apiKey: process.env.GAMMA_API_KEY!, }); } return instance; } export function createGammaClient(config: GammaConfig) { const base = config.baseUrl ?? GAMMA_BASE; const headers: Record<string, string> = { "X-API-KEY": config.apiKey, "Content-Type": "application/json", }; async function request<T>(method: string, path: string, body?: unknown): Promise<T> { const controller = new AbortController(); const timeout = setTimeout(() => controller.abort(), config.timeoutMs ?? 30000); try { const res = await fetch(`${base}${path}`, { method, headers, body: body ? JSON.stringify(body) : undefined, signal: controller.signal, }); if (!res.ok) { const text = await res.text(); throw new GammaApiError(res.status, text, path); } return res.json() as T; } finally { clearTimeout(timeout); } } return { generate: (body: GenerateRequest) => request<{ generationId: string }>("POST", "/generations", body), generateFromTemplate: (body: TemplateRequest) => request<{ generationId: string }>("POST", "/generations/from-template", body), poll: (id: string) => request<GenerateResult>("GET", `/generations/${id}`), getFileUrls: (id: string) => request<{ exportUrl: string }>("GET", `/generations/${id}/files`), listThemes: () => request<Theme[]>("GET", "/themes"), listFolders: () => request<Folder[]>("GET", "/folders"), }; } ``` ### Step 2: Custom Error Class ```typescript // lib/errors.ts export class GammaApiError extends Error { constructor( public status: number, public body: string, public path: string ) { super(`Gamma API ${status} on ${path}: ${body}`); this.name = "GammaApiError"; } get isRateLimit() { return this.status === 429; } get isAuth() { return this.status === 401 || this.status === 403; } get isServerError() { return this.status >= 500; } } ``` ### Step 3: Poll-Until-Done Helper ```typescript // lib/poll.ts export async function pollUntilDone( gamma: ReturnType<typeof createGammaClient>, generationId: string, opts = { intervalMs: 5000, timeoutMs: 180000 } ): Promise<GenerateResult> { const deadline = Date.now() + opts.timeoutMs; while (Date.now() < deadline) { const result = await gamma.poll(generationId); if (result.status === "completed") return result; if (result.status === "failed") { throw new Error(`Generation ${generationId} failed`); } await new Promise((r) => setTimeout(r, opts.intervalMs)); } throw new Error(`Poll timeout for ${generationId} after ${opts.timeoutMs}ms`); } ``` ### Step 4: Generate-and-Wait Convenience ```typescript // lib/generate.ts export async function generateAndWait( gamma: ReturnType<typeof createGammaClient>, request: GenerateRequest ): Promise<GenerateResult> { const { generationId } = await gamma.generate(request); console.log(`Generation started: ${generationId}`); return pollUntilDone(gamma, generationId); } // Usage const gamma = getGamma(); const result = await generateAndWait(gamma, { content: "Quarterly business review for Q1 2026", outputFormat: "presentation", themeId: "theme_abc123", exportAs: "pptx", textAmount: "medium", imageOptions: { style: "photorealistic corporate" }, }); console.log(`View: ${result.gammaUrl}`); console.log(`Download: ${result.exportUrl}`); ``` ### Step 5: Template-Based
Excerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 4f83675
git clone https://github.com/jeremylongshore/claude-code-plugins-plus-skills git -C claude-code-plugins-plus-skills checkout 4f83675ca38a
The author documents no install command, so this uses the repository directly. Our verdict covers commit 4f83675ca38a only.
Works in which agents?
What its own text says, not a test
| Agent | Status | More |
|---|---|---|
| Claude Code | Mentioned in its text, not tested | Skills for Claude Code · About Claude Code |
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
4f83675ca38a
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/jeremylongshore/gamma-sdk-patterns/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Deploy and orchestrate Vertex AI ADK agents using A2A protocol. Manages
Add this badge to your README
[](https://modelsatlas.com/skills/jeremylongshore/gamma-sdk-patterns/)
<a href="https://modelsatlas.com/skills/jeremylongshore/gamma-sdk-patterns/"><img src="https://modelsatlas.com/skills/jeremylongshore/gamma-sdk-patterns/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Gamma Sdk Patterns
What does the Gamma Sdk Patterns skill do?
Is Gamma Sdk Patterns safe to install?
What can Gamma Sdk Patterns access on my machine?
Which assistants does Gamma Sdk Patterns work with?
How current is this page?
Sources
- github.com/jeremylongshore/claude-code-plugins-plus-skills/tree/ — the audited source at commit 4f83675ca38a and every finding aboveObserved · 8 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Gamma Sdk Patterns skill do?
- Is Gamma Sdk Patterns safe to install?
- What can Gamma Sdk Patterns access on my machine?