SkillAgentSearch skills...

descope-flows

Build new Descope flows with the Descope MCP, starting from a Descope flow template, and import them after a dry run and the user's yes

Install / Use

npx skills add descope/skills --skill descope-flows

Installs into whichever agent you are using.

About this skill
📄

SKILL.md

Installable skill definition

Quality Score

70/100

Supported Platforms

Universal

Our assessment of descope-flows

descope-flows scores 70/100 on our quality scale, 3877th of 4,722 Development & Engineering skills we index.

Its SKILL.md is 23 KB long, well organised into 12 sections with 4 code examples: a thorough specification that gives an agent plenty to work with.

It has no GitHub stars yet, so there is no community track record; judge it on its content.

Substance
30/30
Structure
20/20
Description
15/15
Adoption
0/20
Freshness
5/15

Maintenance, license and trust

  • We could not determine when the repository was last updated.
  • No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
  • Its trust signals score 68/100, with 3 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

Safety scan

No issues found

Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands.

Automated pattern scan on 2026-11-28. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.

descope-flows compared with similar skills

All 4 of these similar skills score higher than descope-flows; compare them before choosing.

SkillScoreStarsUpdatedFormat
descope-flows (this skill)by descope700—SKILL.md
taste-skillby Leonxlnx100122.3k1d agoCLAUDE.md
Agent-Reachby Panniantong100115.4k3d agoCLAUDE.md
hyperframesby heygen-com10091.5ktodayCLAUDE.md
rufloby ruvnet10082.6ktodayCLAUDE.md

Frequently asked questions

How do I install descope-flows?
Run npx skills add descope/skills --skill descope-flows. The install tabs above show the steps for each supported agent.
Which AI agents does descope-flows work with?
It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
Is descope-flows safe to use?
Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. It declares no license and scores 68/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is descope-flows still maintained?
We could not determine when the repository was last updated.

name: descope-flows description: Build new Descope flows with the Descope MCP, starting from a Descope flow template, and import them after a dry run and the user's yes. Use when the user asks for a new Descope sign-up, sign-in, MFA, step-up, SSO, social login, OTP, magic link, passkey, login or progressive-profiling flow. Builds new flows only, not for editing an existing flow.

Descope Flows

Build a new Descope flow with the Descope MCP: start from a template, change only what the user asked for, check it with the server, show what changed, and import only after the user says yes. New flows only. Every fact about actions, conditions, context keys, screens and connectors comes from the MCP; where it and this skill disagree, the MCP wins. "flows_read with operation X" means calling the tool with {projectId, operation: "X", args: {...}}. Every call names the app's project: projectId on flows_read / flows_write, args.projectId on session actions. Use the Project ID the app is configured with, or ask the user; if the session tool lists a selectProject action, select the project with it first. If the Descope MCP isn't connected, say so and stop. Built, Changed from the template, Checked, Assumptions and For review are the sections of the final report (see Report).

Before building: settle these with the user

Ask in one short message, only what the request leaves open, and wait for the answers. Business facts only the user knows (names of lists or attributes, API contracts, normalization rules) are questions, never assumptions; only technical choices may be assumed. Never decide sign-up or failure behavior yourself.

  • Sign-up: may new users sign up, or existing users only? With SSO, an existing-users-only flow must also stop a first SSO login from creating a user (just-in-time provisioning is a tenant SSO setting, not a flow step).
  • Security words: what "lock", "block", "limit", "expire", "require" mean: for how long, counted where (this attempt only, or across attempts), and how it ends (time, an admin, a reset). A count kept in the flow starts again with every new attempt; a lock that outlives the attempt needs the app's backend. Say so if the user expects more.
  • Failures on the auth path: for each connector, scriptlet or outside API, fail open or closed, retries, thresholds. Recommend failing closed.
  • Who may use it: when the request names an audience ("our sales reps", "partners"), does the flow enforce it (email domain, tenant, role) or only describe it?
  • Account messages and SSO email: an explicit "no account for this email" message is built only on request (see Security defaults). When a screen they ask for would reveal it (invite-only "not invited", a decline that names the email), offer neutral wording in the same message; build the revealing one only if they confirm, and list it under For review. When the user types an email to find their SSO, ask whether the IdP's email must match it; recommend yes.
  • Values only they know: thresholds, links, provider names, brand inputs. Values only their project holds (site keys, redirect URLs; connector ids come from step 2) never hold up the build: take them if offered, otherwise keep a REPLACE_WITH_... placeholder and list it in the report.
  • A legacy system or outside API on the auth path: is it checked on every sign-in (it still owns passwords) or only when Descope's own check fails? How does it signal a wrong password or unknown user versus an outage (status codes, a body field)? The flow needs both to show the right message and to fail closed on outages.
  • Several tenants: which tenant does a new user join (none, one matched by email domain, a new one)? Before sign-in the flow doesn't know the user's tenants; offer to choose after sign-in, route by email domain, or have the app pass the tenant when it starts the flow.

A default you offer must come from a template or an MCP result; otherwise say it is unverified. Never default to skipping a security check.

Workflow

  1. Pick a template. flows_read with operation searchFlowTemplates (the user's request as the query), then getFlowTemplate (templateId) for the best match; its flow is in the shape ImportFlow takes. Never write a flow from scratch: copy that flow and edit the copy. No close template? Take the nearest one and tell the user which parts are new. Template keywords are incomplete: when results are match: any or miss the request, search again with fewer or other words (a method, a template name) before listing all templates.
    • Keep everything the template does unless the request explicitly changes it: error routes, locked-account and reset paths, verified-email checks, name fields, legal links, masked email or phone. A path the request clearly rules out ("no social login") goes, listed under Changed from the template (a security check also under For review). Ask before any other removal ("only X" alone doesn't rule a path out), and keep the path if you can't ask.
    • Combining templates: the one closest to the main path is the base and keeps all its ids. Copied tasks and screens get ids not already in the flow (keep N/N.end pairs as M/M.end), and their routes point at the new ids.
  2. Look up every fact you use, never guess one:
    • actions: flows_read with operation GetActionCatalog (query to find them, then query with full: true for the inputs and errors of the ones you use; check total and narrow the query when it is cut off). Use input names exactly; route only the error ids the action lists. An action with non-empty members is never a task's action: write its members as tasks N and N.end.
    • condition operators: flows_read GetConditionOperators. Context keys: flows_read GetContextKeys (prefix or query) for every key you add or change (one call per prefix is enough); the keys an action writes are its outputs in the full catalog entry. A key with <name> is a pattern: put in a real name from the source its description gives (custom attribute names: users_read with operation UserCustomAttributes). Never guess one: a misspelled key resolves empty.
    • screens: start from the template's screens and reuse their components and props; never invent a component or prop.
    • connectors: connect_read with operation GetConnectorTemplate ({id: "<templateId>"}) for a named vendor's commands and arguments (LoadAllConnectorTemplates first only when the vendor is unknown); LoadAllConnectors for the connector ids the project already has. Use a vendor's connector template when one exists; Generic HTTP is for APIs with none. A connector the request names but LoadAllConnectors doesn't list: ask before building, never put in a silent placeholder.
  3. Adapt the template in your copy: set flow.flowId (the user's, or one you propose) and metadata.name, then change contents.tasks and screens, and check the copy against Security defaults. Read Flow JSON reference before writing error routes, row inputs, conditions, connector tasks or screens.
    • Wire every requirement end to end: a value a screen collects is saved only if a task reads it, and every failure the user mentions (unknown email, wrong code, locked account) gets an explicit path and a message.
    • Automatic error handling (the message on the last screen) is fine for most errors. Route explicitly only when no screen precedes the action (start of flow, IdP-initiated: to a screen with a message and a way to start over), the call is optional (its failure continues the login), the message would reveal whether an account exists, or the user asked for it.
    • Something asked for "after X" (after sign-in, after sign-up) goes on every path that does X: email, social, SSO, new and returning users alike.
    • New tasks look console-made: the next unused numeric id (N.end for the second half of a two-step action), the action's display name, and no view (the import places new tasks); keep the template's view values.
    • Never make up terms or privacy links: use REPLACE_WITH_TERMS_URL / REPLACE_WITH_PRIVACY_URL. Never drop a requested step for an unknown value: ask, or for a technical choice pick one and list it under Assumptions. Secrets belong in the connector, never in flow JSON.
    • Project settings are not flow JSON (account linking by email is the OAuth "Email address handling" setting; SSO just-in-time provisioning; password policy). Don't imitate them: name the setting under For review.
  4. Dry run. flows_write with operation ImportFlow and {flow, flowId, traceId, mode: "CREATE", dryRun: true} (traceId: any stable id); it runs the ValidateFlow checks too. Fix every error; for each warning, fix it or say under For review why it doesn't apply. Repeat until no errors remain. A clean result means the flow imports, not that it does what was asked. CREATE on a flow id that exists fails ("already exists"): pick another id, or, only if the user names that flow to replace, use UPSERT in both the dry run and the import. Any later change needs a new dry run.
  5. Diff. Always run it: flows_read with operation DiffFlows, before the template's flow from step 1 unchanged, after your final flow. It takes only full flows; there is no id form.
  6. Ask before importing. Show the changes and the For review items, name the project the calls run on (their projectId; ask if you can't tell) and the flow id, and wait for an explicit yes.
  7. Import. flows_write with operation ImportFlow and {draftToken, mode} from the dry run of the flow the user approved. If the call says the session must be elevated, get the user's yes, then make the elevate call it names. A draftToken lasts 30 minutes; after that, dry-run again. Then have the user run it once (console Run, or the hosted page with ?flow=<flowId>).
  8. Report (below).

Security defaults

Apply these unless the user explicitly chooses otherwise, and name every exception in the report. A template is a starting point, not a vetted default: check your copy against every rule below, fix what it breaks (an unknown-account error left on automatic handling, SSO without email binding), and list each fix under Changed from the template.

  • No account enumeration. On sign-in and password reset, a known and an unknown account get the same first screen and response. Templates often branch on existence there: fix it, sending nothing to the unknown one. The unknown-account error id often also covers send failures, which then look like success: list that under For review (watch the audit log). Timing, rate limits and errors only an existing account can hit (tenant SSO required, unverified magic-link destination, recovery not set up, password locked, disabled or expired) can still differ; name them under For review. Every unknown-account and wrong-credential failure (email, social, passkey, SSO) shows one neutral message ("If an account exists, we sent you a code", "Wrong email or password"). Route the action's unknown-account error (see Flow JSON reference, Unknown accounts) with custom handling to the screen known accounts see: automatic handling shows its text, which names the missing account, and errorMessage alone still sends that text to the client. Social, passkey and SSO sign-in give a known account a session with no screen: route their unknown-account error to a screen with the neutral message and a retry. A screen both reach shows at most the masked value the user typed, never a different channel (a phone for an email login); elsewhere show the masked value, never the full email or phone. An expl

Truncated for display — read the full file on GitHub.

Related Skills

View on GitHub
GitHub Stars0
CategoryDevelopment
UpdatedNaNy ago
Forks0

Trust signals

68/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

2 medium1 low
descope-flows — Universal Skill: Install & Safety Check | SkillAgent