amp-skill

amp-skill is a skill for Claude Code, Codex from plurigrid/asi. It costs 26 tokens per session (597 once invoked), scanned A, original, MIT.

A skill that searches an Amp agent's past threads for patterns where users rejected, reversed, or abandoned tool actions. It uses stored thread and file-change data to retrieve those interruption patterns.

In plain words
What is it for?
Use it to study rejected tool suggestions, reverted actions, two-step approval patterns, and abandoned conversations in Amp history.
Why use it?
It can reveal when an agent's proposed actions commonly lead to confirmation requests, reversions, or abandoned sessions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: model in frontmatter.

Good fit Use it to study rejected tool suggestions, reverted actions, two-step approval patterns, and abandoned conversations in Amp history.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/plurigrid/asi/amp
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add plurigrid/asi --skill amp
Clone the repo
git clone --depth 1 https://github.com/plurigrid/asi

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for amp-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/plurigrid/asi/amp/github.svg)](https://agentmods.dev/skills/plurigrid/asi/amp)
Your own site
<a href="https://agentmods.dev/skills/plurigrid/asi/amp"><img src="https://agentmods.dev/badge/skills/plurigrid/asi/amp/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for amp-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/plurigrid/asi/amp"><img src="https://agentmods.dev/badge/skills/plurigrid/asi/amp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 597 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00026 $0.00597
Opus 5.5 $0.00010 $0.00239
Sonnet 5.5 $0.00005 $0.00119
Haiku 4.5 $0.00003 $0.00060

Measured 1mo ago against content hash ffa209063555, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

amp-skill scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.factory/droids/amp-skill.md · 77 lines

What it actually says

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

-- 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

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 77 lines · 26 tokens per session scan A ffa209063555

Subscribe to this mod's changes

amp-skill is a skill published in the GitHub repository plurigrid/asi (73 stars, last pushed 1mo ago), licensed MIT. It adds 26 tokens to every session and 597 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-31.

Related

amp-skill compared with skills from other repositories

amp-skill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
amp-skillplurigrid/asiSkill731mo agoMITA26Claude Code, Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82ktodayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill331k5d agoMITA21Claude Code