voxel51/fiftyone-skills/fiftyone-troubleshoot
Claude Code and agent skill by voxel51/fiftyone-skills
- community
Checking that the SKILL.md file is still in the repository.
Diagnose and fix common FiftyOne issues automatically. Use when a dataset disappeared, the App won't open, changes aren't saving, MongoDB errors occur, video codecs fail, notebook connectivity breaks, operators are missing, or any recurring FiftyOne pain point needs solving.
Install
npx vskill@latest install voxel51/fiftyone-skills/fiftyone-troubleshootSKILL.md
FiftyOne Troubleshoot
Overview
Diagnose and fix common FiftyOne pain points. Match the user's symptom to the Issue Index, explain the root cause and proposed fix, get approval, then apply.
Shell commands in this skill are written for macOS/Linux. On Windows (non-WSL), adapt using PowerShell equivalents or use WSL.
Designed to grow: add new issues at the bottom as they are encountered.
Prerequisites
- FiftyOne installed:
pip install fiftyone - MCP server running (optional, for plugin-related fixes)
Key Directives
1. Always explain, propose, and confirm before acting
NEVER run a fix without first:
- Explaining what is wrong and why
- Describing what the fix will do
- Asking the user to confirm: "Should I apply this fix?"
Wait for explicit user confirmation before executing anything that modifies files, config, or data.
2. Never touch user datasets — FiftyOne is the source of truth
- Except when given explicit and direct instructions by the user:
- NEVER modify, edit, delete, or clone user datasets as part of troubleshooting
- NEVER call
fo.delete_dataset() - NEVER truncate, wipe, or alter dataset contents or sample fields to diagnose an issue
- Use FiftyOne's read-only API to inspect state:
fo.list_datasets(),fo.load_dataset(),len(dataset),dataset.get_field_schema()— these are safe - FiftyOne's state (datasets, fields, brain runs) is the ground truth; read it, never rewrite it to "fix" a problem
3. Never directly manipulate MongoDB
- NEVER use
pymongo,db.drop_collection(), or raw MongoDB shell commands - All data operations must go through the FiftyOne Python API
4. Never modify config or files silently
- NEVER change
database_uri,database_name, or any config file without showing what will change and getting approval - NEVER append to shell profiles (
.zshrc,.bash_profile, virtualenvactivate) without showing the exact line change and getting explicit user confirmation to apply
5. Restart processes after env / config changes
Any fix that sets an environment variable or modifies a config file only takes effect for new processes. Already-running App servers, service managers, and Python scripts will NOT pick up the change.
- After setting
FIFTYONE_DATABASE_NAMEor similar env vars, identify and restart any running FiftyOne processes - Check with:
ps aux | grep fiftyone - Stop stale processes:
pkill -f "fiftyone"(confirm with user first)
6. Always verify after fixing
Run the Health Check after every fix to confirm the environment is operational.
Workflow
- Diagnose — run the Diagnostic Quick-Check
- Explain — describe the root cause in plain language
- Propose — show the fix and what it will change
- Confirm — ask the user: "Should I apply this?"
- Execute — apply the fix only after approval
- Verify — run the Health Check
Diagnostic Quick-Check
Handles connection failures gracefully — always produce useful output:
Health Check
Run after any fix to confirm the environment is fully operational.
This script creates and destroys a temporary test dataset (_fo_health_check). It does not touch any user datasets. Do not manually create a dataset with the name "_fo_health_check".
Issue Index
| Symptom | Section | |
|---|---|---|
| Dataset disappeared after restart | Dataset Persistence | |
| App won't open / not connected | App Connection | |
| Changes not saved | Unsaved Changes | |
| Video not playing / codec error | Video Codec | |
| Too many open files (macOS) | Open Files Limit | |
| App not loading in notebook / remote | Notebook / Remote | |
| Plots not showing in notebook | Notebook Plots | |
| MongoDB connection failure | MongoDB | |
| Operator not found / plugin missing | Missing Plugin | |
| "No executor available" | Delegated Operators | |
| Dataset is read-only | Read-Only Dataset | |
| Slow performance on large datasets | Performance | |
| App showing stale / wrong data | Stale Data | |
| Downgrading FiftyOne | Downgrading | |
| Database version mismatch | DB Version Mismatch | |
| Teams / OSS client type mismatch | Teams vs OSS |
Issue: Dataset Disappeared
Cause: Datasets are non-persistent by default and are deleted when Python exits.
Fix:
If the dataset is already gone fromfo.list_datasets(), it cannot be recovered through FiftyOne — re-import from source files.
Issue: App Won't Open
Cause A — Script exits before the App loads. Fix: add session.wait().
Cause B — Windows multiprocessing. Fix: add the __main__ guard.
Cause C — Port already in use.
Cause D — Stale process.
Issue: Changes Not Saved
Fix — sample edits:
Fix — dataset-level properties:
Fix — bulk updates (no `.save()` needed):
Issue: Video Codec
Cause: Video codec not supported by the browser's HTML5 player (requires MP4/H.264, WebM, or Ogg).
⚠️ Re-encoding overwrites files on disk. Show the user the exact paths that will be modified and get explicit confirmation before running.
Issue: Too Many Open Files (macOS)
Issue: App Not Loading in Notebook or Remote
Cause A — Remote Jupyter: localhost URL not reachable from browser.
Cause B — Google Colab / Databricks: works out of the box, no proxy needed.
Cause C — SSH remote: forward the port locally.
Issue: Plots Not Appearing in Notebook
Issue: MongoDB Connection Error
Symptoms: ConnectionFailure, ServerSelectionTimeoutError, hangs on import, port 27017 errors.
Diagnose:
Fix A — Restart FiftyOne's MongoDB:
Fix B — Free disk space. MongoDB will not start on a full disk.
Fix C — Use an external MongoDB instance (requires user confirmation):
Fix D — Reset internal MongoDB (last resort, destroys all datasets):
⚠️ Requires explicit user confirmation.
Issue: Operator Not Found
Diagnose:
Fix:
| Operator prefix | Plugin | |
|---|---|---|
@voxel51/brain/* | @voxel51/brain | |
@voxel51/io/* | @voxel51/io | |
@voxel51/utils/* | @voxel51/utils | |
@voxel51/evaluation/* | @voxel51/evaluation | |
@voxel51/zoo/* | @voxel51/zoo |
Issue: No Executor Available
Cause: Brain, evaluation, and annotation operators require the FiftyOne App running as executor.
Issue: Dataset is Read-Only
Issue: Slow Performance
Issue: Stale App Data
Browser: Cmd+Shift+R (macOS) / Ctrl+Shift+R (Windows/Linux).
Issue: Downgrading FiftyOne
⚠️ Export important datasets before downgrading.
Issue: Database Version Mismatch
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/fiftyone-troubleshoot/SKILL.md
Popularity
- Repository stars
- 25
- Repository forks
- 5
- 7-day trend score
- 16
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 1 Apr 2026, 8 months ago.
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/voxel51/fiftyone-skills/fiftyone-troubleshoot)