
Jianying Editor
Automate Jianying (CapCut desktop) editing tasks—assets, TTS, cloud libraries, and export—via the repo’s Python CLI scripts instead of clicking through the editor by hand.
Overview
Jianying Editor is an agent skill most often used in Build (also Grow content, Ship testing) that wraps Python CLIs to automate Jianying desktop asset, TTS, cloud, and export workflows.
Install
npx skills add https://github.com/luoluoluo22/jianying-editor-skill --skill jianying-editorWhat is this skill?
- Python 3.12 CI pipeline with ruff, black, and unittest gates across core scripts
- Script surface includes asset_search, auto_exporter, cloud_manager, and universal_tts
- build_cloud_music_library and api_validator utilities for data and API hygiene
- CLI protocol and structured logging/error helpers for agent-driven invocations
- Repo hygiene and data-schema validation tools under tools/
- CI targets Python 3.12 on windows-latest with ruff, black, and unittest jobs
Adoption & trust: 937 installs on skills.sh; 1.7k GitHub stars; 0/3 security scanners passed (skills.sh audits).
What problem does it solve?
You are batch-producing Jianying videos but lose hours repeating asset picks, voice tracks, cloud library setup, and exports inside the GUI.
Who is it for?
Indie creators and agent builders on Windows/Python who already use Jianying desktop and want scriptable, CI-tested automation around export and media prep.
Skip if: Builders who only need a one-off manual edit, lack Jianying installed, or want a hosted SaaS video API with no local editor dependency.
When should I use this skill?
You have Jianying desktop projects to repeat at scale and want Python scripts for assets, TTS, cloud media, validation, and export instead of manual editor steps.
What do I get? / Deliverables
You run validated Python scripts to search assets, synthesize speech, manage cloud media, and export timelines reproducibly for downstream review or publishing.
- Exported video outputs via auto_exporter workflows
- Generated TTS audio tracks and organized cloud music libraries
- Validated API/schema reports from api_validator and tools/validate_data_schema.py
Recommended Skills
Journey fit
Spans multiple journey phases - primary shelf plus alternate fits below.
Programmatic control of a desktop video editor is primarily Build-phase integration work that wires your codebase to a creative toolchain. The repository centers on Python scripts (asset search, auto export, cloud manager, universal TTS) that integrate with Jianying workflows rather than pure frontend UI code.
Where it fits
Wire asset_search and auto_exporter into a nightly job that renders templated Jianying projects from a JSON shot list.
Batch-generate voiceovers with universal_tts before dropping clips into a recurring short-form series timeline.
Run unittest and api_validator in CI so export scripts fail fast before you upload finals to distribution channels.
How it compares
Local editor automation via Python CLIs, not a browser caption tool or a generic ffmpeg-only generator skill.
Common Questions / FAQ
Who is jianying-editor for?
Solo video producers and devs automating 剪映/Jianying with Python who want ruff/black/unittest-gated scripts for assets, TTS, cloud libraries, and export.
When should I use jianying-editor?
Use it in Build integrations while wiring export pipelines; in Grow content when batching shorts or course modules; and in Ship testing when you need repeatable export artifacts before publishing.
Is jianying-editor safe to install?
Clone from the upstream repo, review the Security Audits panel on this Prism page, and inspect scripts that touch cloud APIs or local filesystem paths before granting agent shell access.
SKILL.md
READMESKILL.md - Jianying Editor
name: CI on: push: branches: ["**"] pull_request: jobs: test: runs-on: windows-latest steps: - name: Checkout uses: actions/checkout@v4 - name: Setup Python uses: actions/setup-python@v5 with: python-version: "3.12" - name: Install dependencies run: | python -m pip install --upgrade pip pip install -r requirements.txt pip install ruff black - name: Lint run: | ruff check ` scripts/api_validator.py ` scripts/asset_search.py ` scripts/auto_exporter.py ` scripts/build_cloud_music_library.py ` scripts/cloud_manager.py ` scripts/universal_tts.py ` scripts/utils/cli_protocol.py ` scripts/utils/config.py ` scripts/utils/errors.py ` scripts/utils/logging_utils.py ` tests/test_wrapper.py ` tools/check_repo_hygiene.py ` tools/validate_data_schema.py - name: Run unit tests run: | python -m unittest -v working-directory: tests - name: Format check run: | black --check ` scripts/api_validator.py ` scripts/asset_search.py ` scripts/auto_exporter.py ` scripts/build_cloud_music_library.py ` scripts/cloud_manager.py ` scripts/universal_tts.py ` scripts/utils/cli_protocol.py ` scripts/utils/config.py ` scripts/utils/errors.py ` scripts/utils/logging_utils.py ` tests/test_wrapper.py ` tools/check_repo_hygiene.py ` tools/validate_data_schema.py - name: Repo hygiene run: | python tools/check_repo_hygiene.py - name: Data schema run: | python tools/validate_data_schema.py --- name: jianying-editor description: 剪映 (JianYing) AI自动化剪辑的高级封装 API (JyWrapper)。提供开箱即用的 Python 接口,支持录屏、素材导入、字幕生成、Web 动效合成及项目导出。 --- # JianYing Editor Skill Use this skill when the user wants to automate video editing, generate drafts, or manipulate media assets in JianYing Pro. Agent execution playbook: [docs/agent-playbook.md](docs/agent-playbook.md) Minimal command SOP: [docs/minimal-command-sop.md](docs/minimal-command-sop.md) Draft inspector CLI: `python <SKILL_ROOT>/scripts/draft_inspector.py list --limit 20` `python <SKILL_ROOT>/scripts/draft_inspector.py summary --name "DraftName"` `python <SKILL_ROOT>/scripts/draft_inspector.py show --name "DraftName" --kind content --json` For generic editing requests, always follow the "Quick Edit Runtime Template" and "Acceptance Checklist" in that playbook. ## 🚨 重要开发原则 (CRITICAL DEVELOPER RULES) 1. **脚本位置**:**禁止在 Skill 内部目录创建剪辑脚本**。所有的剪辑逻辑实现代码(`.py` 脚本)必须存放在用户当前项目的**根目录**(或子目录,如 `scripts/`),以保持 Skill 库的纯净和可移植性。 2. **配乐选择**: - **简单演示使用默认音乐**。实际项目,应优先检索并推荐 `data/cloud_music_library.csv` 中的相关曲目,或根据视频主题(如“科技”、“温暖”)进行关键词过滤。 - 询问用户:“我发现了几首符合主题的云端音乐,要不要试试?(如:`Illuminate` - 科技感)”。 ## 规则指南 (Rules) Read the individual rule files for specific tasks and constraints: - [rules/setup.md](rules/setup.md) - **Mandatory** initialization code for all scripts. - [rules/core.md](rules/core.md) - Core operations: Saving, Exporting, and Draft management. - [rules/cli.md](rules/cli.md) - CLI contracts and machine-readable output conventions. - [rules/media.md](rules/media.md) - Importing assets & **AI Video Analysis Optimization (30m/360p)**. - [rules/text.md](rules/text.md) - Adding Subtitles, Text, and Captions. - [rules/keyframes.md](rules/keyframes.md) - **Advanced**: Adding Keyframe animations. - [rules/effects.md](rules/effects.md) - Searching for and applying Filters, Effects, and Transitions. - [rules/recording.md](rules/recording.md) - **New**: Screen Recording & Smart Zoom automation. - [rules/web-vfx.md](rules/web-vfx.md) - Advanced: Web-to-Video generation. - [rules/generative.md