/fiftyone:fiftyone-sdk-guidancefrom fiftyone
Answers FiftyOne Python SDK questions by searching live docs, returning runnable code with citations. Also serves as fallback guidance when no operator or skill covers the user's goal.
Ships in fiftyone. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Answers FiftyOne SDK and docs questions by searching live documentation and returning accurate, runnable Python code. Covers two scenarios: direct SDK questions and fallback guidance when no operator or skill exists for the user's goal.
ALWAYS follow these rules, no exceptions:
search_fifty_one_knowledge_sources(query="How do I <user goal> in the FiftyOne Python SDK?")
FiftyOne's API changes frequently. Training knowledge may be outdated. Call search_fifty_one_knowledge_sources (the fiftyone-docs MCP tool) for every FiftyOne-specific question before answering. If it isn't available, see Directive 6 for the fallback order.
The query must be a complete natural-language sentence, not keywords. This tool does semantic retrieval, not keyword search; its own schema requires "a single, well-formed natural-language query" that "must be a complete sentence." query="filter confidence Python" retrieves worse matches than query="How do I filter detections by confidence threshold in the FiftyOne Python SDK?".
All code examples must be complete enough to run. Include imports. Use real FiftyOne API patterns from the search results, not invented method names. Cite the source_url of the result(s) you drew from so the user can verify against live docs.
If the user is attempting to perform an unsupported or limited feature in the FiftyOne Application or operators, state clearly that this is the case and provide a supported route using the Python SDK where available:
"There's no built-in operator for this; here's how to do it with the Python SDK instead."
SDK questions may need at least 2–3 searches to find the right method, argument, or pattern. Search until you have a concrete answer or have concrete evidence that the feature is not available or included in the documentation.
If the docs search doesn't return a clear answer, say so. Do not fabricate, assume, or guess methods that look plausible.
This skill has no hard MCP dependency. If search_fifty_one_knowledge_sources isn't available in the current session: if a web-search or web-fetch tool is available in your environment, use it to query https://docs.voxel51.com directly before falling back further. Otherwise, answer from training knowledge and say so; never block the user on a missing connection.
The first time this skill triggers and search_fifty_one_knowledge_sources isn't available, don't just leave the user to figure out setup themselves.
On Claude Code (a claude CLI is available), offer to connect it for the user:
"I don't have live FiftyOne docs search connected yet. I can add it now with:
claude mcp add --transport http --scope user fiftyone-docs https://voxel51.mcp.kapa.ai
This points at Voxel51's public docs bot, powered by Kapa.ai; you'll sign in with your
own Google/GitHub account the first time it's used, no API key needed. Want me to run that?"
Only run it after the user confirms; it edits their global Claude Code config. After adding it, tell them plainly: new MCP servers only attach on the next session, so they need to restart Claude Code (or start a fresh conversation) and complete the one-time OAuth login before the tool is usable; it will not work in the current turn. Meanwhile, keep answering from training knowledge per Directive 6.
On any other AI assistant (Cursor, Claude Desktop, VS Code, etc.), give the user the exact config snippet for their tool. This is a public, read-only endpoint, no Voxel51 API key required; the user authenticates with their own Google/GitHub account on first use.
Claude Desktop / Cursor MCP config:
{
"mcpServers": {
"fiftyone-docs": {
"url": "https://voxel51.mcp.kapa.ai"
}
}
}
VS Code (.vscode/mcp.json):
{
"servers": {
"fiftyone-docs": {
"type": "http",
"url": "https://voxel51.mcp.kapa.ai"
}
}
}
Identify:
search_fifty_one_knowledge_sources(query="<specific goal, phrased as a full question>")
Search iteratively if the first result is partial. Examples of well-formed queries (complete sentences, not keyword fragments):
The tool always returns a fixed number of results ({"results": [{"source_url": "...", "content": "..."}, ...]}), ranked by relevance, even when nothing in the docs actually matches, so don't assume every returned chunk is on-topic. Skim content for real relevance before using it.
From the search results, construct a runnable example. REFERENCE: an example constructed, after fetching all relevant FiftyOne documentation, for a user wanting a FiftyOne view for the dataset's ground truth labels that have a confidence value of more than 0.7:
import fiftyone as fo
import fiftyone.zoo as foz
# Load or open your dataset
dataset = fo.load_dataset("my-dataset")
# Filter examples, built from search result
view = dataset.filter_labels(
"ground_truth",
F("confidence") > 0.7
)
print(view)
Always:
import fiftyone as fo at the topsource_url(s) the code was drawn from, e.g. **Source:** [Confidence thresholding in Python](https://docs.voxel51.com/...); all URLs must be:
After the code block, briefly explain the most salient FiftyOne methods:
filter_labels vs match)What would you like to do next?
1. Run this code in a Python session or notebook
2. Adapt the example to a different field or condition
3. Chain this with another operation (e.g. export, tag, annotate)
4. Look up a related SDK topic
| Tool | Input | Output | Notes |
|---|---|---|---|
search_fifty_one_knowledge_sources | query, a single, well-formed natural-language question. Must be a complete sentence, not keywords. | {"results": [{"source_url": "...", "content": "..."}, ...]}, a fixed-size list of markdown chunks, ranked by relevance | Semantic retrieval over docs.voxel51.com and related sources, powered by Kapa.ai. Optional; see Directive 7 above for how to connect it. Always cite source_url; always returns top-k results even for off-topic queries, so verify relevance before using a chunk. |
search_fifty_one_knowledge_sources(query="Can I update or modify a model's weights using the FiftyOne Python SDK?")
FiftyOne is a dataset and results curation tool; it doesn't train or modify models. Say so plainly and point to the right tool instead of improvising an API:
"FiftyOne doesn't provide APIs for updating model weights; that's outside its scope.
Update the weights with your training framework (e.g. PyTorch, TensorFlow) directly, then
load the updated model back into FiftyOne with `dataset.apply_model(...)` to regenerate predictions."
search_fifty_one_knowledge_sources(query="How can I use the FiftyOne App to compute embeddings on my dataset?")
Computing embeddings from the App is a FiftyOne Enterprise feature; open-source FiftyOne needs the Python SDK instead. Search for the SDK path:
search_fifty_one_knowledge_sources(query="How do I compute embeddings on a FiftyOne dataset using the Python SDK?")
search_fifty_one_knowledge_sources(query="What's the difference between compute_embeddings and compute_patch_embeddings?")
Do you want patch embeddings or image-level embeddings? If your dataset has localized annotations (detections, polylines, segmentation masks), patch embeddings are usually the right choice; for whole-image similarity or near-duplicate detection, use image-level embeddings.
search_fifty_one_knowledge_sources(query="What are the required and optional arguments for the compute_embeddings method?")
import fiftyone as fo
dataset = fo.load_dataset("my-dataset")
dataset.compute_embeddings(model="clip-vit-base32-torch", embeddings_field="embeddings")
compute_embeddings writes one embedding per sample to embeddings_field; use compute_patch_embeddings instead if you need one embedding per label/patch (e.g. per detection) rather than per image.
search_fifty_one_knowledge_sources(query="How do I split a FiftyOne dataset into train and test sets in Python?")
import fiftyone as fo
import random
dataset = fo.load_dataset("my-dataset")
ids = dataset.values("id")
random.shuffle(ids)
split = int(len(ids) * 0.8)
train_view = dataset.select(ids[:split])
val_view = dataset.select(ids[split:])
This is a plain random shuffle over sample IDs; refine the ids list first for stratified or filtered splits.
The user tried to use an operator and got "operator not found" or the plugin is not enabled.
"That feature requires the @voxel51/panels plugin, which isn't enabled in your deployment.
Here's how to accomplish the same thing using the FiftyOne Python SDK:"
Then execute a search query in the FiftyOne documentation and return the SDK path.
Search for the underlying SDK method the operator wraps, then show the user how to call it directly so they can debug or customize it.
search_fifty_one_knowledge_sources(query="What's the low-level FiftyOne Python SDK API for <goal>?")
Show the low-level SDK call that gives them full control.
"search_fifty_one_knowledge_sources is not available"
No Kapa.ai MCP server is connected in this session; this tool is optional, not a hard requirement. Apply Directive 7: offer to add it automatically (Claude Code), or hand the user the manual config snippet for their assistant (other assistants). In the meantime, follow the fallback order in Directive 6: if a web-search or web-fetch tool is available, query https://docs.voxel51.com directly; otherwise answer using training knowledge but note the limitation:
"I can't search the live docs right now, so I'll answer from training knowledge.
For the most accurate and up-to-date API reference, check docs.voxel51.com."
"Search returned no relevant results"
The tool always returns a fixed number of chunks, even for off-topic queries; a "miss" looks like weakly-related content, not an empty list. If the top results don't actually address the question:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
19 skills in this plugin
/fiftyone-app-playwrightUse when driving the FiftyOne App via the Playwright MCP — plugin/operator verification, demo or screencast recording, or any end-to-end UI automation against `fo.launch_app(...)`. Covers the critical "do not navigate after reload_dataset" crash, launcher patterns (remote=True, trigger-file IPC), MUI-specific input/dropdown gotchas, sidebar tag filtering, `data-cy` selectors, dialog scrolling, session refresh strategies, and cleanup. Trigger on mentions of "Playwright + FiftyOne", "automate FiftyOne App", "operator demo", "browser_navigate crash", "reload_dataset", or any FiftyOne session that silently dies after a UI action.
/fiftyone-code-styleWrites Python code following FiftyOne's official conventions. Use when contributing to FiftyOne, developing plugins, or writing code that integrates with FiftyOne's codebase./fiftyone-create-notebookCreates Jupyter notebooks for FiftyOne workflows including getting-started guides, tutorials, recipes, and full ML pipelines. Use when creating notebooks, writing tutorials, building demos, or generating FiftyOne walkthroughs covering data loading, exploration, inference, evaluation, and export./fiftyone-dataset-curationEnd-to-end dataset curation for FiftyOne: inspect schema and quality, audit annotations, analyze class distributions, explore embeddings, find duplicates, create curated subsets, and build train/val/test splits. Works with any computer vision dataset type./fiftyone-dataset-exportExports FiftyOne datasets to standard formats (COCO, YOLO, VOC, CVAT, CSV, etc.) and Hugging Face Hub. Use when converting datasets, exporting for training, creating archives, sharing data in specific formats, or publishing datasets to Hugging Face./fiftyone-dataset-importImports datasets into FiftyOne with automatic format detection. Supports all media types (images, videos, point clouds, MCAP multimodal recordings), label formats (COCO, YOLO, VOC, KITTI), multimodal grouped datasets, LeRobot v3 robot-learning episode datasets, and Hugging Face Hub datasets. Use when importing datasets from local files or Hugging Face, loading autonomous driving data, importing robotics/AV sensor logs (MCAP, ROS bag), importing LeRobot robot-learning episodes (teleop recordings, observation.state/action data), or creating grouped datasets.2 plugins in one repository ship this exact skill · first indexed Jul 9, 2026
Other plugins' skills for the same job
voxel51-fiftyone-skills@cascade-ai-ml-engineering is listed by joshuarweaver/cascade-ai-ml-engineering — review the source before installing
npx claudepluginhub joshuarweaver/cascade-ai-ml-engineering --plugin voxel51-fiftyone-skills