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-flowsInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Development & EngineeringSupported Platforms
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.
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 foundOur 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.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| descope-flows (this skill)by descope | 70 | 0 | — | SKILL.md |
| taste-skillby Leonxlnx | 100 | 122.3k | 1d ago | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 115.4k | 3d ago | CLAUDE.md |
| hyperframesby heygen-com | 100 | 91.5k | today | CLAUDE.md |
| rufloby ruvnet | 100 | 82.6k | today | CLAUDE.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.
Skill content
View source on GitHubname: 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
- Pick a template.
flows_readwith operationsearchFlowTemplates(the user's request as the query), thengetFlowTemplate(templateId) for the best match; itsflowis in the shapeImportFlowtakes. Never write a flow from scratch: copy thatflowand edit the copy. No close template? Take the nearest one and tell the user which parts are new. Template keywords are incomplete: when results arematch: anyor 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.endpairs asM/M.end), and their routes point at the new ids.
- Look up every fact you use, never guess one:
- actions:
flows_readwith operationGetActionCatalog(queryto find them, thenquerywithfull: truefor the inputs and errors of the ones you use; checktotaland narrow the query when it is cut off). Use input names exactly; route only the error ids the action lists. An action with non-emptymembersis never a task's action: write its members as tasksNandN.end. - condition operators:
flows_readGetConditionOperators. Context keys:flows_readGetContextKeys(prefixorquery) for every key you add or change (one call per prefix is enough); the keys an action writes are itsoutputsin 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_readwith operationUserCustomAttributes). 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_readwith operationGetConnectorTemplate({id: "<templateId>"}) for a named vendor's commands and arguments (LoadAllConnectorTemplatesfirst only when the vendor is unknown);LoadAllConnectorsfor 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 butLoadAllConnectorsdoesn't list: ask before building, never put in a silent placeholder.
- actions:
- Adapt the template in your copy: set
flow.flowId(the user's, or one you propose) andmetadata.name, then changecontents.tasksandscreens, 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.endfor the second half of a two-step action), the action's display name, and noview(the import places new tasks); keep the template'sviewvalues. - 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.
- Dry run.
flows_writewith operationImportFlowand{flow, flowId, traceId, mode: "CREATE", dryRun: true}(traceId: any stable id); it runs theValidateFlowchecks 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.CREATEon a flow id that exists fails ("already exists"): pick another id, or, only if the user names that flow to replace, useUPSERTin both the dry run and the import. Any later change needs a new dry run. - Diff. Always run it:
flows_readwith operationDiffFlows,beforethe template'sflowfrom step 1 unchanged,afteryour final flow. It takes only full flows; there is no id form. - 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. - Import.
flows_writewith operationImportFlowand{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. AdraftTokenlasts 30 minutes; after that, dry-run again. Then have the user run it once (console Run, or the hosted page with?flow=<flowId>). - 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
errorMessagealone 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
taste-skill
122.3kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
Agent-Reach
115.4kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
hyperframes
91.5kOpen-source AI video editor: edit your own footage, or create and remake any video with Claude Code, Codex or the free Studio app. Write HTML, render MP4. By HeyGen.
ruflo
82.6k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
