extract-requirements

extract-requirements is a command for Claude Code from OutSystems/outsystems-mcp. It costs 83 tokens per session (6,662 once invoked), scanned A, original, MIT.

A command that extracts a written requirements collection from old source code and models. It supports sources such as COBOL, Java, .NET, Node.js, Microsoft Access, and AS/400 systems.

In plain words
What is it for?
Use it to document the behavior and requirements of an existing system before handing the results to the legacy-application workflow.
Why use it?
It turns difficult-to-read legacy material into requirements that can be used for planning and rebuilding the application.

Command for Claude Code

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

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 document the behavior and requirements of an existing system before handing the results to the legacy-application workflow.

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 extract-requirements

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/outsystems/outsystems-mcp/extract-requirements"><img src="https://agentmods.dev/badge/commands/outsystems/outsystems-mcp/extract-requirements.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 6,662 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.00083 $0.06662
Opus 5.5 $0.00033 $0.02665
Sonnet 5.5 $0.00017 $0.01332
Haiku 4.5 $0.00008 $0.00666

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

Security

Grade A, and why

extract-requirements 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.

to `upload_url` with the returned `headers` (just `Content-Length`, which `curl -T`
legacy-modernization/commands/extract-requirements.md · 404 lines

How it starts

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

/extract-requirements — Claude Code host

The explicit entry point for Skill legacy-requirements-extraction, which also triggers on its own whenever the user asks for the specs or requirements of some legacy source code. Either way, run the steps below.

The same workflow id, step order and gate as extract-requirements in ${CLAUDE_PLUGIN_ROOT}/app/lib/workflows.py, which stays the source of truth for the full node text — read it there if a step below is ambiguous. This file records only what differs when you run in plain Claude Code instead of inside the app-generator chat UI.

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

Treat $ARGUMENTS as the source path and, if given, the customer name. Do not guess a customer name — ask.

Running the extraction in this host

The app runs the extractor as an in-process MCP server (mcp__extractor__detect_source, mcp__extractor__run_extraction). Those tools do not exist here, and you do not need them: the same pipeline is served remotely as the modernize_* tools on the user's OutSystems MCP. Check that MCP's tool list at runtime and call the tools by their bare names. If modernize_session_start is listed, use it; do not tell the user the extraction can't run.

Read the full file on GitHub · 404 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 · 404 lines · 83 tokens per session scan A b2391f17f802

Subscribe to this mod's changes

extract-requirements is a command published in the GitHub repository OutSystems/outsystems-mcp (47 stars, last pushed 2d ago), licensed MIT. It adds 83 tokens to every session and 6,662 once invoked, about $0.0003 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

extract-requirements compared with commands from other repositories

extract-requirements next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
extract-requirementsOutSystems/outsystems-mcpCommand472d agoMITA83Claude 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