{
  "schemaVersion": "1.0",
  "item": {
    "slug": "metacli",
    "name": "metacli",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/bilalbayram/metacli",
    "canonicalUrl": "https://clawhub.ai/bilalbayram/metacli",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/metacli",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=metacli",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "slug": "metacli",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-12T08:40:42.451Z",
      "expiresAt": "2026-05-19T08:40:42.451Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=metacli",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=metacli",
        "contentDisposition": "attachment; filename=\"metacli-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "metacli"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/metacli"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/metacli",
    "agentPageUrl": "https://openagent3.xyz/skills/metacli/agent",
    "manifestUrl": "https://openagent3.xyz/skills/metacli/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/metacli/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "meta",
        "body": "Use meta for Meta Marketing API and Instagram workflows.\nFail closed: if required inputs are missing or any command fails, stop immediately and surface the error.\n\nInstall\n\ngo install github.com/bilalbayram/metacli/cmd/meta@latest\nmeta --help\n\nHuman-required auth bootstrap (must happen first)\n\nHuman creates a Meta app and provides APP_ID and APP_SECRET.\nHuman configures OAuth redirect allowlist in Meta Developer settings with the exact REDIRECT_URI.\nRedirect must resolve to the AI host callback endpoint. For a local AI host:\n\ncloudflared tunnel --url http://127.0.0.1:53682 (or similar, it must be HTTPS)\nSet REDIRECT_URI=https://<tunnel-domain>/oauth/callback\n\n\nAI runs setup without auto-opening a local browser:\n\nmeta auth setup --profile <PROFILE> --app-id <APP_ID> --app-secret <APP_SECRET> --redirect-uri <REDIRECT_URI> --mode both --scope-pack solo_smb --listen 127.0.0.1:53682 --timeout 180s --open-browser=false\n\n\nHuman opens returned auth_url on their own machine, logs in, and grants consent.\nOAuth redirect lands on the AI host and token exchange completes there.\nValidate immediately:\n\nmeta auth validate --profile <PROFILE> --min-ttl 72h\n\nCommon commands\n\nSchema sync (recommended before writes): meta schema sync --schema-dir ~/.meta/schema-packs\nAccounts list: meta --profile <PROFILE> insights accounts list --active-only --output table\nGraph read: meta --profile <PROFILE> api get act_<AD_ACCOUNT_ID>/campaigns --fields id,name,status --limit 100 --follow-next\nCampaign dry-run: meta --profile <PROFILE> campaign create --account-id <AD_ACCOUNT_ID> --params \"name=<NAME>,objective=OUTCOME_SALES,status=PAUSED\" --schema-dir ~/.meta/schema-packs --dry-run\nCampaign create: meta --profile <PROFILE> campaign create --account-id <AD_ACCOUNT_ID> --params \"name=<NAME>,objective=OUTCOME_SALES,status=PAUSED\" --schema-dir ~/.meta/schema-packs\nCampaign budget update: meta --profile <PROFILE> campaign update --campaign-id <CAMPAIGN_ID> --params \"daily_budget=<AMOUNT_IN_MINOR_UNITS>\" --confirm-budget-change\nInsights run: meta --profile <PROFILE> insights run --account-id <AD_ACCOUNT_ID> --date-preset last_7d --level campaign --metric-pack quality --format jsonl\nIG publish feed: meta --profile <PROFILE> ig publish feed --media-url <HTTPS_MEDIA_URL> --caption \"<CAPTION>\" --idempotency-key <UNIQUE_KEY>\n\nRules\n\nNever invent IDs, profile names, paths, redirect URIs, or payload fields.\nRequire explicit confirmation before budget-changing mutations.\nPrefer machine-readable output (--output json or --format jsonl) for automation.\nRedact secrets (APP_SECRET, access tokens) when echoing commands/results."
      }
    ],
    "body": "meta\n\nUse meta for Meta Marketing API and Instagram workflows. Fail closed: if required inputs are missing or any command fails, stop immediately and surface the error.\n\nInstall\n\ngo install github.com/bilalbayram/metacli/cmd/meta@latest\nmeta --help\n\nHuman-required auth bootstrap (must happen first)\n\nHuman creates a Meta app and provides APP_ID and APP_SECRET.\nHuman configures OAuth redirect allowlist in Meta Developer settings with the exact REDIRECT_URI.\nRedirect must resolve to the AI host callback endpoint. For a local AI host:\ncloudflared tunnel --url http://127.0.0.1:53682 (or similar, it must be HTTPS)\nSet REDIRECT_URI=https://<tunnel-domain>/oauth/callback\nAI runs setup without auto-opening a local browser:\nmeta auth setup --profile <PROFILE> --app-id <APP_ID> --app-secret <APP_SECRET> --redirect-uri <REDIRECT_URI> --mode both --scope-pack solo_smb --listen 127.0.0.1:53682 --timeout 180s --open-browser=false\nHuman opens returned auth_url on their own machine, logs in, and grants consent.\nOAuth redirect lands on the AI host and token exchange completes there.\nValidate immediately:\nmeta auth validate --profile <PROFILE> --min-ttl 72h\n\nCommon commands\n\nSchema sync (recommended before writes): meta schema sync --schema-dir ~/.meta/schema-packs\nAccounts list: meta --profile <PROFILE> insights accounts list --active-only --output table\nGraph read: meta --profile <PROFILE> api get act_<AD_ACCOUNT_ID>/campaigns --fields id,name,status --limit 100 --follow-next\nCampaign dry-run: meta --profile <PROFILE> campaign create --account-id <AD_ACCOUNT_ID> --params \"name=<NAME>,objective=OUTCOME_SALES,status=PAUSED\" --schema-dir ~/.meta/schema-packs --dry-run\nCampaign create: meta --profile <PROFILE> campaign create --account-id <AD_ACCOUNT_ID> --params \"name=<NAME>,objective=OUTCOME_SALES,status=PAUSED\" --schema-dir ~/.meta/schema-packs\nCampaign budget update: meta --profile <PROFILE> campaign update --campaign-id <CAMPAIGN_ID> --params \"daily_budget=<AMOUNT_IN_MINOR_UNITS>\" --confirm-budget-change\nInsights run: meta --profile <PROFILE> insights run --account-id <AD_ACCOUNT_ID> --date-preset last_7d --level campaign --metric-pack quality --format jsonl\nIG publish feed: meta --profile <PROFILE> ig publish feed --media-url <HTTPS_MEDIA_URL> --caption \"<CAPTION>\" --idempotency-key <UNIQUE_KEY>\n\nRules\n\nNever invent IDs, profile names, paths, redirect URIs, or payload fields.\nRequire explicit confirmation before budget-changing mutations.\nPrefer machine-readable output (--output json or --format jsonl) for automation.\nRedact secrets (APP_SECRET, access tokens) when echoing commands/results."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/bilalbayram/metacli",
    "publisherUrl": "https://clawhub.ai/bilalbayram/metacli",
    "owner": "bilalbayram",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/metacli",
    "downloadUrl": "https://openagent3.xyz/downloads/metacli",
    "agentUrl": "https://openagent3.xyz/skills/metacli/agent",
    "manifestUrl": "https://openagent3.xyz/skills/metacli/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/metacli/agent.md"
  }
}