legacy-requirements-extraction

legacy-requirements-extraction is a skill for Claude Code from OutSystems/outsystems-mcp. It costs 205 tokens per session (4,707 once invoked), scanned A, original, MIT.

A code-analysis workflow that turns old application source code into a structured collection of requirements and a business specification. It supports several legacy systems and programming languages.

In plain words
What is it for?
Use it to document legacy applications before replacing or rebuilding them, and to create requirement files that other migration steps can use.
Why use it?
Older applications often have missing or outdated documentation, making migration risky. This extracts the intended behavior from the existing source instead of relying on guesswork.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions .claude-plugin; names the TodoWrite tool; mentions Claude Code.

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

Good fit Use it to document legacy applications before replacing or rebuilding them, and to create requirement files that other migration steps can use.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/outsystems/outsystems-mcp/legacy-requirements-extraction
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 OutSystems/outsystems-mcp --skill legacy-requirements-extraction
Clone the repo
git clone --depth 1 https://github.com/OutSystems/outsystems-mcp

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 legacy-requirements-extraction

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/outsystems/outsystems-mcp/legacy-requirements-extraction"><img src="https://agentmods.dev/badge/skills/outsystems/outsystems-mcp/legacy-requirements-extraction.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 205 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,707 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 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.00205 $0.04707
Opus 5.5 $0.00082 $0.01883
Sonnet 5.5 $0.00041 $0.00941
Haiku 4.5 $0.00020 $0.00471

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

Security

Grade A, and why

legacy-requirements-extraction scanned grade A 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

or, without `gh`, `curl -fsSL https://raw.githubusercontent.com/OutSystems/outsystems-mcp/main/legacy-modernization/.claude-plugin/plugin.json`.
legacy-modernization/skills/legacy-requirements-extraction/SKILL.md · 295 lines

How it starts

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

Legacy requirements extraction

The /extract-requirements command is the explicit entry point; this skill is what runs whether the user typed the command or simply asked for the specs of some legacy source ("use this source code and extract the specs"). Either way the extraction runs on the OutSystems legacy extraction service, never by reading the code and writing the spec yourself.

Route first

The user has Run
Legacy source code (a tree, a zip, a .dxl) and wants its specs or requirements this skill
A spec collection that is already extracted, to build from the /workflow-legacy-app command
A request, brief or design for a new app, no legacy source the outsystems plugin's Skill outsystems-spec-driven-build (a written brief) or outsystems-design-to-app (a design)

When the plugin's extract-requirements command is installed, follow its steps exactly (detect, extract, review, report, and its gate): it is the source of truth for upload preparation, error codes, the review checklist and the report. The flow below is the core of its extract step, so a skills-only install can still run the extraction.

Before the first call

  • The OutSystems MCP must be authenticated before anything else. Attaching the server is not signing in to it, and an unauthenticated OutSystems MCP usually lists none of its real tools, often only authenticate or auth_status. So a missing tool is an authentication question first. Call auth_status when it is listed; when authenticate is listed, run it and give the user the sign-in link it returns. On AuthError, re-authenticate once and retry the original call. Still not authenticated → make it the first line of your reply: "The OutSystems MCP is not authenticated, so the extraction cannot run." Then say how to sign in on this host (Claude Code: /mcp, pick the outsystems server, Authenticate; elsewhere, the host's MCP settings for that server), that the session must be restarted after signing in (a session keeps the failed connection it started with), and stop. See Authorize before you run. Never report an unauthenticated server as a missing feature, a disabled tenant or an outage, and never work around it.
  • Check the installed skills are current. Plugin version of this copy: 3.0.1. Read the latest released version from the plugin's .claude-plugin/plugin.json: gh api repos/OutSystems/outsystems-mcp/contents/legacy-modernization/.claude-plugin/plugin.json --jq .content | base64 --decode, or, without gh, curl -fsSL https://raw.githubusercontent.com/OutSystems/outsystems-mcp/main/legacy-modernization/.claude-plugin/plugin.json. If its version is newer than this copy's, say so once, right after the authentication check: the version loaded, the version current, and how to update on this host. On Claude Code that is claude plugin marketplace update outsystems, then claude plugin update legacy-modernization@outsystems; on other hosts, the plugin README's update table. An update takes effect in a new session. Then carry on: an old copy still runs, the user just loses what changed. If neither command can reach the repo, say the check was skipped and carry on.
  • Find the source. Name the absolute path of the most specific directory (or single file) holding ONE application's sources. Ambiguous or absent → ask the user exactly what to point at; do not guess.
  • Never split a full-stack repo into two runs. A backend (Java, .NET, Node.js) with its own front end (Angular, React, Vue) alongside it, for example a package.json beside a pom.xml, is still ONE application and gets ONE run, pointed at the directory that holds both, which is often the repo root. Detection picks the backend stack for that tree, so pass source: auto to modernize_run_start and don't override source to force the front-end stack. Nothing downstream merges two spec collections for one app, so a split run gives two incomplete specs instead of one complete one. Separate applications in one repo (independent services, each with its own UI and data) are still one run each, per the bullet above. A front end in a separate repo is not covered by one run: say so and ask the user what to attach. Don't guess. When the backend was detected, don't wait on the answer: run the backend alone, and name the missing front end as a gap in the report. Attaching it later means a new run on one directory that holds both.
  • Ask for the customer name if the user did not give one. Do not invent it.
  • Then check the tool list. Authenticated and modernize_session_start is listed → use the tools below by their bare names. Authenticated but it is not listed → the tenant has no access yet. Tell the user, in these words: "Legacy modernization is in limited availability and isn't enabled for your tenant yet. Contact OutSystems if you'd like access." Then stop. No OutSystems MCP attached at all → say so and point at the plugin README's If OutSystems MCP is not installed. In every one of these cases, never hand-write a spec collection: the next workflow trusts it.
  • Confirm the tenant when more than one OutSystems MCP is attached; the extraction runs, and its upload lands, on whatever tenant that server points at.

Read the full file on GitHub · 295 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 · 295 lines · 205 tokens per session scan A fdfa72995e8e

Subscribe to this mod's changes

legacy-requirements-extraction is a skill published in the GitHub repository OutSystems/outsystems-mcp (47 stars, last pushed 2d ago), licensed MIT. It adds 205 tokens to every session and 4,707 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-28.

Related

legacy-requirements-extraction compared with skills from other repositories

legacy-requirements-extraction next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
legacy-requirements-extractionOutSystems/outsystems-mcpSkill472d agoMITA205Claude Code
artifact-deploykirodotdev/KiroCrewSkill5.1ktodayApache-2.0A74Claude Code, Codex
security-conductorkirodotdev/KiroCrewSkill5.1ktodayApache-2.0A57Claude Code, Codex
explain-forkirodotdev/KiroCrewSkill5.1ktodayApache-2.0A71Claude Code, Codex
learn-from-sagekirodotdev/KiroCrewSkill5.1ktodayApache-2.0A56Claude Code, Codex
web-verifykirodotdev/KiroCrewSkill5.1ktodayApache-2.0A0Claude Code, Codex
web-previewkirodotdev/KiroCrewSkill5.1ktodayApache-2.0A68Claude Code, Codex