Agent Skills › agent-substrate/substrate › security-status-report

security-status-report

GitHub

基于威胁列表生成安全状态报告,通过启动子代理评估威胁质量得分,并编译结果、渲染图表和表格。

.agents/skills/security-status-report/SKILL.md agent-substrate/substrate

Trigger Scenarios

需要生成安全状态报告 评估威胁清单的质量得分

Install

npx skills add agent-substrate/substrate --skill security-status-report -g -y
More Options

Non-standard path

npx skills add https://github.com/agent-substrate/substrate/tree/main/.agents/skills/security-status-report -g -y

Use without installing

npx skills use agent-substrate/substrate@security-status-report

指定 Agent (Claude Code)

npx skills add agent-substrate/substrate --skill security-status-report -a claude-code -g -y

安装 repo 全部 skill

npx skills add agent-substrate/substrate --all -g -y

预览 repo 内 skill

npx skills add agent-substrate/substrate --list

SKILL.md

Frontmatter
{
    "name": "security-status-report",
    "description": "Generates a security status report based on docs\/threats.json by spinning up sub-agents for each threat to compute a quality score."
}

Task

Generate a security status report by evaluating threats listed in docs/threats.json.

Workflow

  1. Copy .agents/skills/security-status-report/scripts/template_dispatch.py to .agents/scratch/security-status-report/template_dispatch.py.
  2. Complete the TODO in .agents/scratch/security-status-report/template_dispatch.py, meeting the following requirements: a. Iterate over each threat from docs/threats.json to produce a list of invocations that matches your tool for invoking sub-agents. b. Each invocation must address a single threat, use the below prompt, and instruct the sub-agent to output the correct schema.
  3. Execute the script from the repository root, specifying .agents/scratch/security-status-report/subagents.json as the output file argument (python3 .agents/scratch/security-status-report/template_dispatch.py .agents/scratch/security-status-report/subagents.json).
  4. Read .agents/scratch/security-status-report/subagents.json and copy its exact JSON array into your tool for invoking subagents. DO NOT manually craft or bypass the invocations. Run ALL generated sub-agents concurrently in a single tool call by default unless bound by model rate limits or harness concurrency limits (use batching intelligently if needed). You already updated the script in step 2 to output exactly what you need, so no modifications to the output should be necessary unless you made a mistake or hit limits.
  5. Wait for all sub-agents to complete.
  6. Run python3 .agents/skills/security-status-report/scripts/compile_report.py docs/threats.json .agents/scratch/security-status-report .agents/scratch/security-status-report/final.json to produce the final report.
  7. Run python3 .agents/skills/security-status-report/scripts/render_chart.py .agents/scratch/security-status-report/final.json .agents/scratch/security-status-report/chart.png to render a bar chart of the scores, grouped by priority.
  8. Run python3 .agents/skills/security-status-report/scripts/render_table.py .agents/scratch/security-status-report/final.json .agents/scratch/security-status-report/report.md to render a markdown table of scores, mitigation summaries, and remaining gaps, highest priority first.

Version History

  • 7319f1a Current 2026-11-27 19:01

Same Skill Collection

.agents/skills/actor-lifecycle-triage/SKILL.md
.agents/skills/detect-flaky-tests/SKILL.md
.agents/skills/post-draft-review/SKILL.md
.agents/skills/review-crds/SKILL.md
.agents/skills/triage-issues/SKILL.md
.agents/skills/troubleshoot/SKILL.md
.agents/skills/agents-md/SKILL.md

Metadata

Files
0
Version
7319f1a
Hash
120425f4
Indexed
2026-11-27 19:01

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-11-27 19:18
浙ICP备14020137号-1