Skill instructions
youtube-connect2.4 KB
View saved version →
---
name: youtube-connect
description: Connect, reconnect, or add YouTube channels to Windsor.ai and resolve which connected channel a request means. Use when the user wants to connect a channel, asks what is connected, or hits a permission error or a read-only access message. Do not use for analysis, changes, or exports.
---
# Connect YouTube channels
Help the user connect, reconnect, or add a YouTube channel to Windsor.ai (connector id `youtube`), and resolve which connected channel a request refers to.
## Stay in scope
- Use this skill when the user wants to connect a channel, add another one, reconnect after a permission error, or asks which channels are connected.
- For analysis use $youtube-insights; for confirmed changes on the channel use $youtube-manage; for recurring exports use $youtube-export.
## Workflow
1. Call get_connectors with include_not_yet_connected=True to see whether `youtube` has connected channels.
2. For a connection, call get_connector_authorization_url for a ready-to-open setup link (YouTube uses Google sign-in), or get_connector_connect_info for the auth details. Hand the user the link and tell them to authorize with the Google account that owns or manages the channel. Google's screen lists a permission to manage the channel; it is needed for reading comments and for changes, and analytics work without it.
3. Never ask the user to paste tokens or passwords into the chat, and never describe manual dashboard navigation instead of giving the link.
4. After they finish, call get_connectors again and confirm the new channel by name.
## Channel resolution
- If a request names a channel, match it to a connected account id. If several channels could match, ask which one before any read.
- A permission error on a read usually means the Google account lacks access to that channel; reconnect through the same setup link with the right account.
- A message that the connection has read-only access means the channel was connected without the channel management permission. Give the setup link again and ask the user to keep every permission ticked on Google's screen.
## Support
- get_windsor_login_url gives an auto-login link into the Windsor.ai dashboard; get_current_user shows who is signed in; contact_windsor files a support or feature request. Never discuss plans or pricing.
## Answer with evidence
State which channels are connected, which are not, and the exact next step with its link.
Referenced files: 1 — file references are metadata, not package contents.
youtube-export1.86 KB
View saved version →
---
name: youtube-export
description: Set up and review recurring exports of the user's YouTube channel and video analytics to warehouses, databases, spreadsheets, or cloud storage through Windsor.ai (BigQuery, Snowflake, Google Sheets, PostgreSQL, S3, and more). Use for scheduled, daily, weekly, or automated exports and syncs. Do not use for a one-off answer.
---
# Export YouTube analytics on a schedule
Set up recurring exports of connected YouTube data (connector id `youtube`) to a warehouse, database, spreadsheet, or cloud storage through Windsor.ai, for example daily video views and watch time to BigQuery, or a weekly channel summary to Google Sheets.
## Stay in scope
- Use this skill for recurring, scheduled, daily, weekly, or automated exports and syncs, and for questions about existing export tasks.
- A one-off answer is $youtube-insights, not an export.
## Workflow
1. Call get_destination_tasks to see existing exports and avoid duplicates.
2. Call get_connectors to confirm the channels to export.
3. Call get_destinations to list destinations; note which have create_in_chat true and any reusable credentials.
4. Call get_destination_setup_info for the chosen destination to get its target fields, allowed schedules, and credential_id options.
5. Call get_fields for `youtube` to get the exact field ids to export.
6. Confirm channels, fields, destination target, credential, and schedule with the user, then call create_destination_task once. If create_in_chat is false, hand the user the setup_url instead.
## Rules
- Prefer a rolling date_preset (for example last_7d) over fixed dates so each run stays fresh.
- Never put secrets in config; sensitive values are entered by the user in the setup_url form.
- Report the created task's id, schedule, and manage_url from the tool result.
## Hand-offs
- Reporting -> $youtube-insights. Connecting a channel -> $youtube-connect.
Referenced files: 1 — file references are metadata, not package contents.
youtube-help2.55 KB
View saved version →
---
name: youtube-help
description: Explain what this Windsor.ai app for YouTube covers (analytics for the user's own channels, plus confirmed video uploads, comment replies, comment moderation, video detail updates, and playlist changes), what it does not (thumbnails, YouTube Ads, other channels' data), and which skill handles a request. Use when the user asks what the app can do or asks for something outside its scope.
---
# What this app can do
This app reads analytics for the user's own connected YouTube channels through Windsor.ai (connector id `youtube`): views, watch time, average view duration, subscribers gained and lost, likes, comments, shares, and traffic sources, per channel, per video, and by day, week, or month. It also reads the search terms and external sites behind the views, audience retention per video, views by device, operating system, playback location, country, and subscribed status, viewer age and gender shares, playlist performance, and the comments on the channel's videos.
After the user confirms each change, it can upload a video from a public link, reply to comments, hold, publish, or reject comments, delete the channel's own replies, update a video's title, description, tags, category, and privacy status, and add videos to or remove them from playlists.
It does not set thumbnails or captions, change channel settings, read other channels' public statistics, or report YouTube Ads spend (that is Google Ads, covered by the Windsor.ai Google Ads listing). Thumbnail impressions, thumbnail click-through rate, and unique viewers are not in the data.
## Route the request
- Reports, rankings, comparisons, trends -> $youtube-insights
- Replies, moderation, video detail updates, playlist changes (confirmed) -> $youtube-manage
- Connecting, reconnecting, adding a channel, or asking what is connected -> $youtube-connect
- Recurring exports and syncs -> $youtube-export
- What the app covers and does not -> $youtube-help
## Answering "what can you do"
- Call get_connectors with include_not_yet_connected=True and answer from it: which channels are connected, and which write actions and options exist. Do not list capabilities the tool result does not show.
- Comments and changes need the channel management permission from Google; a channel connected without it needs one reconnect ($youtube-connect).
## Out of scope
- Data from other platforms: name the Windsor.ai listing that covers them instead of attempting the read.
- Generating thumbnails or other images, general advice unrelated to the connected channels, or anything about plans and pricing.
Referenced files: 1 — file references are metadata, not package contents.
youtube-insights3.93 KB
View saved version →
---
name: youtube-insights
description: Report, rank, compare, and trend the performance of the user's own YouTube channels and videos through Windsor.ai - views, watch time, average view duration, subscribers gained and lost, likes, comments, shares, traffic sources, search terms, audience retention, devices, and the comments on videos, per channel, per video, and by day, week, or month. Use when the user asks how their channel or videos are doing. This skill only reads - route changes, connecting a channel, and exports to the sibling skills.
---
# YouTube insights
Read analytics for the user's connected YouTube channels through Windsor.ai and turn them into a clear report, ranking, comparison, or trend. The connector id is `youtube`. This skill only reads; confirmed changes on the channel go to $youtube-manage.
## Resolve scope and time
- Call get_connectors first to see which channels are connected. If none is, hand off to $youtube-connect. If several channels match, ask which one.
- Read field ids from get_fields for `youtube`, and get_options for date-filter columns and connector options. Never guess field names, channel ids, or video ids.
- Use the date range the user gave. If none, use a sensible preset (last_30d, this_month, last_7d) and state which one you used. Append T to a preset to include today.
## Choose the smallest useful read
- Top videos -> fields [video title or id, views, watch time], rank in the answer and name the metric used. If "best" or "top" has no metric, ask which one.
- Channel trend -> fields [date, views, subscribers gained] over the preset; report direction and magnitude, and net subscribers if lost is available.
- Traffic sources -> fields [traffic source, views]; share of views per source.
- Engagement -> likes, comments, shares against views; say when views are zero.
- Search terms -> fields [traffic source, traffic source detail, views]. The detail is the search term for YouTube search and the site for external traffic: the top 25 per source for the whole channel, not per video, and YouTube hides details with few views.
- Audience retention -> needs one video, or a short list, as a filter. It returns 100 points along the video with the share of viewers still watching and how that compares with videos of similar length.
- Device, operating system, playback location, subscribed status, country -> one breakdown per read. Device and playback location cannot be combined in one read.
- Age and gender -> viewer percentage only, for the whole channel and the whole date range.
- Comments -> comment text, author, date, likes, and reply count per video. This read needs the channel management permission; if it answers that the connection has read-only access, hand off to $youtube-connect.
- Keep field sets small and check for truncated or paginated results before claiming complete coverage.
## Accuracy guardrails
- Watch time units come from the field definition; state minutes or hours explicitly.
- Analytics for the most recent day or two can still be incomplete; say so when the range includes today or yesterday.
- If a field the user wants is not in get_fields, say so rather than substituting a different metric. Thumbnail impressions, thumbnail click-through rate, and unique viewers are not in the data.
- Public data about other channels is not available: this app reads only the user's connected channels.
## Answer with evidence
Lead with the requested result, then state the channel, the time window, and the numbers behind the conclusion. Keep internal ids and raw JSON out of the answer unless the user asks for them.
## Route the request
- Reports, rankings, comparisons, trends -> $youtube-insights
- Replies, moderation, video detail updates, playlist changes (confirmed) -> $youtube-manage
- Connecting, reconnecting, adding a channel, or asking what is connected -> $youtube-connect
- Recurring exports and syncs -> $youtube-export
- What the app covers and does not -> $youtube-help
Never offer
Preview of the first 4,000 characters. Read full instructions →
Referenced files: 1 — file references are metadata, not package contents.
youtube-manage3.95 KB
View saved version →
---
name: youtube-manage
description: Make confirmed changes on the user's own YouTube channel through Windsor.ai - upload a video from a public link, reply to comments, hold, publish, or reject comments, delete the channel's own replies, update a video's title, description, tags, category, and privacy status, and add videos to or remove them from playlists. Use when the user wants to reply, moderate, edit, rename, retag, or reorganize something on the channel. Read the item first, show the exact change, execute only after an explicit yes. Do not use for reports, connecting a channel, or exports.
---
# Manage a YouTube channel
Make changes on a connected YouTube channel through Windsor.ai (connector id `youtube`): upload videos, reply to comments, moderate comments, update video details, and manage playlist entries.
## Non-negotiable contract
- Every change is a write on the user's public channel. Read the current state first, show the exact change (video or comment, old value, new value), and execute only after an explicit yes for that change.
- The actions and their required fields are whatever list_actions returns. Build params from that schema, not from memory.
- One change per confirmation unless the user approved an explicit list.
- Never run an action to test whether it works.
## Workflow
1. Call get_connectors to pick the channel; ask if several match.
2. Read what the change applies to with get_data: videos (video id, title, description, tags, privacy status), comments (comment id, text, author, video), or playlists (playlist id, title). Field ids come from get_fields.
3. Call list_actions and read the schema of the action.
4. Present the change in full and ask for confirmation.
5. After an explicit yes, call execute_action once and report the result from the tool response.
## Rules by action
- Video details: send only the details the user wants changed. Tags are replaced as a whole list, so show the full new list, including the tags that stay. A privacy change to public or private takes effect at once; name it clearly in the confirmation.
- Replies: show the exact reply text and the comment it answers. Replies are public and posted as the channel.
- Moderation: holding a comment for review hides it until a moderator acts; rejecting removes it from public view with its replies and cannot be reversed; banning the author is a separate choice the user must ask for. Prefer holding over rejecting unless the user asks to reject.
- Deleting: only the channel's own comments and replies can be deleted, and it is permanent.
- Playlists: adding a video the playlist already holds changes nothing; removing takes out every entry of that video. The video itself stays on the channel.
- Uploads: `upload_video` takes a public link to the file (at most 100 MB), a title and whether the video is made for kids; privacy defaults to private. A scheduled publish time works only on a private upload. Confirm the title, privacy and schedule before uploading; YouTube needs a few minutes to process the video.
- Each change uses part of the channel's daily YouTube API quota. For a long list, say how many changes will run before starting.
## Permission
- Comments and changes need the channel management permission from Google. If a read of comments or an action answers that the connection has read-only access, give the user the reconnect link from that message or from get_connector_authorization_url and ask them to keep every permission ticked on Google's screen. Analytics keep working without it.
## Out of scope
- Thumbnails, captions, and channel settings are not part of this app. Say so instead of attempting them.
- Reporting -> $youtube-insights. Connecting a channel -> $youtube-connect. Recurring exports -> $youtube-export.
## Answer with evidence
Report exactly what changed, on which video, comment, or playlist, using the execute_action result. If the result is uncertain (for example a timeout on a reply), say that it may or may not hav
Preview of the first 4,000 characters. Read full instructions →
Referenced files: 1 — file references are metadata, not package contents.