Skip to content

joeseesun/qiaomu-cut-skill

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.

FileKindSize
SKILL.mdskill md54.0 KB
agents/interface.yamlconfig17.2 KB
agents/openai.yamlconfig323 B
assets/explainer-social/base.cssother24.9 KB
assets/explainer-social/component-runtime.jsscript41.1 KB
assets/explainer-social/scene-shell.htmlother829 B
assets/motion-kit/qiaocut-motion.jsscript8.2 KB
assets/qiaomu-profile/qiaomu_avatar.jpegbinary5.6 MB
assets/qiaomu-profile/qiaomu_reward_qr.pngbinary515.9 KB
assets/qiaomu-profile/qiaomu_wechat_public_account_qr.jpgbinary8.3 KB
references/ad-concept-library.mdmarkdown6.5 KB
references/aesthetic-preferences.mdmarkdown3.0 KB
references/brand-card-templates.mdmarkdown1.6 KB
references/chinese-font-themes.mdmarkdown804 B
references/cinematic-techniques.mdmarkdown2.8 KB
references/code-motion-direction.mdmarkdown11.1 KB
references/cover-thumbnail-method.mdmarkdown6.4 KB
references/english-mix-fast-path.mdmarkdown6.0 KB
references/explainer-autopilot.mdmarkdown11.1 KB
references/feedback-evolution.mdmarkdown37.6 KB
references/ffmpeg-full.mdmarkdown1.7 KB
references/incremental-production.mdmarkdown4.4 KB
references/licensing.mdmarkdown1.9 KB
references/listenhub-provider.mdmarkdown12.6 KB
references/motion-prompt-patterns.mdmarkdown9.3 KB
references/movie-montage-fast-path.mdmarkdown4.4 KB
references/qiaocut-ir.mdmarkdown4.2 KB
references/renderer-engines.mdmarkdown3.3 KB
references/schemas/qiaocut.timeline.v1.schema.jsonconfig7.2 KB
references/social-safe-zones.mdmarkdown3.3 KB
references/source-adapters.mdmarkdown5.7 KB
references/source-selection-gate.mdmarkdown2.5 KB
references/styles/cinematic.mdmarkdown475 B
references/styles/explainer.mdmarkdown1.5 KB
references/styles/social-short.mdmarkdown383 B
references/timeline-schema.mdmarkdown12.2 KB
references/trust-boundary.mdmarkdown3.0 KB
references/workflows.mdmarkdown7.5 KB
scripts/adapters/33tc.jsscript2.1 KB
scripts/adapters/33tc_cli.jsscript4.8 KB
scripts/adapters/clipseek.jsexecutablescript5.4 KB
scripts/adapters/listenhub.jsscript35.7 KB
scripts/adapters/listenhub_cli.jsexecutablescript2.1 KB
scripts/adapters/local.jsscript2.4 KB
scripts/audio_beats.jsscript17.5 KB
scripts/bilingual_typography_smoke.jsscript1.4 KB
scripts/bootstrap_listenhub.shexecutablescript5.4 KB
scripts/bootstrap_macos.shexecutablescript2.5 KB
scripts/brand_templates.jsscript2.4 KB
scripts/brand_templates_smoke.jsscript869 B
scripts/complete_sentence.jsscript3.9 KB
scripts/component_motion_smoke.jsscript21.2 KB
scripts/concept_smoke.jsscript5.6 KB
scripts/cover.jsscript9.1 KB
scripts/cover_smoke.jsscript5.1 KB
scripts/english_mix.jsscript24.1 KB
scripts/english_mix_smoke.jsscript5.7 KB
scripts/explainer_beats.jsscript6.7 KB
scripts/explainer_beats_smoke.jsscript4.8 KB
scripts/explainer_cognitive_timing_smoke.jsscript5.8 KB
scripts/explainer_e2e_smoke.jsscript7.4 KB
scripts/explainer_pipeline.jsscript49.3 KB
scripts/explainer_pipeline_smoke.jsscript12.7 KB
scripts/explainer_spec.jsscript51.4 KB
scripts/explainer_timing.jsscript8.6 KB
scripts/fetch_generated.jsexecutablescript17.4 KB
scripts/ffmpeg_retry_shim_smoke.jsscript2.3 KB
scripts/file_narration_smoke.jsexecutablescript6.6 KB
scripts/ingest_asset.jsexecutablescript15.0 KB
scripts/kinetic_caption_smoke.jsscript1.4 KB
scripts/license_report.jsexecutablescript2.3 KB
scripts/listenhub_narration.jsexecutablescript11.0 KB
scripts/listenhub_smoke.jsexecutablescript26.7 KB
scripts/local_preferences.jsscript1.8 KB
scripts/motion_studio.jsscript55.9 KB
scripts/motion_studio_smoke.jsscript11.0 KB
scripts/movie_montage.jsscript24.7 KB
scripts/movie_montage_smoke.jsscript4.0 KB
scripts/qcut.jsexecutablescript40.8 KB
scripts/release_check.jsscript7.0 KB
scripts/render_project.jsscript85.1 KB
scripts/render_scene.jsscript26.4 KB
scripts/renderers/ass.jsexecutablescript2.7 KB
scripts/renderers/bilingual_ass.jsscript12.6 KB
scripts/renderers/html_scene.jsexecutablescript3.9 KB
scripts/renderers/procedural_music.jsscript7.6 KB
scripts/scene_content_cache.jsscript3.2 KB
scripts/scene_renderer_smoke.jsscript2.8 KB
scripts/security_smoke.jsscript10.2 KB
scripts/sentence_boundary_smoke.jsscript1.6 KB
scripts/setup_deps.jsscript8.4 KB
scripts/shims/ffmpegexecutablescript3.0 KB
scripts/source_review.jsexecutablescript5.1 KB
scripts/timeline_features_smoke.jsscript3.7 KB
scripts/trigger_eval.pyexecutablescript2.5 KB
scripts/validate_skill.pyexecutablescript3.1 KB
scripts/verify_marswave_vendor.jsexecutablescript3.5 KB
scripts/verify_video.jsexecutablescript3.4 KB

scripts/release_check.js

View on GitHub
#!/usr/bin/env node
'use strict';

const fs = require('fs');
const path = require('path');

const ROOT = path.resolve(__dirname, '..');
const MAX_SCAN_BYTES = 16 * 1024 * 1024;
const MEDIA_BLOCKLIST = new Set([
  '.3g2', '.3gp', '.aac', '.aif', '.aiff', '.alac', '.avi', '.flac', '.flv',
  '.m2ts', '.m4a', '.m4v', '.mkv', '.mov', '.mp3', '.mp4', '.mpeg', '.mpg',
  '.mts', '.oga', '.ogg', '.opus', '.pcm', '.wav', '.wave', '.webm',
  '.wma', '.wmv'
]);
// Only Git internals are excluded. Runtime/config/dependency directories must be
// absent or clean before release; otherwise they could hide a force-added secret.
// .deps holds locally installed runtime packages (qcut setup); it is gitignored and never published.
const SKIP_ROOT_DIRS = new Set(['.git', '.deps', 'node_modules']);
const VENDOR_SYMLINK_ROOT = path.join('vendor', 'marswaveai-skills');

function escapeRegExp(value) {
  return value.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
}

// Build private-provider markers at runtime so this scanner can scan its own source.
const PRIVATE_API_MARKERS = [
  ['33-api', 'agilestudio', 'cn'].join('.'),
  ['create', 'Decipheriv'].join(''),
  ['get-signed', 'video-url'].join('-'),
  ['Dloj', 'CEIM', 'Vrj2W9xN'].join(''),
  ['KYe', '234567', 'VLABHAEQ'].join('')
];

const SECRET_PATTERNS = [
  { name: 'OpenAI-style secret', pattern: /\bsk-[A-Za-z0-9_-]{20,}\b/ },
  { name: 'GitHub token', pattern: /\b(?:ghp_|github_pat_)[A-Za-z0-9_]{20,}\b/ },
  { name: 'Slack token', pattern: /\bxox[baprs]-[A-Za-z0-9-]{20,}\b/ },
  { name: 'AWS access key', pattern: /\bAKIA[0-9A-Z]{16}\b/ },
  { name: 'ListenHub API key', pattern: /\blh_sk_[A-Za-z0-9_]{20,}\b/ },
  {
    name: 'private key block',
    pattern: new RegExp(['-{5}BEGIN ', '(?:PGP PRIVATE KEY BLOCK|[A-Z0-9 ]*PRIVATE KEY)', '-{5}'].join(''))
  },
  { name: 'private user path', pattern: /\/Users\/joe(?:\/|\b)/ },
  {
    name: 'bundled 33TaiCi private API',
    pattern: new RegExp(PRIVATE_API_MARKERS.map(escapeRegExp).join('|'))
  }
];

function relativePath(root, absolute) {
  return path.relative(root, absolute).split(path.sep).join('/');
}

function isWithin(root, candidate) {
  return candidate === root || candidate.startsWith(`${root}${path.sep}`);
}

function mediaSignature(buffer) {
  if (buffer.length >= 12 && buffer.subarray(4, 8).toString('ascii') === 'ftyp') return 'MP4/M4A';
  if (buffer.length >= 12 && buffer.subarray(0, 4).toString('ascii') === 'RIFF') {
    const kind = buffer.subarray(8, 12).toString('ascii');
    if (kind === 'WAVE') return 'WAV';
    if (kind === 'AVI ') return 'AVI';
  }
  if (buffer.subarray(0, 4).toString('ascii') === 'OggS') return 'Ogg';
  if (buffer.subarray(0, 4).toString('ascii') === 'fLaC') return 'FLAC';
  if (buffer.subarray(0, 3).toString('ascii') === 'ID3') return 'MP3';
  if (buffer.length >= 4 && buffer[0] === 0x1a && buffer[1] === 0x45 && buffer[2] === 0xdf && buffer[3] === 0xa3) return 'Matroska/WebM';
  if (buffer.length >= 2 && buffer[0] === 0xff && (buffer[1] & 0xf6) === 0xf0) return 'AAC frame';
  if (buffer.length >= 2 && buffer[0] === 0xff && (buffer[1] & 0xe0) === 0xe0) return 'MP3 frame';
  return null;
}

function entriesUnder(directory, root = directory, result = []) {
  for (const entry of fs.readdirSync(directory, { withFileTypes: true })) {
    const absolute = path.join(directory, entry.name);
    if (entry.isDirectory() && directory === root && SKIP_ROOT_DIRS.has(entry.name)) continue;
    if (entry.isDirectory()) {
      entriesUnder(absolute, root, result);
    } else if (entry.isFile()) {
      result.push({ type: 'file', absolute, relative: relativePath(root, absolute) });
    } else if (entry.isSymbolicLink()) {
      result.push({ type: 'symlink', absolute, relative: relativePath(root, absolute) });
    } else {
      result.push({ type: 'unsupported', absolute, relative: relativePath(root, absolute) });
    }
  }
  return result;
}

function validateVendorSymlink(root, entry) {
  const vendorRoot = path.resolve(root, VENDOR_SYMLINK_ROOT);
  if (!isWithin(vendorRoot, entry.absolute) || entry.absolute === vendorRoot) {
    return 'symbolic links are blocked outside vendor/marswaveai-skills';
  }

  const target = fs.readlinkSync(entry.absolute);
  if (path.isAbsolute(target) || path.win32.isAbsolute(target)) {
    return 'vendor symbolic link target must be relative';
  }

  const resolved = path.resolve(path.dirname(entry.absolute), target);
  if (!isWithin(vendorRoot, resolved)) {
    return 'vendor symbolic link escapes vendor/marswaveai-skills';
  }
  if (!fs.existsSync(resolved)) {
    return 'vendor symbolic link target does not exist';
  }

  try {
    const realVendorRoot = fs.realpathSync(vendorRoot);
    const realTarget = fs.realpathSync(resolved);
    if (!isWithin(realVendorRoot, realTarget)) {
      return 'vendor symbolic link resolves outside vendor/marswaveai-skills';
    }
  } catch (error) {
    return `vendor symbolic link could not be verified: ${error.message}`;
  }
  return null;
}

function scanRoot(root = ROOT) {
  const resolvedRoot = path.resolve(root);
  const failures = [];
  const entries = entriesUnder(resolvedRoot);
  let filesScanned = 0;
  let bytesScanned = 0;
  let symlinksChecked = 0;

  for (const entry of entries) {
    if (entry.type === 'unsupported') {
      failures.push(`${entry.relative}: unsupported filesystem entry type`);
      continue;
    }
    if (entry.type === 'symlink') {
      symlinksChecked += 1;
      const failure = validateVendorSymlink(resolvedRoot, entry);
      if (failure) failures.push(`${entry.relative}: ${failure}`);
      continue;
    }

    const stat = fs.statSync(entry.absolute);
    const extension = path.extname(entry.absolute).toLowerCase();
    if (MEDIA_BLOCKLIST.has(extension)) {
      failures.push(`${entry.relative}: distributable media file is blocked`);
    }
    if (stat.size > MAX_SCAN_BYTES) {
      failures.push(`${entry.relative}: file is too large to scan (${stat.size} bytes; limit ${MAX_SCAN_BYTES})`);
      continue;
    }

    let content;
    try {
      content = fs.readFileSync(entry.absolute);
    } catch (error) {
      failures.push(`${entry.relative}: file could not be scanned: ${error.message}`);
      continue;
    }
    filesScanned += 1;
    bytesScanned += content.length;
    const detectedMedia = mediaSignature(content);
    if (detectedMedia && !MEDIA_BLOCKLIST.has(extension)) {
      failures.push(`${entry.relative}: distributable media signature is blocked (${detectedMedia})`);
    }
    const text = content.toString('latin1');
    for (const check of SECRET_PATTERNS) {
      if (check.pattern.test(text)) failures.push(`${entry.relative}: ${check.name}`);
    }
  }

  return {
    ok: failures.length === 0,
    filesDiscovered: entries.filter((entry) => entry.type === 'file').length,
    filesScanned,
    bytesScanned,
    symlinksChecked,
    failures
  };
}

function main() {
  const report = scanRoot(ROOT);
  process.stdout.write(`${JSON.stringify(report, null, 2)}\n`);
  process.exitCode = report.ok ? 0 : 1;
}

module.exports = { MAX_SCAN_BYTES, scanRoot };

if (require.main === module) main();
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: 322kUpdated Claude CodeCodexVerifiedInstall
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: 198kUpdated Claude CodeCodexVerifiedInstall
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: 198kUpdated Claude CodeCodexVerifiedInstall
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: 198kUpdated Claude CodeCodexVerifiedInstall