### Example: GET request Source: https://github.com/vm0-ai/vm0-skills/blob/main/docs/skill-template.md An example of a GET request to an API endpoint. ```bash curl -s -X GET "https://api.example.com/endpoint" --header "Authorization: Bearer $ENV_VAR_1" | jq . ``` -------------------------------- ### Complete Workflow Example: Start and Abort a Run Source: https://github.com/vm0-ai/vm0-skills/blob/main/apify/SKILL.md Example demonstrating how to start an async run, capture its ID, and then abort it. ```json { "startUrls": [{"url": "https://example.com"}], "maxPagesPerCrawl": 100 } ``` ```bash # Step 1: Start an async run and capture the run ID RUN_ID=$(curl -s -X POST "https://api.apify.com/v2/acts/apify~web-scraper/runs" --header "Authorization: Bearer $APIFY_TOKEN" --header "Content-Type: application/json" -d @/tmp/apify_request.json | jq -r '.data.id') echo "Started run: $RUN_ID" # Step 2: Abort the run curl -s -X POST "https://api.apify.com/v2/actor-runs/${RUN_ID}/abort" --header "Authorization: Bearer $APIFY_TOKEN" ``` -------------------------------- ### Dockerfile Example Source: https://github.com/vm0-ai/vm0-skills/blob/main/workflow-migration/SKILL.md An example Dockerfile for setting up the environment, including installing system and language-specific dependencies, copying necessary files, and defining the command. ```dockerfile FROM {base-image} WORKDIR /workspace # Install system dependencies RUN apt-get update && apt-get install -y \ bash curl jq git \ {additional-tools} \ && rm -rf /var/lib/apt/lists/* # Install language-specific dependencies COPY requirements.txt* ./ RUN pip install --no-cache-dir -r requirements.txt # Copy scripts and helper files (if any) COPY scripts/ ./scripts/ 2>/dev/null || true COPY SKILL.md ./ # Create any necessary directories RUN mkdir -p ~/reports CMD ["/bin/bash"] ``` -------------------------------- ### Get Balances Example Source: https://github.com/vm0-ai/vm0-skills/blob/main/sproutgigs/SKILL.md Example of how to retrieve account balances. ```bash sproutgigs GET /users/get-balances.php ``` -------------------------------- ### Example: POST request Source: https://github.com/vm0-ai/vm0-skills/blob/main/docs/skill-template.md An example of a POST request to an API endpoint with a JSON payload. ```bash curl -s -X POST "https://api.example.com/endpoint" --header "Content-Type: application/json" --header "Authorization: Bearer $ENV_VAR_1" -d '{"key": "value"}' | jq . ``` -------------------------------- ### Search and Read Articles Example Source: https://github.com/vm0-ai/vm0-skills/blob/main/qiita/SKILL.md Example of searching for Python tutorials and getting a specific article. ```bash # Search for Python tutorials scripts/qiita.sh item search --query "tag:Python title:tutorial" --per-page 5 # Get specific article scripts/qiita.sh item get --id "abc123def456" ``` -------------------------------- ### Complete Workflow Example - Step 1: Start Async Run Source: https://github.com/vm0-ai/vm0-skills/blob/main/apify/SKILL.md Shell script to start an asynchronous Actor run and capture the run ID from the response. ```bash # Step 1: Start an async run and capture the run ID RUN_ID=$(curl -s -X POST "https://api.apify.com/v2/acts/apify~web-scraper/runs" --header "Authorization: Bearer $APIFY_TOKEN" --header "Content-Type: application/json" -d @/tmp/apify_request.json | jq -r '.data.id') ``` -------------------------------- ### Pagination Example Source: https://github.com/vm0-ai/vm0-skills/blob/main/instantly/SKILL.md Demonstrates how to paginate through list endpoints, showing how to get the first page and subsequent pages. ```bash # First page curl -s "https://api.instantly.ai/api/v2/campaigns?limit=10" -H "Authorization: Bearer $INSTANTLY_API_KEY" | jq '{items: .items | length, next_starting_after: .next_starting_after}' ``` ```bash # Next page (replace with the next_starting_after value from the previous response) curl -s "https://api.instantly.ai/api/v2/campaigns?limit=10&starting_after=" -H "Authorization: Bearer $INSTANTLY_API_KEY" | jq '.items[] | {id, name}' ``` -------------------------------- ### Window Function Recipes Source: https://github.com/vm0-ai/vm0-skills/blob/main/sql-cookbook/SKILL.md Examples of common window function use cases. ```sql -- Assign sequential position within groups ROW_NUMBER() OVER (PARTITION BY user_id ORDER BY event_ts DESC) RANK() OVER (PARTITION BY category ORDER BY revenue DESC) DENSE_RANK() OVER (ORDER BY score DESC) -- Cumulative sums and rolling averages SUM(amount) OVER (ORDER BY dt ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) AS cumulative_total AVG(amount) OVER (ORDER BY dt ROWS BETWEEN 6 PRECEDING AND CURRENT ROW) AS rolling_7d_avg -- Accessing adjacent rows LAG(val, 1) OVER (PARTITION BY entity ORDER BY dt) AS prior_val LEAD(val, 1) OVER (PARTITION BY entity ORDER BY dt) AS next_val -- Boundary values within a partition FIRST_VALUE(status) OVER (PARTITION BY user_id ORDER BY event_ts ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) LAST_VALUE(status) OVER (PARTITION BY user_id ORDER BY event_ts ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) -- Proportional share revenue / SUM(revenue) OVER () AS share_of_total revenue / SUM(revenue) OVER (PARTITION BY category) AS share_within_category ``` -------------------------------- ### Explore Tags and Users Example Source: https://github.com/vm0-ai/vm0-skills/blob/main/qiita/SKILL.md Examples of getting trending tags and user's articles. ```bash # Get trending tags scripts/qiita.sh tag list --per-page 10 --sort count # Get user's articles scripts/qiita.sh user items --id "famous_author" --per-page 5 ``` -------------------------------- ### Example: search API docs with Tavily Source: https://github.com/vm0-ai/vm0-skills/blob/main/docs/skill-template.md This command demonstrates how to search API documentation using the Tavily API. ```bash curl -s -X POST "https://api.tavily.com/search" --header "Content-Type: application/json" --header "Authorization: Bearer $TAVILY_TOKEN" -d '{"query": "Notion API authentication guide", "search_depth": "advanced", "max_results": 5}' | jq . ``` -------------------------------- ### Complete Workflow Example - Step 1: Start Async Run and Capture IDs Source: https://github.com/vm0-ai/vm0-skills/blob/main/apify/SKILL.md Shell script to start an asynchronous run and capture both the run ID and default dataset ID. ```bash # Step 1: Start async run and capture IDs RESPONSE=$(curl -s -X POST "https://api.apify.com/v2/acts/apify~web-scraper/runs" --header "Authorization: Bearer $APIFY_TOKEN" --header "Content-Type: application/json" -d @/tmp/apify_request.json) ``` ```bash RUN_ID=$(echo "$RESPONSE" | jq -r '.data.id') DATASET_ID=$(echo "$RESPONSE" | jq -r '.data.defaultDatasetId') ``` -------------------------------- ### Example: Testing a curl command Source: https://github.com/vm0-ai/vm0-skills/blob/main/docs/skill-template.md This curl command shows how environment variables are injected by vm0 at runtime from the configured connector. ```bash curl -s -X GET "https://api.example.com/endpoint" --header "Authorization: Bearer $EXAMPLE_TOKEN" | jq . ``` -------------------------------- ### Get Gigs Example Source: https://github.com/vm0-ai/vm0-skills/blob/main/sproutgigs/SKILL.md Example of how to list active gigs with filters and pagination using the helper function. ```bash sproutgigs GET /gigs/get-gigs.php '{ "page": 1, "results_per_page": 10, "order": "newest" }' ``` -------------------------------- ### List Projects Source: https://github.com/vm0-ai/vm0-skills/blob/main/v0/SKILL.md Example of how to list all available projects. ```bash curl -s "https://api.v0.dev/v1/projects" --header "Authorization: Bearer $V0_TOKEN" | jq '.data[] | {id, name, privacy}' ``` -------------------------------- ### BigQuery Date and Time Functions Source: https://github.com/vm0-ai/vm0-skills/blob/main/sql-cookbook/SKILL.md Examples of date and time functions in BigQuery, including getting current timestamps, adding/subtracting intervals, truncating, extracting components, and formatting. ```sql -- Current moments CURRENT_DATE(), CURRENT_TIMESTAMP() -- Shifting dates forward and backward DATE_ADD(some_date, INTERVAL 7 DAY) DATE_SUB(some_date, INTERVAL 1 MONTH) DATE_DIFF(end_dt, start_dt, DAY) TIMESTAMP_DIFF(end_ts, start_ts, HOUR) -- Truncation DATE_TRUNC(event_ts, MONTH) TIMESTAMP_TRUNC(event_ts, HOUR) -- Component extraction EXTRACT(YEAR FROM event_ts) EXTRACT(DAYOFWEEK FROM event_ts) -- Sunday = 1 -- Display formatting FORMAT_DATE('%Y-%m-%d', date_col) FORMAT_TIMESTAMP('%Y-%m-%d %H:%M:%S', ts_col) ``` -------------------------------- ### Viewport Example Source: https://github.com/vm0-ai/vm0-skills/blob/main/browserless/SKILL.md Example configuration for viewport settings. ```json { "viewport": { "width": 1920, "height": 1080, "deviceScaleFactor": 2 } } ``` -------------------------------- ### Snowflake Date and Time Functions Source: https://github.com/vm0-ai/vm0-skills/blob/main/sql-cookbook/SKILL.md Examples of date and time functions in Snowflake, including getting current timestamps, adding/subtracting dates, truncating, extracting components, and formatting. ```sql -- Getting current moments CURRENT_DATE(), CURRENT_TIMESTAMP(), SYSDATE() -- Shifting dates DATEADD(day, 7, some_date) DATEDIFF(day, start_dt, end_dt) -- Truncation DATE_TRUNC('month', event_ts) -- Component extraction YEAR(event_ts), MONTH(event_ts), DAY(event_ts) DAYOFWEEK(event_ts) -- Formatting TO_CHAR(event_ts, 'YYYY-MM-DD') ``` -------------------------------- ### PostgreSQL Date and Time Functions Source: https://github.com/vm0-ai/vm0-skills/blob/main/sql-cookbook/SKILL.md Examples of working with dates and times in PostgreSQL, including getting current dates, adding/subtracting intervals, truncating, extracting components, and formatting. ```sql -- Today and now CURRENT_DATE, CURRENT_TIMESTAMP, NOW() -- Adding and subtracting intervals some_date + INTERVAL '7 days' some_date - INTERVAL '1 month' -- Round down to a time boundary DATE_TRUNC('month', event_ts) -- Pull out individual components EXTRACT(YEAR FROM event_ts) EXTRACT(DOW FROM event_ts) -- Sunday = 0 -- Render as formatted text TO_CHAR(event_ts, 'YYYY-MM-DD') ``` -------------------------------- ### Get Inventory by SKU Source: https://github.com/vm0-ai/vm0-skills/blob/main/faire/SKILL.md Example cURL command to retrieve inventory levels for products using their SKUs. ```bash curl -s "https://www.faire.com/external-api/v2/product-inventory/by-skus?skus=" \ --header "X-FAIRE-ACCESS-TOKEN: $FAIRE_TOKEN" | jq . ``` -------------------------------- ### List Deployments Source: https://github.com/vm0-ai/vm0-skills/blob/main/v0/SKILL.md Example of how to list all available deployments. ```bash curl -s "https://api.v0.dev/v1/deployments" --header "Authorization: Bearer $V0_TOKEN" | jq '.data[] | {id, webUrl, status}' ``` -------------------------------- ### Examples - Authentication - Get Access Token Source: https://github.com/vm0-ai/vm0-skills/blob/main/lark/SKILL.md Example to get and display Lark tenant access token. ```bash cat > /tmp/lark_request.json </requirements?limit=1000" --header "Authorization: Bearer $ALTIUM365_TOKEN" --header "Accept: application/json" > /tmp/altium365_requirements.json ``` -------------------------------- ### Create Project Source: https://github.com/vm0-ai/vm0-skills/blob/main/v0/SKILL.md Example of how to create a new project to organize related chats. ```json { "name": "Customer Dashboard", "description": "Internal analytics dashboard for customer team", "privacy": "private" } ``` ```bash curl -s -X POST "https://api.v0.dev/v1/projects" --header "Authorization: Bearer $V0_TOKEN" --header "Content-Type: application/json" -d @/tmp/v0_request.json ``` -------------------------------- ### Get Call Details API Response Example Source: https://github.com/vm0-ai/vm0-skills/blob/main/agentphone/SKILL.md Example JSON response for the Get Call Details API endpoint, including transcripts. ```json { "id": "call_ghi012", "agentId": "agt_abc123", "phoneNumberId": "num_xyz789", "phoneNumber": "+15551234567", "fromNumber": "+15559876543", "toNumber": "+15551234567", "direction": "inbound", "status": "completed", "startedAt": "2025-01-15T14:00:00Z", "endedAt": "2025-01-15T14:05:30Z", "durationSeconds": 330, "recordingUrl": "https://api.twilio.com/2010-04-01/.../Recordings/RE...", "recordingAvailable": true, "transcripts": [ { "id": "tr_001", "transcript": "Hello! Thanks for calling Acme Corp. How can I help you today?", "confidence": 0.95, "response": "Sure! Could you please provide your order number?", "createdAt": "2025-01-15T14:00:05Z" }, { "id": "tr_002", "transcript": "Hi, I'd like to check the status of my order.", "confidence": 0.92, "response": "Of course! Let me look that up for you.", "createdAt": "2025-01-15T14:00:15Z" } ] } ``` -------------------------------- ### Start a Scenario Source: https://github.com/vm0-ai/vm0-skills/blob/main/make/SKILL.md Activate a scenario so it runs on its schedule. ```bash curl -s -X POST "https://eu1.make.com/api/v2/scenarios/SCENARIO_ID/start" --header "Authorization: Token $MAKE_TOKEN" | jq . ``` -------------------------------- ### Get an App (App REST API) Source: https://github.com/vm0-ai/vm0-skills/blob/main/base44/SKILL.md Example of how to retrieve details for a specific app using its ID via the App REST API. ```bash curl -s "https://app.base44.com/api/apps/" --header "Authorization: Bearer $BASE44_TOKEN" | jq . ``` -------------------------------- ### Get Property Source: https://github.com/vm0-ai/vm0-skills/blob/main/hubspot/SKILL.md Example of getting a specific property for contacts. ```bash curl -s "https://api.hubapi.com/crm/v3/properties/contacts/" \ --header "Authorization: Bearer $HUBSPOT_TOKEN" ``` -------------------------------- ### Resizing Example Source: https://github.com/vm0-ai/vm0-skills/blob/main/htmlcsstoimage/SKILL.md Demonstrates how to add query parameters for resizing. ```text Original: https://hcti.io/v1/image/ Thumbnail: https://hcti.io/v1/image/?width=200&height=200 ``` -------------------------------- ### Get Business Statistics Source: https://github.com/vm0-ai/vm0-skills/blob/main/explorium/SKILL.md Example of how to get business statistics by filtering. ```json { "filters": { "country": { "values": ["United States"] }, "industry": { "values": ["Software"] } } } ``` ```bash curl -s -X POST "https://api.explorium.ai/v1/businesses/stats" --header "Content-Type: application/json" --header "api_key: $EXPLORIUM_TOKEN" -d @/tmp/explorium_request.json | jq . ``` -------------------------------- ### Get Conversation Details Source: https://github.com/vm0-ai/vm0-skills/blob/main/chatwoot/SKILL.md Example of getting details of a specific conversation by ID. ```bash curl -s -X GET "https://app.chatwoot.com/api/v1/accounts/$CHATWOOT_ACCOUNT_ID/conversations/" -H "api_access_token: $CHATWOOT_TOKEN" ``` -------------------------------- ### Get Contact Details Source: https://github.com/vm0-ai/vm0-skills/blob/main/chatwoot/SKILL.md Example of getting specific contact details by ID. ```bash curl -s -X GET "https://app.chatwoot.com/api/v1/accounts/$CHATWOOT_ACCOUNT_ID/contacts/" -H "api_access_token: $CHATWOOT_TOKEN" ``` -------------------------------- ### Get EOR Start Date Availability Source: https://github.com/vm0-ai/vm0-skills/blob/main/deel/SKILL.md Checks availability for EOR start dates. ```bash curl -s "https://api.letsdeel.com/rest/v2/eor/start-date" \ --header "Authorization: Bearer $DEEL_TOKEN" ``` -------------------------------- ### Create an App (App REST API) Source: https://github.com/vm0-ai/vm0-skills/blob/main/base44/SKILL.md Example of how to create a new app using the Base44 App REST API. ```json { "name": "hello", "user_description": "Backend for 'hello'", "is_managed_source_code": false, "public_settings": "public_without_login" } ``` ```bash curl -s -X POST "https://app.base44.com/api/apps" --header "Authorization: Bearer $BASE44_TOKEN" --header "Content-Type: application/json" -d @/tmp/base44_create_app.json | jq . ``` -------------------------------- ### waitFor Options Example Source: https://github.com/vm0-ai/vm0-skills/blob/main/browserless/SKILL.md Example configuration for waitFor options. ```json { "waitForTimeout": 1000, "waitForSelector": {"selector": ".loaded", "timeout": 5000}, "waitForFunction": {"fn": "() => document.ready", "timeout": 5000} } ``` -------------------------------- ### Install by Direct Download Source: https://github.com/vm0-ai/vm0-skills/blob/main/README.md Commands to clone the repository and copy skills to personal or project directories. ```bash # Clone the repository git clone https://github.com/vm0-ai/vm0-skills.git # Copy to personal skills directory cp -a vm0-skills/notion ~/.claude/skills/ cp -a vm0-skills/slack-webhook ~/.claude/skills/ # Or copy to project directory cp -a vm0-skills/notion ./.claude/skills/ cp -a vm0-skills/slack-webhook ./.claude/skills/ ``` -------------------------------- ### Structured Queries with CTEs Source: https://github.com/vm0-ai/vm0-skills/blob/main/sql-cookbook/SKILL.md An example demonstrating the use of Common Table Expressions (CTEs) for structuring complex queries. ```sql WITH -- Stage 1: Narrow down to the target population eligible_users AS ( SELECT user_id, signup_date, tier FROM users WHERE signup_date >= DATE '2024-01-01' AND account_status = 'active' ), -- Stage 2: Derive per-user measures per_user AS ( SELECT u.user_id, u.tier, COUNT(DISTINCT e.session_id) AS sessions, SUM(e.revenue) AS revenue FROM eligible_users u LEFT JOIN events e ON u.user_id = e.user_id GROUP BY u.user_id, u.tier ), -- Stage 3: Roll up to tier-level summary tier_summary AS ( SELECT tier, COUNT(*) AS users, AVG(sessions) AS avg_sessions, SUM(revenue) AS total_revenue FROM per_user GROUP BY tier ) SELECT * FROM tier_summary ORDER BY total_revenue DESC; ``` -------------------------------- ### Full Cold Outreach Pipeline Example Source: https://github.com/vm0-ai/vm0-skills/blob/main/apollo/SKILL.md A multi-step workflow demonstrating a full cold outreach pipeline using Apollo.io API. ```bash # Step 1: Search for target people curl -s -X POST https://api.apollo.io/api/v1/mixed_people/api_search \ -H "x-api-key: $APOLLO_TOKEN" \ -H "Content-Type: application/json" \ -d '{"person_titles": ["VP Sales"], "per_page": 10}' # Step 2: Enrich to get email curl -s -X POST https://api.apollo.io/api/v1/people/match \ -H "x-api-key: $APOLLO_TOKEN" \ -H "Content-Type: application/json" \ -d '{"first_name": "Jane", "last_name": "Doe", "organization_name": "Acme"}' # Step 3: Add to sequence (requires Master API Key) curl -s -X POST "https://api.apollo.io/api/v1/emailer_campaigns/$SEQUENCE_ID/add_contact_ids" \ -H "x-api-key: $APOLLO_TOKEN" \ -H "Content-Type: application/json" \ -d "{"contact_ids": ["$CONTACT_ID"], "emailer_campaign_id": "$SEQUENCE_ID"}" ``` -------------------------------- ### Get Pipeline Stages Source: https://github.com/vm0-ai/vm0-skills/blob/main/hubspot/SKILL.md Example of getting pipeline stages for a specific deal pipeline. ```bash curl -s "https://api.hubapi.com/crm/v3/pipelines/deals//stages" \ --header "Authorization: Bearer $HUBSPOT_TOKEN" ``` -------------------------------- ### Get Account Billing Source: https://github.com/vm0-ai/vm0-skills/blob/main/browser-use/SKILL.md Check credit balances and plan information. ```bash curl -s "https://api.browser-use.com/api/v2/billing/account" --header "X-Browser-Use-API-Key: $BROWSER_USE_TOKEN" ``` -------------------------------- ### Get Freelancer Profile Example Source: https://github.com/vm0-ai/vm0-skills/blob/main/sproutgigs/SKILL.md Example of how to retrieve a freelancer's profile using their user ID. ```bash sproutgigs GET /profiles/get-profile.php '{"user_id": "123456"}' ``` -------------------------------- ### List Scenario Folders Source: https://github.com/vm0-ai/vm0-skills/blob/main/make/SKILL.md Get all scenario folders for a team. ```bash curl -s "https://eu1.make.com/api/v2/scenarios-folders?teamId=TEAM_ID" --header "Authorization: Token $MAKE_TOKEN" | jq '.scenariosFolders[] | {id, name}' ``` -------------------------------- ### Install and Run Local Browser Source: https://github.com/vm0-ai/vm0-skills/blob/main/local-browser/SKILL.md Install and run the VM0 Local Browser connector using npx. ```bash npx -y -p @vm0/cli zero local-browser ``` -------------------------------- ### Get Row Count Source: https://github.com/vm0-ai/vm0-skills/blob/main/supabase/SKILL.md Example using curl with 'Prefer: count=exact' header to get the total number of rows. ```bash curl -s "$SUPABASE_URL/rest/v1/users?select=*" -H "apikey: $SUPABASE_TOKEN" -H "Prefer: count=exact" -I | grep -i "content-range" ``` -------------------------------- ### People Search (Async) - Start Job Source: https://github.com/vm0-ai/vm0-skills/blob/main/nyne/SKILL.md Example using curl to start an asynchronous people search job. ```bash curl -s -X POST "https://api.nyne.ai/person/search" \ -H "X-API-Key: $NYNE_API_KEY" \ -H "X-API-Secret: $NYNE_API_SECRET" \ -H "Content-Type: application/json" \ -d '{"query": "Heads of Procurement at Fortune 500 manufacturers in Germany", "type": "premium", "limit": 25, "show_emails": true}' ``` -------------------------------- ### gotoOptions Example Source: https://github.com/vm0-ai/vm0-skills/blob/main/browserless/SKILL.md Example configuration for gotoOptions to control page navigation. ```json { "gotoOptions": { "waitUntil": "networkidle2", "timeout": 30000 } } ``` -------------------------------- ### Get Transcript Sentences Source: https://github.com/vm0-ai/vm0-skills/blob/main/fireflies/SKILL.md Example of how to query for the sentences of a transcript. ```json { "query": "query Transcript($transcriptId: String!) { transcript(id: $transcriptId) { id title sentences { index speaker_name text start_time end_time } } }", "variables": { "transcriptId": "your_transcript_id" } } ``` ```bash curl -s -X POST "https://api.fireflies.ai/graphql" --header "Content-Type: application/json" --header "Authorization: Bearer $FIREFLIES_TOKEN" -d @/tmp/fireflies_request.json | jq '.data.transcript.sentences' ``` -------------------------------- ### Generate App or UI from Prompt Source: https://github.com/vm0-ai/vm0-skills/blob/main/v0/SKILL.md Example of how to generate an app or UI component from a natural language prompt using the v0 API. ```json { "message": "Build a React dashboard with a sidebar, stats cards, and a line chart using Tailwind CSS" } ``` ```bash curl -s -X POST "https://api.v0.dev/v1/chats" --header "Authorization: Bearer $V0_TOKEN" --header "Content-Type: application/json" -d @/tmp/v0_request.json ``` -------------------------------- ### Create Setup Intent Source: https://github.com/vm0-ai/vm0-skills/blob/main/stripe/SKILL.md Creates a SetupIntent to save a customer's payment method for future payments. This is a server-side operation. ```text customer=&usage=off_session&automatic_payment_methods[enabled]=true ``` ```bash curl -s -u "$STRIPE_TOKEN:" -X POST "https://api.stripe.com/v1/setup_intents" -d @/tmp/stripe_request.txt | jq '{id, customer, status, client_secret}' ``` -------------------------------- ### Get Transcript Analytics Source: https://github.com/vm0-ai/vm0-skills/blob/main/fireflies/SKILL.md Example of how to query for analytics data of a transcript. ```json { "query": "query Transcript($transcriptId: String!) { transcript(id: $transcriptId) { id title analytics { sentiments { negative_pct neutral_pct positive_pct } speakers { name duration word_count words_per_minute questions filler_words } } } }", "variables": { "transcriptId": "your_transcript_id" } } ``` ```bash curl -s -X POST "https://api.fireflies.ai/graphql" --header "Content-Type: application/json" --header "Authorization: Bearer $FIREFLIES_TOKEN" -d @/tmp/fireflies_request.json | jq '.data.transcript.analytics' ``` -------------------------------- ### Get an Agent Source: https://github.com/vm0-ai/vm0-skills/blob/main/agentphone/SKILL.md Example request to retrieve a specific agent by its ID. ```bash curl https://api.agentphone.to/v1/agents/AGENT_ID \ -H "Authorization: Bearer $AGENTPHONE_TOKEN" ``` -------------------------------- ### Run a Scenario On Demand (With Input Data) Source: https://github.com/vm0-ai/vm0-skills/blob/main/make/SKILL.md Execute a scenario immediately with input data. ```bash curl -s -X POST "https://eu1.make.com/api/v2/scenarios/SCENARIO_ID/run" --header "Content-Type: application/json" --header "Authorization: Token $MAKE_TOKEN" -d @/tmp/make_request.json | jq . ``` -------------------------------- ### Get Company Details Response Source: https://github.com/vm0-ai/vm0-skills/blob/main/reportei/SKILL.md Example JSON response for company details. ```json { "company": { "id": 1, "name": "Your Company", "logo": "logo.jpeg", "type": "agency", "potential_clients": "11-15", "company_specialty": "paid traffic" } } ``` -------------------------------- ### Deployment Instructions Source: https://github.com/vm0-ai/vm0-skills/blob/main/workflow-migration/SKILL.md Instructions for deploying and running the VM0 agent after migration. ```bash ✅ Migration complete! Your VM0 agent is ready. Here's how to use it: 1. Deploy to VM0 cloud: vm0 cook 2. Run your workflow: vm0 run "{trigger phrase}" 3. View logs: vm0 logs Files created: - vm0.yaml: Agent configuration - AGENTS.md: Agent instructions - Dockerfile: Container definition - .env: Environment variables (local only) - README.md: Documentation Next steps: - Set secrets in VM0 dashboard for production use - Schedule periodic runs if needed - Monitor agent performance ``` -------------------------------- ### Query Sessions by User Metadata (Environment Example) Source: https://github.com/vm0-ai/vm0-skills/blob/main/browserbase/SKILL.md Example query for sessions by environment user metadata. ```text user_metadata['env']:'production' ``` ```bash curl -s -X GET -G "https://api.browserbase.com/v1/sessions" --data-urlencode "q@/tmp/query.txt" --header "X-BB-API-Key: $BROWSERBASE_TOKEN" ``` -------------------------------- ### Streaming Response Source: https://github.com/vm0-ai/vm0-skills/blob/main/novita/SKILL.md Example of how to get a streaming response from the chat completion API. ```json { "model": "deepseek/deepseek-v3-0324", "messages": [{"role": "user", "content": "Write a haiku about open-source AI."}], "stream": true, "max_tokens": 128 } ``` ```bash curl -s "https://api.novita.ai/openai/v1/chat/completions" --header "Content-Type: application/json" --header "Authorization: Bearer $NOVITA_TOKEN" -d @/tmp/novita_stream.json ``` -------------------------------- ### List Apps (App REST API) Source: https://github.com/vm0-ai/vm0-skills/blob/main/base44/SKILL.md Example of how to list apps using the Base44 App REST API. ```bash curl -s "https://app.base44.com/api/apps?limit=10" --header "Authorization: Bearer $BASE44_TOKEN" | jq . ``` -------------------------------- ### Get Calendar Source: https://github.com/vm0-ai/vm0-skills/blob/main/luma/SKILL.md Example curl command to retrieve calendar information. ```bash curl -s "https://public-api.luma.com/v1/calendar/get" \ -H "x-luma-api-key: $LUMA_API_KEY" ``` -------------------------------- ### Match a Business Source: https://github.com/vm0-ai/vm0-skills/blob/main/explorium/SKILL.md Example of how to match a business by name or website to get its business_id. ```json { "name": "Explorium", "website": "explorium.ai" } ``` ```bash curl -s -X POST "https://api.explorium.ai/v1/businesses/match" --header "Content-Type: application/json" --header "api_key: $EXPLORIUM_TOKEN" -d @/tmp/explorium_request.json | jq . ``` -------------------------------- ### List Scenarios (Basic) Source: https://github.com/vm0-ai/vm0-skills/blob/main/make/SKILL.md Retrieve all scenarios for a team. Replace TEAM_ID with the team ID. ```bash curl -s "https://eu1.make.com/api/v2/scenarios?teamId=TEAM_ID" --header "Authorization: Token $MAKE_TOKEN" | jq '.scenarios[] | {id, name, isEnabled, scheduling}' ``` -------------------------------- ### Get Rendered HTML Source: https://github.com/vm0-ai/vm0-skills/blob/main/browserless/SKILL.md Get the fully rendered HTML of a page after JavaScript execution. This example specifies the URL and a wait condition, then makes a POST request to the content endpoint. ```json { "url": "https://example.com", "gotoOptions": { "waitUntil": "networkidle0" } } ``` ```bash curl -s -X POST "https://production-sfo.browserless.io/content?token=$BROWSERLESS_TOKEN" --header "Content-Type: application/json" -d @/tmp/browserless_request.json ``` -------------------------------- ### Run a Task with Advanced Settings Source: https://github.com/vm0-ai/vm0-skills/blob/main/browser-use/SKILL.md Customize the model, timeouts, and browser behavior. ```json { "task": "Go to linkedin.com and find the CEO of Anthropic.", "browserSettings": { "viewport": { "width": 1280, "height": 800 } }, "maxSteps": 30, "useVision": true } ``` ```bash curl -s -X POST "https://api.browser-use.com/api/v2/tasks" --header "X-Browser-Use-API-Key: $BROWSER_USE_TOKEN" --header "Content-Type: application/json" -d @/tmp/browser_use_task.json ``` -------------------------------- ### Get Generation Result Request Source: https://github.com/vm0-ai/vm0-skills/blob/main/lovart/SKILL.md Example cURL command to retrieve the result of a generation request. ```bash TIMESTAMP=$(date +%s) && SIGNATURE=$(echo -ne "GET\n/v1/openapi/chat/result\n${TIMESTAMP}" | openssl dgst -sha256 -hmac "$LOVART_SECRET_KEY" | awk '{print $NF}') && curl -s "https://lgw.lovart.ai/v1/openapi/chat/result?thread_id=" --header "X-Access-Key: $LOVART_ACCESS_KEY" --header "X-Timestamp: ${TIMESTAMP}" --header "X-Signature: ${SIGNATURE}" --header "X-Signed-Method: GET" --header "X-Signed-Path: /v1/openapi/chat/result" ``` -------------------------------- ### Batch Create Examples Source: https://github.com/vm0-ai/vm0-skills/blob/main/langsmith/SKILL.md Create multiple examples in a single API call by providing a JSON file with inputs, outputs, and dataset ID. ```json { "inputs": [ {"question": "What is 2+2?"}, {"question": "What is the capital of France?"} ], "outputs": [ {"answer": "4"}, {"answer": "Paris"} ], "dataset_id": "" } ``` ```bash curl -s -X POST "https://api.smith.langchain.com/api/v1/examples/bulk" --header "X-Api-Key: $LANGSMITH_TOKEN" --header "Content-Type: application/json" -d @/tmp/langsmith_examples_batch.json ``` -------------------------------- ### Driving Directions Source: https://github.com/vm0-ai/vm0-skills/blob/main/mapbox/SKILL.md Example of how to get driving directions between two points using curl. ```bash curl -s -G "https://api.mapbox.com/directions/v5/mapbox/driving/116.4074,39.9042;117.2010,39.0851" \ --data-urlencode "geometries=geojson" \ --data-urlencode "overview=full" \ --data-urlencode "access_token=$MAPBOX_TOKEN" ``` -------------------------------- ### Publish an Article Example Source: https://github.com/vm0-ai/vm0-skills/blob/main/qiita/SKILL.md Examples of publishing an article directly or from a file. ```bash # Post from command line scripts/qiita.sh item post --title "Getting Started with Docker" --body "# Introduction Docker is a containerization platform..." --tags "Docker,DevOps,Tutorial" # Post from file scripts/qiita.sh item post --title "My Technical Article" --body-file ./my-article.md --tags "Programming" ``` -------------------------------- ### List Connections Source: https://github.com/vm0-ai/vm0-skills/blob/main/make/SKILL.md Retrieve all connections for a team. ```bash curl -s "https://eu1.make.com/api/v2/connections?teamId=TEAM_ID" --header "Authorization: Token $MAKE_TOKEN" | jq '.connections[] | {id, name, accountName, accountType}' ``` -------------------------------- ### Enrich Prospect Contact Information Source: https://github.com/vm0-ai/vm0-skills/blob/main/explorium/SKILL.md Example of how to get contact details for a specific prospect. ```json { "prospect_id": "" } ``` ```bash curl -s -X POST "https://api.explorium.ai/v1/prospects/contacts_information/enrich" --header "Content-Type: application/json" --header "api_key: $EXPLORIUM_TOKEN" -d @/tmp/explorium_request.json | jq . ``` -------------------------------- ### Get Listing Inventory Source: https://github.com/vm0-ai/vm0-skills/blob/main/etsy/SKILL.md Example cURL command to retrieve inventory information for a listing. ```bash curl -s "https://openapi.etsy.com/v3/application/listings//inventory" --header "x-api-key: $ETSY_TOKEN" ``` -------------------------------- ### List All Chats Source: https://github.com/vm0-ai/vm0-skills/blob/main/v0/SKILL.md Example of how to list all available chats. ```bash curl -s "https://api.v0.dev/v1/chats" --header "Authorization: Bearer $V0_TOKEN" | jq '.data[] | {id, name, webUrl}' ``` -------------------------------- ### Get Listing Images Source: https://github.com/vm0-ai/vm0-skills/blob/main/etsy/SKILL.md Example cURL command to retrieve images for a specific listing. ```bash curl -s "https://openapi.etsy.com/v3/application/listings//images" --header "x-api-key: $ETSY_TOKEN" ``` -------------------------------- ### vm0.yaml Example Source: https://github.com/vm0-ai/vm0-skills/blob/main/workflow-migration/SKILL.md An example vm0.yaml configuration file for the 'world-news-summary' project, specifying the agent, provider, instructions, skills, environment variables, and secrets. ```yaml version: "1.0" agents: world-news-summary: provider: claude-code instructions: AGENTS.md # VM0 skills for Notion integration skills: - https://github.com/vm0-ai/vm0-skills/tree/main/notion environment: # Claude Code OAuth token CLAUDE_CODE_OAUTH_TOKEN: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} # Notion credentials (skill uses NOTION_TOKEN) NOTION_TOKEN: ${{ secrets.NOTION_TOKEN }} NOTION_TOKEN: ${{ secrets.NOTION_TOKEN }} DATABASE_ID: ${{ secrets.DATABASE_ID }} # Optional: News categories to cover NEWS_CATEGORIES: ${{ vars.NEWS_CATEGORIES }} ``` -------------------------------- ### Publish Immediately Source: https://github.com/vm0-ai/vm0-skills/blob/main/devto/SKILL.md Example of publishing an article immediately by setting 'published' to true. ```json { "article": { "title": "Published Article", "body_markdown": "Content here...", "published": true, "tags": ["tutorial"] } } ``` ```bash curl -s -X POST "https://dev.to/api/articles" -H "api-key: $DEVTO_TOKEN" -H "Content-Type: application/json" -d @/tmp/devto_request.json | jq '{id, url, published}' ``` -------------------------------- ### Get a Single Listing Source: https://github.com/vm0-ai/vm0-skills/blob/main/etsy/SKILL.md Example cURL command to retrieve details for a single listing. ```bash curl -s "https://openapi.etsy.com/v3/application/listings/" --header "x-api-key: $ETSY_TOKEN" ``` -------------------------------- ### List Lead Lists Source: https://github.com/vm0-ai/vm0-skills/blob/main/instantly/SKILL.md Get all lead lists from the API. ```bash curl -s "https://api.instantly.ai/api/v2/lead-lists" -H "Authorization: Bearer $INSTANTLY_API_KEY" | jq '.items[] | {id, name}' ``` -------------------------------- ### Filtering Reference - Starts With Source: https://github.com/vm0-ai/vm0-skills/blob/main/strapi/SKILL.md Example of using the $startsWith operator for filtering in Strapi. ```bash filters[title][$startsWith]=He ``` -------------------------------- ### OKR Worked Example Source: https://github.com/vm0-ai/vm0-skills/blob/main/product-metrics/SKILL.md An example of how to structure Objectives and Key Results for goal setting. ```text Objective: Become an essential part of our users' daily routine Key Results: - Raise DAU/MAU stickiness from 0.35 to 0.50 - Improve 30-day retention for new cohorts from 40% to 55% - Achieve >80% task completion rate across three primary workflows ``` -------------------------------- ### List Guests Source: https://github.com/vm0-ai/vm0-skills/blob/main/luma/SKILL.md Example curl command to get a paginated list of guests for an event. ```bash curl -s "https://public-api.luma.com/v1/event/get-guests?event_id=$EVENT_ID&pagination_limit=50" \ -H "x-luma-api-key: $LUMA_API_KEY" ``` -------------------------------- ### Get Event Source: https://github.com/vm0-ai/vm0-skills/blob/main/luma/SKILL.md Example curl command to retrieve admin information about a specific event. ```bash curl -s "https://public-api.luma.com/v1/event/get?id=$EVENT_ID" \ -H "x-luma-api-key: $LUMA_API_KEY" ``` -------------------------------- ### Query Sessions by User Metadata (Stagehand Example) Source: https://github.com/vm0-ai/vm0-skills/blob/main/browserbase/SKILL.md Example query for sessions by stagehand user metadata. ```text user_metadata['stagehand']:'true' ``` ```bash curl -s -X GET -G "https://api.browserbase.com/v1/sessions" --data-urlencode "q@/tmp/query.txt" --header "X-BB-API-Key: $BROWSERBASE_TOKEN" ``` -------------------------------- ### Account Overview Response Source: https://github.com/vm0-ai/vm0-skills/blob/main/agentphone/SKILL.md Example JSON response for the Get Account Overview API call. ```json { "plan": { "name": "free", "numberLimit": 1 }, "numbers": { "used": 1, "limit": 1 }, "stats": { "messagesLast30d": 42, "callsLast30d": 15, "minutesLast30d": 67 } } ``` -------------------------------- ### List Scenarios (Paginated) Source: https://github.com/vm0-ai/vm0-skills/blob/main/make/SKILL.md Paginate scenario retrieval with offset and limit. ```bash curl -s "https://eu1.make.com/api/v2/scenarios?teamId=TEAM_ID&pg%5Boffset%5D=0&pg%5Blimit%5D=20" --header "Authorization: Token $MAKE_TOKEN" | jq '.scenarios[] | {id, name}' ``` -------------------------------- ### Get an Agent Source: https://github.com/vm0-ai/vm0-skills/blob/main/anthropic-managed-agents/SKILL.md Example of retrieving details for a specific agent using its ID. ```bash curl -s "https://api.anthropic.com/v1/agents/" \ -H "x-api-key: $ANTHROPIC_MANAGED_AGENTS_TOKEN" \ -H "anthropic-version: 2023-06-01" \ -H "anthropic-beta: managed-agents-2026-04-01" | jq '.' ``` -------------------------------- ### Get Link Click Statistics Source: https://github.com/vm0-ai/vm0-skills/blob/main/shortio/SKILL.md Example of retrieving click counts for specific links via curl. ```bash curl -s -X GET "https://api.short.io/domains/$SHORTIO_DOMAIN_ID/link_clicks?link_ids=${LINK_ID}" --header "Authorization: $SHORTIO_TOKEN" --header "Accept: application/json" | jq '{linkId: .linkId, clicks}' ``` -------------------------------- ### List Objects Source: https://github.com/vm0-ai/vm0-skills/blob/main/attio/SKILL.md Return every object in the workspace, including custom ones. ```bash curl -s "https://api.attio.com/v2/objects" --header "Authorization: Bearer $ATTIO_TOKEN" ``` -------------------------------- ### Resolve an Agent Address Source: https://github.com/vm0-ai/vm0-skills/blob/main/msg9/SKILL.md Example of how to resolve an agent address to get their profile, skills, and metadata. ```bash curl -s "https://www.msg9.io/api/v1/resolve/alice@msg9.io" ``` -------------------------------- ### Create Project Source: https://github.com/vm0-ai/vm0-skills/blob/main/vercel/SKILL.md Creates a new project. Only 'name' is required. Optional parameters include 'framework', 'buildCommand', 'outputDirectory', 'rootDirectory', and 'installCommand'. ```bash curl -s -X POST "https://api.vercel.com/v11/projects" \ --header "Authorization: Bearer $VERCEL_TOKEN" \ --header "Content-Type: application/json" \ -d "{\"name\": \"my-new-project\", \"framework\": \"nextjs\"}" ``` -------------------------------- ### Get Contact by ID Source: https://github.com/vm0-ai/vm0-skills/blob/main/hubspot/SKILL.md Example of retrieving a specific contact by its ID, including custom properties. ```bash curl -s "https://api.hubapi.com/crm/v3/objects/contacts/?properties=firstname,lastname,email,phone,company" \ --header "Authorization: Bearer $HUBSPOT_TOKEN" ``` -------------------------------- ### Run a Task Source: https://github.com/vm0-ai/vm0-skills/blob/main/browser-use/SKILL.md Submit a natural-language task. The agent will open a browser and complete it. ```json { "task": "Search for the top Hacker News post and return the title and URL." } ``` ```bash curl -s -X POST "https://api.browser-use.com/api/v2/tasks" --header "X-Browser-Use-API-Key: $BROWSER_USE_TOKEN" --header "Content-Type: application/json" -d @/tmp/browser_use_task.json ``` -------------------------------- ### Install using Claude Code Marketplace Source: https://github.com/vm0-ai/vm0-skills/blob/main/README.md Commands to add the vm0-ai/vm0-skills marketplace and install specific skills. ```bash # Add marketplace /plugin marketplace add vm0-ai/vm0-skills # Install specific skills /plugin install notion@vm0-skills /plugin install slack-webhook@vm0-skills ``` -------------------------------- ### Get a Single Candidate Source: https://github.com/vm0-ai/vm0-skills/blob/main/greenhouse/SKILL.md Example cURL command to retrieve a single candidate's details. ```bash curl -s "https://harvest.greenhouse.io/v1/candidates/" --header "Authorization: Basic $(printf "%s:" "$GREENHOUSE_TOKEN" | base64 -w 0)" ``` -------------------------------- ### Get a Specific Product Source: https://github.com/vm0-ai/vm0-skills/blob/main/faire/SKILL.md Example cURL command to retrieve details for a specific product using its ID. ```bash curl -s "https://www.faire.com/external-api/v2/products/" \ --header "X-FAIRE-ACCESS-TOKEN: $FAIRE_TOKEN" | jq . ``` -------------------------------- ### Create Project Directory Source: https://github.com/vm0-ai/vm0-skills/blob/main/workflow-migration/SKILL.md Creates a new directory for the skill and navigates into it. ```bash mkdir -p ~/Desktop/{skill-name} cd ~/Desktop/{skill-name} ``` -------------------------------- ### List Tasks Source: https://github.com/vm0-ai/vm0-skills/blob/main/browser-use/SKILL.md List all tasks associated with the API key. ```bash curl -s "https://api.browser-use.com/api/v2/tasks" --header "X-Browser-Use-API-Key: $BROWSER_USE_TOKEN" ``` -------------------------------- ### Get a Specific Order Source: https://github.com/vm0-ai/vm0-skills/blob/main/faire/SKILL.md Example cURL command to retrieve details for a specific order using its ID. ```bash curl -s "https://www.faire.com/external-api/v2/orders/" \ --header "X-FAIRE-ACCESS-TOKEN: $FAIRE_TOKEN" | jq . ``` -------------------------------- ### Get Shop by Shop ID Source: https://github.com/vm0-ai/vm0-skills/blob/main/etsy/SKILL.md Example cURL command to retrieve shop details using its ID. ```bash curl -s "https://openapi.etsy.com/v3/application/shops/" --header "x-api-key: $ETSY_TOKEN" ``` -------------------------------- ### Create a New Board Source: https://github.com/vm0-ai/vm0-skills/blob/main/monday/SKILL.md Example of creating a new board using a GraphQL mutation. ```json { "query": "mutation { create_board (board_name: \"My New Board\", board_kind: public) { id name } }" } ``` ```bash curl -s -X POST "https://api.monday.com/v2" --header "Authorization: $MONDAY_TOKEN" --header "API-Version: 2024-10" --header "Content-Type: application/json" -d @/tmp/monday_request.json ``` -------------------------------- ### Describe Available Tables (Batch API) Source: https://github.com/vm0-ai/vm0-skills/blob/main/similarweb/SKILL.md Describe available tables in the Batch API. ```bash curl -s "https://api.similarweb.com/v3/batch/tables/describe" --header "api-key: $SIMILARWEB_TOKEN" | jq '.tables[] | {name, description}' ``` -------------------------------- ### Stat a File (JSON Metadata) Source: https://github.com/vm0-ai/vm0-skills/blob/main/drive9/SKILL.md Example using curl to get JSON metadata stat information. ```bash curl -s "https://api.drive9.ai/v1/fs/?stat" --header "Authorization: Bearer $DRIVE9_TOKEN" ``` -------------------------------- ### Stat a File (Headers) Source: https://github.com/vm0-ai/vm0-skills/blob/main/drive9/SKILL.md Example using curl to get lightweight stat information via headers. ```bash curl -s -I "https://api.drive9.ai/v1/fs/" --header "Authorization: Bearer $DRIVE9_TOKEN" ``` -------------------------------- ### Create a Note Source: https://github.com/vm0-ai/vm0-skills/blob/main/attio/SKILL.md Creates a new note with specified format (plaintext or markdown), content, and parent object/record. ```json { "data": { "parent_object": "companies", "parent_record_id": "", "title": "Discovery call recap", "format": "markdown", "content": "## Key takeaways\n- Budget approved\n- Decision by EOQ" } } ``` ```bash curl -s -X POST "https://api.attio.com/v2/notes" --header "Authorization: Bearer $ATTIO_TOKEN" --header "Content-Type: application/json" -d @/tmp/attio_create_note.json ``` -------------------------------- ### List Data Stores Source: https://github.com/vm0-ai/vm0-skills/blob/main/make/SKILL.md Get all data stores for a team. ```bash curl -s "https://eu1.make.com/api/v2/data-stores?teamId=TEAM_ID" --header "Authorization: Token $MAKE_TOKEN" | jq '.dataStores[] | {id, name, records, size}' ``` -------------------------------- ### Basic export request Source: https://github.com/vm0-ai/vm0-skills/blob/main/browserless/SKILL.md Example JSON payload for the /export endpoint to fetch a URL and get its content. ```json { "url": "https://example.com" } ``` ```bash curl -s -X POST "https://production-sfo.browserless.io/export?token=$BROWSERLESS_TOKEN" --header "Content-Type: application/json" -d @/tmp/browserless_request.json --output page.html ``` -------------------------------- ### Create Project Source: https://github.com/vm0-ai/vm0-skills/blob/main/todoist/SKILL.md Creates a new project in Todoist. ```bash curl -s -X POST "https://api.todoist.com/rest/v2/projects" --header "Authorization: Bearer $TODOIST_TOKEN" --header "Content-Type: application/json" -d @/tmp/todoist_request.json | jq '{id, name, url}' ``` -------------------------------- ### Get All Projects Source: https://github.com/vm0-ai/vm0-skills/blob/main/todoist/SKILL.md Fetches all projects from Todoist. ```bash curl -s "https://api.todoist.com/rest/v2/projects" --header "Authorization: Bearer $TODOIST_TOKEN" | jq '.[] | {id, name, color, is_favorite}' ```