agent-introspection SKILL.md skillA

agent-introspection from epicsagas/epic-harness is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add epicsagas/epic-harness/agent-introspection@git:20260625.1c5e807

Pins git:20260625.1c5e807 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
epicsagas/epic-harness
Path
skills/agent-introspection/SKILL.md
Versions recorded
3
Latest version
git:20260625.1c5e807, committed Jun 25, 2026
First version recorded
May 5, 2026
Size
3,849 bytes
Repository stars
20
License
Apache-2.0

Loop-breaking self-diagnosis. Use when 3+ consecutive failures occur, circular retries persist, or context overwhelms the session.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Agent Introspection — Systematic Self-Diagnosis

## Iron Law
NO UNSUPPORTED SELF-HEALING CLAIMS. Only assert recovery actions you can actually perform with available tools.

## When to Trigger
- 3+ consecutive failures on the same task
- Repeating the same approach with different parameters (loop detection)
- Context window exceeds 70% without resolution
- Error messages repeat with no progress
- User explicitly says "you're stuck" or "try a different approach"

## Process

### 1. Failure Capture
Stop immediately and record:
- **Error type**: syntax_error / type_error / test_fail / lint_fail / build_fail / runtime_error / permission_denied / not_found
- **Last 3 tool calls**: what was attempted and what failed
- **Context pressure**: approximate context usage percentage
- **What changed**: what was the last successful state

### 2. Root Cause Diagnosis
Match against known patterns:

| Pattern | Symptoms | Root Cause |
|---------|----------|------------|
| **Loop trap** | Same error 3+ times | Wrong approach, not wrong parameters |
| **Context overflow** | Increasingly confused responses | Too much information, need compaction |
…

Read the whole file at its exact version.

How to install

No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_dq7ynxtmpzphk7qo/2dec29a74b61bb7fc07b40e46b96a91474fd827d60b1c254dacf74802494e6b1.json

Then /plugin install agent-introspection@markdownregistry-dq7ynxtmpzphk7qo in Claude Code. It installs git:20260625.1c5e807, the one graded A here, pinned to the commit it was graded at, and leaves it there.

The exact contents, by fingerprint
mdr add epicsagas/epic-harness/agent-introspection@sha256:2dec29a74b61bb7f

The line at the top of this page pins the label git:20260625.1c5e807, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_dq7ynxtmpzphk7qo.svg)](https://markdownregistry.com/a/art_dq7ynxtmpzphk7qo)

1 badge image fetches in 30 days. What the badge shows.

Ask from your agent
claude mcp add --transport http markdownregistry https://markdownregistry.com/mcp/registry

Then ask it: what changed in epicsagas/epic-harness/agent-introspection since the version I have? It reads every saved version here, no key and no account. Any agent that speaks MCP can add it.

Got a copy of agent-introspection from somewhere else? Ask it: where did my agent-introspection come from, and what was changed? It names the public original, the version yours is closest to and every changed line. The text is not kept.

Versions

The registry has recorded 3 versions of this file, between May 5, 2026 and Jun 25, 2026, about one every 26 days.

Watch this file (sign in, one email per new version)

versioncommittedcommitsizeaudit
git:20260625.1c5e807 latest2026-06-25 1c5e807 3,849 BA view · diff
git:20260505.e7432772026-05-05 e743277 3,919 BA view · diff
git:20260505.8ddeaf82026-05-05 8ddeaf8 3,345 BA view
Keep it current by itself, install once

Committed this skill to a repository? Install the markdownregistry skill updates app on it, or on all of them. When the registry saves a newer version, a pull request brings your copy to it within minutes, the newest version first, then what changed and any check it newly trips. A copy you edited is never touched, and nothing is deleted.

Install on GitHub

It asks to read and write contents and pull requests, and to read metadata. No workflow file, no Actions setting, nothing runs on your runners. Uninstall it and everything the registry kept about your repository is deleted.

Keep it current by itself

Committed this skill to a repository? Add one workflow file, and when a newer version is saved, a pull request brings your copy to it, the newest version first, then what changed and any check it newly trips. A copy you edited is never touched, and nothing is deleted.

mkdir -p .github/workflows && curl -fsSL https://markdownregistry.com/ci/skill-updates.yml -o .github/workflows/skill-updates.yml

It runs daily on GitHub Actions, no key and no account. Read the workflow before you add it.

Check a whole project

From the root of your project, one line hashes each installed skill's SKILL.md, your AGENTS.md and your CLAUDE.md, and asks the registry once. Only the fingerprints and paths are sent.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --data-binary @- https://markdownregistry.com/api/v1/check-copies

In CI, add --fail-with-body: the answer is 409 when any file is behind, so the step fails and still prints which files.

sha256sum .claude/skills/*/SKILL.md AGENTS.md CLAUDE.md | curl -s --fail-with-body --data-binary @- https://markdownregistry.com/api/v1/check-copies

No sha256sum on your machine? shasum -a 256 prints the same lines.

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3849 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

epicsagas/epic-harness · 20 stars · license Apache-2.0 · pushed 2026-11-19 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_dq7ynxtmpzphk7qo
GET https://markdownregistry.com/api/v1/resolve?ref=epicsagas/epic-harness/agent-introspection
GET https://markdownregistry.com/api/v1/blob/2dec29a74b61bb7fc07b40e46b96a91474fd827d60b1c254dacf74802494e6b1

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from epicsagas/epic-harness

benchmark SKILL.md skill
epicsagas/epic-harness · .claude/skills/benchmark/SKILL.md · Executes Bare-vs-Epic A/B benchmarking, Ring 0 Guard 50 challenge, and full golden set evaluation for epic-harness…
git:20260904.0573d85 · audit A · 20 stars
AGENTS.md AGENTS.md file
epicsagas/epic-harness · AGENTS.md
git:20261117.d9269a2 · audit A · 20 stars
CLAUDE.md CLAUDE.md file
epicsagas/epic-harness · CLAUDE.md
git:20260625.1c5e807 · audit B · 20 stars
_critic SKILL.md skill
epicsagas/epic-harness · skills/_critic/SKILL.md · HarnessX Critic (Tier 2.1) — adversarial review of evolved-skill proposals against trace evidence. Detects reward…
git:20260625.1c5e807 · audit A · 20 stars
_dispatch SKILL.md skill
epicsagas/epic-harness · skills/_dispatch/SKILL.md · Core router. Always active. Auto-invokes matching skill before every response. Runs confusion protocol on high-risk…
git:20261102.ac98b85 · audit A · 20 stars
audit SKILL.md skill
epicsagas/epic-harness · skills/audit/SKILL.md · Audit phase. Parallel review: code quality + security + tests. Semantic dedup of cross-mode findings. Outputs…
git:20261103.eb4d20b · audit A · 20 stars
commit SKILL.md skill
epicsagas/epic-harness · skills/commit/SKILL.md · Conventional Commits 1.0 generator. Stages relevant files, infers type(scope): description, never uses --no-verify.
git:20260625.1c5e807 · audit A · 20 stars
context SKILL.md skill
epicsagas/epic-harness · skills/context/SKILL.md · Working-state snapshot guidance. Restates task/files/decisions in one block so state survives context compaction…
git:20260831.ed1879c · audit A · 20 stars
council SKILL.md skill
epicsagas/epic-harness · skills/council/SKILL.md · 4-voice parallel deliberation (Architect · Skeptic · Pragmatist · Critic) for architecture, tech selection, or design…
git:20260625.1c5e807 · audit A · 20 stars
debug SKILL.md skill
epicsagas/epic-harness · skills/debug/SKILL.md · Systematic root-cause isolation for test failures, runtime errors, or unexpected behavior. Narrow hypothesis → verify →…
git:20260625.1c5e807 · audit A · 20 stars
discover SKILL.md skill
epicsagas/epic-harness · skills/discover/SKILL.md · Trigger: vague/unfocused request or solution-without-problem. Also invoked via /discover command. Reframes goal before…
git:20260625.1c5e807 · audit A · 20 stars
document SKILL.md skill
epicsagas/epic-harness · skills/document/SKILL.md · Documentation generator for public APIs, functions, and modules. Use when exports, signatures, or new modules are added…
git:20260625.1c5e807 · audit A · 20 stars

Every file in epicsagas/epic-harness

Browse by kind, by grade A, or by owner.