Skip to content
Back to skills

Ai Decision Logger

ASecurity

Find model-based decision points and check if they are logged with sufficient context. Trigger: /ai-log

  • 30 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 8, 2026
ai-agentsshell

Security analysis

A100/100

Scanned November 8, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill ai-decision-logger --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ai Decision Logger?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ai Decision Logger
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-ai-decision-logger/badge)](https://www.skillsdirectory.com/skills/majiayu000-ai-decision-logger)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ai-decision-logger
description: "Find model-based decision points and check if they are logged with sufficient context. Trigger: /ai-log"
trigger: /ai-log
---
# /ai-log

AI decisions must be auditable. This skill finds every model-based decision point and checks logging coverage.

## What this is for

- Model output used in conditionals without audit logging
- Classification results used for actions without context
- Approval/recommendation decisions missing human review path
- **Read-only skill.** No code changes.


## PROTECTION RULE - never ~/.claude/

Read-only skill. Guard required if write mode added later.

## What You Must Do When Invoked
During analysis, assign a confidence level to each finding: proven (confirmed by evidence), likely (strong signal, needs review), or suspected (weak signal).

If `/ai-log -help` or `/ai-log -h` (without further arguments)
is invoked: output the `## Usage` section unchanged and stop.

Otherwise follow these steps in order, skipping none.

### Step 1 - Help check
If invoked with `-help` or `-h`, output the `## Usage` section unchanged and stop.

### Step 2 - Clarify target

Clarify `-ProjectDir`. Get confirmation.

### Step 3 - Scan

```powershell
& "<SKILL_DIR>/scripts/ai-decision-scan.ps1" -ProjectDir "<path>"
```

### Step 4 - Classification

For each decision point:

- **Auditable**: full context logged + human review option
- **Partially-logged**: some context captured
- **Black-box**: no log, no audit trail

### Step 5 - Write report

File `ai-decision-report.md` in current working directory:

1. **Summary** - decisions by classification.
2. **Decision table** - black-box first. Per decision: file, line, decision type, has audit log, includes context, has human review, risk.
3. **Open questions**.

### Step 6 - Summarize

State report path, highlight black-box decisions.

## Usage

```
/ai-log                     # interactive
/ai-log <dir>               # scan project
/ai-log -help
```


Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.