Логотип Rl Protect Interpret

Rl Protect Interpret

Організація
reversinglabs
rl-protect-interpret

Interprets rl-protect JSON reports (rl-protect.report.json). Use when the user asks about vulnerabilities, malware, indicators, policy violations, overrides, governance, dependency trees, or behavior diffs, or when a scan saved a report and the user wants to dig deeper into findings.

Огляд

Видавецьreversinglabs
Репозиторійrl-protect-skills
Назва навичкиrl-protect-interpret
Зірки
28
Форки
0
Файли в пакеті
4
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 4

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Видавець на GitHub: reversinglabs. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Rl Protect Interpret у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/reversinglabs/rl-protect-skills/tree/main/plugins/rl-protect-interpret/skills/rl-protect-interpret
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/reversinglabs/rl-protect-skills.git /tmp/rl-protect-skills
mkdir -p .claude/skills
cp -r /tmp/rl-protect-skills/plugins/rl-protect-interpret/skills/rl-protect-interpret .claude/skills/rl-protect-interpret
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Rl Protect Interpret в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Rl Protect Interpret, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Rl Protect Interpret не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

Report interpretation (rl-protect JSON)

Use this skill when the user asks questions about a saved rl-protect.report.json file.

This skill uses pre-built Python scripts to extract and format report data. You must always run the appropriate script and present its output to the user. Never read the report file directly, never write your own parsing code, and never summarize report content from memory or context.

rl-protect reports can be large. Reading them directly is slow, wastes context, and produces inconsistent results. The scripts exist specifically to solve this — use them.


Mandatory script usage

Before responding to any question about a report:

  1. Identify the correct script and task from the mapping below.
  2. Run the script.
  3. Present the script's stdout output to the user as-is.

If you find yourself reading the JSON file, writing parsing code, or interpreting report content without having run a script first — stop and run the correct script instead.


Script location

Scripts are in ${CLAUDE_PLUGIN_ROOT}/skills/rl-protect-interpret/scripts/:

${CLAUDE_PLUGIN_ROOT}/skills/rl-protect-interpret/scripts/
  summarize.py      — full report overview, all packages
  interpret.py      — targeted extraction by task
  deptree.py        — dependency tree visualization
  diff-behavior.py  — behavior diff between package versions

Report location

Default report path: rl-protect.report.json in the working directory. Pass a custom path with --report={path} if the user specifies one.

JSON output

All scripts support --json to output structured JSON instead of formatted terminal tables. When --json is passed, the script writes a single JSON object to stdout. The JSON output contains the same data as the terminal output but in a machine-readable format suitable for MCP servers and other programmatic consumers.


Scripts

summarize.py

Prints a compact Markdown summary of every package in the report: recommendation, all six assessment statuses, override flags, and scan errors. Use this when the user wants an overview or has not asked for a specific task.

bash
python ${CLAUDE_PLUGIN_ROOT}/skills/rl-protect-interpret/scripts/summarize.py [report.json] [--json] --no-error-code
interpret.py

Extracts a specific slice of the report. Use this for all targeted tasks. Always prefer this over summarize.py when the user asks a specific question.

bash
python ${CLAUDE_PLUGIN_ROOT}/skills/rl-protect-interpret/scripts/interpret.py <task> [--package <purl>] [--report <path>] [--json] --no-error-code

Use --package to filter output to a specific package when the user names one.

deptree.py

Renders package dependency relationships as an indented Unicode tree. Each node shows the package PURL, recommendation, and worst assessment status. Cycles are detected and marked. Unscanned dependencies are flagged. Use this when the user asks to see, visualize, or explore the dependency tree.

bash
python ${CLAUDE_PLUGIN_ROOT}/skills/rl-protect-interpret/scripts/deptree.py [--package <purl>] [--report <path>] [--depth <n>] [--reverse] [--json] --no-error-code
  • --package roots the tree at a specific package (PURL substring match). Without it, trees are printed for all top-level packages (those not listed as a dependency of another).
  • --depth limits how deep the tree is rendered. Default: unlimited.
  • --reverse shows the reverse dependency tree — who depends on this package, walking upward to find all ancestors. Requires --package. Use this when the user asks "who uses this?", "how did this get into my tree?", or "what depends on X?".
  • --no-error-code suppresses non-zero exit codes from REJECT findings (exit code 2 for actual errors is unaffected). Always pass this flag when running scripts from within Claude Code.
  • --json outputs structured JSON instead of formatted terminal tables.
diff-behavior.py

Compares behaviors between two versions of the same package to detect suspicious changes that may indicate supply chain tampering. Diffs indicators, file classifications, vulnerabilities, and assessment statuses. Use this when the user is updating a package version and wants to understand what changed, or when investigating potential tampering between releases.

bash
# Two versions in one report (scanned together):
python ${CLAUDE_PLUGIN_ROOT}/skills/rl-protect-interpret/scripts/diff-behavior.py --package <name> [--report <path>] [--json] --no-error-code

# Two separate reports (old version vs new version):
python ${CLAUDE_PLUGIN_ROOT}/skills/rl-protect-interpret/scripts/diff-behavior.py --package <name> --old-report <old_path> --new-report <new_path> [--json] --no-error-code
  • --package is required. Matches by package name (substring match, case-insensitive).
  • --report single report containing both versions (e.g. when both were scanned together). Default: rl-protect.report.json.
  • --old-report / --new-report separate report files for each version.
  • --old-version / --new-version pin specific versions when more than two are present in the report.
  • --reverse swaps old and new. Use this when downgrading to an older version so that labels and regression detection are correct.
  • --no-error-code suppresses exit code 1 (new risks found). Always pass this flag.

Workflow for version updates: When a user is updating a dependency, scan both the current and new versions, then run diff-behavior.py to compare. This is the recommended way to detect malicious tampering between releases.

bash
# 1. Scan both versions together into one report
rl-protect scan pkg:npm/example@1.0.0,pkg:npm/example@2.0.0 --no-tracking --save-report=rl-protect.report.json

# 2. Compare behaviors
python ${CLAUDE_PLUGIN_ROOT}/skills/rl-protect-interpret/scripts/diff-behavior.py --package example --report rl-protect.report.json --no-error-code

Task mapping

Map every user request to a script invocation using this table. There are no exceptions.

User asks aboutScript invocation
CVEs, CVSS scores, exploitability, package safetyinterpret.py vulnerabilities
Suspicious behavior, indicators, unusual code patternsinterpret.py indicators
Malware, supply chain attacks, malicious files, tamperinginterpret.py malware
Who approved something, override audit trailinterpret.py overrides
Governance allow/block decisions, AI code review rejectionsinterpret.py governance
Both overrides and governancerun both interpret.py overrides and interpret.py governance
Overview, risk rating, deciding whether to use a packagesummarize.py
Dependencies, what a package depends on, dependency listinterpret.py dependencies
Dependency tree visualization, show me the tree, explore transitive depsdeptree.py
Who uses this package, what depends on X, how did this get in my treedeptree.py --reverse
Behavior diff, what changed between versions, version update risk, tampering between releasesdiff-behavior.py
Missing packages, scan failuresinterpret.py errors
Scan warnings, dependency confusion, a private package found on the public registryinterpret.py warnings

For a specific package risk summary, run all three:

bash
python ${CLAUDE_PLUGIN_ROOT}/skills/rl-protect-interpret/scripts/interpret.py vulnerabilities --package <purl> [--report <path>] --no-error-code
python ${CLAUDE_PLUGIN_ROOT}/skills/rl-protect-interpret/scripts/interpret.py malware --package <purl> [--report <path>] --no-error-code
python ${CLAUDE_PLUGIN_ROOT}/skills/rl-protect-interpret/scripts/interpret.py overrides --package <purl> [--report <path>] --no-error-code

Always pass --no-error-code when invoking scripts. This suppresses non-zero exit codes from REJECT findings so the terminal does not color the output as an error. Exit code 2 (file not found, invalid JSON) is never suppressed.


Presenting output

  • Present the script's stdout output to the user as-is. Do not reformat, paraphrase, or summarize it further unless the user explicitly asks.
  • If a script exits with code 1, prepend this callout before the output: > ⚠ One or more packages have a REJECT recommendation.
  • If a script exits with code 2, report the error from stderr to the user and stop. Do not attempt to read the report file manually as a fallback.

Schema reference

Listed here for reference only. Do not use this to read or interpret the report directly — run the scripts.

analysis.report.packages[]
  .purl                          — package identifier (type/name@version)
  .downloads                     — total download count (popularity signal)
  .dependents                    — number of packages that depend on this one
  .dependencies[]                — list of direct dependency PURLs
  .scenarios[]                   — (1.2.0) dependency scopes the package was found in
                                   (release, develop, ...); ["develop"] = development only
  .analysis.recommendation       — APPROVE | REJECT
  .analysis.report               — URL to full report on secure.software
  .analysis.ai_code_intent       — (1.2.0) AI code review verdict; REJECT is reported by
                                   interpret.py governance as "Package rejected by AI code review"
  .analysis.assessment{}         — one entry per check (see checks below)
    .status                      — pass | warning | fail
    .label                       — human-readable finding summary
    .count                       — number of findings (0 = clean)
    .override                    — present when a policy override was applied
      .to_status                 — the status after override
      .audit.author              — who approved the override
      .audit.timestamp           — when the override was approved
      .audit.reason              — stated justification
  .analysis.vulnerabilities{}    — keyed by vulnerability identifier (CVE or GHSA)
    .summary                     — plain-language description
    .cvss.baseScore              — CVSS score (0–10)
    .exploit[]                   — exploit flags: EXISTS, MALWARE, MANDATE, FIXABLE
    .affects[]                   — (1.2.0) components the CVE applies to: a purl, or
                                   non-manifest-component, which names nothing
  .analysis.indicators{}         — keyed by indicator ID
    .description                 — what the indicator detected
    .occurrences                 — how many times it was observed
  .analysis.classifications[]    — file-level malware scan results
    .object                      — type of object scanned (e.g. "file" or "dependency")
    .status                      — Malicious | Suspicious | Known good
    .result                      — malware family / classification string
    .hashes[]                    — [algorithm, value] pairs for the flagged file
  .analysis.policy.violations{}  — keyed by policy rule ID
    .status                      — fail | warning | pass
    .description                 — what the rule checks
    .violations                  — violation count
    .override                    — same structure as assessment override above
  .analysis.policy.governance[]  — org-level allow/block decisions
    .status                      — blocked | allowed
    .author                      — who set the rule
    .timestamp                   — when the rule was set
    .reason                      — stated reason

analysis.report.warnings[]       — (1.2.0) scan warning texts, e.g. a package declared
                                   private that resolves on the public registry

analysis.report.errors[]
  .purl                          — package that could not be scanned
  .error.code                    — HTTP-style error code
  .error.info                    — human-readable error message

General rules

  • Always run a script first. No exceptions.
  • Never read rl-protect.report.json directly — not even to check if it exists or to peek at its structure.
  • Never write your own code to parse, summarize, or extract data from the report.
  • Never use report content loaded into context from a previous turn to answer questions — always re-run the script to ensure fresh, accurate output.
  • When an override is present on any finding, the scripts will surface it automatically. Do not suppress or omit override information.
  • If analysis.report.errors[] is non-empty, the scripts will note failed packages. Always mention them to the user.
  • When a package's vulnerabilities show exactly Scope: develop (development dependencies only), say so: the package is not deployed, which lowers the practical risk of its CVEs. A CVE line <id> affects <purl> means rl-protect attributes the CVE to that component; its fix is in that component.
  • Run interpret.py warnings whenever you summarize a scan, and quote every warning verbatim. A dependency-confusion warning changes no recommendation, but it can mean a public package is impersonating a private one.
  • If the scripts folder is missing or a script fails with exit code 2, tell the user and ask them to verify the skill installation. Do not attempt to work around missing scripts.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ Rl Protect Interpret?

Interprets rl-protect JSON reports (rl-protect.report.json). Use when the user asks about vulnerabilities, malware, indicators, policy violations, overrides, governance, dependency trees, or behavior diffs, or when a scan saved a report and the user wants to dig deeper into findings.

Навіщо використовувати Rl Protect Interpret у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Rl Protect Interpret — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Rl Protect Interpret у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/reversinglabs/rl-protect-skills/tree/main/plugins/rl-protect-interpret/skills/rl-protect-interpret. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Rl Protect Interpret?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Rl Protect Interpret?

Зі скількома забажаєте. У TypingMind ви можете використовувати Rl Protect Interpret із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Rl Protect Interpret?

Так. На GitHub цю навичку публікує reversinglabs за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇