Skip to content
Back to skills

Ledger

ASecurity

Look up, record, and verify durable questions and answers. Use for reusable findings, disputed answers, and capability checks.

  • 4 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added October 5, 2026
ai-agentsrust

Works with

  • claude code
  • cli

Security analysis

A100/100

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

Scanned November 23, 2026

npx -y skills add vancsj/bootgear --skill ledger --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ledger?

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

Security grade badge for Ledger
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vancsj-ledger/badge)](https://www.skillsdirectory.com/skills/vancsj-ledger)

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: ledger
description: Look up, record, and verify durable questions and answers. Use for reusable findings, disputed answers, and capability checks.
---

## Inputs and outcomes

Take a question, claim, entry, or capability or hook-event request. Return one result to the caller.

- Settled answer used — slug, answer ID, claim, confidence, and this session's verdict.
- Verdict — `pass`, `fail` with command output, or `not-run`.
- No settled answer — say so. Include the minted slug if you wrote an entry.
- Contested answer — slug and rival answer ID.
- Capability check — one status token. Hook event — only the host envelope.

## Procedure

Get the absolute Gear path from `cli:gear`. Use these commands under `<gear> --host <host> memory-ledger ledger`.

1. Run `resolve "<question or claim>"` before reading or writing. Search all open ledgers by default.
   If a match is unclear, read [judgement.md](references/judgement.md#judge-the-match).
2. For a match, run `show <slug>`. Run every `Evidence:` line and one check that can disprove the full claim.
   Sign the result in the current session. Use `sign --fail --output` for failure.
   Use `refute` to contest a signature. Write a rival when the claim proves narrower than its checks.
   If evidence or signatures disagree, read [judgement.md](references/judgement.md#judge-confidence-and-conflicts).
3. Before writing, confirm that a later session can reuse the answer and rerun its checks. Leave task-only facts with the task.
   Read the open ledgers' rules. Use shared for portable facts, local for machine facts, and deputy for standing decisions.
   If scope or placement is unclear, read [judgement.md](references/judgement.md#choose-a-ledger).
4. Reuse the entry if the question matches. Otherwise use the suggested slug with `new` and `--alt-terms`.
   For a new claim or check, read [judgement.md](references/judgement.md#write-the-claim) and its evidence rules.
5. Sign each verified result and run `save` in the same work session. Use `--no-push` when publication is outside scope.

Use `list --filter "<term>"` for filtered lists, `resolve-roots --json` for roots, and `doctor --json` for status.
Use command help for syntax. For selectors, structured output, or special write cases, read [mechanics.md](references/mechanics.md).
Skip reference sections unrelated to the current operation.

### Capability and hook requests

Return `configured`, `unconfigured`, or `broken` from `doctor --json`.
Return `missing` for a missing or untrusted host hook or skill.
For a hook event, emit a reminder for `nudged` or a status message for `unconfigured` or `broken`.
Emit nothing for `cooldown`.

## Rules

Keep existing answers, checks, and signatures. Use a rival for a corrected answer.
Ask the user before `assert`. Keep secrets and erasable data out.
Read-only roles can use the ledger within their other write limits.

## Fallbacks

Run `doctor` on command failure. For missing roots, direct the user to the memory-ledger setup skill.
If session identity is missing, malformed, or conflicting, report the write refusal and stop.

## Host mechanics

Use `claude` or `codex` for `<host>`. Gear reads session identity from the environment.
To override it, put `--session-id` before the subcommand. A Codex signer is `codex:<full-session-id>`.
If supplied, `--as` must match the signer.
Install a missing `cli:gear` with `/plugin install cli@bootgear` on Claude Code or `codex plugin add cli@bootgear` on Codex.

Files in this skill

  • SKILL.md1.9 KB
  • references/judgement.md13.9 KB
  • references/mechanics.md9 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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.