Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计提醒

presentonpresenton 命令行

Agent Skill

presenton 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

367

周安装

15

GitHub Stars

111

下载量

118
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:presenton(presenton 命令行)
来源仓库:https://github.com/besoeasy/open-skills
仓库路径:skills/presenton
安装命令:
npx skills add https://github.com/besoeasy/open-skills --skill presenton
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/besoeasy/open-skills --skill presenton

简介

presenton 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理时使用。

  • 适用于开发类任务,可结合来源仓库、安装命令和原始 README 继续核验具体用法。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需确认权限范围和维护状态。
  • 安装前建议确认是否会触发联网、命令执行或文件读写等操作。
  • presenton 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Presenton — AI Presentation Generator

Presenton is an open-source, locally-run AI presentation generator. It creates professional slideshows from text prompts or uploaded documents, exports to PPTX and PDF, and exposes a built-in MCP server so agents can generate presentations programmatically.

When to use

  • Use case 1: When the user asks to generate a presentation or slideshow on any topic
  • Use case 2: When you need to convert a document, report, or prompt into structured slides
  • Use case 3: When the user wants to export a presentation as PPTX or PDF
  • Use case 4: When building agent workflows that produce presentation outputs via MCP
  • Use case 5: When the user wants AI-generated presentations that run entirely on their own device

Required tools / APIs

  • Docker (recommended) or Node.js LTS + Python 3.11 + uv for local dev
  • One of: OpenAI API key, Google Gemini API key, Anthropic API key, or a local Ollama instance
  • Optional image providers: DALL-E 3, Gemini Flash, Pexels, Pixabay, or ComfyUI

Install options:

# Docker (Linux/macOS) — recommended
docker run -it --name presenton \
  -p 5000:80 \
  -v "./app_data:/app_data" \
  ghcr.io/presenton/presenton:latest

# Docker (Windows PowerShell)
docker run -it --name presenton `
  -p 5000:80 `
  -v "${PWD}\app_data:/app_data" `
  ghcr.io/presenton/presenton:latest

# With OpenAI + DALL-E 3 (no UI key entry needed)
docker run -it --name presenton \
  -p 5000:80 \
  -e LLM="openai" \
  -e OPENAI_API_KEY="<your-key>" \
  -e IMAGE_PROVIDER="dall-e-3" \
  -e CAN_CHANGE_KEYS="false" \
  -v "./app_data:/app_data" \
  ghcr.io/presenton/presenton:latest

Skills

generate_presentation_via_api

Generate a presentation by sending a prompt to the Presenton REST API.

# Start Presenton first (see install above), then call the API
curl -fsS --max-time 60 \
  -X POST "http://localhost:5000/api/v1/ppt/generate" \
  -H "Content-Type: application/json" \
  -d '{"prompt": "Introduction to Quantum Computing", "n_slides": 8}'

# The response includes a presentation ID; download PPTX with:
PPTX_PATH=$(curl -s "http://localhost:5000/api/v1/ppt/generate" \
  -H "Content-Type: application/json" \
  -d '{"prompt": "Introduction to Quantum Computing", "n_slides": 8}' \
  | jq -r '.pptx_url')
curl -s "http://localhost:5000${PPTX_PATH}" -o presentation.pptx

Node.js:

async function generatePresentation(prompt, nSlides = 8, baseUrl = 'http://localhost:5000') {
  const res = await fetch(`${baseUrl}/api/v1/ppt/generate`, {
    method: 'POST',
    headers: { 'Content-Type': 'application/json' },
    body: JSON.stringify({ prompt, n_slides: nSlides }),
  });
  if (!res.ok) throw new Error(`HTTP ${res.status}: ${await res.text()}`);
  return await res.json(); // contains pptx_url and pdf_url
}

// Usage
// generatePresentation('Introduction to Quantum Computing', 10).then(console.log);

generate_with_mcp

Use Presenton's built-in MCP server to generate presentations from an AI agent.

# Add Presenton MCP server to your agent config (e.g. Claude Desktop, Cursor)
# mcp.json entry:
cat <<'EOF'
{
  "mcpServers": {
    "presenton": {
      "url": "http://localhost:5000/mcp"
    }
  }
}
EOF

Node.js:

// The MCP server exposes a generate_presentation tool.
// Call it via your MCP client library:
const result = await mcpClient.callTool('presenton', 'generate_presentation', {
  prompt: 'Climate Change: Causes and Solutions',
  n_slides: 10,
});
console.log(result); // { pptx_url, pdf_url }

generate_with_custom_template

Upload an existing PPTX to create an on-brand template, then generate from it.

# Upload a template PPTX to extract theme/design
curl -fsS --max-time 30 \
  -X POST "http://localhost:5000/api/v1/ppt/upload-template" \
  -F "file=@my_template.pptx"

# Generate a new presentation using that template
curl -fsS --max-time 60 \
  -X POST "http://localhost:5000/api/v1/ppt/generate" \
  -H "Content-Type: application/json" \
  -d '{"prompt": "Q3 Sales Report", "n_slides": 6, "template": "my_template"}'

Node.js:

const { readFileSync } = require('fs');

async function uploadTemplate(filePath, baseUrl = 'http://localhost:5000') {
  const form = new FormData();
  form.append('file', new Blob([readFileSync(filePath)]), 'template.pptx');
  const res = await fetch(`${baseUrl}/api/v1/ppt/upload-template`, {
    method: 'POST',
    body: form,
  });
  if (!res.ok) throw new Error(`Upload failed: HTTP ${res.status}`);
  return await res.json();
}

// Usage
// uploadTemplate('./branding.pptx').then(console.log);

Output format

  • pptx_url: Path to download the generated PPTX file (string)
  • pdf_url: Path to download the generated PDF file (string)
  • Error shape: {detail: "<message>"} — check Presenton logs for root cause

Rate limits / Best practices

  • Generation takes 15–60 seconds depending on the model and number of slides; use async handling
  • Cache generated presentations by prompt hash to avoid redundant API calls
  • Use DISABLE_IMAGE_GENERATION=true for faster, text-only output during development
  • Prefer Pexels or Pixabay as image providers to avoid per-image AI costs
  • Set CAN_CHANGE_KEYS=false in production to lock down credentials

Agent prompt

You have Presenton capability. When a user asks to create a presentation:

1. Confirm the topic and desired number of slides (default: 8)
2. Call POST http://localhost:5000/api/v1/ppt/generate with {"prompt": "<topic>", "n_slides": <n>}
3. Wait for the response (up to 60 seconds) and extract pptx_url and pdf_url
4. Offer the user download links for both PPTX and PDF
5. If a custom template is requested, upload it first via /api/v1/ppt/upload-template and include the template name in the generate request

Always check that Presenton is running at http://localhost:5000 before calling the API.
Report any HTTP errors with the status code and response body so the user can diagnose the issue.

Troubleshooting

Presenton container not starting:

  • Symptom: docker run exits immediately or port 5000 is unreachable
  • Solution: Check docker logs presenton for errors; ensure port 5000 is free (lsof -i:5000)

Generation times out:

  • Symptom: API call hangs beyond 60 seconds
  • Solution: Verify the LLM API key is valid and the model is reachable; reduce n_slides; check container logs

No images in slides:

  • Symptom: Slides are generated but contain no images
  • Solution: Set IMAGE_PROVIDER and the matching API key environment variable; or set DISABLE_IMAGE_GENERATION=true to skip images

MCP server not responding:

  • Symptom: Agent cannot connect to http://localhost:5000/mcp
  • Solution: Confirm Presenton is running and the MCP endpoint is accessible; check firewall rules

See also


Notes

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.54%
按下载量换算44

Claude

31.12%
按下载量换算37

Cursor

17.99%
按下载量换算21

Gemini CLI

8.44%
按下载量换算10

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills