# Confidence checkin

> Confidence checkin is an open-source agent skill for developer tools. Lets an agent flag its own uncertain code edits to Hedwig for human review. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/tanjalshukla/HedwigCLI/tree/main/plugin/skills/confidence-checkin
- **Repository:** https://github.com/tanjalshukla/hedwigcli
- **GitHub stars:** 5
- **License:** MIT
- **Skill name:** confidence-checkin
- **Collection:** https://github.com/tanjalshukla/HedwigCLI
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

This skill gives a coding agent a way to tell Hedwig, a file-edit governor, that a specific upcoming edit deserves a closer look. Hedwig normally auto-applies low-risk edits and surfaces riskier ones, inferring risk from the edit itself. The skill adds a signal from the agent's side, such as uncertainty about an unverified API or a security-sensitive change.

The skill is a handshake that can only make Hedwig more cautious. Declaring turns an auto-apply into a check-in but never lets a risky edit slip through unreviewed. The instructions tell the agent to declare only before uncertain edits and to stay silent for routine, confident changes, so the review queue is not flooded.

Each declaration is a single shell command that pipes a small JSON payload into a bundled Python script in the plugin. It takes the target file path, a self-rated confidence from 0 to 1, an optional explicit request for check-in, and a short reason shown to the developer. The command needs no credentials and makes no network calls, and if it fails the agent simply proceeds without a declaration.

## When your agent uses it

> Before making a code edit you are genuinely unsure about — a security-sensitive change, a guess at an API you haven't verified, a refactor with unclear blast radius, or any edit where you'd want a human to look before it lands — declare your confidence to Hedwig so it can surface the edit for review instead of auto-applying it. Use this when you want to pause yourself.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/tanjalshukla/HedwigCLI/tree/HEAD/plugin/skills/confidence-checkin)
- [License: MIT](https://github.com/tanjalshukla/HedwigCLI/tree/HEAD/plugin/skills/confidence-checkin)

## Features

- **Self-declared uncertainty:** The agent can mark a pending edit with a confidence score so Hedwig can route it for review.
- **Explicit pause request:** A flag asks Hedwig to surface a specific edit for review regardless of the confidence value.
- **Developer-facing reason:** A short phrase explains the doubt, such as an unverified token TTL unit, and appears at the review moment.
- **Cautious-only handshake:** Declarations can add review steps but cannot cause a risky edit to be auto-applied.
- **Guidance on when to declare:** Covers security-sensitive code, unverified API guesses, unclear refactor scope and edits needing human sign-off.
- **Fail-safe behavior:** If the declaration command fails, the edit proceeds and Hedwig falls back to its own risk assessment.

## Good for

- Pause before editing authentication or permission logic so a developer reviews it
- Flag an edit that relies on an API signature the agent has not verified
- Request review for a refactor whose impact on other code is unclear
- Mark a secrets-handling change for human sign-off before it is applied

## Install

### Claude Code

This skill ships in the `hedwig` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add tanjalshukla/HedwigCLI
/plugin install hedwig@hedwig-marketplace
```

Or copy only this skill to `~/.claude/skills/confidence-checkin`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tanjalshukla/HedwigCLI.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/confidence-checkin &&
cp -R "$tmp/plugin/skills/confidence-checkin" ~/.claude/skills/confidence-checkin &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/confidence-checkin` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/confidence-checkin` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tanjalshukla/HedwigCLI.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/confidence-checkin &&
cp -R "$tmp/plugin/skills/confidence-checkin" ~/.agents/skills/confidence-checkin &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/confidence-checkin` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/confidence-checkin` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tanjalshukla/HedwigCLI.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/confidence-checkin &&
cp -R "$tmp/plugin/skills/confidence-checkin" ~/.cursor/skills/confidence-checkin &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/confidence-checkin` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/tanjalshukla/HedwigCLI.git --path plugin/skills/confidence-checkin
```

Or copy the folder to `~/.gemini/skills/confidence-checkin` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/confidence-checkin`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tanjalshukla/HedwigCLI.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/confidence-checkin &&
cp -R "$tmp/plugin/skills/confidence-checkin" ~/.copilot/skills/confidence-checkin &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/confidence-checkin` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/tanjalshukla/HedwigCLI.git
```

Then copy `HedwigCLI/plugin/skills/confidence-checkin` into your agent's skills folder as `confidence-checkin`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to run?

The declaration command requires no credentials and makes no network calls. It runs a bundled Python script through python3 and expects the Claude Code plugin root variable to be set.

### Does declaring confidence let a risky edit skip review?

No. The skill states that declaring can only make Hedwig more cautious, turning an auto-apply into a check-in, and cannot make a risky edit auto-apply.

### When should the agent declare an edit?

Before the edit, in the same turn, when the change is security-sensitive, relies on an unverified API, has unclear blast radius, or needs a human to look first. Routine confident edits should not be declared.

### What happens if the declaration fails?

The agent proceeds with the edit, and Hedwig uses its own risk assessment instead.

### How do I install Confidence checkin in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/confidence-checkin to use it in all your projects, or to .claude/skills/confidence-checkin in one project. Or install the hedwig plugin, which includes it: /plugin marketplace add tanjalshukla/HedwigCLI, then /plugin install hedwig@hedwig-marketplace.

### Does Confidence checkin run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Confidence checkin?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Confidence checkin?

The closest alternatives to Confidence checkin are Repo scan, Repo hypotheses, Security review, Harness review and Intent drift.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Repo scan](https://ai-powered.com/skills/repo-scan): Repo scan is an open-source agent skill for security.
- [Repo hypotheses](https://ai-powered.com/skills/repo-hypotheses): Repo hypotheses is an open-source agent skill for developer tools.
- [Security review](https://ai-powered.com/skills/security-review-getsentry): Security review is an open-source agent skill for security.
- [Harness review](https://ai-powered.com/skills/harness-review-chachamaru127): Harness review is an open-source agent skill for developer tools.
- [Intent drift](https://ai-powered.com/skills/intent-drift): Intent drift is an open-source agent skill for developer tools.
- [Speclock guardrails](https://ai-powered.com/skills/speclock-guardrails-sgroy10): Speclock guardrails is an open-source agent skill for security.
- [Gap analysis](https://ai-powered.com/skills/gap-analysis): Gap analysis is an open-source agent skill for developer tools.
- [Blast radius](https://ai-powered.com/skills/blast-radius-michael-denyer): Blast radius is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/confidence-checkin
