adkit
Meta広告のキャンペーンや広告セット、広告の作成、下書き管理、メディアのアップロード、インタレスト検索など、広告運用をターミナルから実行できるようにするSkill。
📜 元の英語説明(参考)
Reference for the AdKit CLI (`adkit-cli` on npm, `adkit` command). Maps commands to ad operations: creating campaigns, ad sets, and ads on Meta, managing drafts, uploading media, searching interests. Load when the user wants to execute ad operations through the terminal or when `adkit` is installed and the user is ready to publish. Not for strategy, copywriting, creative advice, or learning about ads.
🇯🇵 日本人クリエイター向け解説
Meta広告のキャンペーンや広告セット、広告の作成、下書き管理、メディアのアップロード、インタレスト検索など、広告運用をターミナルから実行できるようにするSkill。
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o adkit.zip https://jpskill.com/download/9674.zip && unzip -o adkit.zip && rm adkit.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/9674.zip -OutFile "$d\adkit.zip"; Expand-Archive "$d\adkit.zip" -DestinationPath $d -Force; ri "$d\adkit.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
adkit.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
adkitフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
AdKit CLI
ターミナルから広告を管理するためのエージェントインターフェースです。ドラフトファースト - 明示的に確認されるまで何も公開されません。
まず: セットアップの確認
<!-- ad-process.md は、パスではなくファイル名で検索されます。ユーザーはプロジェクト内の任意の場所に保存できます。このファイルの名前を変更しないでください。 -->
- プロジェクト内で
ad-process.mdという名前のファイルを検索します。見つかった場合は、それを読み込み、ユーザーの環境設定(命名、構造、予算など)をすべてのコマンドに適用します。ユーザーが環境設定を共有しているが、ファイルが存在しない場合は、ファイルを作成することを提案します。一般的な戦略のアドバイスではなく、特定の環境設定と規則のみを保存します。プラットフォームに依存しない環境設定には## Generalを、プラットフォーム固有の環境設定には## Meta/## Googleなどを利用します。 adkit statusを実行します。動作する場合は、コマンドルーティングテーブルに進みます。adkitが見つからない場合:npm i -g adkit-cliを実行し、次にadkit setup manageを実行します。- 認証されていない場合:
adkit setup manageを実行すると、ブラウザが開き、ログインと Meta Ads アカウントの接続が1つのステップで行われます。
コマンドルーティング
| タスク | コマンド |
|---|---|
| 認証 / 接続 | adkit setup |
| アカウントとステータスの確認 | adkit status |
| プロジェクトの切り替え | adkit projects use <id> |
| キャンペーンの作成 | adkit manage meta campaigns create |
| 広告セットの作成 | adkit manage meta adsets create |
| 広告の作成 (メディア + コピー) | adkit manage meta ads create |
| 画像または動画のアップロード | adkit manage meta media upload |
| ターゲティングインタレストの検索 | adkit manage meta interests search |
| 公開前のドラフトの確認 | adkit manage drafts list |
| ドラフトの公開 | adkit manage drafts publish <id> |
| キャンペーン/広告セット/広告のリスト表示 | adkit manage meta {entity} list |
コアコマンド
キャンペーン
adkit manage meta campaigns create --name "..." --objective sales --budget-daily 50
| フラグ | 必須 | 値 |
|---|---|---|
--objective |
はい | sales, leads, engagement, awareness, app_promotion。99% の場合、sales または leads を使用します。 |
--budget-daily |
はい* | アカウント通貨での金額。*または、ライフタイムの場合は --budget-total |
--name |
いいえ | デフォルトは campaign YYYY-MM-DD |
--bid-strategy |
いいえ | lowest_cost (デフォルト), cost_cap, bid_cap, min_roas |
--abo |
いいえ | キャンペーンレベルの CBO の代わりに広告セットの予算を使用します。 |
広告セット
adkit manage meta adsets create --campaign <id> --optimization conversions --event-type purchase --countries US,CA
| フラグ | 必須 | 値 |
|---|---|---|
--campaign |
はい | 親キャンペーン ID |
--optimization |
はい | conversions, lead_generation, link_clicks, impressions, reach |
--event-type |
いいえ* | purchase, lead, subscribe, start_trial, add_to_cart, contact |
--countries |
いいえ | カンマ区切りの ISO コード (例: US,CA,GB) |
--interest |
いいえ | インタレスト ID (繰り返し可能)。ID を見つけるには interests search を使用します。 |
--pixel |
いいえ | Pixel ID。アカウントのデフォルトにフォールバックします。 |
--budget-daily |
いいえ | キャンペーンで --abo を使用する場合のみ |
*--optimization が conversions の場合は必須。
広告
adkit manage meta ads create --adset <id> --media ./image.jpg --primary-text "..." --headline "..." --cta learn_more --url "https://..."
| フラグ | 必須 | 値 |
|---|---|---|
--adset |
はい | 広告セット ID |
--media |
はい | ファイルパス、URL、またはメディア ID。フレキシブルクリエイティブの場合は繰り返し可能です。 |
--primary-text |
はい | 広告本文。フレキシブルクリエイティブの場合は繰り返し可能です。 |
--headline |
はい | 見出し。フレキシブルクリエイティブの場合は繰り返し可能です。 |
--cta |
いいえ | learn_more, shop_now, sign_up, download, book_now, apply_now |
--url |
いいえ | ランディングページ URL |
--page |
いいえ | Facebook ページ ID。デフォルトから自動的に解決されます。 |
フレキシブルクリエイティブ: 複数の --media、--primary-text、--headline を渡すと、Meta が自動的に組み合わせをテストします。
インタレスト検索
adkit manage meta interests search "digital marketing" "social media"
1回の呼び出しで複数のクエリを実行します。広告セット作成時の --interest フラグの ID を返します。
すべてのフラグと JSON 専用フィールドについては、adkit <command> --help full を実行してください。
ドラフトファーストワークフロー
すべての create/update コマンドは、デフォルトで ドラフト を生成します。
- キャンペーンの作成 → ドラフト ID
- 広告セットの作成 → ドラフト ID
- 広告の作成 → ドラフト ID
- レビュー:
adkit manage drafts list - それぞれを公開:
adkit manage drafts publish <id>
ドラフトをスキップしてすぐに公開するには、任意のコマンドに --publish を追加します。
主要な動作
- Meta API ではなく AdKit API。 すべてのコマンドは、AdKit の簡略化された API を通過します。
--objective、--budget-daily、--event-typeなどのフラグは、Meta の生のフィールドよりも使いやすい AdKit の抽象化です。 - スマートなデフォルト。
(原文はここで切り詰められています)
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
AdKit CLI
Agent interface for managing ads via the terminal. Draft-first — nothing publishes until explicitly confirmed.
First: check setup
<!-- ad-process.md is looked up by filename, not path. Users can store it anywhere in their project. Do not rename this file. -->
- Search the project for a file named
ad-process.md. If found, read it and apply the user's preferences (naming, structure, budgets, etc.) to all commands. If the user shares preferences but no file exists, offer to create one. Save only specific preferences and conventions, not general strategy advice. Use## Generalfor cross-platform preferences,## Meta/## Googleetc. for platform-specific ones. - Run
adkit status. If it works, proceed to the command routing table. - If
adkitis not found:npm i -g adkit-cli, thenadkit setup manage. - If not authenticated:
adkit setup manageopens a browser for login and Meta Ads account connection in one step.
Command routing
| Task | Command |
|---|---|
| Authenticate / connect | adkit setup |
| Check accounts and status | adkit status |
| Switch project | adkit projects use <id> |
| Create a campaign | adkit manage meta campaigns create |
| Create an ad set | adkit manage meta adsets create |
| Create an ad (media + copy) | adkit manage meta ads create |
| Upload image or video | adkit manage meta media upload |
| Find targeting interests | adkit manage meta interests search |
| Review drafts before publish | adkit manage drafts list |
| Publish a draft | adkit manage drafts publish <id> |
| List campaigns/adsets/ads | adkit manage meta {entity} list |
Core commands
Campaign
adkit manage meta campaigns create --name "..." --objective sales --budget-daily 50
| Flag | Required | Values |
|---|---|---|
--objective |
yes | sales, leads, engagement, awareness, app_promotion. Use sales or leads in 99% of cases. |
--budget-daily |
yes* | Amount in account currency. *Or --budget-total for lifetime |
--name |
no | Defaults to campaign YYYY-MM-DD |
--bid-strategy |
no | lowest_cost (default), cost_cap, bid_cap, min_roas |
--abo |
no | Use ad set budgets instead of campaign-level CBO |
Ad set
adkit manage meta adsets create --campaign <id> --optimization conversions --event-type purchase --countries US,CA
| Flag | Required | Values |
|---|---|---|
--campaign |
yes | Parent campaign ID |
--optimization |
yes | conversions, lead_generation, link_clicks, impressions, reach |
--event-type |
no* | purchase, lead, subscribe, start_trial, add_to_cart, contact |
--countries |
no | Comma-separated ISO codes (e.g., US,CA,GB) |
--interest |
no | Interest ID (repeatable). Use interests search to find IDs |
--pixel |
no | Pixel ID. Falls back to account default |
--budget-daily |
no | Only with --abo on campaign |
*Required when --optimization is conversions.
Ad
adkit manage meta ads create --adset <id> --media ./image.jpg --primary-text "..." --headline "..." --cta learn_more --url "https://..."
| Flag | Required | Values |
|---|---|---|
--adset |
yes | Ad set ID |
--media |
yes | File path, URL, or media ID. Repeatable for Flexible Creatives |
--primary-text |
yes | Ad body. Repeatable for Flexible Creatives |
--headline |
yes | Headline. Repeatable for Flexible Creatives |
--cta |
no | learn_more, shop_now, sign_up, download, book_now, apply_now |
--url |
no | Landing page URL |
--page |
no | Facebook Page ID. Auto-resolved from defaults |
Flexible Creatives: pass multiple --media, --primary-text, --headline — Meta tests combinations automatically.
Interests search
adkit manage meta interests search "digital marketing" "social media"
Multiple queries in one call. Returns IDs for --interest flag on ad set creation.
Run adkit <command> --help full for all flags and JSON-only fields.
Draft-first workflow
All create/update commands produce a draft by default:
- Create campaign → draft ID
- Create ad set → draft ID
- Create ad → draft ID
- Review:
adkit manage drafts list - Publish each:
adkit manage drafts publish <id>
Add --publish to any command to skip drafts and publish immediately.
Key behaviors
- AdKit API, not Meta API. All commands go through AdKit's simplified API. Flags like
--objective,--budget-daily,--event-typeare AdKit's abstraction — friendlier than Meta's raw fields. - Smart defaults. AdKit applies defaults settings (matching Business Manager defaults + improvements like scheduling, etc). Most campaigns only need a few flags — omitted settings are handled automatically. If user needs something specific, they can override the defaults.
--platform-overrides <json>: escape hatch for raw Meta API fields not covered by AdKit flags. Merged directly onto the platform payload. Use when a specific Meta option isn't available as a named flag.--json: auto-enabled in non-TTY. Force with--jsonflag.--data <json>: bypasses named flags — pass the full AdKit API request body as JSON.- Account resolution: auto-resolved if only one Meta account connected. Otherwise use
--account <id>. - Media handling:
--mediaauto-uploads files and detects image vs video from extension.
With meta-ads
The meta-ads skill provides Meta advertising strategy: campaign structure, budget management, creative best practices, audience targeting, and performance analysis. Use it to decide what to build, then use this CLI skill to execute it.