workflow-legacy-app

workflow-legacy-app is a command for Claude Code from OutSystems/outsystems-mcp. It costs 45 tokens per session (5,375 once invoked), scanned C, original, MIT.

A command for moving an old application to OutSystems, a platform for building business apps, through planned design, building, checks, and a final report.

In plain words
What is it for?
Use it to migrate a legacy application through the full workflow, with separate agents handling planning, design, implementation, testing, and review.
Why use it?
It organizes a complex modernization job into defined stages and quality checks, including checks that the rebuilt app works and matches the intended design.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: reads .claude/ paths; mentions subagents; names the TodoWrite tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the legacy-modernization plugin — 4 skills, 4 commands, 6 agents shipped together

Good fit Use it to migrate a legacy application through the full workflow, with separate agents handling planning, design, implementation, testing, and review.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add OutSystems/outsystems-mcp
Claude Code
/plugin install legacy-modernization

Made for: Claude Code.

Or install legacy-modernization, the plugin that ships this one along with the rest of its 4 skills, 4 commands, 6 agents.

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 workflow-legacy-app

README.md
[![agentmods](https://agentmods.dev/badge/commands/outsystems/outsystems-mcp/workflow-legacy-app/github.svg)](https://agentmods.dev/commands/outsystems/outsystems-mcp/workflow-legacy-app)
Your own site
<a href="https://agentmods.dev/commands/outsystems/outsystems-mcp/workflow-legacy-app"><img src="https://agentmods.dev/badge/commands/outsystems/outsystems-mcp/workflow-legacy-app/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 workflow-legacy-app

Your own site · 80×15
<a href="https://agentmods.dev/commands/outsystems/outsystems-mcp/workflow-legacy-app"><img src="https://agentmods.dev/badge/commands/outsystems/outsystems-mcp/workflow-legacy-app.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,375 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00045 $0.05375
Opus 5.5 $0.00018 $0.02150
Sonnet 5.5 $0.00009 $0.01075
Haiku 4.5 $0.00005 $0.00537

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

Security

Grade C, and why

workflow-legacy-app scanned grade C with 1 finding 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 2d 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.

Tells the agent never to refusehighAnti-refusal

Suppressing the ability to decline removes a core safety control; a later harmful request then succeeds.

cost more retries and cleanup. See the plugin README. Do not refuse to run
legacy-modernization/commands/workflow-legacy-app.md · 307 lines

How it starts

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

/workflow-legacy-app

Same workflow id, same node ids, and same gate policy as workflow-legacy-app in ${CLAUDE_PLUGIN_ROOT}/app/lib/workflows.py. That file is the source of truth: Read it first and follow each node's instructions and each gate's instructions as written — the preamble's input contract, the item-granularity law, the checklist derivation and the verdict accounting all live there and are not restated here. This command carries only the delta for running outside the app-generator chat UI: no canvases, no in-process MCP servers, and the six roles as real Claude Code subagents. Design on its own, with no build, is /generate-design-options.

If ${CLAUDE_PLUGIN_ROOT} doesn't resolve (Cursor doesn't set it), Glob for **/legacy-modernization/app/lib/workflows.py: first in your cwd, then under the host's plugin directory (~/.cursor/plugins, ~/.claude/plugins), since the plugin is usually installed outside your cwd. Read every plugin file named here under the root you find.

Limited availability

Limited availability: check access first. Legacy modernization isn't generally available yet. Before anything else, sign in to the OutSystems MCP (see the plugin README's Authorize before you run) and read its tool list. If modernize_session_start isn't listed, tell the user, word for word: "Legacy modernization is in limited availability and isn't enabled for your tenant yet. Contact OutSystems if you'd like access." Then stop.

User input

$ARGUMENTS

Read it for: spec/analysis paths, the target app_name (or app_key), tenant hint, figma_url, and a run slug for the report filenames. Pin anything missing from the attached specs; if a required one can't be pinned, mark agent failed in the Progress checklist, say exactly what to attach, and stop.

Also pin the extraction_id: the top-level field of the spec collection's manifest.json (the folder is usually generated-specs/<customer>/<extraction_id>/). A spec with none (a local CLI run, or one written by hand) still builds the same; only the link step below is skipped.

Read the full file on GitHub · 307 lines

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. 2d ago First seen · 307 lines · 45 tokens per session scan C 88d94c9d4afa

Subscribe to this mod's changes

workflow-legacy-app is a command published in the GitHub repository OutSystems/outsystems-mcp (47 stars, last pushed 2d ago), licensed MIT. It adds 45 tokens to every session and 5,375 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 1 finding (tells the agent never to refuse). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-28.

Related

workflow-legacy-app compared with commands from other repositories

workflow-legacy-app next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
workflow-legacy-appOutSystems/outsystems-mcpCommand472d agoMITC45Claude Code
postspencermarx/open-code-reviewCommand39519d agoApache-2.0A11Claude Code
showspencermarx/open-code-reviewCommand39519d agoApache-2.0A7Claude Code
historyspencermarx/open-code-reviewCommand39519d agoApache-2.0A6Claude Code
overlay-applyGRCEngClub/claude-grc-engineeringCommand444todaynoneA24Claude Code
pillar-guidanceGRCEngClub/claude-grc-engineeringCommand444todaynoneA13Claude Code
dpiaGRCEngClub/claude-grc-engineeringCommand444todaynoneA12Claude Code