Jianying Editor logo

Jianying Editor

Community
harveyzhang
jianying-editor

使用 pyJianYingDraft 库自动化创建、编辑和管理剪映 (JianYing) 视频草稿。支持多轨道、动画、特效、关键帧、模板替换及自动导出。

Overview

Publisherharveyzhang
Repositoryjianying-editor-skill
Skill namejianying-editor
Stars
27
Forks
565
Bundled files
88
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 88 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by harveyzhang on GitHub. Read the source before you install it.

Installation

Install the Jianying Editor AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/harveyzhang/jianying-editor-skill/tree/main
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/harveyzhang/jianying-editor-skill.git \
  .claude/skills/jianying-editor
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Jianying Editor in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Jianying Editor on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Jianying Editor is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

JianYing Editor Skill

目标

将 pyJianYingDraft 库的所有能力封装为可直接调用的执行单元,实现从素材输入到视频导出的全链路自动化。

核心架构

本 Skill 包含完整的项目参考手册和核心逻辑脚本:

  • references/: 包含项目的 README.md 和核心模块(script_file.py, draft_folder.py)的接口定义,供代理随时查阅 API。
  • scripts/: 封装了常用的批处理任务(模板替换、自动导出)。
  • assets/: 包含演示用的测试素材(assets/readme_assets/tutorial/ 下有 video.mp4, audio.mp3 等),Agent 在创建 Demo 时必须优先使用这些素材,而非生成纯文本草稿。

操作指南 (推荐使用 Wrapper)

在执行任务时,强烈推荐使用封装好的 jy_wrapper 来简化操作:

1. 引入 Wrapper

python
import sys
import os
# 自动定位 Skill 路径并注入
skill_root = os.path.abspath(".agent/skills/jianying-editor")
sys.path.append(os.path.join(skill_root, "scripts"))
from jy_wrapper import JyProject

2. 标准工作流

python
# 初始化 (自动探测路径 + 自动处理同名覆盖)
project = JyProject("MyAutoVideo")

# 添加媒体 (自动容错时长,自动创建轨道)
project.add_media_safe(r"C:\path\to\video.mp4", start_time="0s", duration="5s")

# 添加文本 (扁平化参数,自动映射动画)
project.add_text_simple("Hello Antigravity", start_time="1s", duration="3s", 
                        font_size=20.0, color_rgb=(1.0, 0.0, 0.0), anim_in="复古打字机")

# 保存
project.save()

关联手册说明

  • references/AVAILABLE_ASSETS.md: 包含所有可用的动画、特效、转场的枚举名称列表 (供 AI 查阅)。
  • references/README.md: 项目详细功能清单。
  • references/api_summary.txt: 核心类参考。

CLI 诊断与快速使用

Skill 的 Wrapper 脚本支持通过命令行进行诊断和草稿管理:

bash
# 检查剪映路径和依赖 (会输出当前探测到的草稿目录)
python .agent/skills/jianying-editor/scripts/jy_wrapper.py check

# 列出用户当前的所有剪映草稿 (按时间排序)
python .agent/skills/jianying-editor/scripts/jy_wrapper.py list-drafts

# 列出可用的枚举资产 (动画、特效、转场)
python .agent/skills/jianying-editor/scripts/jy_wrapper.py list-assets --type anim

# 快速创建草稿
python .agent/skills/jianying-editor/scripts/jy_wrapper.py create --name "Test" --media "C:/video.mp4" --text "Demo"

# 导出字幕为 SRT (保留时间轴)
python .agent/skills/jianying-editor/scripts/jy_wrapper.py export-srt --name "MyProject" --output "subs.srt"

约束提示

  • 必须使用 DraftFolder 以保证剪映能识别草稿。
  • UI 刷新:生成后需提醒用户重启剪映或进出草稿以强制刷新。
  • 导出限制:自动导出功能仅支持剪映 V6 及以下版本。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

and 28 more files.

Frequently asked questions

What does the Jianying Editor AI skill do?

使用 pyJianYingDraft 库自动化创建、编辑和管理剪映 (JianYing) 视频草稿。支持多轨道、动画、特效、关键帧、模板替换及自动导出。

Why use Jianying Editor on TypingMind?

Because you install it once and use it with any model. Jianying Editor is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Jianying Editor in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/harveyzhang/jianying-editor-skill/tree/main. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Jianying Editor?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Jianying Editor?

As many as you like. As long as a model supports skills, you can use Jianying Editor with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Jianying Editor AI skill free?

It is published on GitHub by harveyzhang. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇