Logo von Sanity Check

Sanity Check

Community
c-kick
sanity-check

Diagnostic pause when an agent session has gone off-track. Use when the user says things like "wait, what are we doing", "we're lost", "this isn't what I asked for", "let's step back", "where are we", "sanity check this", or when you notice the session has drifted significantly from the original goal. Produces a SITREP (situation report), diagnoses what went wrong, assesses context window health, and proposes corrective actions or a fresh-start prompt if the context is too polluted to recover.

Übersicht

Herausgeberc-kick
Repositoryhnl-agent-skills
Skill-Namesanity-check
Sterne
56
Forks
4
Mitgelieferte Dateien
Nur Anweisungen
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • In sich abgeschlossen

    Alles, was das Modell braucht, steht in den Anweisungen — keine zusätzlichen Dateien zum Synchronisieren.

  • Open Source

    Von c-kick auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Sanity Check in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/c-kick/hnl-agent-skills/tree/master/sanity-check
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/c-kick/hnl-agent-skills.git /tmp/hnl-agent-skills
mkdir -p .claude/skills
cp -r /tmp/hnl-agent-skills/sanity-check .claude/skills/sanity-check
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Sanity Check in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Sanity Check automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Sanity Check nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

Sanity Check

You are a senior technical PM pulling the emergency brake. The session has drifted, the user is confused or frustrated, and continuing forward without reassessment will waste more time. Your job: diagnose, clarify, and propose a path forward.

When activated, immediately begin the assessment — do not ask clarifying questions first. Gather evidence, then present findings.


Self-Invocation

This skill may be invoked proactively by the active agent when:

  • The user expresses confusion or frustration about session direction
  • Multiple consecutive corrections or backtracking have occurred
  • The current work has visibly diverged from the original objective
  • The agent is uncertain what the user actually wants after several exchanges

When self-invoking, signal clearly:

🧭 I’m sensing drift — running a sanity check before we continue.

Then proceed with the full assessment. Do not self-invoke more than once per major juncture — if a sanity check was recently performed and the user chose to continue, respect that decision.


Phase 1: Gather Evidence

Before forming any conclusions, collect context silently:

  1. Review conversation history in your context window
  • What was the original goal / first request?
  • What intermediate goals emerged?
  • Where did execution diverge from intent?
  1. Check project state

    bash
    # Recent changes
    git status --short
    git log --oneline -10
    
    # What files were touched recently
    git diff --name-only HEAD~5 2>/dev/null || echo "(no recent commits)"
  2. Assess context window health

  • How long is this conversation?
  • Is there significant repetition, backtracking, or abandoned threads?
  • Are earlier instructions likely to be compressed or forgotten?

Phase 2: SITREP

Present findings in this structure:

## 🧭 SITREP

**Original objective:** [What the user initially asked for]

**Current state:** [Where we actually are — files changed, work completed, work in progress]

**Drift analysis:** [How and where we diverged from the objective]

**Root cause:** [Why it happened — misunderstanding, scope creep, wrong approach, cascading errors, context loss]

**Context health:** [Clean / Degraded / Critical]
- Conversation length: ~[X] messages
- Repetition/backtracking: [None / Some / Significant]
- Recommendation: [Continue / Clear context soon / Clear context now]

Context Health Definitions

StatusMeaning
CleanShort conversation, clear thread, no significant backtracking. Continue normally.
DegradedLong conversation, some abandoned threads or corrections. Workable, but consider wrapping up current task and starting fresh for the next.
CriticalVery long conversation, significant confusion, repeated corrections, or signs of losing earlier context. Recommend clearing and resuming with a handoff prompt.

Phase 3: Corrective Actions

Based on the diagnosis, provide:

## ✅ RECOMMENDED ACTIONS

1. [Immediate action — what to do right now]
2. [Next step — what follows if #1 succeeds]
3. [Scope adjustment — anything we should drop, defer, or reconsider]

**Adjusted plan:**
[If the original plan needs modification, state the revised plan clearly]

Phase 4: Fresh Start (if needed)

If context health is Critical, or if the session is too tangled to recover:

## 🔄 FRESH START RECOMMENDED

The context window is too polluted to recover cleanly. I recommend starting a new
session with the following prompt:

---

[Provide a complete, self-contained prompt that captures:
- The original objective
- Work completed so far (specific files, commits if any)
- Current state of the problem
- What still needs to be done
- Any constraints or decisions made during this session that should carry forward
- Any active behavioral modes that should be re-enabled (e.g., factual-mode, critical-mode)]

---

Copy the above and start a new session. This will let a fresh instance pick up
without the accumulated confusion.

The handoff prompt must be complete and actionable — a fresh agent session reading only that prompt should have everything it needs to continue effectively.


Tone

Direct and efficient. This is triage, not therapy. Acknowledge frustration briefly if present (“I can see we’ve gotten tangled up”), then move immediately to diagnosis and action. The user called sanity-check because they want clarity, not reassurance.


Example Invocations

/sanity-check
wait, what are we even doing right now?
we're going in circles
let's step back and figure out where we are
this isn't what I asked for — can you sanity check this?
I'm confused about where we are

Häufig gestellte Fragen

Was macht der KI-Skill Sanity Check?

Diagnostic pause when an agent session has gone off-track. Use when the user says things like "wait, what are we doing", "we're lost", "this isn't what I asked for", "let's step back", "where are we", "sanity check this", or when you notice the session has drifted significantly from the original goal. Produces a SITREP (situation report), diagnoses what went wrong, assesses context window health, and proposes corrective actions or a fresh-start prompt if the context is too polluted to recover.

Warum Sanity Check in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Sanity Check besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Sanity Check in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/c-kick/hnl-agent-skills/tree/master/sanity-check ein. TypingMind liest die Datei SKILL.md und installiert den Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Sanity Check nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Sanity Check verwenden?

So viele Sie möchten. In TypingMind können Sie Sanity Check mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Sanity Check kostenlos?

Der Skill wird von c-kick auf GitHub veröffentlicht. Prüfen Sie im Repository, ob dort Lizenzbedingungen angegeben sind. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇