Skip to content
Back to skills

Droids

ASecurity

Interruption pattern detection and retrieval from Amp thread history. Use for analyzing tool rejection patterns and improving agent behavior.

  • 61 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 6, 2026
documentationpythongoshellsqldocumentation

Security analysis

A100/100

Pro scans all 21 files and shows the line behind each finding

Scanned September 6, 2026

npx -y skills add plurigrid/asi --skill droids --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Droids?

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

Security grade badge for Droids
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/plurigrid-droids/badge)](https://www.skillsdirectory.com/skills/plurigrid-droids)

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: amp-skill
description: Interruption pattern detection and retrieval from Amp thread history. Use for analyzing tool rejection patterns and improving agent behavior.
model: inherit
tools: ["Read", "Grep", "Glob", "Execute"]
---

# Amp-Skill: Interruption Pattern Detection and Retrieval

**GF(3) Trit**: 0 (ERGODIC - coordination layer)
**Foundation**: DuckDB ACSet from Amp file-changes

## Overview

Amp-Skill distills usage patterns from Amp thread history, specifically focusing on **interruption patterns** where tool suggestions were rejected in favor of:
1. **Two-lock processes** - user requested confirmation before proceeding
2. **Complete discontinuation** - user abandoned the thread entirely
3. **Reverted operations** - user explicitly undid an AI action

## Retrieval Benchmark Metrics

| Metric | Value |
|--------|-------|
| Total Threads | 616 |
| Total Tool Calls | 2,535 |
| Threads with Interruptions | 282 (45.8%) |
| Reverted Tool Calls | 84 (3.3%) |
| Two-Lock Cascades | 47 |
| Complete Discontinuations | 22 |

## Interruption Pattern Distribution

| Pattern Type | Count | Percentage |
|--------------|-------|------------|
| abandoned | 269 | 62.4% |
| reverted | 84 | 19.5% |
| two_lock | 47 | 10.9% |
| discontinuation | 22 | 5.1% |
| high_rejection | 9 | 2.1% |

## GF(3) Distribution

| Role | Threads | Tool Calls | Reverted |
|------|---------|------------|----------|
| MINUS | 218 | 769 | 27 |
| ERGODIC | 209 | 976 | 26 |
| PLUS | 189 | 790 | 31 |

## File Types Most Frequently Reverted

1. `.org` - 28 reverts (Emacs org-mode files)
2. `.py` - 20 reverts (Python scripts)
3. `.sh` - 18 reverts (Shell scripts)
4. `.md` - 15 reverts (Markdown documentation)

## SQL Access

```sql
-- Query interruption patterns
SELECT * FROM amp_interruptions ORDER BY ts DESC;

-- Find high-rejection threads
SELECT thread_id, tool_call_count, reverted_count,
       ROUND(100.0 * reverted_count / tool_call_count, 1) as revert_pct
FROM amp_threads
WHERE reverted_count > 0
ORDER BY revert_pct DESC;

-- Detect two-lock cascades
SELECT thread_id, COUNT(*) as consecutive_reverts
FROM amp_interruptions
WHERE pattern_type = 'two_lock'
GROUP BY thread_id
ORDER BY consecutive_reverts DESC;
```

## Key Insigh

Files in this skill

  • #E847C0.md2.2 KB
  • _integrated.md2.9 KB
  • a.md154 B
  • abductive-repl.md2.1 KB
  • academic-research.md2.3 KB
  • accept-no-substitutes.md2.4 KB
  • acsets-algebraic-databases.md597 B
  • acsets-hatchery.md2.2 KB
  • acsets-relational-thinking.md2.4 KB
  • acsets.md2.4 KB
  • active-inference-robotics.md2.6 KB
  • active-interleave.md2.1 KB
  • address-sanitizer.md1.2 KB
  • aflpp.md1.1 KB
  • agent-o-rama.md2.1 KB
  • algebraic-rewriting.md2.2 KB
  • algorand-vulnerability-scanner.md1.5 KB
  • algorithmic-art.md2.1 KB
  • alice.md2.1 KB
  • alife.md2.1 KB

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.

Comments

Loading comments…