fiftyone-sdk-guidance
БесплатноБез исполняемых скриптовНе проверенAnswers FiftyOne Python SDK questions with accurate, runnable code. Use when the user asks how to do something in the FiftyOne Python SDK, asks a docs…
от voxel51★ 49 звёзд на GitHubОб этом скилле
FiftyOne SDK Guidance
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.
Key Directives
ALWAYS follow these rules, no exceptions:
1. Always search docs first; never answer from training knowledge alone
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?".
2. Return runnable Python code, not pseudocode, and cite your source
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.
3. For fallback scenarios, acknowledge the gap explicitly
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."
4. If one search isn't enough, search again with a refined query
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.
5. Never make up API method names or field paths
If the docs search doesn't return a clear answer, say so. Do not fabricate, assume, or guess methods that look plausible.
6. Degrade gracefully when the docs tool isn't connected
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.
7. Offer to self-install the docs connection, don't just tell the user to do it
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"
}
}
}
Complete Workflow
Step 1. Understand the user's goal
Identify:
- What they want to accomplish (e.g. filter, export, embed, annotate)
- Whether this is a pure SDK question or a fallback from a failed operator/plugin path
- What dataset or data type they're working with
Step 2. Search the FiftyOne documentation
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):
- "How do I filter detections b
Установить fiftyone-sdk-guidance в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл fiftyone-sdk-guidance?
Answers FiftyOne Python SDK questions with accurate, runnable code. Use when the user asks how to do something in the FiftyOne Python SDK, asks a docs question, no skill or operator covers their goal, or the agent is unsure of the correct FiftyOne method, argument, or field path while writing code — e.g. "how do I do X in Python", "show me the SDK for filtering", "there's no operator for this, can I do it in code", "what's the API for embeddings", "write me a Python script to do Y".
Как установить скилл fiftyone-sdk-guidance?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл fiftyone-sdk-guidance запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic