Logo: Datarobot Gap Analysis

Datarobot Gap Analysis

Organisatioun
datarobot-oss
datarobot-gap-analysis

Use when the user wants to assess whether an AI agent repository (DataRobot-built or not) is enterprise-ready, run a gap analysis / readiness scan against security, governance, reliability, or regulatory standards, score an agent against EU AI Act requirements, or find and fix gaps (secrets, unpinned models, missing CI, missing guardrails, over-permissioned identity, etc.) before deploying an agent to production. Works on any repository, not only ones built with DataRobot.

Iwwersiicht

Editeurdatarobot-oss
Repositorydatarobot-agent-skills
Skill-Nummdatarobot-gap-analysis
Stären
33
Forks
27
Matgeliwwert Dateien
74
LizenzApache-2.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 74 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    datarobot-oss huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Datarobot Gap Analysis an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/datarobot-oss/datarobot-agent-skills/tree/main/skills/datarobot-gap-analysis
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/datarobot-oss/datarobot-agent-skills.git /tmp/datarobot-agent-skills
mkdir -p .claude/skills
cp -r /tmp/datarobot-agent-skills/skills/datarobot-gap-analysis .claude/skills/datarobot-gap-analysis
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Datarobot Gap Analysis an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Datarobot Gap Analysis automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Datarobot Gap Analysis net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

DataRobot Gap Analysis

This skill scores any agent repository (GitHub URL or local path) against an enterprise-readiness framework spanning seven risk pillars (Security, Identity, AI Governance, Reliability, Ops, IT Conformance, Regulatory & Policy) across four evaluation layers: deterministic scanning, LLM-based code reasoning, policy conformance, and a regulatory layer driven by the org's own DataRobot risk-management policy (EU AI Act by default), not a hardcoded checklist. It then recommends a remediation path (Patch, Hybrid, or Re-platform) and can apply the safe fixes itself. Regulatory gaps are satisfied by adopting the DataRobot platform feature the policy calls for (deployment monitoring, GenAI Guards, RBAC, Model Registry documentation), so their remediation usually points at converting the architecture to deploy through DataRobot rather than patching code.

Unlike datarobot-agent-assist, this skill needs nothing but a repo. It does not require an agent_spec.md or a prior design conversation, so it works equally well on an agent someone built entirely outside DataRobot.


Prerequisite check

Run in order before proceeding:

  1. Git — run git --version. If missing, tell the user to install it and stop.
  2. Python — run python3 --version. If missing or below 3.11, tell the user to install Python 3.11+ and stop.
  3. uv — run uv --version. If missing, tell the user to install it from https://docs.astral.sh/uv/getting-started/installation/ and stop. All script invocations below use uv run, which resolves the script's own dependencies (PyYAML) automatically, so there is no manual pip install step. The launcher locates the shared datarobot-skills-utils package itself: a repo checkout, an installed copy, or a one-time install from PyPI.
  4. Optional scanners: check which trivy gitleaks hadolint. Any that is installed is used; without trivy dependency CVEs still come from pip-audit/npm audit, and without the others git-history secrets, IaC misconfiguration, dependency licenses and Dockerfile lint are skipped and named in the report. When one is missing, tell the user which checks will be skipped and offer to install it with the package manager native to their OS (Homebrew, apt/dnf, winget/scoop) or the release binary from the tool's own install docs. Install only if they agree; never install silently.
  5. DataRobot CLI: run dr --version. If missing, invoke the datarobot-setup skill to install it, then re-check. The LLM layers (2 and 4) run through dr opencode workers authenticated by dr auth; without dr those layers are skipped and the report says so, which is why the CLI is a prerequisite rather than an option.

Script path resolution

Resolve <skill_scripts_dir> once for the session: the scripts/ subdirectory of the directory containing this SKILL.md. Confirm it exists with ls <path_to_this_skill_dir>/scripts/. Use the resolved absolute path for every <skill_scripts_dir>/... reference below.


Conversation flow

1. Collect the target

Ask for:

  • Repo: a GitHub URL or a local path. Private GitHub repos need GITHUB_TOKEN in the environment — if cloning fails with an auth error, ask for a token or suggest the user runs git clone themselves and passes the local path instead.
  • Ref (optional): branch/tag/commit to check out.
  • Policy (optional): a path to an org policy YAML (Python version floor, approved models, license denylist, base images, EU AI Act pack toggles). If the user doesn't have one, run with the built-in defaults and mention that a custom policy is supported — see references/policy-authoring.md.

2. Check for DataRobot credentials, run the assessment

The LLM checks — the 20 Layer-2 code-reasoning conditions and Layer-4's per-mitigation judging — run in parallel (default 4 workers, --workers N) through a private dr opencode server the engine starts and stops automatically, authenticated by the CLI's own login. Every Layer-2 finding is re-checked by a second verification call against the cited code region; refuted findings are dropped and listed in Engine Notes, and --fix refuses LLM findings that were not verified (--no-verify skips the pass for a faster, less trustworthy run). Run options are CLI flags: --model picks the model, --effort the reasoning effort (max for the highest value the model's provider accepts through the LLM Gateway, the default; off; or a literal value such as low), --workers the parallelism, --llm-timeout the per-call limit (default 600 s, since a broad check at max reasoning effort takes about five minutes on a large repo; a check that still times out is listed in the report's coverage block with a --select <ids> --llm-timeout command that reruns just those checks), and --offline skips every live catalog fetch. Each flag defaults to the matching GAP_* environment variable when one is set (GAP_LLM_MODEL, GAP_LLM_EFFORT, GAP_WORKERS, GAP_OPENCODE_TIMEOUT, GAP_VERIFY, GAP_OFFLINE), so CI can pin them once. The reasoning effort is injected into the run's own opencode environment, never written to the user's opencode config. Layer 4's policy fetch from DataRobot risk-management uses DATAROBOT_API_TOKEN + DATAROBOT_ENDPOINT when set, falling back to the dr CLI's own config (written by dr auth login), so a logged-in machine needs no env exports; --env-file <path> loads a project dotenv explicitly. If credentials are missing or invalid, invoke the datarobot-setup skill before retrying, do not print manual setup instructions. If the user explicitly wants a fast pass, offer --no-llm: Layers 1 and 3 still run, and Layer 4 still fetches the policy but reports its requirements as "required, not assessed" instead of judging the code.

The regulatory layer is a pre-deployment check: it never inspects deployed entities, it judges whether this repo would satisfy the org's policy if deployed. Applicability mirrors the platform's own evaluator: a mitigation is "not applicable" only when the repo has no model or LLM path at all, or when its target type (AgenticWorkflow for an agent, TextGeneration for a plain LLM app, a predictive type for a scoring model) is outside the check's applicable target types, for example drift or accuracy tracking on an agent. A missing datarobot.Deployment never exempts a check, and calling the DataRobot LLM Gateway directly does not either: the gateway is the model provider, the deployment is the governed entity. For an agent or LLM app with no deployment, the remedy is an agentic deployment (a CustomModel with target type AgenticWorkflow behind a Deployment) that keeps using the gateway from inside. Only the active Pulumi configuration counts: templates that ship selectable variants under configurations/ deploy just the one the symlink points at, and when an inactive variant already declares a Deployment the report says to select it rather than build new infrastructure. A program that only references a deployment owned elsewhere (Deployment.get) has those checks reported as "provided by an existing deployment, verify there", never as passed. If DataRobot risk-management isn't reachable (feature not enabled for the org, no matching policy), Layer 4 reports nothing and says why in the report's Engine Notes; tell the user plainly that regulatory coverage was not assessed rather than implying it passed. There is no local fallback checklist.

Invoke via the Monitor tool if available, so the developer sees each layer complete as a live notification instead of a silent multi-minute wait. Fall back to Bash (same output, shown at the end) on harnesses without a Monitor-equivalent.

Every stderr line is prefixed with [mm:ss] elapsed time, so a slow phase is visible in the log. Filter the monitored output with exactly this pattern — do not narrow it:

grep -E --line-buffered "▶|✓|done \[|error|failed|traceback"

▶ fires when a layer starts, done [n/total] after every finished check (the user must see steady per-check movement through the long LLM phases — never filter these out), and ✓ once per completed phase with its duration. The final ✓ HTML report: file://… (and ✓ Markdown report: …) lines pass the same filter — always relay them to the user, who otherwise has no way to know the report files exist.

echo "[uv] resolving scanner dependencies (first run downloads semgrep, ~1-2 min; cached after)…" >&2
uv run --with pip-audit --with semgrep \
  <skill_scripts_dir>/run_gap_analysis.py <repo> \
  --ref <ref>                    # optional
  --policy <path>                # optional
  --out gap-report.md            # Markdown report (a directory writes gap-report.md into it); the HTML report lands next to it
  --html <path>                  # optional: custom path for the HTML report
  --open                         # optional: open the HTML report in the browser
  --no-llm                       # optional: skip LLM checks (Layer 2, and Layer 4 evidence judging)

Keep the echo line: uv resolves the --with extras before Python starts and prints nothing to a non-TTY until installation finishes, so on a cold cache the run looks hung without it. The extras give Layer 1 dependency CVE and SAST scanning (the secret scan and the engineering-baseline checks are built in); nothing is installed globally. Dropping them still works, and the report says which scanners were skipped.

Full flag reference (including --fix, --select, --verify, --env-file): run uv run <skill_scripts_dir>/run_gap_analysis.py --help.

3. Summarize the report

Relay the ✓ HTML report: file://… link the script printed (the browser is never opened automatically), then read the written report back and summarize for the user:

  • The composite finding count and severity breakdown.

  • The remediation posture (Patch / Hybrid / Re-platform) and its one-line rationale. See references/remediation-paths.md if the user asks why a posture was assigned.

  • The three or four highest-severity findings, in plain language, with file:line evidence — never invent a finding; if a condition was skipped (e.g. a relational check missing one of its file groups), say so rather than guessing.

  • The LLM Gateway Usage section at the end of the report shows calls and input, output and reasoning tokens per phase (Layer 2 with its verification pass, Layer 4, fixes) for the model and reasoning effort used. Mention the total when the user asks about cost or run time; the coverage block under the Summary carries a one-line version.

  • Any regulatory (POL-DR-*) findings deserve their own framing: they come from the org's own DataRobot risk-management policy, and each one names the DataRobot platform feature that satisfies it plus how to enable it (Pulumi settings block, API/console step, or automatic on deployment). On a repo that already carries a pulumi-datarobot program, the IaC-satisfiable ones (drift/accuracy/fairness settings, notification policies, guards) are offered as assisted --fix edits to the Pulumi resources; the rest still mean adapting the architecture to deploy through DataRobot rather than treating them as code bugs to patch.

The developer can ask follow-up questions in this same conversation (why a condition fired, what a specific fix changes, what a risk-management mitigation requires); the skill running as a normal chat turn already grounds those answers in the same report and codebase, no separate Q&A surface needed.

Regulatory (POL-DR-*) findings carry numbered fix steps and a docs link resolved at run time from docs.datarobot.com/llms.txt, so links are never pinned in this skill. When a finding shows "search docs.datarobot.com for ..." instead of a link, look the topic up there yourself before advising; do not quote a page from memory.

4. Offer remediation

State the posture and let it drive the offer — the unit of decision is the gap, not the whole agent:

  • PATCH → the fixes are surgical. Deterministic plumbing (dependency pins, secrets to env vars, model and Python pins, CI and test scaffolds) is applied by --fix; every other finding carries a prompt for the developer's own coding agent.
  • HYBRID → apply the deterministic fixes now; hand the agent prompts for the rest to the developer and flag which findings are structural.
  • RE-PLATFORM → too many structural gaps to patch safely in place. Read the posture text before recommending anything: it says whether the repo already builds on af-components and which agent framework it uses (also in the report header).

Two remediation surfaces, and the report says which applies to each finding:

  • Deterministic fixes (auto): the report's "Copy fix command" gives --fix --select <id> --from gap-findings.json. The analysis writes gap-findings.json next to the report, and --from reuses it, so the fix runs in seconds without re-analyzing. A bare --fix applies every plumbing codemod; a business-logic codemod runs only when named with --select.
  • Agent prompts (assisted and advisory): the report's "Copy agent prompt" is a self-contained request carrying the citation, evidence, verification note, fix guidance and safety rails. The developer pastes it into Claude Code, Cursor, opencode or whatever agent is open. That agent can read call sites, edit and run tests, which a one-shot edit cannot, so the engine never edits these itself. When you are that agent, act on the prompt directly instead of re-running the analysis.

Safety rails, never skip these:

  • Fixes land on a new gap-fixes/<timestamp> branch, never the default branch. A GitHub URL is cloned to a scratch workspace; a local path is used as-is, so make sure its working tree is clean before running --fix (the report files this skill wrote into the repo are the one exception, they are ignored by that check). Files git ignores in that checkout (a local .env, stack configs, build output) are left out of every layer and listed in the report's engine notes.
  • Nothing is pushed or opened as a PR without a separate, explicit approval after the developer has reviewed the diff.
  • After --fix, offer --verify to re-score the fix branch and show a before/after deploy-readiness verdict.

5. Re-platform hand-off (structural gaps)

When the posture is Re-platform (or a post-fix rescore still shows structural gaps), do not lead with --fix. Check two things the report already states, then choose:

  • Already on af-components (the header lists af-component-* template sources): keep the application. The structural gap is that the agent or LLM path is not behind a DataRobot deployment, so propose adding a DataRobot agent deployment (a CustomModel behind a datarobot.Deployment in the Pulumi program) that guards and monitoring can attach to. Do not propose re-generating the repo.
  • Not on af-components: hand off to the datarobot-agent-assist skill (design/code flow): it extracts the agent's business logic (prompts, tools, decision flow) into a reviewable agent_spec.md and scaffolds a governed replacement from it. Show the spec and get explicit approval before anything is scaffolded. Install datarobot-agent-assist if it isn't already, rather than scaffolding from inside this skill.

Never change the agent framework unless the user asks. The flavors the DataRobot agent template offers are read at run time from the af-component-agent Copier template (agent_template_framework choices), so the list is never hardcoded here. A framework without a native flavor deploys through the template's generic Base flavor, which wraps an arbitrary Python agent. The report header names the repo's framework and which case applies.

Regulatory (POL-DR-*) findings feed this same path: a DataRobot-scaffolded replacement gets the platform features those mitigations require (logging, tracing, monitoring, guards, RBAC) largely by construction, so re-platforming is usually how a repo full of unsatisfied risk-management mitigations becomes compliant.


Reference material

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

An nach 14 weider Dateien.

Heefeg gestallte Froen

Wat mécht de KI-Skill Datarobot Gap Analysis?

Use when the user wants to assess whether an AI agent repository (DataRobot-built or not) is enterprise-ready, run a gap analysis / readiness scan against security, governance, reliability, or regulatory standards, score an agent against EU AI Act requirements, or find and fix gaps (secrets, unpinned models, missing CI, missing guardrails, over-permissioned identity, etc.) before deploying an agent to production. Works on any repository, not only ones built with DataRobot.

Firwat Datarobot Gap Analysis op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Datarobot Gap Analysis besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Datarobot Gap Analysis an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/datarobot-oss/datarobot-agent-skills/tree/main/skills/datarobot-gap-analysis an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Datarobot Gap Analysis benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Datarobot Gap Analysis benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Datarobot Gap Analysis domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Datarobot Gap Analysis gratis?

Jo. datarobot-oss huet de Skill ënner der Lizenz Apache-2.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇