360 Secure SkillHub
360 安全技能中心

Analysis

按安全、运行、卫生的优先级检查 Agent 自身的工作区、配置、技能与集成:先做本地文件与命令的低成本检查,仅在本地证据支持时才调用 API,输出按严重度分组的分级发现及修复建议,支持快速、完整、定向三种模式;详细检查项、修复动作与运行跟踪放在附带的参考文件中。

jack11-1251
jack11-1251
热度 49.22
最近更新 2026-06-19 22:02:31
分类:安全依赖:代码执行 / 读写文件 / 第三方 API应用场景:DevOps / 报告撰写 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add analysis
Metadata
name
Analysis
description
Run deep system health checks across workspace, config, skills, and integrations with prioritized findings and remediation.

When To Use

Trigger when user says: "check my system", "what's wrong", "health check", "diagnose", "audit", "why is X slow", "something feels off"

This is NOT generic data analysis. This is system self-diagnosis — examining the agent's own workspace, configuration, and operational health.


Analysis Modes

Mode Scope When
Quick Security + critical operational "Quick check", default if unspecified
Full All categories, all checks "Full audit", "deep check"
Targeted Single category "Check my memory", "audit cron"

Priority Order (Always This Sequence)

  1. SECURITY — Exposed secrets, leaked credentials, permission issues
  2. OPERATIONAL — Broken crons, dead sessions, unreachable APIs
  3. HYGIENE — Memory bloat, orphan files, stale entries, inefficiencies

Stop and report critical security findings immediately. Don't bury them in a long list.


Detection Strategy

Cheap first, expensive only when needed:

  1. File checks (free) — existence, size, age, syntax
  2. Local commands (cheap) — process lists, disk usage, git status
  3. API calls (expensive) — only when file-level signals warrant

Never hit external APIs speculatively. Validate need from local evidence first.


Findings Format

[CRITICAL|WARNING|INFO] category/subcategory: description
  → Action: specific remediation step
  → Auto-fixable: yes/no

Group by severity, not by category. User sees worst problems first.


Load Detailed Checks

Category Reference
All check definitions by category checks.md
Remediation actions and auto-fix scripts remediation.md
Tracking analysis runs, improvement over time tracking.md