Agent skill

Codeck Export

by hiyeshu in hiyeshu/codeck

Internal publisher module for /codeck. An agent skill from hiyeshu/codeck.

MITAuto-check passedDocuments & Office

Install Codeck Export

skills CLI
$ npx skills add hiyeshu/codeck --skill codeck-export -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install hiyeshu/codeck codeck-export --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/hiyeshu/codeck.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/codeck-export .claude/skills/codeck-export && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
codeck-export
GitHub stars
198
Token cost
~2.1k tokens
SKILL.md length
497 words
Files
79
Skills in repo
6
Repo updated
First seen
Licence
MIT

At a glance

Internal publisher module for /codeck. An agent skill from hiyeshu/codeck.

  • Works in 5 steps: Status → Format → Export → …
  • Tasks that involve PowerPoint presentations
  • SKILL.md covers Step 1: Status, Step 2: Format, Step 3: Export and Step 4: QA (required for…, plus 1 more section
  • Runs Python scripts from its folder; calls python, bash and npx

What it does

Codeck Export is an agent skill from hiyeshu/codeck. Internal publisher module for /codeck. Exports deck to PDF or PPTX with post-export QA. User-facing export requests should enter through /codeck; this skill defines the export behavior.

Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 82 other files (for example `pdf/forms.md`, `pdf/reference.md` and `pdf/scripts/check_bounding_boxes.py`).

It sits in Documents & Office, covering PowerPoint presentations and PDF. It works with Microsoft PowerPoint. The repository describes itself as: No Keynote. No dragging. No font sizes. The licence is MIT.

When your agent uses it

  • Tasks that involve PowerPoint presentations
  • Tasks that involve PDF

Example prompts

  • “/codeck-export”

Requirements

  • Python 3
  • Node.js

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Status
  2. Format
  3. Export
  4. QA (required for PDF/PPTX)
  5. Done

What it can do on your machine

Read from SKILL.md and the folder at commit 572a4bc. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Python, from the files we listed), which the agent can run.

    Shell commands in SKILL.md call:

    • python
    • bash
    • npx
    • pdftoppm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npx, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Codeck Export loads about 2.1k tokens when it runs. Until then it costs about 50 tokens; SKILL.md has 497 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~50
When it runs · the whole SKILL.md, loaded when a task matches
~2.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from hiyeshu/codeck at commit 572a4bc, republished under its MIT licence (© hiyeshu). 497 words, ~2,052 tokens.

Download SKILL.mdSave it as .claude/skills/codeck-export/SKILL.md (or your agent's skills folder). This skill also uses 78 other files; get the full folder from GitHub.
name
codeck-export
description
Internal publisher module for /codeck. Exports deck to PDF or PPTX with post-export QA. User-facing export requests should enter through /codeck; this skill defines the export behavior.
version
2.1.1
<!--
[INPUT]: Depends on latest assembled HTML, MEMORY.md, tasks/tasks.md, and threads/threads.md.
[OUTPUT]: Provides PDF/PPTX exports and export QA notes.
[POS]: skills/codeck-export lane; publishes the reviewed deck from room state to final artifacts.
[PROTOCOL]: 变更时更新此头部,然后检查 CLAUDE.md
-->

codeck export — @export lane

Minimum conversation, maximum output. Export the deck to the user's format.

@export owns PDF/PPTX output and export QA.

Write boundaries:

  • May write final PDF/PPTX files in the user's project directory
  • May write export QA notes to $DECK_DIR/review.md or $DECK_DIR/MEMORY.md
  • May update $DECK_DIR/roles/export.md, $DECK_DIR/tasks/tasks.md, and $DECK_DIR/channel/YYYY-MM-DD.md
  • Must not edit deck.md, DESIGN.md, custom.css, slides.html, or speech.md
  • Export defects that require source changes become proposals in $DECK_DIR/threads/threads.md

Step 1: Status

bash
DECK_DIR="$HOME/.codeck/projects/$(basename "$(pwd)")"
CODECK_SKILL_DIR="${CODECK_SKILL_DIR:-}"
if [ -z "$CODECK_SKILL_DIR" ]; then
  for d in \
    "${CLAUDE_PLUGIN_ROOT}/skills/codeck" \
    "$HOME"/.claude/plugins/cache/*/codeck/*/skills/codeck \
    "$HOME"/.codex/plugins/cache/*/codeck/*/skills/codeck \
    "$HOME/.agents/skills/codeck" \
    "$HOME/.codex/skills/codeck" \
    "$HOME/.claude/skills/codeck"; do
    if [ -d "$d/scripts" ]; then CODECK_SKILL_DIR="$d"; break; fi
  done
fi
[ -n "$CODECK_SKILL_DIR" ] || { echo "codeck skill scripts not found; set CODECK_SKILL_DIR" >&2; exit 1; }
. "$CODECK_SKILL_DIR/scripts/resolve-dirs.sh"
mkdir -p "$DECK_DIR"
mkdir -p "$DECK_DIR/channel" "$DECK_DIR/tasks" "$DECK_DIR/threads" "$DECK_DIR/roles"
bash "$CODECK_SKILL_DIR/scripts/init-room.sh" "$DECK_DIR"
bash "$CODECK_SKILL_DIR/scripts/status.sh" "$DECK_DIR"

Read $DECK_DIR/MEMORY.md, active rows in $DECK_DIR/tasks/tasks.md, and open rows in $DECK_DIR/threads/threads.md. Do not read channel/YYYY-MM-DD.md unless debugging history.

Gate check: if no assembled HTML exists (./*-r*.html), run /codeck to generate/rebuild the deck first.

Before export, claim the work ticket:

markdown
@orchestrator
Owner: @export. Task: export latest HTML and run export QA.

@export
I claim the export pass. I will write PDF/PPTX outputs and record any source defects as threads.

Append the exchange to today's channel file and update tasks/tasks.md.

Step 2: Format

Export Format is one allowed Decision Ask moment under /codeck.

Use the shared /codeck Decision Ask Policy. Skip Decision Ask when the user names a target:

  • PDF, print, save as PDF → export PDF
  • PPTX, PowerPoint, slides file → export PPTX
  • all, both → export PDF and PPTX

If the user only says "export", create a non-blocking D-YYYYMMDD-NN decision in threads/threads.md and render once:

text
codeck needs the export format.

Current read: HTML already exists as the audience preview.

I suggest PDF because it preserves the visual layout and is easiest to share.

A) PDF (recommended)
B) PPTX
C) PDF + PPTX

If the user does not answer or structured AskUser UI is unavailable, export PDF and write assumed default to MEMORY.md.

Do not offer HTML as an export choice. HTML is the preview/source artifact.

Step 3: Export

Find the HTML file (./*-r*.html in the user's project directory), derive baseName.

HTML

Already exists. Open in browser, F for fullscreen, arrows to navigate.

PDF — print from HTML

Use Playwright for WYSIWYG PDF:

bash
npx playwright install chromium 2>/dev/null || true
javascript
import { chromium } from 'playwright';
import { resolve } from 'path';
import { readdirSync } from 'fs';
import { pathToFileURL } from 'url';

const html = readdirSync('.').find(f => /-r\d+\.html$/.test(f));
const baseName = html.replace('.html', '');
const browser = await chromium.launch();
const page = await browser.newPage();
await page.goto(pathToFileURL(resolve(html)).toString(), { waitUntil: 'networkidle' });
await page.emulateMedia({ media: 'screen' });
await page.pdf({
  path: `${baseName}.pdf`,
  printBackground: true,
  preferCSSPageSize: true,
  margin: { top: '12mm', right: '12mm', bottom: '12mm', left: '12mm' }
});
await browser.close();
console.log(`done: ${baseName}.pdf`);
Poster assets

.media-poster elements in slides.html are video/audio placeholders. Original file paths are in the caption and deck.md asset manifest.

Default: keep placeholders in export. If user says "embed video", extract path from caption, use slide.addMedia({ path: "..." }) for PPTX.

Show full SKILL.md (205 more words)Show less
PPTX — from HTML

Option A (recommended): LibreOffice

bash
CODECK_SKILL_DIR="${CODECK_SKILL_DIR:-}"
if [ -z "$CODECK_SKILL_DIR" ]; then
  for d in \
    "${CLAUDE_PLUGIN_ROOT}/skills/codeck" \
    "$HOME"/.claude/plugins/cache/*/codeck/*/skills/codeck \
    "$HOME"/.codex/plugins/cache/*/codeck/*/skills/codeck \
    "$HOME/.agents/skills/codeck" \
    "$HOME/.codex/skills/codeck" \
    "$HOME/.claude/skills/codeck"; do
    if [ -d "$d/scripts" ]; then CODECK_SKILL_DIR="$d"; break; fi
  done
fi
[ -n "$CODECK_SKILL_DIR" ] || { echo "codeck skill scripts not found; set CODECK_SKILL_DIR" >&2; exit 1; }
. "$CODECK_SKILL_DIR/scripts/resolve-dirs.sh"
[ -n "${CODECK_EXPORT_DIR:-}" ] || { echo "codeck-export not found; set CODECK_EXPORT_DIR" >&2; exit 1; }
EXPORT_SCRIPTS="$CODECK_EXPORT_DIR/pptx/scripts"
python "$EXPORT_SCRIPTS/office/soffice.py" --headless --convert-to pdf ./*-r*.html
python "$EXPORT_SCRIPTS/office/soffice.py" --headless --convert-to pptx ./*-r*.html

Option B (fallback): screenshot embed

If soffice unavailable, use Playwright to screenshot each page, then PptxGenJS to embed screenshots as slides. Read $CODECK_EXPORT_DIR/pptx/pptxgenjs.md for the API.

Step 4: QA (required for PDF/PPTX)

Assume the export has problems. Find them.

PDF

Check: pages complete (no truncation), backgrounds render, fonts display correctly.

PPTX

Generate thumbnails:

bash
CODECK_SKILL_DIR="${CODECK_SKILL_DIR:-}"
if [ -z "$CODECK_SKILL_DIR" ]; then
  for d in \
    "${CLAUDE_PLUGIN_ROOT}/skills/codeck" \
    "$HOME"/.claude/plugins/cache/*/codeck/*/skills/codeck \
    "$HOME"/.codex/plugins/cache/*/codeck/*/skills/codeck \
    "$HOME/.agents/skills/codeck" \
    "$HOME/.codex/skills/codeck" \
    "$HOME/.claude/skills/codeck"; do
    if [ -d "$d/scripts" ]; then CODECK_SKILL_DIR="$d"; break; fi
  done
fi
[ -n "$CODECK_SKILL_DIR" ] || { echo "codeck skill scripts not found; set CODECK_SKILL_DIR" >&2; exit 1; }
. "$CODECK_SKILL_DIR/scripts/resolve-dirs.sh"
[ -n "${CODECK_EXPORT_DIR:-}" ] || { echo "codeck-export not found; set CODECK_EXPORT_DIR" >&2; exit 1; }
EXPORT_SCRIPTS="$CODECK_EXPORT_DIR/pptx/scripts"
python "$EXPORT_SCRIPTS/thumbnail.py" ./*-r*.pptx

Convert to images for detailed check:

bash
python "$EXPORT_SCRIPTS/office/soffice.py" --headless --convert-to pdf ./*-r*.pptx
pdftoppm -jpeg -r 150 *.pdf slide-check

Use subagent to visually inspect screenshots. Focus on: overlapping elements, text overflow, uneven spacing, low-contrast text, differences from HTML original.

Fix loop
  1. Find issue → adjust export params or HTML
  2. Re-export → re-screenshot → re-check
  3. Until one full check finds no new issues

At least one fix-verify cycle before declaring done.

If QA finds a source defect, do not edit source files directly. Add a thread with the affected artifact and suggested owner, then hand off to @design or @review.

After export:

  1. Update MEMORY.md Active Context, Latest Channel Summary, Task Index, and Artifacts.
  2. Mark the @export task done in tasks/tasks.md.
  3. Append the handoff to today's channel file.

Step 5: Done

Export done. Output: {baseName}.pdf / {baseName}.pptx

@export I exported the latest HTML, ran QA, and recorded output paths in memory.

Speech script: /codeck speech script. Overview: /codeck.

© hiyeshu, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 78 other files in skills/codeck-export of hiyeshu/codeck.

  • SKILL.md
  • pdf/LICENSE.txt
  • pdf/forms.md
  • pdf/reference.md
  • pdf/scripts/check_bounding_boxes.py
  • pdf/scripts/check_fillable_fields.py
  • pdf/scripts/convert_pdf_to_images.py
  • pdf/scripts/create_validation_image.py
  • pdf/scripts/extract_form_field_info.py
  • pdf/scripts/extract_form_structure.py
  • pdf/scripts/fill_fillable_fields.py
  • pdf/scripts/fill_pdf_form_with_annotations.py
  • pptx/LICENSE.txt
  • pptx/editing.md
  • pptx/pptxgenjs.md
  • pptx/scripts/__init__.py
  • pptx/scripts/add_slide.py
  • … and 62 more

Open the folder on GitHubat commit 572a4bc

Compare with similar skills

Codeck Export next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Codeck Export compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Codeck Export this skillhiyeshu/codeck198—~2.1kAutomated safety check: PassMIT
MarkitdownImCa0/just-laws78114 repos~3.2kAutomated safety check: NotesMIT
GenOffice Document CLIgenspark-ai/genoffice8.8k—~19kAutomated safety check: PassApache-2.0
Docsagentdocsagent/docsagent625—~834Automated safety check: PassNone
Paper Deckzsyggg/paper-craft-skills1.3k—~1.4kAutomated safety check: PassNone
Markitdownjimmc414/Kosmos5942 repos~1.7kAutomated safety check: PassNone

Similar skills

  • Markitdown

    ImCa0/just-laws

    Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.

    781 GitHub starsUsed in 14 repos~3.2k tokens
    Documents & OfficeAuto-check: notes
  • GenOffice Document CLI

    genspark-ai/genoffice

    Creates, converts, reads and edits real pptx, xlsx, docx and PDF files locally through the genoffice command line.

    8.8k GitHub stars~19k tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • Docsagent

    docsagent/docsagent

    Search and manage private, local document collections (PDF, PPTX, DOCX) offline.

    625 GitHub stars~834 tokensUpdated 9 days ago
    Documents & OfficeAuto-check passed
  • Paper Deck

    zsyggg/paper-craft-skills

    将论文、技术文章或知识内容制作成高真实感的 AIGC 幻灯片。先做叙事结构和逐页视觉导演,再调用生图模型生成每一页 16:9 slide image,最后合成为 PPTX/PDF。适合论文汇报、组会、公开课、技术分享、商业化研究展示;当用户提到“论文PPT”“AI生成PPT”“不像AI的PPT”“高质感幻灯片”“逐页生图PPT”时使用。

    1.3k GitHub stars~1.4k tokensUpdated 4 mo ago
    Documents & OfficeAuto-check passed
  • Markitdown

    jimmc414/Kosmos

    Convert various file formats (PDF, Office documents, images, audio, web content, structured data) to Markdown optimized for LLM processing.

    594 GitHub starsUsed in 2 repos~1.7k tokens
    Documents & OfficeAuto-check passed
  • Mineru Document Explorer

    opendatalab/MinerU-Document-Explorer

    MinerU Document Explorer — Agent-native knowledge engine. An agent skill from opendatalab/MinerU-Document-Explorer.

    638 GitHub stars~6.2k tokensUpdated 5 mo ago
    Documents & OfficeAuto-check: notes

More from hiyeshu/codeck

  • Codeck Design

    hiyeshu/codeck

    Designer role. An agent skill from hiyeshu/codeck.

    198 GitHub stars~6.8k tokensUpdated 2 mo ago
    Auto-check passed
  • Codeck

    hiyeshu/codeck

    codeck entry point. An agent skill from hiyeshu/codeck.

    198 GitHub stars~6.4k tokensUpdated 2 mo ago
    Auto-check passed
  • Codeck Review

    hiyeshu/codeck

    Reviewer role. An agent skill from hiyeshu/codeck.

    198 GitHub stars~3.1k tokensUpdated 2 mo ago
    Auto-check passed
  • Codeck Outline

    hiyeshu/codeck

    Editor role. An agent skill from hiyeshu/codeck.

    198 GitHub stars~3.2k tokensUpdated 2 mo ago
    Auto-check: warnings
  • Codeck Speech

    hiyeshu/codeck

    Internal speech module for /codeck. An agent skill from hiyeshu/codeck.

    198 GitHub stars~2.4k tokensUpdated 2 mo ago
    Auto-check passed

Questions about Codeck Export

What does Codeck Export do?

Internal publisher module for /codeck. An agent skill from hiyeshu/codeck. Codeck Export is an agent skill from hiyeshu/codeck. Internal publisher module for /codeck.

When should I use Codeck Export?

Codeck Export fits situations like: tasks that involve PowerPoint presentations; tasks that involve PDF.

How do I install Codeck Export in Claude Code?

Run `npx skills add hiyeshu/codeck --skill codeck-export -a claude-code`. Or copy the skill folder (skills/codeck-export in hiyeshu/codeck) into .claude/skills/codeck-export in your project. Claude Code loads it when a task matches its description.

How do I install Codeck Export in Codex?

Run `npx skills add hiyeshu/codeck --skill codeck-export -a codex`. Or copy the skill folder (skills/codeck-export in hiyeshu/codeck) into .agents/skills/codeck-export in your project. Codex loads it when a task matches its description.

Can I use Codeck Export in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add hiyeshu/codeck --skill codeck-export -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/codeck-export, .gemini/skills/codeck-export, .github/skills/codeck-export and .opencode/skills/codeck-export in your project.

What does Codeck Export need to run?

Going by SKILL.md and its folder, Codeck Export needs Python for the scripts in its folder and the command-line tools its instructions call (python, bash, npx and pdftoppm). Our summary lists: Python 3; Node.js.

Does Codeck Export access the network?

SKILL.md contains no URLs. Its commands use npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Codeck Export safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Codeck Export use?

Codeck Export is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Codeck Export use?

About 2.1k tokens (SKILL.md is roughly 8.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Codeck Export?

Skills that share tags, products or a category with Codeck Export: Markitdown (ImCa0/just-laws, 781 stars), GenOffice Document CLI (genspark-ai/genoffice, 8.8k stars), Docsagent (docsagent/docsagent, 625 stars) and Paper Deck (zsyggg/paper-craft-skills, 1.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Codeck Export?

hiyeshu (a GitHub user) maintains it in hiyeshu/codeck, which has 198 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on August 8, 2026.

Source: hiyeshu/codeck on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.