/selise-blocks:blocks-iam-organizationsfrom selise-blocks
Manages Blocks organizations and signup policy via SDK (iam.organizations, iam.signupSettings, auth.switchOrganization) or CLI (blocks iam organizations *, iam signup-settings *). Use for org switchers, active-org switching, multi-org settings, organization CRUD, and signup policy.
Ships in selise-blocks. 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.
When invoking a project-scoped blocks command, either use the resolved account's saved selection or pass --project <tenantId> for that one command without changing saved state. --project applies to CLI commands only, never SDK calls.
Organizations are the tenancy/workspace unit inside a Blocks project. Two equally real surfaces exist for managing them:
@seliseblocks/client SDK calls from app code (blocksClient in src/lib/blocks/client.ts, from blocks new web). Never write raw fetch/curl against Blocks APIs.blocks CLI has a real, project-scoped command surface for the same operations: blocks iam organizations list/get/create/update/my/config get/config save and blocks iam signup-settings get/save.The one thing neither surface papers over as a gap is auth.switchOrganization — there is no blocks iam organizations switch or similar; switching the active session's org context only makes sense from inside the app that owns that session, so it stays SDK-only.
Prerequisite: the app is a blocks new web scaffold with a project selected. If auth/project state is unknown, run the blocks-bootstrap skill first.
Full organization management (create, update, config, signup-settings) is exposed today, on both surfaces above. What's restricted isn't the surface but who authorizes a mutation and when — organizations are a tenant-isolation boundary, so creating or reconfiguring them carries the same "human explicitly directs this specific change" discipline as the portal-only OIDC provisioning in blocks-bootstrap, just enforced on two different mechanisms (SDK call vs. CLI command) instead of one.
Concretely: before wiring up or invoking any create/update/saveConfig/save call — SDK or CLI — restate the exact change back to the user in plain terms (which organization, which fields, old value vs. new value) and get an explicit go-ahead. Never something an agent calls on its own initiative, in an unattended script, or as a side effect of some other task.
organizations.my), switching active org context (auth.switchOrganization, SDK-only), and public signup policy (signupSettings.get). Safe, no special caveat.blocks command for organizations.switchOrganization — SDK/app-only, no CLI equivalent, don't invent one.isMultiOrgEnabled) for switching orgs to be meaningful — check this first if a user reports "switching doesn't do anything."create)getConfig/config get first, confirm the change, then save)blocks command to list organizations?" → yes, blocks iam organizations list (project-scoped, requires blocks use <tenantId> first); use the SDK instead only when the ask is a feature inside the app itself.auth.switchOrganization is SDK/app-only since it mutates the calling session's own tokens.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub selisedigitalplatforms/blocks-skills --plugin selise-blocks25 skills in this plugin
/blocksStart here for any SELISE Blocks work. Routes a plain-language request — sign-in and projects, SSO, users, roles, MFA, data schemas and records, file storage, translations, mail, notifications, workflows, functions, proxies, secrets, deployments — to the right Blocks skill, and carries the rules every Blocks skill follows: the blocks CLI and @seliseblocks/client SDK only, never raw HTTP to the platform API; --dry-run before --yes; never read the CLI's credential files; when to report a finding. Use whenever work touches SELISE Blocks, the blocks CLI, or @seliseblocks/client./blocks-bootstrapGet a user from any starting state to a working SELISE Blocks setup — CLI installed, logged in, project selected — using the `blocks` CLI, never raw fetch/curl. Detects state from `blocks auth status --json` and `blocks doctor --json`, then routes to a flow: select or create a project, inventory a project that already exists, resolve the app's OIDC client, add a social identity provider, create the first end user, scaffold a new web app, or wire an existing one. Use for a new user, for `not_logged_in`/`project_not_selected`, or whenever login/project/app state is unclear./blocks-captchaConfigure the login captcha of a SELISE Blocks project through the blocks CLI ('captcha list/get/save/enable/disable/delete'): register a reCAPTCHA or hCaptcha site key and secret, switch it on or off, see which configuration blocks-iam actually enforces at login, and retire one. CLI-only, project-scoped; the captcha secret is stored server-side and never shown. Use for 'enable captcha on login', 'change the recaptcha keys', 'why is captcha not showing', 'turn captcha off'.Other plugins' skills for the same job