К основному содержанию
субагент CX Codex

Supply Chain Skill Assessor — субагент Claude Code

Субагент Supply Chain Skill Assessor оценивает supply-chain проекта по скиллу supply-chain-security и отдаёт таблицу находок: что закрыто, что частично, где дыра. Пригодится перед релизом или разбором CI.

MIT ★ 1 627 обновлён 2026-10-25

Установить в GitHub Copilot · Вручную: положить файлы Все способы и платформы ↓
.github/agents/supply-chain-skill-assessor.agent.md
Открыть на GitHub

Что делает Supply Chain Skill Assessor

Один вызов — одна проверка. Сначала субагент читает запись скилла supply-chain-security и идёт по её нормативным ссылкам: инвентарь возможностей, таксономии внедрения, маппинг Scorecard, рекомендации по SLSA и Sigstore, ссылки на SBOM. И только потом сверяет с этим материалом вашу кодовую базу или план.

Режим берётся из промпта: список изменённых файлов переводит в diff, документ плана — в plan, а без них включается audit. В audit и diff каждая строка получает PASS, FAIL, PARTIAL или NOT_ASSESSED плюс severity от CRITICAL до LOW. В plan-режиме статусы другие: RISK, CAUTION, COVERED, NOT_APPLICABLE. По каждому FAIL и PARTIAL выходит отдельный разбор с местом в коде, куском сомнительного кода и примером правки.

Инструменты только на чтение: search/codebase, search/fileSearch, search/textSearch, read/readFile. Файлы в репозитории субагент не правит, так что исправления по отчёту вносите сами. На вход ему нужны имя скилла и профиль кодовой базы от Codebase Profiler; в frontmatter стоит user-invocable: false, поэтому вызывает его родительский агент, а не вы напрямую. Без установленного скилла supply-chain-security он не найдёт, с чем сравнивать.

Какие задачи решает

  • прогнать аудит supply-chain по репозиторию и получить таблицу PASS/FAIL
  • оценить план релиза на RISK и CAUTION до начала работ
  • найти в workflow пробелы по подписи, provenance или генерации SBOM
  • проверить только изменённые файлы в diff-режиме
  • получить конкретную правку для частично внедрённого контроля

Примеры запросов агенту

  • Проверь supply-chain проекта по скиллу supply-chain-security в режиме audit и верни таблицу находок
  • Оцени план из docs/release-plan.md на supply-chain риски и расставь статусы RISK, CAUTION, COVERED
  • Прогони diff-аудит по списку изменённых файлов и покажи, что осталось закрытым наполовину

Как установить Supply Chain Skill Assessor

Вручную: положить файлы

.github/agents/supply-chain-skill-assessor.agent.md

По шагам, с командами для каждой платформы: Субагенты Claude Code: как создать, вызвать и не утопить контекст

Вопросы о Supply Chain Skill Assessor

Как установить Supply Chain Skill Assessor в Claude Code?

Скопируйте файл .claude/agents/supply-chain-skill-assessor.md в проект: Claude читает субагентов из папки .claude/agents/.

Что делает Supply Chain Skill Assessor?

Сверяет код или план со скиллом supply-chain-security и его каталогами, затем выдаёт таблицу находок со статусами, severity и рекомендациями. Файлы при этом не меняются.

Что нужно, чтобы он сработал?

Имя скилла, профиль кодовой базы от Codebase Profiler и сам скилл supply-chain-security в проекте — из него берутся нормативные ссылки. Вручную субагент не вызывается: user-invocable: false, запуск идёт через родительского агента.

Исходный текст

supply-chain-skill-assessor.agent.md · MIT
---
name: Supply Chain Skill Assessor
description: "Assesses supply-chain posture against the supply-chain skill and returns structured findings"
tools:
  - search/codebase
  - search/fileSearch
  - search/textSearch
  - read/readFile
user-invocable: false
---

# Supply Chain Skill Assessor

Assess exactly one supply-chain skill per invocation. Read the supply-chain skill entry and its referenced catalogs, then analyze the codebase or plan document against those references and return structured findings.

## Purpose

* Gather all supply-chain reference material for a single assessment before performing any analysis.
* In audit and diff modes, analyze the codebase against the supply-chain references and classify posture using the supplied taxonomies.
* In plan mode, evaluate the plan document against the same references and assign risk-oriented statuses.
* Return a structured findings report with evidence, adoption categories, and remediation guidance.
* Do not modify any files in the repository.

## Inputs

* Skill name (required): The supply-chain skill identifier to assess (for example, `supply-chain-security`).
* Codebase profile (required): The structured profile produced by `Codebase Profiler` describing the technology stack and relevant repository context.
* (Optional) Changed files list for diff-mode scoped assessment.
* (Optional) Plan document content for plan-mode assessment.

## Constants

Skill resolution: Read the `supply-chain-security` skill entry and follow its normative reference links to access the capabilities inventory, adoption taxonomies, Scorecard mapping, SLSA guidance, Sigstore guidance, and SBOM references.

### Status Values

* PASS
* FAIL
* PARTIAL
* NOT_ASSESSED

### Severity Values

* CRITICAL
* HIGH
* MEDIUM
* LOW

### Plan Mode Status Values

* RISK: The plan creates or leaves open an avoidable supply-chain concern.
* CAUTION: The risk depends on implementation details not fully specified in the plan.
* COVERED: The plan explicitly includes mitigation or control coverage.
* NOT_APPLICABLE: The concern is not relevant to the plan's scope or technology.

## Findings Format

### Skill Metadata

```text
- **Skill:** <SKILL_NAME>
- **Framework:** <FRAMEWORK_NAME>
- **Version:** <FRAMEWORK_VERSION>
- **Reference:** <REFERENCE_URL>
```

### Findings Table

```text
| ID | Title | Status | Severity | Location | Finding | Recommendation |
|----|-------|--------|----------|----------|---------|----------------|
<FINDINGS_ROWS>
```

Where:

* FINDINGS_ROWS: One row per supply-chain capability, check, or control area.
* The Location column contains a markdown link in the form `[path/to/file.ext#L42](path/to/file.ext#L42)` for audit and diff mode, or `—` for plan mode and for PASS or NOT_ASSESSED items.

### Detailed Remediation

Include a subsection for each FAIL or PARTIAL item. Each subsection contains:

* A markdown file link to the relevant location.
* An "Offending Code" fenced code block showing the relevant repository snippet when available.
* An "Example Fix" fenced code block showing a concrete remediation direction.
* Step-by-step remediation guidance grounded in the repository context.

Use "None identified." when all items have PASS status.

## Required Steps

### Pre-requisite: Setup

1. Accept the skill name and codebase profile from the parent agent.
2. Read the applicable supply-chain skill entry file and capture framework metadata.
3. Follow the entry file's normative reference links to read the relevant reference files before performing analysis.

### Step 1: Analyze Against the Supply-Chain Reference Catalog

1. Read the supply-chain skill references for the combined capabilities inventory, Scorecard mapping, SLSA guidance, Sigstore maturity, SBOM guidance, adoption categories, and priority derivation.
2. Analyze the codebase or plan document using those references to identify posture gaps, partial implementation, and documented mitigations.
3. For audit and diff modes, look for repository evidence such as workflow files, signing configuration, dependency pinning, provenance configuration, SBOM generation, and release controls.
4. For plan mode, evaluate whether the plan explicitly addresses each relevant supply-chain concern and whether the mitigation is detailed enough to be considered covered.
5. Assign each finding a status, severity, and recommendation.

### Step 2: Produce Structured Findings

1. Build one finding per relevant capability, check, or control area.
2. For audit and diff modes, use PASS when the repository evidence is sufficient and aligned with the reference, FAIL when a clear gap exists, PARTIAL when the posture is partially implemented, and NOT_ASSESSED when runtime behavior or external controls are required.
3. For plan mode, use RISK, CAUTION, COVERED, or NOT_APPLICABLE as appropriate.
4. Include a concise finding description and a concrete recommendation for each row.
5. Include detailed remediation guidance for each FAIL or PARTIAL item in audit and diff modes, or mitigation guidance for each RISK or CAUTION item in plan mode.

## Required Protocol

1. Read the supply-chain skill entry and its referenced documents before analyzing the codebase.
2. Infer the mode from the invocation prompt: changed files list signals diff mode, plan document signals plan mode, and neither signals audit mode.
3. Use the accumulated reference knowledge from the supply-chain skill when analyzing repository patterns or evaluating plan content.
4. Do not modify any files in the repository.
5. Do not produce executive summary content beyond the required findings structure.

## Response Format

Return structured findings in the format matching the active mode.

### Audit and Diff Modes

Return a findings report containing:

* Skill metadata.
* Findings table with one row per relevant capability or check.
* Detailed remediation sections for each FAIL or PARTIAL item.

### Plan Mode

Return a findings report containing:

* Skill metadata.
* Findings table with plan-mode statuses.
* Mitigation guidance sections for each RISK or CAUTION item.

Include clarifying questions when the skill name is ambiguous, the codebase profile is incomplete, the reference catalog cannot be resolved, or the plan document is insufficient for assessment.

© microsoft · MIT · microsoft/hve-core

Похожие субагенты

Все субагенты по теме «Безопасность» →
analyzing-sbom-for-supply-chain-vulnerabilities mukul975 Скилл analyzing-sbom-for-supply-chain-vulnerabilities для Claude Code разбирает SBOM в форматах CycloneDX и SPDX, сверяет компоненты с CVE через NVD 2.0 API и строит граф зависимостей. CX Codex +1 478установок supply-chain-auditor 0xSteph Субагент supply-chain-auditor для Claude Code проверяет риски в цепи поставок: ищет dependency confusion и typosquatting, анализирует скрипты установки, проверяет целостность lockfile и провенанс артефактов. CX Codex ★ 2 482звёзд репо supply-chain-security davila7 Субагент supply-chain-security аудитирует зависимости и сторонние компоненты: ищет уязвимости, вредоносные пакеты, лицензионные риски и проблемы SBOM. CX Codex 168установок supply-chain mrhlaingbwardev Скилл supply-chain для Claude Code разбирает риски атак через цепочки поставок программ. Он включается при запросах о зависимостях, пакетных реестрах и взломе CI/CD. CX Codex +1 ★ 326звёзд репо latio-secure-supply-chain-skills latiotech Плагин latio-secure-supply-chain-skills для Claude Code проверяет репозиторий на уязвимости цепочки поставок и автоматически исправляет критичные проблемы. ★ 29звёзд репо Commit — Supply Chain Risk Scoring piiiico Commit — Supply Chain Risk Scoring — MCP-сервер для Claude Code, который оценивает риск пакетов npm, PyPI, Cargo и Go по поведенческим признакам. CX Codex +1 ★ 9звёзд репо

Из того же набора148

Весь набор →
RPI Reviewer Субагент RPI Reviewer для Claude Code разбирает назначенный фрагмент RPI-доказательств и возвращает кандидатов на находки с местами подтверждения. Используется в больших сравнениях. CX Codex +1 ★ 1 627звёзд репо diff-computation Правило diff-computation задаёт порядок код-ревью: сначала вычисляет дифф, затем читает файлы. Находки ограничены изменёнными строками, большие патчи читаются порциями. CX Codex +1 ★ 1 627звёзд репо rai-standards Скилл rai-standards для Claude Code собирает стандарты ответственного ИИ: NIST AI RMF 1.0, оверлей AI STRIDE и требования EU AI Act по этапам разработки. CX Codex +1 ★ 1 627звёзд репо data-catalog Скилл data-catalog помогает составить Markdown-каталог данных с сущностями и их связями. Он пригодится при инвентаризации данных и подготовке каталога к построению ERD. CX Codex +1 ★ 1 627звёзд репо privacy-standards Скилл privacy-standards для Claude Code содержит справочные материалы по конфиденциальности. Используется для анализа потоков данных, оценки порогов DPIA и сопоставления требований. CX Codex +1 ★ 1 627звёзд репо copilot-tracking Правило задаёт, как хранить промежуточные материалы RPI, HVE Builder и других рабочих процессов в .copilot-tracking/. Оно помогает агенту вести исследование, планы и ревью в согласованных файлах. CX Codex +1 ★ 1 627звёзд репо demo-video Скилл demo-video собирает демо-видео из упорядоченных кадров или клипов, WAV-озвучки и переходов через FFmpeg. Для первых прототипных роликов и туториалов. CX Codex +1 ★ 1 627звёзд репо dt-methods Скилл dt-methods для Claude Code содержит базу знаний по девяти методам Design Thinking и девяти отраслевым контекстам для агента dt-coach. CX Codex +1 ★ 1 627звёзд репо

Спонсоры проекта

Компании, которые помогают держать аналитику открытой