/devtools:app-setupfrom devtools
Walks through creating or selecting a Meta app, linking it to a business portfolio, and configuring required use cases for product integrations. Use when starting a new Meta integration or fixing an incomplete app setup.
Ships in devtools. 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.
None: SKILL.md is the whole skill.
Take a developer from "I need an app for this integration" to an app that is owned by a business portfolio and has the use cases the integration needs.
devtools_app_create, devtools_business_create, devtools_app_business_manage and devtools_app_use_cases_manage ask for confirmation. If the client supports elicitation, the server prompts the developer directly and executes on the first call, so say what you are about to do before calling. Otherwise the first call returns a summary and a confirm_token; show the summary, and after the developer agrees, repeat the call with the same arguments plus that confirm_token.devtools_* call passes skill_name app-setup, or the calling skill's name where When another skill runs this one says so.devtools_app_list, devtools_business_list or devtools_app_use_cases before continuing.message as returned; it says what they need to do. Retry only if the message says to, and never create a replacement app or portfolio to get around a refusal. Then close tracking and stop.devtools_skill_invocation with action end before you finish or hand control back for good. Asking the developer a question is not stopping.Start tracking. Before any other work, call devtools_skill_invocation with action start and skill_name app-setup. Pass skill_name app-setup on every devtools_* call in the following steps. When another skill runs this one, follow When another skill runs this one instead.
Collect what is needed. Ask for anything the developer has not said:
use_case_key values in step 6.website_url; street1; optional street2; city; optional state and postal_code; and a two-letter ISO country code.Resolve the app.
devtools_app_list with action list and limit 100, following every returned cursor until exhausted, then match the name or ID. If several match, show the candidates and ask. If a named existing app is absent from the complete list, ask the developer to reauthorize the connection and select that app; do not create a replacement. Note its owning_business_id. If owning_business_granted is false, the app belongs to a portfolio the developer did not grant; ask them to reauthorize and select that portfolio instead of treating the app as unowned. Close tracking before either handoff.devtools_app_create with action create_app, name and contact_email. If it returns an error, paginate devtools_app_list with action list and limit 100 to look for the app before doing anything else. Never start another create after one has been confirmed; when the first call only returns a confirm_token, repeating the same call with unchanged arguments plus that token completes the original create.Resolve the business portfolio.
owning_business_id, that portfolio owns it, and an app cannot move to another portfolio over MCP. If the developer wants a different portfolio, ask whether to use the one that owns the app instead. If they agree, or did not name one, use it as the business_id and go to step 6. If not, resolve the portfolio they want below; step 5's link is refused for an app another portfolio owns, and the refusal says what to do.devtools_business_list with action list and limit 100, following every returned cursor until exhausted. Only a portfolio with can_add_assets true can own the app. If several qualify, ask which one.can_add_assets true, do not create a replacement. Ask which portfolio the developer wants and go on to step 5: the link is refused before the developer is asked to confirm, and the refusal says what they need.OTHER and time zone America/Los_Angeles, then call devtools_business_create with action create_business, name, first_name, last_name, contact_email, website_url, street1, optional street2, city, optional state and postal_code, and two-letter ISO country. Pass the same values unchanged on a confirm-token follow-up.Link the app to the portfolio. Call devtools_app_business_manage with action link_app_to_business, app_id and business_id. already_linked true means there was nothing to do. If the link is refused, for example because the portfolio needs a two-factor step this tool cannot complete, follow the refusal rule; once the developer has done what the message asks, running app-setup again picks up the linked app. After a link that was not refused, paginate devtools_app_list with action list and limit 100 until the app is found, and require the expected owning_business_id before step 6.
Add the use cases.
devtools_app_use_cases with action list_configured and app_id, and skip any requested use case that is already configured. Then call devtools_app_use_cases with action list_available and app_id, and pick the use_case_key values that match the product. Do not guess keys that are not in the list.devtools_app_use_cases_manage, action add_use_case, app_id and use_case_key. Each use case added can make others non-combinable and drop them from list_available, so add the most important one before any extras, and call list_available again with app_id before each further addition. If add_use_case returns a warning or next_step, keep it with that use case.devtools_app_use_cases action list_configured and app_id. If an addition errored, this tells you whether it took effect.Report. Give the developer:
app_id and business_id.warning or next_step it returned, and any that could not be added, with the reason.End tracking. After completing all preceding steps, call devtools_skill_invocation with action end and skill_name app-setup.
Product skills such as whatsapp-business-integration can run app-setup for their app phase.
devtools_skill_invocation start and end with skill_name app-setup as usual, and leave the calling skill's tracking open. On every other devtools_* call, pass the calling skill's skill_name instead of app-setup, so its funnel keeps these calls.app_id, the business_id, whether the portfolio was created in this run, and the configured use cases with any warning or next_step each returned. The calling skill shows those to the developer before it continues. Then end tracking (step 8) and continue with the calling skill's next step.WHATSAPP_BUSINESS_MESSAGING is the WhatsApp Cloud API use case. WHATSAPP_LOGIN is unrelated; it is a Facebook Login use case.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub meta/agentic-tools --plugin devtools12 skills in this plugin
/api-healthMonitor API health for a Meta app — check rate limits, call volume, and Graph API version deprecations. Use whenever a user asks whether their app is being throttled, is near its rate limits, how much of its call volume or quota is being used, or about deprecated Graph API versions. Prefer this skill over calling devtools_api_usage directly — it resolves the app, pulls rate limits, call volume, and deprecations together, and turns them into one prioritized report, including the cases an ad-hoc call misreads: an unmetered app is not the same as an idle one, and a capped usage_rate is not the same as headroom./api-integrationGuide a developer through setting up a Meta API integration from scratch — discovers the right APIs, fetches setup guides, authentication requirements, permissions, and code examples. Use when the user wants to build with a specific Meta product (WhatsApp, Instagram, Messenger, Pages, Ads, etc.)./app-health-checkOther plugins' skills for the same job