Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

google-slides

БесплатноЗапускает вложенные скриптыНе проверен

Route Google Slides authoring requests and derive a design system from a native template or reference deck. Use this skill when the user provides an existing…

openaiот openai★ 8 494 звезды на GitHub

Об этом скилле

Google Slides

Presentations clarification questions

  • Ask for new presentations or major rewrites. Skip this for edits/conversions.
  • Inspect prompt, conversation history, existing file and relevant references to figure out what questions to ask.
  • Questions should cover topic, audience, and purpose and come before planning
  • When asking questions, focus on consequential dimensions not stated or clearly implied.
  • When the artifact is a new analysis, focus on which definition, metric, or lens should drive conclusions.
  • Unresolved reference labels or question marks are user-owned: ask, don't infer.
  • Once topic, audience, and purpose are clear, proceed without asking. Choose emphasis, format, length, style, details. Use placeholders for missing facts.

Use request_user_input once if available, else ask via a message. Have the best suggestion first. Append (Recommended) to its label. Have another good alternative second. Have Use your judgment as the third and final option. If the request times out or returns no answer, proceed using your best judgment; do not ask again.

Route the Request

  • Use [@presentations](plugin://presentations@openai-primary-runtime) to create a net-new presentation when no existing native Google Slides deck is the template or reference.
  • Use this skill to create a presentation by following an existing native Google Slides template, reference deck, or prior-period deck.
  • Use this skill to edit, update, repair, restyle, or clean up an existing native Google Slides deck.
  • If a request combines new content with an existing native Google Slides deck that must be followed, use this skill.
  • Do not use this skill to author a blank or from-scratch presentation.

Parse a Template Deck

If code mode is unavailable in the current Codex environment, reproduce the same read-to-file, parse, and render workflow with the available connector and local tools. Preserve the same artifacts and validation steps; do not skip the workflow merely because code mode cannot be used.

For template or reference following, first use code mode to read the complete template/reference presentation directly into a file. Set SKILL_DIR to this skill's absolute directory and WORKSPACE to an absolute task workspace, then run this in one functions.exec call:

const SKILL_DIR = "<absolute-skill-directory>";
const WORKSPACE = "<absolute-task-workspace>";
const loaded = await tools.exec_command({
  cmd: `/bin/cat -- '${SKILL_DIR}/host/read-template-to-file.mjs'`,
  workdir: SKILL_DIR,
  login: false,
  yield_time_ms: 30000,
  max_output_tokens: 20000,
});
if (loaded.exit_code !== 0) throw new Error("Could not load the template reader");
const { readTemplateToFile } = new Function(
  `${loaded.output.replace(/^\s*export\s+/gm, "")}\nreturn { readTemplateToFile };`,
)();
const result = await readTemplateToFile({
  presentationId: "<presentation-id>",
  outputPath: `${WORKSPACE}/raw-template.json`,
  workspaceRoot: WORKSPACE,
  skillRoot: SKILL_DIR,
  tools,
});
text(JSON.stringify(result));

The reader omits the fields argument so the connector returns the full presentation resource, then writes the unmodified connector response to raw-template.json without placing it in model context.

Next, set NODE to the bundled Node.js executable returned by the workspace dependency loader and run:

"$NODE" "$SKILL_DIR/scripts/parse_template_design_system.mjs" \
  --input "$WORKSPACE/raw-template.json" \
  --output "$WORKSPACE/design-system.json" \
  --catalog "$WORKSPACE/design-catalog.md"

--catalog is optional. Use the JSON for master families, layout and placeholder IDs, inherited styles, theme colors, protected regions, and exemplar geometry. Use the catalog as a compact planning view. Confirm semantic and visual interpretations against rendered source slides; the parser derives structure but does not render the deck.

Render a Deck

Export a deck once as PDF and render every slide locally instead of fetching one thumbnail per slide. Set PDFTOPPM to pdftoppm inside the native-binaries directory returned by the workspace dependency loader, then run this in one functions.exec call:

const SKILL_DIR = "<absolute-skill-directory>";
const WORKSPACE = "<absolute-task-workspace>";
const PDFTOPPM = "<absolute-native-binaries-directory>/pdftoppm";
const loaded = await tools.exec_command({
  cmd: `/bin/cat -- '${SKILL_DIR}/host/export-and-render-slides.mjs'`,
  workdir: SKILL_DIR,
  login: false,
  yield_time_ms: 30000,
  max_output_tokens: 30000,
});
if (loaded.exit_code !== 0) throw new Error("Could not load the slide renderer");
const { exportAndRenderSlides } = new Function(
  `${loaded.output.replace(/^\s*export\s+/gm, "")}\nreturn { exportAndRenderSlides };`,
)();
const result = await exportAndRenderSlides({
  presentationId: "<presentation-id>",
  outputDir: `${WORKSPACE}/renders/<deck-name>`,
  workspaceRoot: WORKSPACE,
  skillRoot: SKILL_DIR,
  designSystemPa
Полный SKILL.md на GitHub

Установить google-slides в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

agents/openai.yamlassets/google-slides-small.svgassets/google-slides.pnghost/export-and-render-slides.mjshost/export-and-render-slides.test.mjshost/read-template-to-file.mjshost/slides-stdin-receiver.plruntime/common.mjsruntime/design-system.mjsruntime/media-geometry.mjsruntime/normalize.mjsruntime/output-issues.mjsruntime/result.mjsscripts/check_output_issues.mjsscripts/parse_template_design_system.mjs

FAQ

Что делает скилл google-slides?

Route Google Slides authoring requests and derive a design system from a native template or reference deck. Use this skill when the user provides an existing native Google Slides deck as a template, reference, or prior-period source, or asks to edit, update, repair, restyle, or clean up an existing native Google Slides deck. Use the Presentations skill instead for net-new presentation creation when no existing native Google Slides deck must be followed.

Как установить скилл google-slides?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл google-slides запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить google-slides с