Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

app-builder-setup

FreeRuns bundled scriptsNot checked

Use when a developer wants to get ready for Adobe App Builder development or fix their App Builder tooling — phrases like "set up my machine for App Builder"…

adobeby adobe★ 342 GitHub stars

About this skill

Mandatory prerequisite: Before starting this skill, read and apply Common Skill Rules.

Get ready for App Builder development

Check the developer's machine, CLI sign-in and Adobe org, fix what can be fixed with one approval, and explain the result in plain words. Nothing changes without consent.

<skill-dir> below is the folder containing this SKILL.md (your client shows it when the skill loads). Run scripts as node "<skill-dir>/scripts/<name>.mjs".

Step 0 — Report skill context

Call report_skill_context once with skill_name: "app-builder-setup" and skill_version: "1.0.0". If another App Builder skill sent you here, that skill re-reports its own context when it resumes.

Step 1 — No shell on the developer's own computer?

These skills run the Adobe I/O CLI on the developer's machine: that's where the app's code lives and where the CLI sign-in opens a browser. Having a shell isn't enough. A hosted sandbox shell (for example the code-execution tool of a web or desktop chat app, or a remote container the developer doesn't use) has its own files and no access to their CLI sign-in. If you can't run commands on the developer's own computer, or you can't tell, ask once: "Am I running on your own computer, in the folder you work in?"

If not, say so in one sentence and recommend a desktop or terminal assistant (Claude Code, GitHub Copilot CLI or VS Code agent mode, Cursor, Codex). Then do what the connector can do on its own:

  1. Call get_organisations. With one org, use it without asking, and say which org you're using. With more than one, show a numbered list of org names and ask which org to use. Add an org's ID only when two orgs share a name.
  2. Steps 5 and 6, with that org.
  3. Give a short "On your machine, run" list:
    • Node.js 20 or newer (https://nodejs.org)
    • npm install -g @adobe/aio-cli
    • aio login
    • aio console org select <org code>, with the chosen org's code from get_organisations
  4. Give the Step 7 summary, and stop.

Step 2 — Check, without changing anything

  1. Run node "<skill-dir>/scripts/readiness.mjs". It prints JSON with only version numbers, the CLI environment, the selected org, project and workspace (names and ids) and whether the CLI sign-in is still valid (from its expiry time). It never prints tokens. If node itself isn't found, treat Node.js as missing.
  2. At the same time, call get_organisations. The org question can then go in the same message as the fixes.
  3. Assume the connector uses Adobe's production environment. It's stage only when the connector's URL is a stage one (for example https://adp-connector-stg.adobe.io/mcp). For a local or custom connector URL (for example http://localhost:8080/mcp), ask the developer which Adobe environment that connector is configured for (its ADP_ENV). Never decide this from the developer's wording: "Stage" almost always means the project's Stage workspace, which is part of production.

Show one status table. Use ✅ / ❌ / ⚠️ and one short note per row. A null value means "can't check until the CLI is installed". If configError is set, the CLI's settings couldn't be read, so sign-in and environment are unknown (⚠️): run the script once more, and if it persists, signing in again (Step 3.3) usually repairs them.

Check Ready when
Node.js node.ok (version 20 or newer)
Adobe I/O CLI aio.installed and aio.ok (11.1.0 or newer). updateAvailable is a ⚠️ and an optional fix
CLI sign-in signedIn is true
Environment cliEnv (prod or stage) matches the connector's environment
Org, Developer Terms, App Builder access Filled in by Steps 4–6

Step 3 — Fix with one approval

Node.js too old or missing comes first. Don't install Node yourself and don't ask for approval yet. Explain how to install it: the LTS installer from https://nodejs.org, or nvm install --lts when nvm is true. Then wait.

  • When the developer says it's done, re-run the readiness script. If it still shows the old version, ask them to restart the assistant or terminal so the new Node is found.

Then list every remaining fix in one message. If there's more than one org, include the numbered org list and default to selection.orgId when it's in the list. Ask once: "Shall I do these now? And which org should I use?" Run only the approved items, in this order:

  1. Install or update the CLI. Run npm install -g @adobe/aio-cli (1–3 minutes, so use a long timeout). On a permission error (EACCES), explain that the global npm folder needs a Node version manager such as nvm or a user-owned npm prefix. Never use sudo unless the developer asks for it.
  2. Wrong environment. Run aio logout first, because the sign-in belongs to the old environment. Then run aio config set cli.env prod (or stage).
  3. Sign in (when signedIn isn't true, or after step 2). First explain: *"A browser tab opens for the Adobe
Full SKILL.md on GitHub

Install app-builder-setup in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

CHANGELOG.mdevals/evals.jsonreferences/common-rules.mdreferences/concepts.mdscripts/config.mjsscripts/lib/cli-config.mjsscripts/lib/redact.mjsscripts/lib/run.mjsscripts/login.mjsscripts/readiness.mjsscripts/runtime-properties.mjs

FAQ

What does the app-builder-setup skill do?

Use when a developer wants to get ready for Adobe App Builder development or fix their App Builder tooling — phrases like "set up my machine for App Builder", "help me get started with App Builder", "get ready for App Builder development", "install the aio CLI", "update aio", "aio login", "aio isn't working", "sign in the Adobe CLI", "which org is my CLI using", "accept the developer terms for App Builder". Checks Node.js, the Adobe I/O CLI and its sign-in without changing anything, fixes what it can with consent, selects the same org as the connector, and gets the Adobe Developer Terms accepted with the developer's explicit agreement. Other App Builder skills hand off here when the machine isn't ready.

How do I install the app-builder-setup skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the app-builder-setup skill run scripts?

Yes, this skill bundles executable scripts. Review the source before installing.

Related skills

Compare app-builder-setup with