setup-project
Skill8 starsChanged 8 months agoMITView on GitHub
Initialize a new YOLO project — detects your dataset's starting state and routes through the right tools.
20 other projects use a version of this.
Adopted by
Most recently taken up by
- lohi-ai/babysittheir own version, first seen Nov 8, 2026
- roedyrustam/doku-gemini-mcptheir own version, first seen Nov 8, 2026
- ok-oldking/ok-scripttheir own version, first seen Nov 1, 2026
- OlliTapio/claude_skillstheir own version, first seen Oct 26, 2026
- boonkgim/setup-projecttheir own version, first seen Oct 20, 2026
- BinayakDotel/skills-marketplacetheir own version, first seen Oct 17, 2026
Used with
Projects with it also use research, implement and 3 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
NVIDIASkillresearch
Before designing a feature, research how comparable libraries solve the problem, check best practices, known pitfalls, and upstream changes. Use when starting a new feature, investigating an unfamiliar area, or the user asks to research something.
Also in 5 projects that use this
Hugging FaceSkillimplement
Make tests pass. Invoke after /write-tests produces failing tests.
Also in 4 projects that use this
DockerSkillreview-pr
Review one or more incoming Docker documentation pull requests as a maintainer. Independently validate technical claims, assess editorial fit and information architecture, choose a verdict, and draft exact inline or PR-wide feedback behind a confirmation gate. Use for requests such as "review PR 123", "is this PR correct?", "does this information belong here?", "validate this PR", or "help review backlog PRs". Do not use to maintain or fix a PR you own; use maintain-pr for that.
Also in 3 projects that use this
GoogleSkilltdd
Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.
Also in 3 projects that use this
GoogleSkillcode-review
Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.
Also in 3 projects that use this
Other versions20 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 20
- ok-oldking/ok-script★ 831same name
- gricha/dangerous-skills★ 38same name
- phatysddev/skills★ 8same name
- chav0/UnityFigmaMCP★ 7same name
- ByronFinn/dev-skills★ 4same name
- otaviobarros/agent-engineering★ 3same name
- beeltec/skills★ 2same name
- r2rka1/skills★ 2same name
- roedyrustam/doku-gemini-mcp★ 2same name
- roomkit-live/roomkit-skills★ 2same name
10 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository15 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- active-learningSkill
- analyze-resultsSkill
- annotateSkill
- auto-experimentSkill
- benchmarkSkill
- compare-modelsSkill
- cvat-deploySkill
- cvat-pullSkill
- cvat-pushSkill
- explain-resultsSkill
- monitor-trainingSkill
- review-annotationsSkill
- review-datasetSkill
- training-loopSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
21 rules. 0 are common, 12 are distinctive, and 9 are very specific to this project.
0
Common
Most of the 18 edited versions we read keep these.
12
Distinctive
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
Run the detection probe:
- Distinctive: line 50
Update the data path to the split output directory.
- Distinctive: line 54
Check if the user's target classes overlap with COCO's 80 pretrained classes:
- Distinctive: line 66
Ask: "Proceed with auto-labeling?
- Distinctive: line 72
Update the data path. Proceed to Step 4.
- Very specific: line 87
If the user has a previously trained model, offer: yolo-autolabel --sources <data_path> --output datasets/<project_name> --model …
- Distinctive: line 95
If they have a trained model, offer to auto-label the rest:
- Distinctive: line 99
If not, suggest labeling more or using COCO pretrained if classes overlap.
- Very specific: line 104
Ask them to provide a directory containing images and re-run /setup.
- Distinctive: line 107
All paths converge here once a valid YOLO dataset exists.
- Distinctive: line 111
Read the output to extract:
- Very specific: line 118
Write yolo-project.yaml in the workspace root with the gathered info.
- Very specific: line 125
Run /review-dataset which includes the profiling step.
- Distinctive: line 129
Ask: "Run a 5-epoch baseline to establish starting metrics?
- Very specific: line 136
Read experiments/summary.md for baseline metrics.
- Very specific: line 139
Create training-plan.md using the boundaries template (not scripted phases):
- Very specific: line 242
Never overwrite existing yolo-project.yaml without asking
- Distinctive: line 243
Never run yolo-autolabel without confirming with the user first
- Distinctive: line 244
If dataset has no images, exit with clear guidance
- Very specific: line 245
All auto-labeled data should use --review-threshold to flag uncertain predictions
- Very specific: line 246
If the user already has a yolo-project.yaml, offer to update it rather than recreate
“Common” is measured: kept by at least 6 in 10 of the 18 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Setup Project
Interactive project initialization wizard for yolocc. Detects what you have (raw images, labeled data, complete dataset) and routes you through the right existing tools.
Workflow
1. Gather Project Info
Ask the user:
- Project name: What are you detecting? (e.g., "wildlife_detection")
- Target classes: What classes do you want to detect? (e.g., "cat, dog, bird")
- Data path: Where are your images or data? (can be raw images, labeled data, or a complete dataset)
- Base model: Which YOLO model? (default: yolo11n.pt — nano for speed, yolo11s.pt for accuracy)
2. Detect Dataset State
Run the detection probe:
python -c "
from yolocc.dataset.validator import detect_dataset_state
from pathlib import Path
state = detect_dataset_state(Path('<data_path>'))
print(f'Structure: {state.structure}')
print(f'Images: {state.image_count}')
print(f'Labels: {state.label_count}')
print(f'Coverage: {state.label_coverage:.1%}')
print(f'Has splits: {state.has_splits}')
print(f'Has data.yaml: {state.has_data_yaml}')
print(f'Classes in labels: {state.detected_classes}')
print(f'Next steps: {state.next_steps}')
"Report findings to the user, then route based on the detected structure.
3. Route Based on State
Path A — Complete Dataset (structure = "complete")
The dataset is ready. Tell the user and proceed directly to Step 4.
Path B — Labeled, Not Split (structure = "labeled_unsplit")
The user has images with labels but no train/val split.
- Tell the user: "Your data has {image_count} images with labels but no train/val split. I'll split it now."
- Run:
yolo-split --source <data_path> --output datasets/<project_name> --classes <target_classes> - Update the data path to the split output directory.
- Proceed to Step 4.
Path C — Unlabeled Images (structure = "unlabeled")
Check if the user's target classes overlap with COCO's 80 pretrained classes:
python -c "
from yolocc.dataset.autolabel import get_coco_overlap
overlapping, non_overlapping = get_coco_overlap([<target_classes_as_strings>])
print(f'COCO overlap: {overlapping}')
print(f'Not in COCO: {non_overlapping}')
"If ALL target classes are in COCO:
- Tell the user: "All your classes ({overlapping}) are in COCO's pretrained set. I can auto-label {image_count} images using yolo11n.pt."
- Ask: "Proceed with auto-labeling? (confidence 0.25, review threshold 0.4)"
- If yes, run:
yolo-autolabel --sources <data_path> --output datasets/<project_name> --model yolo11n.pt --review-threshold 0.4 - Tell user: "Done. Check the
review/folder for low-confidence predictions — correct any errors before training." - Update the data path. Proceed to Step 4.
If SOME target classes are in COCO:
- Tell the user which classes overlap and which don't.
- Offer to auto-label the overlapping classes only:
yolo-autolabel --sources <data_path> --output datasets/<project_name>_partial --model yolo11n.pt --classes <overlapping_classes> --review-threshold 0.4 - Explain: "For classes not in COCO ({non_overlapping}), you'll need to label ~50-100 images per class manually. Options:"
- CVAT:
yolo-cvat push --images <data_path> --task-name <project_name>(if CVAT is configured) - Any annotation tool: Label Studio, Roboflow, CVAT, etc.
- CVAT:
- Exit gracefully: "Run
/setupagain once you've labeled the remaining classes."
If NO target classes are in COCO:
- Explain: "Your classes ({target_classes}) are custom — they're not in COCO's pretrained set, so auto-labeling from scratch isn't possible."
- If the user has a previously trained model, offer:
yolo-autolabel --sources <data_path> --output datasets/<project_name> --model <their_model.pt> --review-threshold 0.4 - Otherwise, provide guidance:
- "Label ~50-100 images per class manually to bootstrap"
- Suggest CVAT or other annotation tools
- Exit gracefully: "Run
/setupagain once you have labeled data."
Path E — Partial Labels (structure = "partial_labels")
- Tell the user: "You have {label_count} labels for {image_count} images ({label_coverage:.0%} coverage)."
- If they have a trained model, offer to auto-label the rest:
yolo-autolabel --sources <unlabeled_images> --model <their_model.pt> --output datasets/<project_name>_expanded --review-threshold 0.5 - If not, suggest labeling more or using COCO pretrained if classes overlap.
- Mention: "After initial training,
/analyzefinds weak spots and/experimentruns active learning loops automatically."
Path F — Empty Directory (structure = "empty")
- Tell the user: "No images found at {data_path}."
- Ask them to provide a directory containing images and re-run
/setup.
4. Validate & Profile
All paths converge here once a valid YOLO dataset exists.
Run: yolo-validate <dataset_path>
Read the output to extract:
- Number of classes and their names (from data.yaml)
- Total images (train + val)
- Class distribution
- Any validation warnings
5. Create yolo-project.yaml
Write yolo-project.yaml in the workspace root with the gathered info.
6. Copy Architecture Configs
Copy configs/architectures/*.yaml into the project workspace if not already present.
These are the pre-built configs the agent selects from during experimentation.
7. Run Dataset Profile
Run /review-dataset which includes the profiling step.
This generates experiments/dataset_profile.yaml and fills training-plan.md's Dataset Summary.
8. Offer Baseline Run
Ask: "Run a 5-epoch baseline to establish starting metrics? (recommended)"
If yes:
yolo-experiment baseline --budget 5 --patience 3Read experiments/summary.md for baseline metrics.
9. Generate training-plan.md
Create training-plan.md using the boundaries template (not scripted phases):
# <Project Name> — Training Plan
## Project Context
### Training Mode
- [ ] Training from scratch
- [ ] Fine-tuning from pretrained model
- [ ] Transfer learning (freeze backbone)
### Model Lineage
- Base model: `<model>.pt`
- Architecture config: `configs/architectures/yolo11.yaml` (standard P3/P4/P5)
- Current best: (from baseline, or "run /setup to establish baseline")
- Best backup: (none yet)
### Model Intent
- [ ] Specialist (few classes, high accuracy)
- [ ] Generalist (many classes, broad coverage)
- Deployment target: (ask user)
### Setup Path
- Starting state: <detected structure>
- Auto-labeled: yes/no (if yes, note review/ folder status)
### Dataset Summary
(Auto-filled by /review-dataset profiling step)
- Total images: train / val
- Classes: N — [list]
- Class balance: most/least represented
- Scale distribution: % small / medium / large at imgsz
- Min object size at training resolution: Npx
- Avg objects per image:
### Current Performance
(Auto-filled after baseline)
- mAP50-95:
- mAP50:
- Per-class AP50: {class: value, ...}
- Weakest class:
## Goal
(Ask user for primary metric target)
### Secondary Goals
- (from dataset analysis: e.g., improve weakest class)
## Hard Constraints (agent cannot violate)
- Max experiments per session: 10
- Max minutes per session: 120
- Max epochs per experiment: 50
- Don't delete or modify original dataset files
- Don't decrease any class AP50 by more than 0.05 vs current best model
- Minimum 3 experiments on current architecture before switching
(exception: dataset profile shows >50% small objects with no P2 head)
## Soft Preferences (agent can override with justification)
- Start with current model variant before trying others
- Prefer augmentation approaches before architecture changes
- Prioritize weakest class improvement
## Allowed Actions
### HP Optimization (via model.tune)
- Presets: lr, augmentation, loss, optimizer, all
- Custom: any parameter with min:max range
- Agent selects preset based on diagnosis
### Tune Defaults
- Iterations per tune: 20
- Epochs per iteration: 10
- Patience: 5
### Architecture
- Model variants: n, s, m
- Head configs:
- `configs/architectures/yolo11.yaml` (standard P3/P4/P5)
- `configs/architectures/yolo11-p2.yaml` (P2/P3/P4/P5, small objects)
- `configs/architectures/yolo11-p2p3p4.yaml` (shifted, mostly small objects)
- imgsz: 640, 1280
### Data Handling
- Can create augmented copies (NOT modify originals)
- Can adjust train/val split if justified
## Domain Knowledge
> Tell the agent things it can't learn from the dataset statistics alone.
- (e.g., "Objects are frequently occluded — erasing augmentation is relevant")
- (e.g., "Class 'smoke' is visually similar to 'fog' — confusion is the main problem")
- (e.g., "False positives are more costly than missed detections in this application")Fill in what's known from steps 2, 4, 7, 8. Leave placeholders for user-provided info.
10. Print Summary
Tell the user what was created and suggest next steps based on their path:
- Path A/B: "Run
/experimentto start autonomous experimentation" - Path C (auto-labeled): "Review the
review/folder first, then run/experiment" - Path C/D (needs manual labels): "Label your data, then run
/setupagain" - Path E: "Run
/experiment— it includes active learning loops"
Guardrails
- Never overwrite existing yolo-project.yaml without asking
- Never run yolo-autolabel without confirming with the user first
- If dataset has no images, exit with clear guidance
- All auto-labeled data should use
--review-thresholdto flag uncertain predictions - If the user already has a yolo-project.yaml, offer to update it rather than recreate
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

