migrate-workflow-typescript

migrate-workflow-typescript is a skill for Claude Code from diagrid-labs/dapr-skills. It costs 91 tokens per session (2,305 once invoked), scanned A, original, MIT.

A guided migration skill for moving an existing TypeScript or Node.js application toward Dapr. Dapr is a platform that supplies building blocks for service calls, messaging, scheduling, state, secrets, and workflows.

In plain words
What is it for?
Use it to scan an existing application, propose a migration plan, and apply confirmed changes incrementally. It can look for service calls, messages, schedules, secrets, stored state, and saga patterns.
Why use it?
It maps existing integration code to those Dapr building blocks instead of replacing the application with a fixed example. Changes are made only after approval and are checked one at a time.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the dapr-skills plugin — 29 skills shipped together

Good fit Use it to scan an existing application, propose a migration plan, and apply confirmed changes incrementally. It can look for service calls, messages, schedules, secrets, stored state, and saga patterns.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/diagrid-labs/dapr-skills/migrate-workflow-typescript
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add diagrid-labs/dapr-skills --skill migrate-workflow-typescript
Clone the repo
git clone --depth 1 https://github.com/diagrid-labs/dapr-skills

Made for: Claude Code.

Or install dapr-skills, the plugin that ships this one along with the rest of its 29 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for migrate-workflow-typescript

README.md
[![agentmods](https://agentmods.dev/badge/skills/diagrid-labs/dapr-skills/migrate-workflow-typescript/github.svg)](https://agentmods.dev/skills/diagrid-labs/dapr-skills/migrate-workflow-typescript)
Your own site
<a href="https://agentmods.dev/skills/diagrid-labs/dapr-skills/migrate-workflow-typescript"><img src="https://agentmods.dev/badge/skills/diagrid-labs/dapr-skills/migrate-workflow-typescript/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for migrate-workflow-typescript

Your own site · 80×15
<a href="https://agentmods.dev/skills/diagrid-labs/dapr-skills/migrate-workflow-typescript"><img src="https://agentmods.dev/badge/skills/diagrid-labs/dapr-skills/migrate-workflow-typescript.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,305 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00091 $0.02305
Opus 5.5 $0.00036 $0.00922
Sonnet 5.5 $0.00018 $0.00461
Haiku 4.5 $0.00009 $0.00231

Measured 6d ago against content hash 345bcb75b133, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

migrate-workflow-typescript scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/migrate-workflow-typescript/SKILL.md · 126 lines

How it starts

The opening of the file, as written. The whole thing — 126 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Migrate an Existing TypeScript Application to Dapr

Overview

This skill is different in kind from create-workflow-typescript: it does not scaffold a new project — it analyzes an existing TypeScript/Node.js application, proposes a mapping of its existing integration points onto Dapr building blocks (service invocation, pub/sub, bindings, jobs, state, secrets, workflow), and applies only the changes the user confirms, one at a time, verifying after each. It never rewrites whole files and never assumes a fixed business scenario — the existing code is the spec.

This skill touches code the user did not ask you to create from scratch. Treat every write as something that must be individually justifiable, reversible, and verified — not something to batch through.

Execution Order

You MUST follow these phases in strict order. Do not skip the safety phase, and do not apply any change before the user has approved the plan.

  1. Resolve scope & detect existing Dapr adoption — confirm what's being migrated.
  2. Safety setup — clean working tree, dedicated branch, commit policy.
  3. Discover — read-only scan for migration candidates across all 7 categories.
  4. Assess & present the plan — emit the Migration Assessment Report; get explicit approval on scope before touching anything.
  5. Scaffold the Dapr foundation — add the SDK dependency and only the components needed for approved items.
  6. Apply approved items incrementally — one integration point at a time, in the fixed safe order below, verifying after each.
  7. Create/update the migration summary — what changed, what was deferred, how to run it.
  8. Show final message — your LAST output MUST be EXACTLY the message defined in ## Show final message. Do NOT add any other text, summary, or commentary after it.

Prerequisites

The following must be installed by the user before this skill can run:

Read the full file on GitHub · 126 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago Changed · -11 lines · -80 tokens per session 345bcb75b133
  2. 9d ago Changed · +44 tokens per session 5e9052e68365
  3. 11d ago Changed · +2 lines 32132a05dddb
  4. 23d ago First seen · 135 lines · 127 tokens per session scan A 9b4bff4f5304

Subscribe to this mod's changes

migrate-workflow-typescript is a skill published in the GitHub repository diagrid-labs/dapr-skills (13 stars, last pushed 6d ago), licensed MIT. It adds 91 tokens to every session and 2,305 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-01.