banana-cli
하는 일
이 스킬을 쓰면 에이전트가 Banana Slides 명령줄 도구로 프레젠테이션을 만들 수 있습니다. 아이디어, 개요, 또는 기존 프로젝트에서 덱을 만들고 싶은 분들을 위한 스킬입니다.
사용하는 경우
- ✓아이디어나 개요로 프레젠테이션이나 슬라이드 덱을 만들고 싶을 때.
- ✓기존 프로젝트를 PowerPoint, PDF, 이미지 파일로 내보내야 하는 경우.
- ✓여러 프레젠테이션을 한 번에 일괄 생성하고 싶을 때.
스킬 링크
https://github.com/Anionex/banana-slides/blob/main/skills/banana-cli/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 개요로 우리 분기 실적에 대한 열 장짜리 덱을 만들고, PowerPoint 파일로 내보내 주실 수 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 먼저 컴퓨터에서 Banana Slides 백엔드가 실행 중인지 확인하고, 실행되지 않으면 설정을 안내합니다. 그다음 프로젝트를 만들고, 개요, 설명, 이미지를 생성한 뒤 결과를 파일로 내보냅니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
banana-cli
CLI for creating, managing, and exporting AI-generated presentations.
Environment Check
Before running any command, verify the backend is reachable:
curl -sf http://localhost:5011/health
If this fails, the backend is not running. Read references/setup.md and follow the steps to clone the repo, configure .env, and start the backend. Do not proceed until the health check passes.
Invocation
banana-cli <command> [options]
If banana-cli is not on PATH, use uv run banana-cli from the project root, or install globally with uv tool install .
End-to-End Workflow
# 1. Create project and set as working project
result=$(banana-cli --json projects create --creation-type idea --idea-prompt "Your topic")
project_id=$(echo "$result" | jq -r '.data.project_id')
banana-cli projects use "$project_id"
# 2. Generate everything (outline → descriptions → images)
banana-cli workflows full --language zh --pages 8
# 3. Export to local file
banana-cli exports pptx --output ./slides.pptx
Once a working project is set, --project-id is optional on all subsequent commands.
Key Patterns
Short ID prefix matching
All --project-id and --page-id accept short prefixes (like git short hashes):
banana-cli projects get a1b2 # matches a1b2c3d4-...
banana-cli pages edit-image --page-id b9c8 --instruction "change title to red"
Working project context
Avoid repeating --project-id by setting a working project:
banana-cli projects use a1b2 # set (accepts prefix)
banana-cli workflows outline # uses working project
banana-cli projects use # show current
banana-cli projects unuse # clear
Page count control
--pages is a hint to the AI — actual page count may differ. The CLI warns on stderr when they don't match.
banana-cli workflows outline --pages 5
banana-cli workflows full --pages 10 --language en
Export with auto-download
# Download directly to local path
banana-cli exports pptx --output ./slides.pptx
banana-cli exports pdf --output ./report.pdf
# Without --output, returns a server-side download URL
banana-cli exports pptx
Batch generation
cat > jobs.jsonl << 'EOF'
{"job_id":"t1","job_type":"full_generation","creation_type":"idea","idea_prompt":"AI Intro","language":"zh","export":{"formats":["pptx"]}}
{"job_id":"t2","job_type":"full_generation","creation_type":"idea","idea_prompt":"ML Basics","language":"zh","export":{"formats":["pptx","pdf"]}}
EOF
banana-cli run jobs --file jobs.jsonl --report report.json --state-file state.json
Renovate existing PPT
banana-cli renovation create --file /absolute/path/to/slides.pptx --language zh
JSON output for scripting
banana-cli --json projects list | jq '.data.projects[].project_id'
Important Notes
- File path arguments (
--file,--image) require absolute paths - Async tasks (descriptions, images, editable export) wait by default and show progress on stderr. Pass
--no-waitto get a task_id immediately --wait/tasks waitcan be interrupted (Ctrl+C) and resumed anytime — backend tasks are unaffected- Progress lines go to stderr (format:
[PROGRESS] STAGE STATUS completed/total), keeping stdout JSON clean --helpoutput is plain text when piped (non-TTY) — safe for agent consumption- Config priority: CLI args > env vars (
BANANA_CLI_*) > TOML config (~/.config/banana-slides/cli.toml) > defaults
Discovering Commands
Run banana-cli --help for the top-level command list, and banana-cli <command> --help for subcommand options. Help output is plain text when piped (non-TTY).
자주 묻는 질문
서버를 실행해야 하나요?
네. 스킬은 먼저 로컬 백엔드를 확인하고, 실행되지 않으면 설정을 안내합니다.
어떤 파일 형식으로 내보낼 수 있나요?
PPTX, PDF 또는 이미지로 내보낼 수 있습니다.
기존 프레젠테이션을 다시 만들 수 있나요?
네. 스킬은 기존 프로젝트를 고쳐 만들거나 새로 디자인할 수 있습니다.
상세 정보
작성자의 원본 설명
CLI tool for creating, managing, and exporting AI-generated presentations via the Banana Slides API. Use when the user asks to: (1) generate a PPT/presentation/slides from an idea, outline, or description, (2) export a project to PPTX, PDF, or images, (3) batch-generate multiple presentations, (4) manage projects, pages, materials, or templates programmatically, (5) renovate/redesign an existing PPT or PDF, (6) edit slide images with natural language.
repo: Anionex/banana-slides
인기도
- GitHub 스타
- 16k
- 순위
- #10819
- 라이선스
- AGPL-3.0
- 업데이트
- 2026. 11. 1.
댓글
- …
비슷한 스킬
feishu-doc
394k에이전트가 문서 도구를 사용해 텍스트, 이미지, 표를 포함한 Feishu 클라우드 문서를 읽고, 만들고, 편집하도록 돕습니다.
feishu-drive
394k에이전트가 봇과 공유된 Feishu 클라우드 폴더의 파일을 찾아보고, 정리하고, 댓글을 달도록 돕습니다.
feishu-perm
394k에이전트가 요청을 충족하는 가장 작은 권한을 골라, Feishu 파일에 누가 접근할 수 있는지 확인하고 바꾸도록 돕습니다.