qiaomu-cut
Verified把一句话需求转成可复现、可验收视频工程的乔木智能剪辑导演。Use when the user asks to create, plan, edit, remix, explain, narrate, subtitle, animate, composite, or render a video—including one-line requests such as “制作一个科普视频:介绍 LLM 中的 RL”. Builds English-learning movie mixes, person profiles, explainers, code-drawn motion graphics (UI morph loops, showreels, kinetic-type promos, line-art/pixel/Three.js animation, lyric MVs), product launch videos, cinematic shorts, social clips, course/PPT videos, AI image/video/TTS/music-assisted stories, stock-footage stories, or multi-source montage. Routes across 33台词, ClipSeek/open media, local files, ListenHub, image generation, HTML/SVG/Canvas motion graphics with beat-grid storyboards and determinism probes, Manim, ffmpeg-full, captions, sound design, frame-0 video covers with YouTube thumbnails, and release checks.
scripts/local_preferences.js
View on GitHub'use strict';
// Local-user persistent authorization for paid remote actions.
//
// The public skill never ships this file and stays blocking by default. A single
// machine-private file with 0600 permissions may record standing consent so the
// operator is not asked before every charged call. An explicit `--yes=false`
// always wins over a stored authorization.
const fs = require('fs');
const path = require('path');
const SCHEMA = 'qiaocut.local-preferences.v1';
function preferencePath() {
const explicit = process.env.QIAOMU_CUT_LOCAL_PREFERENCES;
return explicit
? path.resolve(explicit)
: path.join(__dirname, '..', '.qiaocut-local-preferences.json');
}
function readPreferences() {
const file = preferencePath();
try {
const stat = fs.statSync(file);
// Group/other bits must be empty: a world-readable consent file is not private.
if (!stat.isFile() || (stat.mode & 0o077) !== 0) return null;
const parsed = JSON.parse(fs.readFileSync(file, 'utf8'));
if (!parsed || parsed.schema !== SCHEMA) return null;
return parsed;
} catch {
return null;
}
}
// `provider` is the preference key, e.g. '33tc' or 'listenhub'.
function hasPersistentCreditAuthorization(provider) {
const preferences = readPreferences();
if (!preferences) return false;
const setting = preferences[provider];
return Boolean(setting) && setting.scope === 'local-user' && setting.autoUseCredits === true;
}
function hasPersistentUploadAuthorization(provider) {
const preferences = readPreferences();
if (!preferences) return false;
const setting = preferences[provider];
return Boolean(setting) && setting.scope === 'local-user' && setting.autoAllowUpload === true;
}
module.exports = {
SCHEMA,
preferencePath,
readPreferences,
hasPersistentCreditAuthorization,
hasPersistentUploadAuthorization
};
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |