Skip to content
Back to skills

Prompt Drift Tracker

ASecurity

Track prompt changes across git history and flag drift that affects output quality or safety. Trigger: /prompt-drift

  • 30 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 8, 2026
ai-agentsshellgit

Security analysis

A100/100

Scanned November 8, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill prompt-drift-tracker --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Prompt Drift Tracker?

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

Security grade badge for Prompt Drift Tracker
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-prompt-drift-tracker/badge)](https://www.skillsdirectory.com/skills/majiayu000-prompt-drift-tracker)

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: prompt-drift-tracker
description: "Track prompt changes across git history and flag drift that affects output quality or safety. Trigger: /prompt-drift"
trigger: /prompt-drift
---
# /prompt-drift

Prompts change subtly over commits. Each change can silently alter model behavior. This skill tracks prompt changes and flags semantic drift.

## What this is for

- Prompt output format constraints removed
- Safety instructions weakened or removed
- Prompt length changes that affect model behavior
- **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

If `/prompt-drift -help` or `/prompt-drift -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` and `-GitRange` (default: last 20 commits). Get confirmation.

### Step 3 - Scan

```powershell
& "<SKILL_DIR>/scripts/prompt-drift-scan.ps1" -ProjectDir "<path>" -GitRange 20
```

### Step 4 - Classification

For each drift:

- **Benign**: cosmetic or clarification changes
- **Monitor**: minor change, verify outputs
- **Significant**: output behavior likely changed
- **Critical**: safety posture weakened or output constraint removed

### Step 5 - Write report

File `prompt-drift-report.md` in current working directory:

1. **Summary** - drifts by severity.
2. **Drift table** - critical first. Per drift: file, commit, date, changed sections, before/after snippet, severity.
3. **Open questions**.

### Step 6 - Summarize

State report path, highlight critical and significant drifts.

## Usage

```
/prompt-drift               # interactive
/prompt-drift <dir>         # scan project
/prompt-drift -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.