Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
athola avatar

Risk Classification

  • 95 installs
  • 325 repo stars
  • Updated August 2, 2026
  • athola/claude-night-market

Pair task risk level with a graduated automation tier so coding agents pause, propose diffs, or hand load-bearing work back instead of over-committing.

About

Risk Classification is a Claude Night Market skill that extends risk labeling with graduated agent autonomy. Solo and indie builders running Claude Code, Cursor, or Codex use it when a task might be low-touch docs or high-stakes production logic, and the agent must not treat every job as full auto-commit. The skill defines four automation tiers—from autonomous write-and-commit through manual human-only load-bearing code—and ties each tier to default postures for GREEN, YELLOW, and RED work. It encodes a deliberate downgrade path when automation misbehaves, mirroring aviation crew practice of reducing automation level instead of escalating the same flawed command. Use it before agents commit, refactor auth, or touch infra so verification depth and autonomy stay aligned. It complements security review and planning skills by making “propose and pause” a first-class, pre-licensed move rather than a negotiation mid-run.

  • Maps GREEN / YELLOW / RED risk to four automation tiers: A3 Autonomous through A0 Manual
  • Aviation-inspired downgrade rule: drop automation tier when behavior drifts instead of repeating the same command
  • Tier table spells who writes, who approves, and default tier per risk color
  • Explicit handoff from risk answer (how carefully to verify) to automation answer (how much the agent may act alone)
  • Designed for agents that write, commit, or scaffold code without human load-bearing oversight

Risk Classification by the numbers

  • 95 all-time installs (skills.sh)
  • Ranked #4,606 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/athola/claude-night-market --skill risk-classification

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs95
repo stars325
Security audit3 / 3 scanners passed
Last updatedAugust 2, 2026
Repositoryathola/claude-night-market

What it does

Pair task risk level with a graduated automation tier so coding agents pause, propose diffs, or hand load-bearing work back instead of over-committing.

Files

SKILL.mdMarkdownGitHub ↗

Table of Contents

Risk Classification

Overview

Provides inline risk classification for agent tasks using a 4-tier model (GREEN/YELLOW/RED/CRITICAL). Uses fast heuristic file-pattern matching for low-risk tiers and delegates to Skill(attune:war-room-checkpoint) for high-risk tiers requiring full reversibility scoring.

When To Use

  • Assessing risk of tasks before agent assignment
  • Determining verification requirements for task completion
  • Deciding parallel execution safety between tasks
  • Adding risk markers to task checklists

When NOT To Use

  • Single-file trivial changes (assume GREEN)
  • Strategic architecture decisions (use full Skill(attune:war-room) instead)
  • Non-code tasks (documentation-only, configuration comments)

4-Tier Risk Model

TierColorScopeExampleVerification
GREENSafeSingle file, trivial revertTest files, docs, utilsNone required
YELLOWCautionModule-level, user-visibleComponents, routes, viewsConflict check and test pass
REDDangerCross-module, security/dataMigrations, auth, database schemaWar-room RS, full test, and review
CRITICALStopIrreversible, regulatedData deletion, production deployWar-room RS and human approval

Hybrid Routing

Task received
    |
    v
Heuristic classifier (file patterns)
    |
    ├── GREEN/YELLOW → Apply tier, continue
    |
    └── RED/CRITICAL → Invoke Skill(attune:war-room-checkpoint)
                        for reversibility scoring (RS)
                        |
                        └── RS confirms or adjusts tier

Why hybrid: GREEN/YELLOW classification is fast and deterministic (file pattern matching). RED/CRITICAL tasks warrant the overhead of full reversibility analysis because the cost of getting them wrong is high.

Task Metadata Extension

Add risk tier to task metadata for downstream consumption:

{
  "id": "5",
  "subject": "Add user authentication",
  "metadata": {
    "risk_tier": "YELLOW",
    "risk_reason": "Modifies src/components/LoginForm.tsx (user-visible component)",
    "classified_at": "2026-02-07T22:00:00Z"
  }
}

Tasks without risk_tier metadata default to GREEN (backward compatible).

Readiness Levels

The 4-tier Readiness Levels system provides clear risk classification with required controls per tier:

LevelNameWhenRequired Controls
0RoutineLow blast radius, easy rollbackBasic validation, rollback step
1WatchUser-visible changesReview, negative test, rollback note
2ElevatedSecurity/compliance/dataAdversarial review, risk checklist
3CriticalIrreversible, regulatedHuman confirmation, two-step verification

See modules/readiness-levels.md for full level definitions, selection decision tree, and integration guidance.

Graduated Autonomy

Risk classification sets how carefully a change is verified. Automation tiers set how autonomously the agent acts and when it must hand control back. Each risk tier carries a default automation tier (GREEN to A3 autonomous, CRITICAL to A0 manual), and a pre-licensed downgrade trigger drops the agent one tier on repeated failure, confidence loss, a stakes spike, or repo-state mismatch rather than re-prompting at the same level. See modules/automation-tiers.md for the tier table and the downgrade trigger, and imbue:assisted-mastery for the explain/produce mode selection that reads from it.

Module Reference

  • tier-definitions.md: Detailed tier criteria, boundaries, and override mechanism
  • heuristic-classifier.md: File-pattern rules for automated classification
  • verification-gates.md: Per-tier verification requirements and parallel safety matrix
  • readiness-levels.md: 4-tier risk system with required controls per level
  • automation-tiers.md: Per-tier autonomy defaults and the downgrade trigger

Integration Pattern

# In your skill's frontmatter
dependencies: [leyline:risk-classification]

For Task Generators

Append [R:TIER] marker to task format:

- [ ] T012 [P] [US1] [R:YELLOW] Create LoginForm component in src/components/LoginForm.tsx

For Orchestrators

Check risk tier before task assignment:

if task.risk_tier in ["RED", "CRITICAL"]:
    invoke Skill(attune:war-room-checkpoint) for RS scoring
    if CRITICAL: require human approval before proceeding

Exit Criteria

  • Every task has a risk tier assigned (explicit or default GREEN)
  • RED/CRITICAL tasks have war-room-checkpoint RS scores
  • Verification gates passed for the assigned tier
  • No parallel execution of prohibited tier combinations
  • Each task carries an automation tier; downgrades are recorded

with a reason when a trigger fires

Related skills

FAQ

Is Risk Classification safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

AI & Agent Buildingagentsautomation

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.