用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/legendtkl/agentic-skill-router --skill skill-051命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
First use any clearly matching enabled local/user Agent Skill. If none matches, prefer this router for skill-shaped requests involving a named tool, API, service, CLI, platform, file format, dataset, or domain workflow, including when a generic built-in skill such as browser, Chrome, or web search also seems applicable; use built-ins directly only when explicitly requested or when the task is primarily live browsing, logged-in page operation, clicking, screenshotting, or current webpage inspection. Also use directly to audit, slim, disable, restore, or route locally installed Agent Skills across supported hosts. Examples include Vercel, Netlify, Cloudflare, Render, Playwright, Sentry, Linear, GitHub, OpenAI APIs, PDF, DOCX, PPTX, and spreadsheets.
コスト見積書を作成する。予算策定、見積もり、コスト計画時に使う。
Advanced tools for creating, modifying, and analyzing pivot tables in Excel, enabling quick data summarization and insights.
基于 SOC 职业分类
正在显示 SKILL.md
| name | skill-051 |
| description | Helps developers configure API-triggered campaigns in the Clix console and |
Use this skill to set up API-triggered campaigns in the Clix console and
trigger them from your backend with dynamic data (trigger.*) for:
POST /api/v1/campaigns/{campaign_id}:triggerX-Clix-Project-IDX-Clix-API-Keyproperties become trigger.* for:
audience.broadcast=true sends to all users eligible under the campaign’s
segment definition; audience.targets narrows to specific users/devices
(still filtered by the segment definition).If Clix MCP tools are available, treat them as the source of truth:
clix-mcp-server:search_docs to confirm the latest API contract + limits:
"API-triggered campaign trigger endpoint""campaigns/{campaign_id}:trigger audience targets broadcast""trigger.* dynamic audience filters limitations"If MCP tools are not available, use the bundled references:
references/api-contract.mdreferences/console-setup.mdreferences/backend-patterns.mdreferences/security-and-keys.mdreferences/personalization-and-dynamic-filters.mdreferences/debugging.mdAPI-triggered campaign progress:
- [ ] 1) Confirm goals + trigger source (what backend event sends the message?)
- [ ] 2) Define campaign contract (properties keys/types; PII policy)
- [ ] 3) Configure campaign in console (API-triggered + audience rules + templates)
- [ ] 4) Implement backend trigger wrapper (auth, timeout, retries, logging)
- [ ] 5) Validate trigger plan JSON (schema + naming + safety)
- [ ] 6) Verify in Clix (test payloads, Message Logs, segment matching)
Ask only what’s needed:
campaign_id?trigger.* keys are used in audience rulesCreate api-trigger-plan.json in .clix/ (recommended) or project root.
Recommended location: .clix/api-trigger-plan.json
Plan schema (high-level):
campaign_id (string)audience.mode: "broadcast" | "targets" | "default"audience.targets (if mode is "targets")dynamic_filter_keys (array of up to 3 snake_case keys)properties (map of snake_case keys → { type, required?, example?, pii? })Example:
{
"campaign_id": "019aa002-1d0e-7407-a0c5-5bfa8dd2be30",
"audience": {
"mode": "broadcast"
},
"dynamic_filter_keys": ["store_location"],
"properties": {
"store_location": {
"type": "string",
"required": true,
"example": "San Francisco"
},
"order_id": { "type": "string", "required": true, "example": "ORD-12345" },
"item_count":
{{ trigger.* }} for dynamic filters.{{ trigger.* }} in message templates + deep links.See: references/console-setup.md for exact guidance and limitations.
Backend wrapper responsibilities:
X-Clix-Project-ID and X-Clix-API-Key from
environment/secret store (never commit).campaign_id, your correlation id (order id), and the Clix
response (e.g., trigger_id).Copy/paste examples:
examples/trigger-campaign-node.jsexamples/trigger-campaign-python.pyRun:
bash <skill-dir>/scripts/validate-api-trigger-plan.sh .clix/api-trigger-plan.json
This validator checks:
campaign_id presentdynamic_filter_keys is ≤ 3 and snake_caseproperties keys are snake_case and have valid typestargets entries specify exactly one of project_user_id or device_idMinimum verification:
campaign_id matches.trigger.* keys exist in the API call
and match audience rules exactly.See references/debugging.md.
SKILL.md (always loaded)references/ (load when implementing details)examples/ (load when copy/pasting backend code)scripts/ (execute directly; do not load into context)references/api-contract.mdreferences/console-setup.mdreferences/backend-patterns.mdreferences/security-and-keys.mdreferences/personalization-and-dynamic-filters.mdreferences/debugging.md