Communitygithub.com

Varnan-Tech/opendirectory

在與 Meta Ads CLI 互動以管理廣告帳戶、行銷活動、廣告和洞察時使用。扮演專家級媒體購買者。

opendirectory 是什麼?

此技能定義了一個基於 CLI 的 Meta Ads 專家路由器,專為 AI 代理設計,例如 Claude Code、Cursor 或 Codex。它將代理角色設定為專家級媒體購買者,並提供高階指令,透過 `meta-ads` CLI 與 Meta Ads API 互動。該技能強制要求使用環境變數(如 `ACCESS_TOKEN` 和 `AD_ACCOUNT_ID`)進行系統使用者令牌驗證,並嚴禁使用內聯令牌。它提供一個 CLI 指令對應表,用於常見操作,如列出廣告帳戶、行銷活動和廣告集,以及取得洞察資料。主要護欄包括對所有讀取操作使用 `--output json`、用 `--no-input` 防止對話框阻塞,以及對所有建立指令預設使用 `--status PAUSED`。為避免上下文溢位與 API 速率限制,它對分頁設定初始限制(`--limit 10`),並將洞察查詢預設為 `--time-range last_7d`。狀態變更動作(如建立或更新行銷活動)需要使用者明確確認後才能執行。複雜的工作流程和報告模板分別位於 `references/workflows.md` 和 `references/report_templates.md`。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Varnan-Tech/opendirectory/tree/main/skills/meta-ads-skill/meta-ads-skill

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

Meta Ads 專家技能

角色設定: 你是專家級媒體購買者。此技能作為路由器,提供高階指令並連結至詳細參考資料,以便透過 meta-ads CLI 與 Meta Ads API 互動。

驗證與設定

Meta Ads CLI 使用系統使用者存取權杖進行驗證。

環境變數

請確保執行 CLI 的環境中設定以下環境變數:

  • ACCESS_TOKEN:你的 Meta 系統使用者存取權杖。
  • AD_ACCOUNT_ID:你的目標廣告帳戶 ID(例如 act_123456789)。

重要: 絕對不要在指令中使用內聯權杖(例如 meta ads --token <TOKEN>)。一律依賴環境變數或預先設定的設定檔。

CLI 路由

將你的意圖對應至以下 meta-ads CLI 指令:

意圖CLI 指令
列出廣告帳戶meta ads account list
列出行銷活動meta ads campaign list
列出廣告組合meta ads adset list
列出廣告meta ads ad list
取得洞察資料meta ads insights get
建立行銷活動meta ads campaign create

嚴格護欄

指令執行

  • JSON 輸出:在所有讀取操作中務必使用 --output json,以確保結構化資料便於分析。
  • 無互動輸入:務必使用 --no-input(或等效選項),以防止 Bash 工具在互動式提示處卡住。
  • 建立安全:務必對所有建立指令使用 --status PAUSED,除非使用者明確要求啟用狀態。

日期範圍與分頁

為防止上下文視窗溢位與 API 速率限制:

  • 分頁限制:列出項目時,初始時請限制參數值(例如 --limit 10)。僅在使用者明確要求時才擴大範圍。
  • 日期範圍:對於洞察資料,一律預設使用 --time-range last_7d。除非使用者指示,否則不要請求更大的範圍。

安全護欄(狀態變更動作)

在執行任何狀態變更指令(例如 campaign create、campaign update)之前,你必須要求使用者明確確認。

  1. 向使用者呈現確切的 CLI 指令與參數。
  2. 請求明確核准。
  3. 僅在獲得核准後才繼續執行。

編排工作流程

如需複雜的編排(例如 CPA 異常分析),請參閱 references/workflows.md。

如需報告標準與輸出範本,請參閱 references/report_templates.md。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

Varnan-Tech/opendirectory

Use when the user asks to generate a blog cover image, thumbnail, or article header. Automatically uses modern typography, brand logos, and Google Search grounding to create beautiful 16:9 images with Gemini 3.1 Flash Image Preview.

Varnan-Tech/opendirectory

World-class brand strategist and naming expert. Uses an interrogation-led discovery phase to extract your brand's DNA, then applies scientific naming frameworks (Phonosemantics) and automated multi-TLD domain checking.

Varnan-Tech/opendirectory

Use when the user asks to generate or update a project's CLAUDE or AGENTS context file from a codebase scan. Writes a focused file under 100 lines containing only the non-obvious build commands, conventions, and gotchas Claude Code needs.

Varnan-Tech/opendirectory

Use when the user wants to verify cold emails, enrich a lead list, or autonomously guess email addresses from a CSV using ValidEmail.co or the open-source Reacher engine.

Varnan-Tech/opendirectory

Competitive intelligence orchestrator tracking companies across 8+ platforms (GitHub, Twitter, Reddit, HN, PH, YC Jobs) with heat scores and AI briefings.

Varnan-Tech/opendirectory

Give it your product URL or description. It finds your top 5 competitors, runs three-track PR research across all of them (editorial, podcasts, communities), identifies which channels appear most frequently, looks up the journalist or host for each, and returns a tiered outreach list with story angles and ready-to-send cold pitch drafts tailored to your product. Use when asked to find PR opportunities, discover where competitors got featured, build a media outreach list, find which journalists cover my space, or get pitch templates for press coverage.

Varnan-Tech/opendirectory

Generate high-converting, deep-dive growth case studies in MDX format. Use this skill when asked to write a case study or blog post about a company's growth, tech stack, or product-led strategy. It handles the full pipeline (researching the company via Tavily, generating a 16:9 cover image, quality checking the draft, uploading assets to cloud storage, and pushing directly to the target repository).

Varnan-Tech/opendirectory

Scans your project for outdated npm, pip, Cargo, Go, or Ruby packages. Runs a CVE security audit. Fetches changelogs, summarizes breaking changes with Gemini, and opens one PR per risk group (patch, minor, major). Includes Diagnosis Mode for install conflicts. Use when asked to update dependencies, check for outdated packages, open dependency PRs, scan for package updates, audit for CVEs, or flag breaking changes in upgrades. Trigger when a user says "check for outdated packages", "update my dependencies", "open PRs for dependency updates", "scan for CVEs", or "which packages need upgrading".

Varnan-Tech/opendirectory

Generates and updates README.md and API reference docs by reading your codebase's functions, routes, types, schemas, and architecture. Uses graphify to build a knowledge graph first, then writes accurate docs from it. Use when asked to write docs, generate a README, document an API, update stale docs, create an API reference from code, add an architecture section, or document a project in any language. Trigger when a user says their docs are missing, outdated, or wants to document their codebase without writing it manually.

Varnan-Tech/opendirectory

Evaluates expired domain candidates against a target niche, scores them by topical relevance, historical activity level, and history cleanliness, then outputs a ranked shortlist with explainable reasoning and risk flags.

Varnan-Tech/opendirectory

Brutally honest developer-experience audit for a GitHub repo. Scores 10 DX dimensions (time-to-first-success, README clarity, visual proof, install, quick-start, docs, examples, community, trust, marketing), writes a shareable roast in the requested tone (brutal/honest/kind), produces a prioritized action plan ranked by impact × effort, and sketches an ideal README. Trigger when user says "roast my repo", "audit my README", "dx audit", "developer experience review", "score my GitHub project", "before launch checklist", or "make my repo shareable".

Varnan-Tech/opendirectory

Drafts and designs a complete HTML email newsletter from a topic or content brief. Outputs paste-ready HTML for Loops, Mailchimp, Beehiiv, Resend, or any standard email platform. Includes subject line options and plain-text fallback. Trigger when a user says "write a newsletter", "draft an email newsletter", "create an HTML email", "design an email for my subscribers", or "write a newsletter about [topic]".

Varnan-Tech/opendirectory

Takes a GitHub PR URL or the current branch and writes a plain-English explanation of what it does and why, then posts it as a PR comment. Use when asked to explain a PR, summarize a pull request, write a plain-English description of a PR, add a summary comment to a PR, or understand what a PR changes. Trigger when a user says "explain this PR", "summarize this pull request", "what does this PR do", "add a comment explaining the PR", or shares a GitHub PR URL and asks what it does.

Varnan-Tech/opendirectory

Audit how often LLMs recommend your brand vs competitors and generate a GEO action plan.

Varnan-Tech/opendirectory

Takes a competitor's public GitHub repo URL, fetches their open issues via the GitHub REST API, filters noise locally, clusters issues into 6 demand categories, computes a demand score per issue and per cluster, and outputs a ranked demand gap report with a GTM messaging brief. Use when asked to scan a competitor's GitHub issues, find what their users are begging for, turn GitHub complaints into product positioning, identify competitor feature gaps, or generate messaging from real user demand. Trigger when a user says "scan competitor issues", "what are users asking for on X repo", "find demand gaps in Y", "turn GitHub issues into messaging", or "what should I build based on competitor complaints".

Varnan-Tech/opendirectory

Find recurring confusion in your repo's GitHub Discussions, rank it by urgency, and draft the actual docs fixes and content angles — with verbatim community quotes and source links as evidence.

Varnan-Tech/opendirectory

SEO keyword research workflow for blog generation using Google Trends data. Use when writing blog posts, planning content calendars, or optimizing articles for search engines. Finds breakout keywords, builds content structure, and generates SEO-optimized blog outlines targeting tech and developer audiences.

Varnan-Tech/opendirectory

Generates a professionally designed case study PDF for B2B SaaS sales and marketing. Supports 7 page layouts, 9 style presets, 1-4 page output. Trigger when user says "create a case study", "write a customer story", "make a case study PDF", "design a success story", "turn this customer win into a PDF".

Varnan-Tech/opendirectory

Generates data visualization charts (bar, line, area, pie, doughnut, scatter, radar, treemap) as PNG using Apache ECharts v6. 1080×1080px default, 5 style presets, highlight annotations. Trigger when user says "create a chart", "visualize data", "make a bar chart", "line graph", "pie chart", "data visualization", "chart this data", "plot", "graph", or "visualize these numbers".

Varnan-Tech/opendirectory

Fetches low-star App Store and Google Play reviews, clusters them into broken-promise patterns, and generates a ranked copy brief with positioning opportunities.

相關技能