datarobot-oss/datarobot-agent-skills / skills/datarobot-gap-analysis
datarobot-gap-analysis
FlaggedUse 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.
scripts/run_gap_analysis.py
View on GitHub#!/usr/bin/env python3
# Copyright (c) 2026 DataRobot, Inc. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
# /// script
# requires-python = ">=3.11"
# dependencies = ["PyYAML>=6.0"]
# ///
"""Thin launcher for the vendored gap_analysis engine (datarobot-gap-analysis skill).
Points the engine at the data files (taxonomy.yaml, policy/, prompts/) vendored
alongside this script, then delegates to the engine's own CLI. Run with `uv run`
so the PyYAML dependency above is resolved automatically, with no install step
(the shared datarobot-skills-utils package is located by gap_analysis/_bootstrap.py:
a repo checkout, an installed copy, or a one-time install from PyPI):
uv run <skill_scripts_dir>/run_gap_analysis.py <repo-url-or-path> [options]
Layer-2/4 LLM reasoning runs through the `dr` CLI's opencode runtime (parallel
workers, no extra Python deps, auth via `dr auth`). Without `dr` those layers
are skipped and the report says so. For deeper Layer-1 scanning, add the scanner
extras:
uv run --with pip-audit --with semgrep \\
<skill_scripts_dir>/run_gap_analysis.py <repo-url-or-path> [options]
All CLI options are documented in gap_analysis.cli (`--help`).
"""
from __future__ import annotations
import os
import sys
from pathlib import Path
_SCRIPTS_DIR = Path(__file__).resolve().parent
os.environ.setdefault("GAP_DATA_DIR", str(_SCRIPTS_DIR))
sys.path.insert(0, str(_SCRIPTS_DIR))
from gap_analysis.cli import main
if __name__ == "__main__":
raise SystemExit(main())
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |