Runs hexora static analysis on Python package repositories to detect suspicious code patterns, then triages findings with deterministic rules and AI reasoning for a structured risk report.
Ships in odh-ai-helpers. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Runs hexora static analysis on a Python package repository to detect suspicious code patterns such as code execution, encoding/serialization, and native code usage. Produces a self-contained "Hexora Static Analysis" report section with triaged findings and a risk assessment.
RISK_RATING:<value> so
the orchestrator can parse it without reading the full report.hexora-results.json). Schema: {status, total, findings[]}. When provided,
skip running run-hexora.sh and parse this file directly for triage. Status
values: "success", "unavailable", "timeout", "error".If hexora_results is provided and the file exists, read and parse it as JSON:
status is "success": use the findings array as the hexora output.
Each entry is a raw hexora JSONL object (rule, severity, file, line, etc.).
Rules HX1000, HX1020, HX1030, HX3010, HX3040, HX5000-HX5050, HX6020-HX6060,
HX7000-HX7020 are already excluded by the CI runner; minimum confidence is
medium. Proceed directly to Step 2 (Triage).status is "unavailable", "timeout", or "error": skip to the Output
section and produce the report with risk_rating = needs_review, noting the
degraded status and any error message from the JSON. Do not re-run hexora.
The CI runner already attempted execution under controlled conditions, and
re-running in the agent container would likely hit the same failure.status value not listed above: treat it as an error and report
risk_rating = needs_review, noting the unrecognized status value.If hexora_results is not provided, run the wrapper script which handles hexora
installation and applies the tuned rule exclusions:
./scripts/run-hexora.sh <repo-path>
hexora_exit=$?
Check the exit code before proceeding:
uvx.
Do not fail. Skip to the Output section and produce the report with
risk_rating = needs_review stating hexora was unavailable.risk_rating = needs_review noting the error.The wrapper filters out rules that are too noisy for typical Python packages and
sets a minimum confidence of medium. See the script comments for the full
exclusion list and rationale.
Review hexora findings in context. Read the relevant source files to understand the purpose of flagged code. Triage proceeds in two stages: deterministic rules first, then AI reasoning for anything unresolved.
Apply the following rules before any AI reasoning. These handle the most common clear-cut cases and make the triage reproducible.
| Condition | Verdict |
|---|---|
Finding is in a file under test/, tests/, benchmarks/, or examples/ | PASS |
Finding references a standard-library import already excluded by run-hexora.sh rule set | PASS |
Finding is in setup.py, setup.cfg, or pyproject.toml and involves eval, exec, compile, base64, or marshal | REVIEW |
When multiple findings produce different verdicts, the overall precedence is BLOCK > REVIEW > PASS — the most severe verdict wins.
Any finding not resolved by Stage 1 proceeds to Stage 2.
For findings that remain unresolved after deterministic rules, classify each as:
subprocess in a CLI tool)base64 decode in setup.py)Produce the following markdown section:
## Hexora Static Analysis
**Findings:** {N total} ({X critical, Y suspicious, Z likely legitimate})
### Critical Findings
| File | Line | Rule | Confidence | Description | Triage |
|------|------|------|------------|-------------|--------|
| setup.py | 42 | HX2000 | Very High | Base64 decode in install hook | Suspicious — no legitimate reason for encoded payloads in setup.py |
### Suspicious Findings
(same table format)
### Likely Legitimate
(same table format, brief — included for completeness but de-emphasized)
The risk_rating for this phase is one of:
If output_file is provided, write the file with the first line as
RISK_RATING:<value> followed by a blank line and then the markdown section
above. If output_file is not provided, return the report section inline.
| Scenario | Behavior |
|---|---|
| Hexora returns empty results | Report "no findings" for hexora section, risk_rating = no_issues |
Hexora is unavailable (uvx and hexora both missing) | Report hexora unavailable, risk_rating = needs_review |
Pre-computed hexora_results file path provided but file missing, unreadable, or invalid JSON | Report hexora unavailable, risk_rating = needs_review |
Pre-computed hexora_results has degraded status (unavailable/timeout/error) | Do not re-run hexora; report the degraded status, risk_rating = needs_review |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
70 skills in this plugin
/acli-setup-checkVerify acli installation and authentication. Checks if acli is installed, authenticated to Jira, and can query projects. Use when troubleshooting acli issues or setting up acli for the first time./adr-reviewReview an Architectural Decision Record (ADR) using a team of six specialist reviewer subagents and produce a consolidated report as both PDF and PPTX slide deck. Use this skill whenever the user asks to review, critique, audit, or get feedback on an ADR, architecture decision, design doc, or RFC — whether the input is a Markdown file, a .docx document, or pasted text. Trigger even if the user does not explicitly say "ADR"; phrases like "review this architecture decision", "critique this design doc", or "run the reviewer panel on this" should also invoke this skill./ai-bug-fix-triageTriage JIRA bugs against repository code to classify AI fixability. Use when reviewing a backlog of bugs to determine which ones an AI agent can fix./aipcc-commit-suggestGenerate AIPCC Commits style commit messages or summarize existing commits/aipcc-cve-reportGenerate CVE remediation instructions for the user's target RHAI product release or content channel from Jira JQL, ticket keys or a ticket description. Verify fixed packages in the RHAI package index and a matching RHAI base image (RHAIBI), or prepare a focused AIPCC build-request prompt./coderabbit-reviewUse when you need to evaluate CodeRabbit PR comments and fix or reply/odh-ai-helpers:python-packaging-static-auditfrom odh-ai-helpers
odh-ai-helpers@opendatahub-skills is listed by opendatahub-io/skills-registry — review the source before installing
npx claudepluginhub opendatahub-io/skills-registry --plugin odh-ai-helpers3 plugins in one repository ship this exact skill · first indexed Jul 10, 2026
Other plugins' skills for the same job