diff --git a/skills/agentguard/SKILL.md b/skills/agentguard/SKILL.md index 902ffc4..c779889 100644 --- a/skills/agentguard/SKILL.md +++ b/skills/agentguard/SKILL.md @@ -804,7 +804,27 @@ The script outputs the HTML file path to stdout (e.g. `/tmp/agentguard-checkup-1 **Full visual report**: (opened in browser) 💡 Top recommendation: + +### Next Steps +(Only include this section if there are HIGH or CRITICAL findings.) + +List each HIGH or CRITICAL finding as a plain-language suggestion — no commands, no JSON, no technical details. One sentence per item. Ask the user to confirm if they'd like help with any of them. + +Format: ``` +⚠️ A few things need your attention: +1. 🔴 +2. 🟠 +... + +Reply with the number(s) you'd like help with and I'll walk you through it. +``` + +Examples of plain-language descriptions: +- No hooks: "Security monitoring isn't active — AgentGuard can't block threats in real-time until hooks are configured." +- Unregistered skills: "10 installed skills haven't been security-reviewed — they're running with no trust level assigned." +- SSH permissions: "Your SSH key folder has loose permissions — other processes on this machine could potentially read your private keys." +- Plaintext credential: "A private key or API token was found in plain text in a file — it should be removed and rotated." ### Step 6: Deliver the Report to the User diff --git a/skills/agentguard/scripts/checkup-report.js b/skills/agentguard/scripts/checkup-report.js index da21b4a..04380e6 100644 --- a/skills/agentguard/scripts/checkup-report.js +++ b/skills/agentguard/scripts/checkup-report.js @@ -764,11 +764,10 @@ function generateReport(data) { const sc = sevColor(sev); const zhText = r.zh || r.text; return ` -
+
${i+1} ${sev} ${esc(r.text)} - chevron_right
`; }).join('')}
` : '
No recommendations.
'; @@ -776,12 +775,7 @@ function generateReport(data) { // ── AI Analysis report ── const analysisText = data.analysis || ''; const analysisHtml = analysisText - ? `
-
${esc(analysisText)}
- -
` + ? `
${esc(analysisText)}
` : ''; // ── Health status label ── @@ -936,6 +930,9 @@ body{background:#0a0e14;color:#dfe2eb;font-family:'Inter',sans-serif}

Security Analysis

analyticsDiagnostic Report +