/ocean-watch:ads-plan-monitorfrom ocean-watch
Manages 巨量营销 (Ocean Engine) advertising workflows: OAuth, account sync, template/material/plan management, and performance reports via official APIs. Handles colloquial and contextual follow-ups.
Ships in ocean-watch. 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.
Classify the user's outcome once, then use the first matching route. Do not search the repository, inspect plugin cache paths, read memory, or run setup probes before a normal business request. Do not call an equivalent CLI route when this table names an MCP tool.
Every ./run below is documentation shorthand for this skill's launcher. Resolve the absolute directory of the loaded SKILL.md and invoke <skill-directory>/run (macOS/Linux) or <skill-directory>\run.cmd (Windows), quoting the path. This applies to Codex, Claude Code, DeepSeek Harness and Sailry; the conversation's working directory is not the skill directory. Claude Code may also use ${CLAUDE_PLUGIN_ROOT}/skills/ads-plan-monitor/run. Do not search unrelated directories. WorkBuddy uses MCP only.
| User outcome | Exact route |
|---|---|
| List local Marketing or Qianchuan templates | MCP list_templates |
| Show one exact template | MCP get_template |
| List accounts I manage/use | MCP list_managed_accounts |
| Query spend/performance for my managed account set | ./run accounts report |
| Inspect Marketing Token/app/advertiser mapping | MCP get_marketing_authorization |
| Search uploaded Marketing videos | MCP search_marketing_videos |
| Search Marketing creator materials | MCP search_marketing_creator_materials |
| Fixed Marketing material report | MCP report_marketing_materials |
| Fixed Marketing project report | MCP report_marketing_plans |
| Make current OAuth user's advertiser coverage match official access | MCP start_account_sync |
| User outcome | Exact route |
|---|---|
| Authorize or recover expired Marketing access | MCP start_authorization with channel=marketing and the original advertiser if known |
| Retry saved authorization account discovery | MCP start_account_sync with channel=marketing and the exact authorization ID |
| Confirmed Ocean Watch goal not matched above | MCP get_capabilities once with channel=marketing, then use its unique command |
| Initialize, mutate local accounts/templates, create/update plans, custom reports, or inspect runs | the unique ./run <domain> <action> route in references/workflow-reference.md |
When a row matches, use that exact logical MCP tool. If its declaration is deferred, use the host's supported tool search/discovery mechanism, targeted at ocean-watch and the exact tool name (including a filtered ALL_TOOLS lookup when that is the host API). Read the returned input Schema and invoke the discovered callable name; do not guess a namespace or arguments. Discovery is not a business query and does not require get_capabilities. If discovery or invocation reports the tool unavailable, report that error and stop without a CLI fallback. Do not call get_capabilities when a preceding row matches.
On REAUTHORIZATION_REQUIRED, preserve the original request arguments and call MCP start_authorization with channel=marketing and the original advertiser if known. Open the returned authorization_url: awaiting_configuration opens the local App ID/Secret form and continues to official OAuth in the same session; awaiting_callback opens official OAuth directly; account synchronization opens the local confirmation page. Poll MCP get_authorization_session using its session ID and channel; only completed with can_resume=true permits rerunning the original read with the same arguments. Never ask for secrets, require the same links again, or suggest terminal commands for this MCP flow. Stop automatic retries on failure, cancellation, expiry or scope mismatch. Use MCP cancel_authorization_session when the user cancels.
For reauthorization, include the exact existing authorization_id supplied by the error or the local authorization inspector. Core verifies the official user UID and App before updating that grant, saves the credential before role-based discovery, and retains a saved grant for account synchronization if discovery fails.
On ACCOUNT_SYNC_REQUIRED, obtain the exact pending authorization ID from the authorization inspector and call MCP start_account_sync; a session with sync_required=true already supplies that ID. Preserve the advertiser, present its browser confirmation page and poll the session; do not generate another OAuth grant. Authorization recovery does not approve advertising writes.
marketing. Route Qianchuan requests to $qc-plan-monitor and Star Map requests to $xt-plan-monitor; never mix apps, credentials, templates, advertiser mappings, endpoints, or plan transactions.list_managed_accounts; spend, ROI, GMV, orders, or dated performance requires a fresh report in the current turn.start_account_sync with channel=marketing and an exact authorization ID from the local inspector, regardless of wording. Browser confirmation is required before synchronization../run templates create --input-json as documented in references/template-create.md. Start with known fields or {}; ask only for returned missing_fields and use returned choices. Never infer a missing channel or material source from active state; do not run the terminal wizard for an agent workflow../run on Unix or run.cmd on Windows only for the explicitly routed remaining operation.--submit, show target IDs, endpoint and payload, and submit only after the user explicitly confirms that preview. Do not elevate policy or retry a failed write. Local template/account management retains its own documented boundary.Read references/workflow-reference.md only after the route is known and only for setup/OAuth, account mutation, template mutation, plan create/update, custom report, run inspection, or strategy details. Read the narrower existing reference named there when required. Do not read the full reference for the eight direct business MCP routes or get_capabilities.
presentation.rendered_markdown verbatim when presentation.required=true.--out is explicit. Do not expose configuration paths, raw responses, credentials, or internal errors.agents/openai.yaml (opens in a new tab)assets/config.example.json (opens in a new tab)assets/creator-batch-jobs.example.json (opens in a new tab)references/creator-material-api-notes.md (opens in a new tab)references/current-template-notes.md (opens in a new tab)references/official-api-notes.md (opens in a new tab)references/template-create.md (opens in a new tab)references/workflow-reference.md (opens in a new tab)run (opens in a new tab)run.cmd (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
ocean-engine, advertising, marketing-api, oauth, account-management
npx claudepluginhub westng/ocean-watch --plugin ocean-watch3 skills in this plugin
/qc-plan-monitorDedicated 巨量千川 skill for setup, local OAuth and Token refresh, F2 Cookie configuration, responsible accounts, product/live templates, creator/work/product discovery, all-domain plans, safe Douyin-work preflight and batch create/append, account balance/budget/quota, plan diagnosis, material quality, official delivery suggestions, approved official GET queries, and 全域/乘方 reports. Optional API documentation, Schema and Go/Java examples support plugin development. Use for 千川、配置F2、授权、常用户、模板、达人/作品/商品/计划/素材、预检、批量建计划、追加素材、余额/配额、诊断、首发/低效、建议ROI、消耗/ROI/GMV、自定义报表 and contextual follow-ups./xt-plan-monitorDedicated 巨量星图 skill for local OAuth, authorization recovery, authorized-account synchronization, managed Star Map accounts, and local app/token/account mappings through the shared Ocean Watch framework. Use for 星图初始化、授权、重新授权、同步账号、常用或负责账号及授权状态, including contextual follow-ups. Star Map plan, material, and performance-report APIs are not integrated yet.Other plugins' skills for the same job