Outsystems Dependency Impact
ASecurity[Beta] Build an interactive REVERSE-dependency explorer, opened in the Dependency Impact web page: answers 'who depends on this library/agent/connection?' from the platform's deletion-impact analysis (read-only; nothing is deleted). One named target is one analysis: seconds, a few K tokens. A whole-tenant map is one analysis per library/agent/connection in parallel batches (estimate: ~0.5K tokens per target plus ~0.1–0.15K per dependent found, plus ~0.05K per tenant asset listed). Use ONLY fo...
- 50 stars
- 0 votes
- 0 copies
- 8 views
- Added October 7, 2026
Works with
Security analysis
100/100Pro scans all 4 files and shows the line behind each finding
npx -y skills add OutSystems/outsystems-mcp --skill outsystems-dependency-impact --agent claude-codeAre you the author of Outsystems Dependency Impact?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/outsystems-outsystems-dependency-impact)---
name: outsystems-dependency-impact
description: "[Beta] Build an interactive REVERSE-dependency explorer, opened in the Dependency Impact web page: answers 'who depends on this library/agent/connection?' from the platform's deletion-impact analysis (read-only; nothing is deleted). One named target is one analysis: seconds, a few K tokens. A whole-tenant map is one analysis per library/agent/connection in parallel batches (estimate: ~0.5K tokens per target plus ~0.1–0.15K per dependent found, plus ~0.05K per tenant asset listed). Use ONLY for reverse questions like 'who depends on [library/agent]', 'if I publish [library] who breaks', 'blast radius of [library/agent]', 'reverse dependency map', 'library impact audit', 'agent impact audit'. For forward questions about a specific app ('what does App X depend on', 'deps of App X'), use outsystems-app-architecture or the app's references directly. Not for OutSystems 11 (O11) or Service Studio."
license: MIT
compatibility: Needs an agent that can write and search files in the user's workspace, with the OutSystems MCP server connected and signed in; no shell or Python. The user opens the result in the Dependency Impact web page in a current browser. Claude Desktop's Chat tab writes no workspace files and cannot run it.
metadata:
version: "2.0.0"
maturity: beta
author: OutSystems
---
**Beta Feature.** This skill is a Beta Feature: a non-final OutSystems capability provided to collect customer feedback. It can change significantly, including through breaking changes, or be discontinued. The first time you use this skill in a conversation, tell the user it's a Beta Feature and share https://www.outsystems.com/legal/beta-features-agreement.
# OutSystems Dependency Impact
Writes the analysis results to a folder in the user's workspace, which the
user opens in the Dependency Impact viewer, a web page:
https://outsystems.github.io/outsystems-mcp/outsystems-dependency-impact/
They pick a library, agent or connection there, and the page shows every
asset that would break if it were removed, in which environments, at which
deployed revision, and with what severity (`Error` / `Warning`). The page
reads the folder in the browser: nothing is uploaded, and it loads nothing
but its own files. Its "Save as HTML" button writes one self-contained file
to share.
The data comes from the platform's **deletion-impact analysis**:
`deploy_impact {key, delete: true}`, polled with `deploy_impact_status`.
It is an analysis only — nothing is deleted, and the MCP server calls no
delete endpoint for it. For "if I publish library X, who breaks?" it
lists everyone who depends on X; that is the most a pre-publish check can
give for a library (the deployment variant of the analysis does not work
for library types).
## Cost and time (estimates)
| Question | Calls | Wall time | Tokens |
|---|---|---|---|
| One named target | 1 launch + 1–3 polls | seconds | ~3–5K, plus ~0.1–0.15K per dependent |
| Whole-tenant map, N targets | the asset list, then N launches + N+ polls, 10 per message | ~0.5–1 min per 10 targets | ~0.05K per tenant asset listed, then ~0.5K × N, plus ~0.1–0.15K per dependent |
These are estimates, not end-to-end measurements. Measured live: a
launch returns in about a second, and finished reports came back for
every analysis polled; a heavily used UI library had 74 dependents in a
report of about 37 KB (roughly 9K tokens). The whole-tenant map is still
one analysis per target, and picking its targets means reading the whole
asset list, so for a large tenant it is not cheap — prefer the one-target
path whenever the user names a target.
## Prerequisites
- The OutSystems MCP server is connected and signed in. This skill reads
the tools named below; tool names here are the server's own, and your
harness may show them with a prefix (in Claude Code,
`mcp__plugin_outsystems_outsystems__deploy_impact` for `deploy_impact`).
- A file-write tool that writes into the user's workspace (the folder you
work in), and a file-search tool that lists the files containing a text
(Claude Code, Cursor and Kiro have both). No shell and no Python: the
viewer page builds the report from the files you write.
- No file-write tool (Claude Desktop's Chat tab)? Stop and tell the user
this skill needs an agent that writes files into a workspace, for
example Claude Code; don't paste the results into the conversation
instead.
## The reality checks
- **One analysis answers one target.** There is no tenant-wide reverse
index on the server; a map is N analyses.
- **Which asset types the deletion analysis accepts is the platform's
call.** The MCP server passes any asset key through. Verified live:
`LowCodeLibrary`. Agents and connections are not verified. A launch the
platform refuses (`analysis_launch_rejected`) renders as "Deletion
analysis not available for this asset", never as "no dependents".
- **Only `impactKnown: true` is a verdict.** `impactKnown: false`,
`processStatus` `Failed` / `Unknown` / still `InProgress`, or a missing
`report` means the impact is unknown, and the page says so.
- **`report.impactedAssets` is capped at 200.** The count is
`report.total`; when the list is shorter the page says "Showing N of M".
## The folder
Everything this skill writes goes into one folder per tenant in the user's
workspace: `outsystems-skills/outsystems-dependency-impact/<TENANT_ID>/`.
Create the folders if your file-write tool does not. Write nowhere else,
never into another skill's folder, and never delete anything: a later run
writes over a file, and the manifest decides what the page shows.
```
<TENANT_ID>/ Branch D: the whole-tenant map
manifest.json what the viewer reads first
env-list.json the env_list response, verbatim
targets.json the run's targets, as asset rows
impact/<targetKey>.json one record per target
named/ Branch C: questions about named targets,
manifest.json laid out the same way
env-list.json
targets.json
impact/<targetKey>.json
```
**`manifest.json`** — write exactly these keys (paths are relative to the
manifest's folder):
```json
{
"schema": 1,
"skill": "outsystems-dependency-impact",
"tenantId": "<TENANT_ID>",
"savedOn": "<TODAY>",
"impactDir": "impact",
"tenantAssets": ["targets.json"],
"targets": "targets.json",
"envList": "env-list.json"
}
```
The viewer reads schema 1 only and refuses any other number. It reads
`targets.json` twice: as the targets' names, types and revisions, and as
the run's scope, so a record in `impact/` for a target not listed there is
not shown (it stays for a later run).
**`targets.json`** — a JSON list, one row per target, from that asset's
`app_list` row: `{"k": "<assetKey>", "n": "<name>", "t": "<assetType>", "r": <revision>}`.
**Record per target** — `impact/<targetKey>.json`, written in Step 5:
```js
{
"targetKey": "<assetKey>",
"savedOn": "<TODAY>",
"outcome": "known" | "unknown" | "refused", // your reading, for resuming
"launch": <deploy_impact response, or its tool-error payload {error, data: {code}}>,
"result": <last deploy_impact_status response>, // omit if the launch failed
"resultFile": "<absolute path the harness printed>", // instead of "result", see below
"gaveUp": "unknown-status" | "still-in-progress", // only if polling stopped early
"harnessTruncated": true, // only if the harness cut the result
"skipped": "type-unsupported", "probeError": <error> // only for a skipped target
}
```
`outcome` is `known` when the last status has `impactKnown: true` and a
`report`, `refused` when the launch was refused with
`analysis_launch_rejected` or the type was skipped, and `unknown`
otherwise. The viewer makes its own reading from `launch` and `result`;
`outcome` is only for Step 2. Keep from `result` only: `analysisKey,
processStatus, impactKnown, error` and `report.(status, total, truncated,
impactedAssets[].(assetKey, name, type,
deployedRevisions[].(environmentKey, revision, severity, consumerType)))`.
When the harness saved the result to a file instead of showing it ("Output
has been saved to <path>" in Claude Code, for a large report), write that
absolute path as `resultFile` and no `result`. Don't read that file and
don't copy it: it is outside the workspace, and the viewer asks the user
to add it, matching it by its file name. When a harness cut the result,
keep `processStatus`, `impactKnown`, `report.status`, `report.total` and
`report.truncated` from the visible tail, the rows that arrived intact,
and set `harnessTruncated: true`. Never write a cut-off JSON body.
## Procedure
### Step 0 — Scope detection
Read the user's request and pick the matching branch:
**Branch A — Forward-deps for ONE specific app** ("what does App X use",
"show me the deps of App X", "what's in App X")
→ **Stop. Tell the user this skill is the wrong tool** and route to
`outsystems-app-architecture` (which shows the same forward-dep info
plus screens/entities/actions for ~10K tokens). Do NOT continue the
procedure.
**Branch B — Forward-deps for 2-3 specific apps** ("what do App X and
App Y depend on")
→ **Stop. Skip this skill entirely.** Call `app_refs` on each named
app, all in one message (~3-5K tokens total). Report the deps inline.
If `app_refs` answers `refs_fallback_unavailable`, this deployment cannot
list that app's dependencies yet: tell the user so, and never report it as
"no dependencies". With `fallbackReason` `not_indexed`, do not retry.
**Branch C — Reverse-deps for named targets** ("who depends on lib X",
"if I publish X who breaks", "blast radius of agent Y") — up to about
five named targets
→ Steps 1, 3, 4, 4.5, 5, 6. No tenant-wide asset list.
**Branch D — Whole-tenant map** ("reverse dependency map", "library
impact audit", "audit all my deps")
→ Steps 1–6, with the confirmation gate in Step 4.5.
### Step 1 — Tenant id, today's date and environments
In one message:
- `auth_status` — used here only for the tenant id: read the top-level
`tenant_id` (not `claims.*`). Over HTTP it always says
`logged_in: true`; an expired sign-in fails this call (or any other)
with an authentication error, in which case ask the user to sign in to
the OutSystems MCP server again and retry once.
- `env_list` — environment names for the page.
```
TENANT_ID = <auth_status.tenant_id>
TODAY = today's date as YYYY-MM-DD, as your harness states it
```
Use `TENANT_ID` in a path only if it holds nothing but letters, digits,
`-` and `_`; otherwise stop and tell the user. If your harness does not
state today's date, ask the user rather than guess.
The run's folder, `<folder>` below, is the tenant's folder (The folder,
above) for Branch D and its `named/` folder for Branch C. Write the
`env_list` response verbatim to `<folder>/env-list.json`.
### Step 2 — Resume (Branch D only)
A map takes a while, so a run picks up where a run of the same day
stopped. Records from an earlier day are never reused. If the user said
"refresh" / "rescan" / "fresh data", skip this step: analyse every target
again, writing over its record.
- **The targets.** If `<folder>/manifest.json` exists and its `savedOn`
is `TODAY`, read `<folder>/targets.json` and use it in place of Steps 3
and 4, unless the user wants another scope than it holds (it may hold
the libraries only). Then go to Step 4.5.
- **The records.** Before launching, search `<folder>/impact` with your
file-search tool for the files that contain `"savedOn":\s*"TODAY"` (a
regular expression, `TODAY` replaced by the date). Ask for the file
names only, never their lines or contents, and don't read the records.
A record's file name is its target's key: those targets are reused, and
Step 5 launches only the others.
- **"Rescan failures".** Also search for `"outcome":\s*"(known|refused)"`.
Reuse only the files that match both searches: today's records without
a verdict are analysed again.
Branch C never reuses records: it analyses every named target and writes
over its record.
### Step 3 — The asset rows
**Branch C:** resolve each named target with `app_list`
`{search: "<name>"}` (1 match → use it; several → ask the user to pick;
0 → ask for a more specific name). Keep each target's row.
**Branch D:** the whole tenant asset list.
**Preferred: reuse the `outsystems-tenant-architecture` pages** when that
skill listed the assets today. Read
`outsystems-skills/outsystems-tenant-architecture/<TENANT_ID>/manifest.json`
in the workspace, if it exists. Use its pages only if all of these hold:
- its `schema` is 1, its `skill` is `outsystems-tenant-architecture`, and
its `tenant_id` is `TENANT_ID`;
- its `fetched_on` is `TODAY`, and an `app_list` call with `limit: 1`
reports the same `total` as its `apps_total`;
- every entry of its `apps` list is a file name in that folder, not an
absolute path (an absolute path is a page the harness saved because it
was large, which you cannot read whole).
Then read its `apps` files in their order: each is one `app_list`
response, verbatim. If one will not read whole, or the pages fail the
check below, list the assets yourself instead. Never write into that
folder.
**Otherwise, list them:** `app_list` with `limit: 100`, then
`offset: <next_offset>` while `truncated` is true. A page of 100 stays
in your context on every harness; a larger one may be saved to a file you
cannot read whole, or cut.
**Check the list is whole**, whichever way it came: every page but the
last says `truncated: true`, the last says `truncated: false`, and the
rows of all pages add up to the first page's `total`. If not (assets were
added or removed while paging), list again from offset 0, once; if it
still does not add up, stop and tell the user.
### Step 4 — Targets file
**Branch D:** keep the assets whose `assetType` is a producer:
- libraries: `LowCodeLibrary`, `MobileLibrary`, `ExtensionLibrary`,
`WidgetLibrary`, `ExternalLibrary`
- agents: `Agent`
- connections: `AIModelConnection`, `AINativeConnection`,
`ExternalConnection`, `MCPConnection`, `SearchServiceConnection`,
`A2AConnection`
**Both branches:** write `<folder>/targets.json` (The folder, above):
Branch D's producers grouped as listed (libraries, then agents, then
connections), each group sorted by name ignoring case; Branch C's named
targets in the order the user named them. Count the targets per group:
Step 4.5 needs the counts and every name.
### Step 4.5 — Pre-flight confirmation
Branch C: before launching, name the target(s) and say what runs — "a
deletion-impact analysis on <X>: read-only, nothing is deleted; it lists
who would break if X were removed" — and wait for the user's OK. The
analysis mutates nothing, but it is deletion-adjacent, so it is confirmed
like the destructive calls.
Branch D: compute the estimate from the actual counts and ask the user
before Step 5:
```
count = number of targets (less those Step 2 reuses)
rounds = ceil(count / 10)
wall_min = rounds * 0.5 .. rounds * 1.0 # estimate: 1-2 model turns per round
tokens_k = count * 0.5 # estimate, before dependents
```
Ask: *"Run {count} deletion-impact analyses ({libs} libraries, {agents}
agents, {conns} connections) to map who depends on what? Read-only:
nothing is deleted. Estimate: ~{wall_min} min, ~{tokens_k}K tokens plus
~0.1–0.15K per dependent found. Records are reused for the rest of today."* Name the
targets in the same message, grouped by type (the main OutSystems skill
names every asset before a deletion-impact analysis); for a long list,
name them all in a compact comma-separated form rather than leaving any
out. Offer three choices: **Yes — all {count}**, **Libraries only ({libs})**, and
**No — cancel**.
On "No" → stop; nothing is analysed. On "Libraries only", write
`targets.json` again with the libraries only, before Step 5, so the page
shows only them.
Once the user says yes (both branches), write `<folder>/manifest.json`
(The folder, above) with `savedOn: TODAY`. From then on the folder opens
in the viewer, and a target without a record yet shows as impact unknown.
### Step 5 — Analyse
For each target:
1. `deploy_impact` with `key: <target>`, `delete: true` (no `env_key`).
It returns immediately: `{analysisKey, kind: "deletion", impactKnown: false}`.
2. `deploy_impact_status` with `analysis_id: <analysisKey>` (the
parameter is `analysis_id`, not `analysisKey`) and `kind: "deletion"`.
Poll right away — small analyses are often finished by then. While
`processStatus` is `InProgress`, pause 5–15 seconds between rounds
(the response has no poll-interval hint), the way the main OutSystems
skill's "Pacing polls" describes for your harness: in the background
where the harness has background tasks (Claude Code), in the
foreground where it has none (Kiro). Poll the batch yourself:
a status-watcher sub-agent waits on one operation at a time, which
does not fit a batch of ten with a two-minute give-up. Stop at `Finished` or
`Failed`. On `Unknown`, poll at most 3 more times while it stays
`Unknown` (restart the count on any other status), then stop with
`gaveUp: "unknown-status"`. Still `InProgress` after about 2 minutes:
stop with `gaveUp: "still-in-progress"` (it continues server-side).
3. Write its record, `<folder>/impact/<targetKey>.json` (The folder,
above), with `savedOn: TODAY`, writing over any older one. A target
whose launch failed or was skipped gets a record too.
The host may prompt before each `deploy_impact`: the tool's annotation is
destructive because of this deletion variant, even though the analysis
changes nothing.
**Batching (Branch D).** Launch 10 targets per message, and in the same
message poll the previous batch's open analyses. Ten is a courtesy to
the shared dependency service and a batch the model can track, not a
server limit: the MCP server gates neither tool on concurrency.
**Probe per type (Branch D).** Put one asset of each type in the first
batch. If the platform refuses it with `analysis_launch_rejected` for a
reason other than an authentication or permission error (401/403) or an
unknown key, record every other asset of that type as skipped instead of
launching it (`skipped` and `probeError` in the record) — the page then
says the analysis is not available for that type.
**Launch failures.** `analysis_launch_rejected`: record it, do not retry
unchanged. `analysis_launch_unavailable`: retry that target once in a
later batch (the launch has no idempotency key, so a retry after an
ambiguous failure may start a second, harmless analysis). After 5
consecutive `unavailable` launches, stop: report the partial map (it
resumes on a re-run the same day) rather than pushing on.
**Progress.** After each round, one line to the user:
`Progress: 40/143 targets · 31 impact known · 9 unknown · est. 6 min left`
(recompute from actual throughput).
Never go looking for a result in the harness's own session transcripts or
logs: write the response you received, or the saved-to path it printed.
### Step 6 — Report (3–6 lines)
- Where to look: the folder's full path (the workspace's path followed by
`outsystems-skills/outsystems-dependency-impact/<TENANT_ID>`, plus
`/named` for Branch C) and the viewer,
https://outsystems.github.io/outsystems-mcp/outsystems-dependency-impact/
Tell the user to open that page and choose that folder (or drop it on
the page); the page reads it in their browser and uploads nothing.
- Files saved outside the folder (every `resultFile` path): list each
full path, and say the page will ask for them ("Add files") and that a
target whose file is not added shows as impact unknown.
- Branch C: per target, "N dependents (`report.status`)", "showing 200
of N" when capped, or "impact unknown: <reason>" / "analysis not
available for this asset"
- Branch D: targets analysed, impact known / unknown / not available, the
top targets by dependents among those analysed now; name any target
without a record (not analysed) and offer to re-run, which resumes
- Records reused from earlier today, if any: the page is dated by the
oldest record it shows
## Reuse rules
- Records are reused the same day only (Branch D, Step 2), never on
"refresh" / "rescan" / "fresh data"; Branch C always analyses again.
- The `outsystems-tenant-architecture` pages serve as the asset list when
they are from today and their total still matches (Step 3).
- Nothing is deleted: the page ignores what the current manifest and
`targets.json` don't name, and the user may delete the folder any time.
## Token budget (estimate)
| Scenario | Mechanism | Total |
|---|---|---|
| One target | auth_status + env_list + app_list search + launch + 1–3 polls + record | ~3–5K + ~0.1–0.15K per dependent |
| Whole-tenant map, N targets | asset list + N × (launch + poll + record) | ~0.05K per asset + ~0.5K × N + ~0.1–0.15K per dependent |
| Opening the report again | the user picks the folder in the viewer | none |
Estimated from a recorded report (74 dependents in about 37 KB; at the
200-row cap, roughly 25K tokens) and an `app_list` page (90 KB, 500 rows).
## Harness notes
- **Claude Code**: a large result (a report with many dependents) is
saved to a file outside the workspace ("Output has been saved to
<path>") and never enters your context. Write that path as the record's
`resultFile`; the user adds the file in the viewer.
- **Harnesses without auto-save** (Cursor, Kiro and others): results
arrive inline; write each record as The folder describes.
- **Harnesses that truncate large tool results** (for example Codex,
which keeps the head and the tail with a "truncated output" marker and
saves nothing): for a cut impact report keep the tail fields and intact
rows and set `harnessTruncated: true` (The folder). `app_list` pages of
100 are not cut.
## Troubleshooting
- **An MCP call fails with an authentication error** → the sign-in
expired: ask the user to sign in to the OutSystems MCP server again,
then retry once.
- **The OutSystems tools are missing** → the MCP server is not connected;
ask the user to connect it (see the main OutSystems skill's setup).
- **The viewer says there is no `manifest.json` in the folder** → the
user picked another folder, or the run stopped before Step 4.5 wrote
the manifest. Give the folder's full path again, or finish the run.
- **The viewer says `manifest.json has schema N; this page reads schema 1
only`** → the page and this skill are different versions: the user
reloads the page, or updates the OutSystems plugin and runs the skill
again.
- **The viewer lists files outside the folder** → those are the
`resultFile` paths; the user adds them with "Add files" or by dropping
them on the page. In a file dialog, a folder path can be pasted (macOS:
Cmd+Shift+G).
- **A target reads "its saved report (<file>) was not read"** → the file
was not added in the viewer, or it is not JSON. Add it, or poll that
target again and write the result into its record.
- **A target reads "record file is not a JSON object" or "a status was
saved without the launch record"** → that target's record was cut,
edited, or written without its `deploy_impact` response. Launch and
poll it again, and save `launch` and `result` together in its record.
- **A target reads "the saved status is for analysis …"** → its saved
`deploy_impact_status` response belongs to another analysis or asset
(polls paired with the wrong record). Poll that target's own
`analysisKey` again and save the response in its record.
- **A target reads "no analysis record was saved for this target"** →
the run stopped before it: re-run, and Step 2 resumes the same day.
- **The viewer says `an asset row has no "k" key`** → `targets.json`
does not follow The folder's row shape; write it again.
## Anti-patterns — do NOT do these
- **Don't read `impactKnown: false`, a `Failed` / `Unknown` status, a
refused launch, or an absent `report` as "no dependents".**
- **Don't read the length of `report.impactedAssets` as the blast
radius.** It is capped; `report.total` is the number.
- **Don't sweep `app_refs` over every consumer to answer a reverse
question.** The deletion analysis answers it server-side, per target.
- **Don't run a whole-tenant map for a question about named targets.**
- **Never call a delete tool** (`extlib_delete` or any other). The
deletion analysis deletes nothing; nothing in this skill should.
- **Don't chase dependencies of dependencies yourself.** The report's
`consumerType` says how each consumer depends on the target.
- **Don't recover a tool result from the harness's session transcript,
logs or caches.** Those files are the harness's internals, not an
interface: use the saved-to path it printed, or write the response you
received.
- **Don't read or copy a harness-saved report into the folder.** Put its
path in the record; the user adds it in the viewer.
- **Don't write the report's HTML yourself or paste the results instead
of the folder.** The viewer builds the report from the folder.
## When NOT to use
- User wants the architecture of one app → use
`outsystems-app-architecture` (it shows that app's deps via its own
data, more focused).
- User wants to check ONE specific app's deps (forward) → call
`app_refs` directly.
- User asks whether promoting an app to an environment is safe → run a
deployment-impact analysis (`delete: false` with the target `env_key`),
as the main OutSystems skill's "Run a deployment-impact analysis"
workflow describes.
Files in this skill
- SKILL.md
- agents/openai.yaml
- assets/template.html
- scripts/build.py
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.