/binclusive-accessibility:onboard-binclusive-clifrom Binclusive Accessibility
Configures and verifies the Binclusive CLI for a project, supporting both dashboard-connected CI scans and local-only scans. Handles login, authorization, and setup without exposing secrets.
Ships in Binclusive Accessibility. 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.
Read when SKILL.md points to them; scripts run unread.
Configure the CLI only when the user requests setup or connected delivery. This optional workflow is never a prerequisite for mapping, auditing, remediation, or journey creation. Those skills remain available without CLI configuration, login, dashboard access, credentials, or an onboarding record. Recommend dashboard-connected CI within this setup workflow, but allow a local-only path and let the user skip or leave setup incomplete without blocking local skills.
b8e_paste_your_ci_token_here and prj_paste_your_project_id_here.<organization-slug> in reusable examples and repository content.Use <project-root>/Binclusive-auditing/cli-onboarding.json as the non-secret onboarding record. Never infer completion from conversation history.
Run node <this-skill-dir>/scripts/onboarding-state.mjs status <project-root> first.
0: the recorded local or dashboard setup is complete. Continue the user-requested work.2: optional setup is missing, incomplete, or stale. Continue setup only if requested; other skills may proceed directly.1: the optional setup record is invalid or unreadable. Explain the setup diagnostic and repair it when requested; do not block other skills.Completion always requires a verified CLI version, binclusive.json, and one successful scan. Recommend the dashboard path: login, verified organization/project context, CI credentials, and binclusive ci delivery create dashboard tickets for assignment and tracking. If the user declines dashboard delivery, a successful local binclusive scan also completes onboarding; state clearly that it neither uploads findings nor creates dashboard tickets.
Complete one numbered stage at a time. Before every action, explain what will happen, why it is needed, what the user will see, and whether it opens a browser or changes persistent configuration. Ask only the question needed for that stage, wait for the answer when user action is required, verify the result, and then announce the next stage. Preserve already-verified stages when resuming.
Tell the user: "First I will check whether Node.js and the Binclusive CLI are available. This does not scan or upload the project."
npx @binclusive/cli --version from the project root.npx @binclusive/cli; do not globally install without approval.--help when command support is uncertain. Do not invent flags from another release.Explain that binclusive.json stores project scan configuration, not dashboard secrets. Ask: "An existing configuration was not found. Shall I start the interactive binclusive init setup now?" Skip this question when a valid config already exists.
binclusive.json.npx @binclusive/cli init <project-root> interactively.--yes only when the user requests defaults or the run is explicitly non-interactive.--force without explicit approval.Explain the tradeoff before authentication:
Ask which path the user wants. If they choose local, skip stages 3a–4 below and continue at stage 5. Respect the choice without repeatedly prompting.
Do not ask for an organization before login. Explain: "Next, Binclusive will open a browser. Sign in there; if you do not have an account, create one on that screen. Return here after the browser confirms authentication."
npx @binclusive/cli whoami first. If it already confirms an authenticated user, ask whether to keep that account. Do not force a new login.npx @binclusive/cli login.whoami and require an authenticated user.whoami. If none exists, explain how to create or join one in the dashboard; do not continue until one exists.npx @binclusive/cli org --org <id|slug|name>.whoami again and summarize the selected organization without writing it to repository files.npx @binclusive/cli project --org <organization> --project <id|name|domain>.whoami again and require the intended organization and project. Ask the user to confirm this destination before continuing. Do not store user, organization, or project identifiers in onboarding state.If browser interaction is available and the user asks to open the settings page, open:
https://app.binclusive.io/<organization-slug>/settings/ci-access
Otherwise give the clickable organization-specific link after substituting only the slug supplied by the user. Never use a real customer's slug as a reusable example.
Explain: "The login session identifies you interactively. The next two environment variables authorize automated binclusive ci uploads and route findings to the selected dashboard project."
Never skip this stage on the dashboard path, and never infer that it succeeded. The CLI splits credentials into two lanes that never overlap: a human lane (scan, login, org, project, whoami, audit, stop, tickets) reads the session file and never the environment, and a machine lane (ci, ci close) reads BINCLUSIVE_API_KEY from the environment and never the session file. So completing stage 3a authorizes nothing for ci — being logged in does not upload, and these two variables are the only thing that does.
When BINCLUSIVE_API_KEY is unset or empty, binclusive ci skips the upload path silently: it still scans, still reports, still exits non-zero on gating findings, but creates no tickets and prints no error, because absent-token is a deliberate local-first no-op. A clean-looking ci run is therefore not evidence of delivery; only a stage 5 confirmation line is. Every other cause fails loudly — a key set without BINCLUSIVE_PROJECT_ID throws, and a revoked, wrong-organization, or ingestion-disabled key is rejected with a specific message. The silent case is the one that quietly ships an unmonitored project, so ask for both values every time.
BINCLUSIVE_ORG_ID is deliberately not part of this stage: the server derives the organization from the b8e_ token's own membership, so ci neither resolves nor sends it. BINCLUSIVE_PROJECT_ID cannot be token-derived, which is why it is separately required.
https://app.binclusive.io/<organization-slug>/settings/ci-access.macOS/Linux for the current shell:
export BINCLUSIVE_API_KEY="b8e_paste_your_ci_token_here"
export BINCLUSIVE_PROJECT_ID="prj_paste_your_project_id_here"
Windows PowerShell for the current shell:
$env:BINCLUSIVE_API_KEY="b8e_paste_your_ci_token_here"
$env:BINCLUSIVE_PROJECT_ID="prj_paste_your_project_id_here"
Windows persistent values for future terminals:
setx BINCLUSIVE_API_KEY "b8e_paste_your_ci_token_here"
setx BINCLUSIVE_PROJECT_ID "prj_paste_your_project_id_here"
Explain that setx does not update the current terminal; set $env: too or open a new terminal. For persistence on macOS/Linux, let the user choose the appropriate shell profile and warn that it stores a secret in a plaintext profile. Prefer a secret manager or CI secret store for shared/CI environments.
Verify presence without printing values:
test -n "$BINCLUSIVE_API_KEY" && test -n "$BINCLUSIVE_PROJECT_ID"
if (-not $env:BINCLUSIVE_API_KEY -or -not $env:BINCLUSIVE_PROJECT_ID) { throw "Binclusive CI credentials are missing" }
If validation fails, explain whether the current shell or future-shell persistence is missing. Do not proceed to CI until both variables are present in the process that will run it.
For the dashboard path, explain: "I will run binclusive ci. It uploads findings and creates dashboard tickets for centralized tracking. It may return a failing gate when findings exist; that is different from an upload failure."
npx @binclusive/cli ci <project-root> --format json. Keep stderr visible because dashboard delivery confirmation is written there.binclusive ci — uploaded <N> finding(s) to the dashboard.binclusive ci — clean scan reported to the dashboard (0 findings).FAIL — gating findings present is acceptable when a confirmation is also present. Record the uploaded count from the confirmation.A zero-finding run still completes dashboard onboarding. The CLI has no zero-findings early return — the run itself is the payload, so a clean scan is uploaded and confirmed with the second success shape above. Treat that as delivery proven, not as a limitation to work around.
For the local path:
npx @binclusive/cli scan <project-root> --format json from the project root. Confirm supported syntax with --help if needed.For the dashboard path, with both environment variables present, run:
node <this-skill-dir>/scripts/onboarding-state.mjs complete <project-root> --cli-version <version> --scan-mode dashboard --ci-target <target> --uploaded-count <N>
For the local path, run:
node <this-skill-dir>/scripts/onboarding-state.mjs complete <project-root> --cli-version <version> --scan-mode local
Run status again. The state records the selected scan mode and verification status. It never records credential values or dashboard identifiers.
This step is internal; do not present it as another user task. Then resume the original request automatically:
$map-project for project inventory$audit-accessibility after mapping$shopify-theme-audit for Shopify themes$fix-accessibility after an audit TODO existsWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
9 skills in this plugin
/accessibility-runtime-journey-creatorDrive a live web app in Google Chrome or an Android/iOS app on a physical device or emulator/simulator, as the hands of the WCAG-EM journey flow in accessibility-test-journey-creator. Explores the product so the customer gets a suggested list of processes and views, and replays journeys to verify them; creating and publishing follow the approval lifecycle in accessibility-test-journey-creator Step 4. Covers mobile connection setup, saves journeys locally, guides Binclusive MCP delivery, and does not perform a complete accessibility audit or start cloud tests./accessibility-test-journey-creatorDecide what a Binclusive project's accessibility audit tests, the way WCAG-EM 2.0 runs an evaluation. The customer states the scope, the skill explores the whole product (live, or from source code) and suggests a list of processes and sample views, the customer edits and approves that list, and only approved journeys are created. Nothing is picked or published on its own. Works for web, iOS and Android projects. Use whenever the user wants to set up, draft, generate, normalize, migrate or convert journeys, including phrases like "create journeys for this site", "what should we audit", "set up journeys in Binclusive for [project]", "turn this flow doc into journeys", "birlikte test journey oluşturalım". Does not replace accessibility auditing or create Agentic QA journeys.npx claudepluginhub binclusive/binclusive-accessibility-skills --plugin binclusive-accessibility