Example packs
How the example Scrydon Packs are built, imported, customised, and contributed. Browse the catalogue under Examples.
These are pre-authored Process Flows packaged as Scrydon Packs (.scrydon-pack.tar.gz). Each one groups a process flow alongside an ontology — download, inspect, then upload via /api/packs/import. Examples are not auto-installed; you opt in by importing the archive into your organization.
Each archive is built by packages/sdk-authoring/scripts/build-examples.ts from the manifest at packages/sdk-authoring/src/process-flows/examples/<slug>/index.ts, wrapped at build time into a pack. The archive is pure data — no executable code ever ships.
Browse the example packs
The example catalogue — each scenario, its full step-by-step walkthrough, sample data, and the .scrydon-pack.tar.gz download — lives in the Examples section. This page covers how those packs are built, imported from the command line, customised, and contributed.
All example packs
Every downloadable pack plus the upload-and-install steps.
ISO quarterly review
Quarterly ISMS review (ISO 27001 + 42001) — 8 stages, 6 personas.
ISO yearly review
Annual ISMS + AIMS review and audit pack — 12 stages, 8 personas.
AI Boardroom
Board-meeting lifecycle driven by six specialist AI agents — 3 stages.
NATO maritime
Six-stage OODA-loop multi-domain operations brief — 6 stages, 5 personas.
SAP Activate
SAP S/4HANA implementation lifecycle — 6 stages, 5 personas.
How to import an example
Click a pack's download link in the Examples section. The archive is a small (≈ 4–6 KiB) gzip stream.
Verify the manifest before uploading.
bunx @scrydon/sdk-authoring pack inspect ~/Downloads/iso-quarterly-review-1.0.0.scrydon-pack.tar.gzThe inspector enforces the same caps the runtime applies — archive size, file count, allowed extensions, no symlinks, no path traversal — and runs the task DAG cycle check on the process-flow subdir.
POST the archive to your organization's pack import endpoint.
curl -X POST "$AGENTIC_URL/api/packs/import?organizationId=$ORG_ID" \
-H "Cookie: $SESSION_COOKIE" \
-F "file=@~/Downloads/iso-quarterly-review-1.0.0.scrydon-pack.tar.gz"Once imported the template appears in the Process Flows marketplace inside your org. Click New from template to start a fresh instance.
Customising before upload
Most teams will want to tweak personas, due-offset days, or replace actionType: workflow entries with their own workflowIds. Three options:
- Edit the manifest, re-build. Clone the example source from
packages/sdk-authoring/src/process-flows/examples/<slug>/index.ts, edit, thenbun run --cwd packages/sdk-authoring build:examplesto rebuild every pack. Or assemble a hand-authored pack directory andbunx @scrydon/sdk-authoring pack build path/to/pack.json --outDir dist. - Fork the manifest in TypeScript. Author your own
defineProcessFlow(...)in your repo, copy-pasting the example as a starting point. Recommended when the changes are non-trivial. - Edit
process-flow/manifest.jsoninside the archive. Extract → edit → re-pack withtar -czf. Quick for one-off tweaks; not recommended for ongoing maintenance.
The example manifests are versioned (package.version in both pack.json and the process-flow manifest) — bump that when you fork so your org tracks the divergence.
Adding a new example
To contribute a new example:
- Create
packages/sdk-authoring/src/process-flows/examples/<your-slug>/index.tsexporting adefineProcessFlow(...)result. - Append it to
exampleTemplatesinexamples/index.ts. - (Optional) If your example needs a real ontology, drop the ontology subdir under
packages/sdk-authoring/src/packs/examples/<your-slug>/ontology/and register it inONTOLOGY_OVERRIDESinsidescripts/build-examples.ts. Templates without an override get an empty ontology auto-generated at build time. - Run
bun run --cwd packages/sdk-authoring build:examples— the script auto-discovers and packages every entry. - The archive lands at
apps/docs/public/static/process-pack-examples/<slug>-<version>.scrydon-pack.tar.gzand is served by the docs site. - Add the pack to the catalogue in the Examples section — a card on the examples index and a walkthrough page under
content/docs/examples/.
The build script is fail-loud: if a manifest doesn't validate against its schema, the example is rejected and the build fails with the Zod path of the violation.
What's NOT in an example
Packs are pure data — they cannot include executable code. Custom logic is referenced by workflowId against system or organization-level workflows. The ISO examples reference compliance-quarterly-prefetch, compliance-monitoring-snapshot, compliance-evidence-sync, and compliance-vanta-final-check — these are planned system workflows. Until they ship, those workflow-typed actions degrade to manual checklists in the runtime UI.