AGENT SKILL

risk-classifier

Classify the risk level of proposed changes — considering scope, impact, reversibility, test coverage, and security implications. Use when the user requests risk classifier or invokes risk-classifier. Do NOT use outside authorized defensive scope or to expose secret values.

License 许可
CC-BY-4.0
最近更新
2026-11-14
Stars
★ 1
Forks
0

01 前言 Front Matter

name
risk-classifier
license
CC-BY-4.0
metadata
{ "author": "AEOS", "version": "1.0.0", "owner_agent": "codenavi-agent" }
description
Classify the risk level of proposed changes — considering scope, impact, reversibility, test coverage, and security implications. Use when the user requests risk classifier or invokes risk-classifier. Do NOT use outside authorized defensive scope or to expose secret values.

02 资源文件 2

03 SKILL.md 正文

Risk Classifier Skill

Governance: CodENavi Full Workspace v2. Skill of codenavi-agent; inherit AGENTS.md. Lifecycle: BRIEFING → RECON → PLAN → EXECUTE → VERIFY → DEBRIEF. Source roles/workers are internal lenses. Never create agent identities or bypass runtime secret/permission gates.

ID: risk-classifier Version: 1.0.0 Owner Agent: codenavi-agent Risk Level: low

Mission

Classify the risk level of proposed changes — considering scope, impact, reversibility, test coverage, and security implications.

Scope

  • Analyze proposed changes and context
  • Classify each change with risk level
  • Generate mitigation recommendations for high/critical risks

Allowed Actions

  • filesystem.read — read patches, analysis reports
  • generate_evidence — register risk classifications

Forbidden Actions

  • Modify any file
  • Block or approve changes directly (decision is input for Judge)
  • Override deterministic Judge rules

Required Capabilities

  • ANALYZE_RISK
  • GENERATE_REPORT

Required Evidence

  • Patch/source analysis (SHA-256)
  • Risk classification report

Prompt Contract

  • State the objective, target scope, assumptions and constraints before execution.
  • Use only evidence-backed facts; mark uncertainty explicitly.
  • Route tool access through approved command, MCP or Tool Router paths.
  • Redact secrets, credentials, tokens and sensitive values.
  • Return facts, assumptions, risks, recommendations, evidence_refs and blocking_conditions when applicable.
  • Stop when required evidence, permissions, policy approval or input context is missing.

Quality Gates

  • Risk levels must be one of: low, medium, high, critical
  • High/critical MUST have mitigation strategy
  • Classification must cite evidence

Output Schema

{
  "overall_risk": "medium",
  "risks": [
    {"risk": "API breakage", "level": "high", "mitigation": "Add deprecation warning, keep backward compat for 1 release",
     "evidence": ["src/api/v1/users.py:45"]},
    {"risk": "Security regression", "level": "medium", "mitigation": "Add input validation tests",
     "evidence": ["src/auth/validator.py:12"]}
  ],
  "safe_to_propose": true
}

Blocking Conditions

  • High risk without any mitigation
  • Risk classification contradicts obvious severity
  • Insufficient evidence for classification

Provenance and source freshness: provenance.

Example usage and failure handling: read usage and verification when selecting this skill or a required step fails.

04 同仓库更多 Skills

paulosantanna
paulosantanna/ai-assistent-universal-coder

workspace-brain

Operate the CodENavi workspace brain MCP and CLI — cloud DeepSeek RAG, disk corpus at WORKSPACE_BRAIN_ROOT, Jev URL curation, and event logging for Cursor/Codex/OpenCode/Claude. Use when ingesting repo knowledge, asking the brain, mapping web seeds, or recording AI-driven file changes. Do NOT use for local Ollama RAG or storing API keys in git.

★ 1
paulosantanna
paulosantanna/ai-assistent-universal-coder

workbench-profile-resolver

Provide enterprise-grade capability for `workbench-profile-resolver` inside AEOS v1.1. Use when the user requests workbench profile resolver or invokes workbench-profile-resolver. Do NOT use for unrelated tools or unapproved remote writes.

★ 1
paulosantanna
paulosantanna/ai-assistent-universal-coder

wordpress-expert

Staff-level WordPress engineering super-skill for one-shot site mapping, clean-code AI-assisted project creation/modification, the complete installed plugin universe, governed remote wp-admin operations, themes/blocks/layout, third-party integrations and production-safe changes. Use when the user requests wordpress expert or invokes wordpress-expert. Do NOT use for unrelated languages, domains or production deployment.

★ 1
paulosantanna
paulosantanna/ai-assistent-universal-coder

whatsapp-simulator

Generate synthetic WhatsApp-style conversation fixtures for testing conversational systems, support flows and automation. Use when the user requests whatsapp simulator or invokes whatsapp-simulator. Do NOT use for unrelated tools or unapproved remote writes.

★ 1
paulosantanna
paulosantanna/ai-assistent-universal-coder

web-quality-audit

Assimilated TLC/web-quality multi-area audit. Review performance, accessibility, SEO and best practices in one pass. Triggers: audit my site, review web quality, check page quality, optimize my website across areas. Do not use for a single-area job (core-web-vitals, ai-seo, best-practices, perf-lighthouse).

★ 1
paulosantanna
paulosantanna/ai-assistent-universal-coder

voiceai

Provide an evidence-backed voice interface for AEOS. Activating this skill is treated as explicit current-session consent for `voiceai` to record user audio or transcribe audio from user-authorized audio/video media within the declared scope. The skill can: Use when the user requests voiceai or invokes voiceai. Do NOT use for unrelated tools or unapproved remote writes.

★ 1