discovery
БесплатноБез исполняемых скриптовНе проверенAUTO-INVOKE when user asks to see, fetch, or check current/live/real-time data from any ad platform (Facebook/Meta, Google Ads, TikTok, LinkedIn, Pinterest…
от tekliner★ 17 звёзд на GitHubОб этом скилле
Discovery Integration
🎯 IMPORTANT: Discovery API is for IMMEDIATE/ONE-TIME Data Access
Discovery API tools are designed for:
- Quick, one-time data queries ("show me current campaigns")
- Testing and exploration of API endpoints
- Real-time data validation
- Immediate data needs without scheduling
⚠️ If the user wants to:
- Set up recurring data extraction
- Create scheduled pipelines
- Automate data collection → Use Improvado Extract/Load Tools instead (see Improvado Tools section)
You can access Discovery data through the following tools:
IMPORTANT: Do not make up any links or documentation, always use the links from tools or chat context.
- discoveryRequestTool: Make requests to Discovery API with specified credentials and data source.
- Parameters:
- dataSource: string (Data source to use for the request)
- connectorId: string (Connector ID to use for the request)
- request: object (HTTP request payload)
- method: 'get', 'post', 'head', 'options'
- url: string | { address: string, encoded: string }
- params?: Record<string, any> (Query parameters)
- data?: any (Data body for POST query)
- json?: any (JSON body for POST query)
- headers?: Record<string, string> (HTTP headers)
- discoveryListConnectorsTool: List all connectors for a given data source.
- Parameters:
- dataSource: string
- discoveryWebSearchTool: Search the web for current information and API documentation.
- Parameters:
- query: string
- retrieveDocumentationTool: Retrieve documentation for a given url.
- Parameters:
- url: string
Important guidelines for using Discovery tools:
- Always ask user to select the data source if not provided.
- Always ask user to select the Connector, do not make up your own connectors and don't make any assumptions.
- Follow the flow sequence: Version discovery → Endpoint documentation → Connector selection → API request.
- NEVER guess API versions. ALWAYS follow the API Version Discovery Protocol below to find the correct latest version first.
- Always verify the API specification and examples before making the actual request.
- Provide clear and short explanations of the API response in the UI.
- Always use the url from the documentation or chat context, never make up your own url.
- Always use full url, never use relative url.
API Version Discovery Protocol
CRITICAL: Before making ANY Discovery API request, you MUST determine the correct latest API version. Do NOT guess or assume versions.
Step 1 — Search for version info using targeted queries
Use discoveryWebSearchTool with these targeted queries (try in order, stop when you find an authoritative result):
- " API changelog latest version" — append site:
if you know the official developer domain - " API deprecation sunset dates"
- " API release notes" — include the current year for recency
Prioritize results from official developer domains such as developers.google.com, developers.facebook.com, learn.microsoft.com, business-api.tiktok.com, developers.pinterest.com, developers.snap.com, developer.x.com, etc.
Example: for Google Ads, a query like "Google Ads API sunset dates site:developers.google.com" should lead to the official sunset schedule page (e.g. https://developers.google.com/google-ads/api/docs/sunset-dates). For Facebook, "Facebook Graph API changelog site:developers.facebook.com" leads to the changelog (e.g. https://developers.facebook.com/docs/graph-api/changelog).
Step 2 — Extract and verify the version
Once you find a relevant official page from search results:
- Use retrieveDocumentationTool to fetch the full page content
- Extract the latest non-deprecated/non-sunset version from the page
- State the found version AND its source URL to the user before proceeding
Step 3 — Verification Rules
- ALWAYS prioritize official developer documentation over third-party blogs or tutorials
- If you find the version from an official source, stop searching — do not second-guess it
- NEVER trust API versions mentioned only in blog posts without verifying against official docs
- If you cannot determine the version from any source, ask the user before proceeding
Common API Version Formats
Format shapes only — resolve the concrete number via the protocol above.
- Google Ads:
v<N>(e.g.v24) - Facebook / Meta Graph API:
v<N.0>(e.g.v24.0) - LinkedIn Marketing API:
YYYYMM(e.g.202605, monthly cadence) - TikTok Ads:
v<N.N>(e.g.v1.3) - Pinterest Ads:
v<N>(e.g.v5) - Google Analytics 4:
v1beta(stable) - Google Sheets:
v4(stable)
Handling Unknown DataSources
IMPORTANT: When the user requests an unknown data source:
- First, check what data sources are actually available for the user by running this query:
ch-query "SELECT DISTINCT datasource_name, COUNT(*) as cnt FROM src_improv
Установить discovery в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл discovery?
AUTO-INVOKE when user asks to see, fetch, or check current/live/real-time data from any ad platform (Facebook/Meta, Google Ads, TikTok, LinkedIn, Pinterest, Bing, Snap, X, GA4, Google Sheets, etc.), inspect ad accounts/campaigns/ads, pull insights directly from a platform, or any task that requires calling `discoveryRequestTool`, `discoveryListConnectorsTool`, or `discoveryListAccountsTool`. Trigger phrases include: "current campaigns", "live data", "real-time metrics", "show me platform-name ads", "fetch from platform-name API", "what's in my platform-name", "check platform-name insights". Use BEFORE any direct platform API call — the skill defines the mandatory URL/version protocol.
Как установить скилл discovery?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл discovery запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic