/didit:didit-build-workflowsfrom Didit
Builds and edits Didit verification workflows with branches, document rules, and regulatory compliance. Publishes drafts and answers questions about workflow capabilities.
Ships in Didit. 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.
None: SKILL.md is the whole skill.
Follow the rules of didit-connect first: call didit_context_get, pick the application, and note whether it is sandbox or live. A workflow belongs to one application. To create a simple workflow and send a link right away, didit-verify-people is enough; use this skill for branches, document rules, edits to an existing workflow, regulation-driven workflows and publishing.
Every change in this skill needs the person's agreement first: show the steps or the edit, say whether it stays a draft or goes live, and wait for a clear yes. Publishing changes what every new session runs and cannot be undone except by publishing again.
didit_workflow_list or didit_workflow_search lists the workflows with their stable workflow_id.didit_workflow_get_graph with workflow_id returns the nodes, branches, status, version and is_editable. Its returned_data is the only source for what data the customer receives in the API response and webhooks, and its age_assurance block says whether and how the workflow checks age. Answer those questions from these blocks, never from the workflow's name or its steps.didit_workflow_get_feature_config_schema with feature lists every config key a step accepts. A key outside it is dropped.didit_workflow_get_id_verification_methods_catalog with workflow_id and optional country lists the accepted documents; didit_workflow_get_kyb_registry_catalog with countries lists company registry data (see didit-verify-businesses).Needs a person sign-in: on an API key connection didit_workflow_build_graph is not available (see didit-connect); didit_workflow_create (see didit-verify-people) is.
didit_workflow_build_graph turns a plain spec into a checked graph and saves nothing:
features: only the steps the person named, by code (OCR, LIVENESS, FACE_MATCH, NFC, PROOF_OF_ADDRESS, QUESTIONNAIRE, PHONE_VERIFICATION, EMAIL_VERIFICATION, AGE_ESTIMATION, IP_ANALYSIS, AML, DATABASE_VALIDATION, DOCUMENT_AI; for a company KYB_REGISTRY, KYB_DOCUMENTS, KYB_KEY_PEOPLE with subject: "kyb"). Never add steps the person did not ask for; the builder adds real dependencies itself.branches: steps only some countries take, each with its countries and features.document_rules: per-country document filters, each with country (as the person named it, or ALL), document (ID, P, DL, RP and others) and action (only or exclude).countries: leave it out for all countries.If it answers unsupported or questions, build nothing and ask the person exactly what it asks. Otherwise call it again with include_graph: true, create the workflow with didit_workflow_create (status: "draft"), and apply the graph with didit_workflow_set_graph. Never rebuild the graph by hand. ID verification for passports only, then liveness and AML for UAE documents:
{"features": ["OCR"], "branches": [{"countries": ["UAE"], "features": ["LIVENESS", "AML"]}], "document_rules": [{"country": "ALL", "document": "P", "action": "only"}]}
didit_workflow_edit_graph: workflow_id and operations, an ordered list of small edits (set_node, remove_node, set_next, set_branches, merge_node_config, set_start). The server applies them to the current graph, validates it and saves a draft; the live version is never touched unless you pass publish: true. A failed validation returns applied: false with the errors and saves nothing: report them.didit_workflow_get_field_definitions with workflow_id (and optional feature) for the fields a branch can test, and didit_workflow_validate_graph with graph to dry-run a whole graph before didit_workflow_set_graph.didit_workflow_update: workflow_id plus settings such as workflow_label, max_retry_attempts, retry_window_days, session_expiration_time or is_default.To add a step after OCR, first read the node ids from didit_workflow_get_graph, then send the edit:
{"workflow_id": "<workflow_id>", "operations": [{"op": "set_node", "node_id": "aml_1", "node": {"node_type": "feature", "feature": "AML"}}, {"op": "set_next", "node_id": "<ocr node_id>", "next": "aml_1"}, {"op": "set_next", "node_id": "aml_1", "next": "<the node OCR pointed to>"}]}
didit_workflow_publish with workflow_id set to the draft's version_uuid (returned by the edit) makes it live for new sessions; sessions already started keep their version. Before publishing a live application's workflow, show what changes and wait for a clear yes. If the person only asked for a draft, stop and say it is unpublished.
Needs a person sign-in: on an API key connection the compliance tools are not available (see didit-connect).
didit_compliance_profile_get reads the stored profile (countries, sector, products). If there is none, didit_compliance_interview_next with the answers so far returns the next question to ask; ask the person, never answer for them. didit_compliance_profile_set stores the answers and replaces the profile: show them and wait for a yes.didit_compliance_requirements lists the obligations with citations.didit_compliance_generate_workflow previews a workflow from the profile and saves nothing. Its rationale is the only source for why a step exists: never name a regulation, article or link that is not in it. Apply it as in section 2.didit_compliance_check_workflow with workflow_id says which obligations a workflow meets or misses.Present this as help to set up checks, not legal advice: the customer's compliance team decides what their obligations are.
Create or edit the questionnaire itself in didit-workspace-admin, then add a QUESTIONNAIRE feature node whose config holds its questionnaire_uuid with didit_workflow_edit_graph. To add choices to a question without resending the whole list, use didit_questionnaire_append_choices with questionnaire_id and choices.
Ask what the product is, which countries it serves and whether its users are people, companies or both. Then propose the steps from the row and the "Also consider" column, say which are optional, and let the person choose. Build only what they choose (section 2), keep it a draft in a sandbox application and test it with a session (didit-verify-people) before publishing.
| Industry | Usual steps to discuss | Also consider |
|---|---|---|
| Fintech and banking | OCR, LIVENESS, FACE_MATCH, AML, PROOF_OF_ADDRESS, IP_ANALYSIS; DATABASE_VALIDATION where the country is covered | Ongoing AML monitoring of approved users (didit-run-checks), transaction monitoring rules (didit-monitor-transactions), KYB for business accounts (didit-verify-businesses) |
| Crypto | The fintech steps, often with PHONE_VERIFICATION or EMAIL_VERIFICATION | Wallet screening and transaction rules (didit-monitor-transactions). On this connector the Travel Rule is read-only: changes are made in the Didit console |
| iGaming | OCR, LIVENESS, FACE_MATCH, AML, an age limit on the document, often PROOF_OF_ADDRESS | The gambling transaction categories and rules (didit-monitor-transactions), a blocklist for self-excluded players (didit-workspace-admin) |
| Marketplaces | Sellers: OCR, LIVENESS, FACE_MATCH, AML; business sellers: KYB_REGISTRY, KYB_KEY_PEOPLE. Buyers: often PHONE_VERIFICATION or EMAIL_VERIFICATION only | Blocklists of faces, documents or emails for banned users, face search against earlier users (didit-run-checks) |
| HR and hiring | OCR, LIVENESS, FACE_MATCH; DATABASE_VALIDATION where covered; a QUESTIONNAIRE for the candidate's declarations | DOCUMENT_AI for supporting documents such as certificates |
| Healthcare | OCR, LIVENESS, FACE_MATCH, often PHONE_VERIFICATION; Authentication with passkeys or selfie sign-in for returning patients (the didit-authentication plugin) | Data protection and contract questions go to Didit's team; do not answer them from memory |
| Telcos | OCR, LIVENESS, FACE_MATCH, NFC where the document has a chip, DATABASE_VALIDATION where covered, PHONE_VERIFICATION | Blocklists of documents used too often |
| Age and adult content | AGE_ESTIMATION alone for a low-friction check, with an ID document as the fallback for people near the limit | A one-off age estimate from a selfie the person already has (didit_verify_age, see didit-run-checks) |
It is a starting point to discuss with the person, never a statement of what the law requires. Needs a person sign-in for the compliance tools named here (see section 5). Do not name a law, a regulator, a licence condition or a deadline from memory: only what didit_compliance_requirements or didit_compliance_generate_workflow returned, with its citation. Without a stored profile, say the obligations come from the customer's compliance team or from the compliance profile (section 5), and offer to start it.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub didit-protocol/skills --plugin didit9 skills in this plugin
/didit-connectConnects to the person's Didit account, picks the right organization and application, and sets the rules for every Didit action. Use when the user starts working with Didit from chat, asks "which apps do I have", "is this sandbox or live", "am I signed in to Didit", "do you need my API key", cannot find a Didit tool, gets a permission or read-only error, or asks how something works in Didit./didit-monitor-transactionsMonitors transactions in their Didit account, from flagged transactions to rules, wallet screening and a read-only view of the Travel Rule. Use when the user asks "why was this transaction flagged", says "submit a transaction", "monitoring rule", "back-test this rule", "how often would it fire", "screen a wallet", "where do alerts go", or asks about Travel Rule transfers and VASPs with Didit./didit-reportsReads usage, analytics, credits and plan details and exports data from their Didit account. Use when the user asks "how many verifications this month", "approval rate", "where do people drop off", "compare with last month", "how many credits are left", "what is my balance", "which plan are we on", "download our receipts", "change our billing address or VAT number", "top up", or says "export sessions" or "export transactions" from Didit./didit-review-queueWorks the manual review queue and compliance cases in their Didit account. Use when the user says "show the review queue", "what is waiting for review", "find the session for this person", "approve" or "decline" a verification, "why was it declined", "add a review note", "review history", or wants to assign, comment on, escalate, resolve or reopen a Didit case./didit-run-checksRuns one-off checks on a person with Didit, without a full verification flow. Use when the user says "sanctions check", "PEP check", "adverse media", "AML screen this name", "check this ID document", "proof of address", "validate against government databases", "compare these two faces", "face search", "liveness check", "estimate their age from a selfie", or "send a phone code" in their Didit account./didit-verify-businessesVerifies companies (KYB) with Didit, from registry lookups to business verification links. Use when the user says "verify a company", "KYB", "look up this business in the registry", "which countries have registry data", "send a business verification link", or wants to find and read a business already verified in their Didit account.Other plugins' skills for the same job