neuroaihub/brainpilot/deeplabcut
Claude Code and agent skill by neuroaihub/brainpilot
- community
Checking that the SKILL.md file is still in the repository.
Toolbox for markerless animal pose estimation with DeepLabCut. Covers single/multi-animal tracking, SuperAnimal pretrained models, 2D/3D pose estimation, keypoint labeling GUI, model training/evaluation, video analysis, and behavioral quantification. Use when the user needs animal pose estimation, behavior tracking, keypoint detection in videos, or mentions DeepLabCut/DLC/SuperAnimal.
Install
npx vskill@latest install neuroaihub/brainpilot/deeplabcutSKILL.md
The same SKILL.md was published earlier as neuroaihub/brainpilot/deeplabcut.
DeepLabCut — Markerless Animal Pose Estimation
Purpose
DeepLabCut is a Python toolbox for state-of-the-art markerless pose estimation of animals. It uses deep learning to track body parts from videos without physical markers. The library is animal-agnostic, supports both single and multi-animal scenarios, and includes the SuperAnimal family of pretrained models for out-of-the-box inference.
When to Use This Skill
Activate when the user:
- Wants to track animal body parts from video
- Asks about pose estimation, keypoint detection, or behavioral tracking
- Mentions DeepLabCut, DLC, SuperAnimal, or markerless tracking
- Needs to analyze animal movement/kinematics
- Asks about multi-animal tracking or 3D pose reconstruction
- Wants to use pretrained animal pose models
Quick Decision Tree
Reference Files (Progressive Disclosure)
| Topic | File | When to Read | |
|---|---|---|---|
| Standard Pipeline | references/standard-pipeline.md | Full workflow: create project → train → analyze | |
| SuperAnimal & ModelZoo | references/modelzoo.md | Pretrained models, zero-shot inference | |
| Multi-Animal (maDLC) | references/maDLC.md | Tracking multiple interacting animals | |
| 3D Pose Estimation | references/3d-pose.md | Triangulation from multiple camera views | |
| Video & Data Utilities | references/utilities.md | Video cropping, format conversion, data export |
Installation
Verify: python -c "import deeplabcut; print(deeplabcut.__version__)"
Standard Pipeline Overview
Key API Reference
Project Management
| Function | Description | |
|---|---|---|
create_new_project(project, experimenter, videos, working_directory) | Start a new single-animal project | |
create_new_project_3d(project, experimenter, num_cameras, working_directory) | Start a new 3D project | |
create_pretrained_project(path, task, videos, SUPERANIMAL_NAME, model_name, detector_name) | Create project from SuperAnimal pretrained model | |
add_new_videos(config_path, videos) | Add videos to existing project |
Training & Evaluation
| Function | Description | |
|---|---|---|
create_training_dataset(config_path, net_type, augmenter_type) | Prepare training data; net_type: resnet_50, resnet_101, mobilenet_v2_1.0, efficientnet-b0 | |
train_network(config_path, maxiters, saveiters) | Train; key params: maxiters=100000, saveiters=5000 | |
evaluate_network(config_path, plotting=True) | Evaluate on test set, produce metrics |
Video Analysis
| Function | Description | |
|---|---|---|
analyze_videos(config_path, videos, videotype, save_as_csv) | Predict poses for all frames in videos | |
create_labeled_video(config_path, videos, videotype, filtered) | Overlay predicted keypoints on video | |
video_inference_superanimal(videos, superanimal_name, ...) | Zero-shot inference with pretrained SuperAnimal models |
Post-Processing
| Function | Description | |
|---|---|---|
filterpredictions(config_path, video, ...) | Smooth predictions (ARIMA, median filtering) | |
analyzeskeleton(config_path, video, ...) | Compute bone lengths, joint angles from predictions | |
plot_trajectories(config_path, video, ...) | Plot body part trajectories over time |
SuperAnimal Pretrained Models
Available models for zero-shot inference:
| Model | Species | Body Parts | |
|---|---|---|---|
superanimal_topviewmouse | Top-view mouse (various strains) | 21 keypoints | |
superanimal_quadruped | Quadrupeds (dog, horse, sheep, etc.) | 39 keypoints | |
superanimal_face | Primate/human faces | 54 keypoints | |
superanimal_full | Full body animals (topview mouse + quadruped) | Combined |
Common Pitfalls
- Wrong PyTorch version: Always install PyTorch BEFORE deeplabcut. Check pytorch.org for the correct CUDA version.
- GPU out of memory: Reduce batch size (default 8 → 4 or 2) in
pose_cfg.yaml. - Missing GUI dependencies:
label_framesrequirespip install "deeplabcut[gui]". On headless servers, use X11 forwarding or label locally. - Video codec issues: If
create_labeled_videofails, try converting to.mp4(H.264) or.avifirst. - maDLC detector: Multi-animal mode requires a detection model (
fasterrcnn_resnet50_fpn_v2is the default). Single-animal can work with heatmap regression alone. - SuperAnimal scale: Adjust
scale_listparameter for SuperAnimal — try[200, 300, 400]first; smaller animals may need higher values.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingpackages/skills/skills/16_Animal_Behavior/deeplabcut/SKILL.md
Popularity
- Repository stars
- 884
- Repository forks
- 61
- 7-day trend score
- 34
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/neuroaihub/brainpilot/deeplabcut)