Agent Skills
› agent-substrate/substrate
› security-status-report
security-status-report
GitHub基于威胁列表生成安全状态报告。通过子代理并行评估威胁质量得分,汇总后渲染图表和Markdown表格,提供优先级排序的缓解措施与差距分析。
Trigger Scenarios
需要生成安全态势报告
评估多个威胁项的质量得分
可视化安全风险数据
Install
npx skills add agent-substrate/substrate --skill security-status-report -g -y
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
- Copy
.agents/skills/security-status-report/scripts/template_dispatch.pyto.agents/scratch/security-status-report/template_dispatch.py. - Complete the TODO in
.agents/scratch/security-status-report/template_dispatch.py, meeting the following requirements: a. Iterate over each threat fromdocs/threats.jsonto 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. - Execute the script from the repository root, specifying
.agents/scratch/security-status-report/subagents.jsonas the output file argument (python3 .agents/scratch/security-status-report/template_dispatch.py .agents/scratch/security-status-report/subagents.json). - Read
.agents/scratch/security-status-report/subagents.jsonand 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. - Wait for all sub-agents to complete.
- 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.jsonto produce the final report. - Run
python3 .agents/skills/security-status-report/scripts/render_chart.py .agents/scratch/security-status-report/final.json .agents/scratch/security-status-report/chart.pngto render a bar chart of the scores, grouped by priority. - Run
python3 .agents/skills/security-status-report/scripts/render_table.py .agents/scratch/security-status-report/final.json .agents/scratch/security-status-report/report.mdto render a markdown table of scores, mitigation summaries, and remaining gaps, highest priority first.
Version History
- 7319f1a Current 2026-11-27 19:01


