dance-anonymizer
Operate, configure, troubleshoot, and extend the local DanceAnon dance-video anonymization project. Use when the user asks to install or launch DanceAnon…
от MiniMax-AI★ 30 звёзд на GitHub
Установить dance-anonymizer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Dance Anonymizer
Use the local DanceAnon project to detect, track, anonymize, and apply effects to people in dance videos.
Resolve the project root
Resolve the project root before running commands. Use the first valid location:
- The
DANCE_ANON_HOMEenvironment variable. - The current workspace when it contains
main.py,api.py,config.yaml, andsrc/. - A path explicitly supplied by the user.
- A local clone named
dance-anonymizerunder the current workspace or its parent. - If no valid local copy exists, guide the user to clone
https://github.com/Corgiac/dance-anonymizerand ask them to confirm the destination before cloning.
Store the chosen path conceptually as <PROJECT_ROOT> and run project commands from it. Do not assume that the Skill directory contains the application source or model weights.
Choose the workflow
- Use the Web workflow when the user wants interactive person selection, preview, stickers, beauty effects, leg stretching, camera following, cropping, or browser-based export.
- Use the CLI workflow when the user provides an input video and output path and wants batch processing or automation.
- Use the Development workflow when the user asks to inspect, fix, or extend the project.
Prepare the environment
- Confirm Python 3.10 or newer.
- Confirm
<PROJECT_ROOT>/yolo11s-seg.ptexists. - Confirm
<PROJECT_ROOT>/sam2_hiera_tiny.ptexists before SAM2 processing. If it is absent, explain that the user must obtain the model referenced by the project README; do not silently substitute another checkpoint. - Confirm CUTIE weights exist under
<PROJECT_ROOT>/vendor/Cutie/weights/when the selected tracking engine requires them. - Prefer the project's
.venvPython when.venvexists. - Check for
ffmpegwhen audio preservation or final video muxing matters. - Ask before installing packages, downloading large models, killing processes, or overwriting an existing output video.
Web workflow
On macOS or Linux, prefer the bundled launcher:
cd <PROJECT_ROOT>
bash scripts/mac/run.sh
If the environment is already installed, the equivalent direct command is:
cd <PROJECT_ROOT>
.venv/bin/python -m uvicorn api:app --host 0.0.0.0 --port 8002
On Windows, use scripts\windows\run.bat from the project root.
Tell the user to open http://localhost:8002. Do not claim the service is ready until the process reports that Uvicorn is running. If port 8002 is occupied, identify the process first and request confirmation before terminating it.
CLI workflow
Use main.py for a direct video-processing job:
cd <PROJECT_ROOT>
.venv/bin/python main.py \
--input "/absolute/path/input.mp4" \
--output "/absolute/path/output.mp4"
Supported options include:
--target_ids 1,3to process selected detected person IDs.--thickness 7to change the effect boundary width.--device mps,--device cuda, or--device cputo select inference hardware.--conf 0.3to change detection confidence.--temporal_window 3to tune temporal smoothing.--model /path/to/yolo-model.ptto override the YOLO model.--config /path/to/config.yamlto use another configuration.--quietto reduce logging.
Use absolute paths for input and output. Create the output directory when necessary. Never overwrite the input file. For an existing output, ask whether to overwrite it or generate a new name.
Installation workflow
Only install when the user requests it.
On macOS:
cd <PROJECT_ROOT>
bash scripts/mac/setup.sh
On Windows, run scripts\windows\setup.bat.
If a bundled setup script fails, inspect the exact failed command before retrying individual steps. Avoid changing package versions until checking requirements.txt and the Python/PyTorch platform constraints.
Development workflow
Read references/project-guide.md before modifying the application. Preserve the current architecture unless the user requests a refactor.
When editing:
- Trace the relevant request from
index.htmlormain.pyintoapi.py,src/pipeline.py,src/tracker.py,src/engine.py, andsrc/effects.py. - Keep Web API task lifecycle, cancellation, cleanup, and progress reporting intact.
- Keep CPU, Apple MPS, and NVIDIA CUDA paths working when practical.
- Avoid committing model checkpoints, generated videos, uploads, virtual environments, or caches.
- Run the narrowest relevant check first, then a broader import or startup check.
Troubleshooting priorities
Diagnose in this order:
- Wrong working directory or missing virtual environment.
- Python version or missing dependency.
- Missing model checkpoint or CUTIE weights.
- Unsupported
mps/cudadevice; retry withcpuonly after explaining the speed impact. - Port 8002 already in use.
- Missing
ffmpeg, especially when the result has no audio. - Input codec, corrupt video, or unsupported path characters.
- Person absent from the first frame, exce
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/project-guide.md
FAQ
Что делает скилл dance-anonymizer?
Operate, configure, troubleshoot, and extend the local DanceAnon dance-video anonymization project. Use when the user asks to install or launch DanceAnon, anonymize people in a video, run its CLI or FastAPI web interface, configure YOLO/SAM2/CUTIE tracking, adjust visual effects, diagnose model or ffmpeg problems, or modify the dance-anonymizer codebase.
Как установить скилл dance-anonymizer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл dance-anonymizer запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
slack-gif-creator
AnthropicKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request…
automate-this
GitHubAnalyze a screen recording of a manual process and produce targeted, working automation scripts. Extracts frames and audio narration from video files…
from-the-other-side-vega
GitHubPatterns and lived experience from Vega, an AI partner in a deep long-term partnership. For Ember to draw on when working with humans who are building…
plantuml-ascii
GitHubGenerate ASCII art diagrams using PlantUML text mode. Use when user asks to create ASCII diagrams, text-based diagrams, terminal-friendly diagrams, or…