sign

sign is a command for Claude Code from coltonbearden/carrel. It costs 34 tokens per session (1,017 once invoked), scanned A, original, MIT.

A command-line tool for adding a visible signature block to a PDF and creating SHA-256 file manifests. A manifest is a list of files and hashes that can later show whether they changed.

In plain words
What is it for?
Use it to stamp PDFs, create manifests for files or directories, optionally sign those manifests with GPG, and verify them later.
Why use it?
It helps mark a PDF and check the integrity of files after they are copied or delivered. Manifests can also have a detached GPG signature for cryptographic verification.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the carrel-documents plugin — 1 skill, 5 commands, 1 agent shipped together

Good fit Use it to stamp PDFs, create manifests for files or directories, optionally sign those manifests with GPG, and verify them later.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/coltonbearden/carrel/sign
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.

Clone the repo
git clone --depth 1 https://github.com/coltonbearden/carrel

Made for: Claude Code.

Or install carrel-documents, the plugin that ships this one along with the rest of its 1 skill, 5 commands, 1 agent.

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 sign

README.md
[![agentmods](https://agentmods.dev/badge/commands/coltonbearden/carrel/sign.svg)](https://agentmods.dev/commands/coltonbearden/carrel/sign)
Your own site
<a href="https://agentmods.dev/commands/coltonbearden/carrel/sign"><img src="https://agentmods.dev/badge/commands/coltonbearden/carrel/sign.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,017 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.00034 $0.01017
Opus 5 $0.00017 $0.00508
Sonnet 5 $0.00007 $0.00203
Haiku 4.5 $0.00003 $0.00102

Measured yesterday against content hash ff42b7b58b8d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

sign 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 yesterday.

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.

plugins/carrel-documents/commands/sign.md · 78 lines

What it actually says

Handle this signing request: $ARGUMENTS

Run the carrel CLI via Bash. carrel sign is a group with stamp, manifest and verify; map the user's request onto the real subcommands and flags in the --help blocks below (regenerated from the CLI by scripts/sync_plugins.py; if the installed carrel sign --help differs, trust the installed version — never invent flags):

Usage: carrel sign [OPTIONS] COMMAND [ARGS]...

  Sign things: stamp PDFs, hash manifests, verify both.

Options:
  --json  Machine-readable JSON output.
  --help  Show this message and exit.

Commands:
  manifest  Write a sha256 manifest for PATHS (directories recurse).
  stamp     Stamp a visible signature block onto a PDF page.
  verify    Recompute a sha256 manifest (and its gpg signature, if present).
Usage: carrel sign manifest [OPTIONS] PATHS...

  Write a sha256 manifest for PATHS (directories recurse).

Options:
  -o, --out PATH  Manifest file to write (sha256sum format).  [default: MANIFEST.sha256]
  --gpg           Also write a detached armored signature (OUT.asc).
  --key ID        gpg key id/email to sign with (implies --gpg).
  --force         Allow overwriting an existing manifest.
  --json          Machine-readable JSON output.
  --help          Show this message and exit.
Usage: carrel sign stamp [OPTIONS] SRC

  Stamp a visible signature block onto a PDF page.

Options:
  --text TEXT                     Stamp text. Default: "Signed by <user> on <ISO date>".
  --image PATH                    Signature image (png/jpg) drawn above the text.
  --page PAGE                     Page to stamp: 'first', 'last' or a 1-based number.  [default:
                                  last]
  --pos [top-left|top-right|bottom-left|bottom-right]
                                  Page corner for the stamp.  [default: bottom-right]
  -o, --out PATH                  Output file. Default: SRC.signed.pdf.
  --force                         Allow overwriting an existing output file.
  --json                          Machine-readable JSON output.
  --help                          Show this message and exit.
Usage: carrel sign verify [OPTIONS] MANIFEST

  Recompute a sha256 manifest (and its gpg signature, if present).

Options:
  --json  Machine-readable JSON output.
  --help  Show this message and exit.
  • stamp SRC: draws a visible signature block (--text, default "Signed by on "; optional --image png/jpg above it) on --page first|last|N at --pos <corner>. Output SRC.signed.pdf by default; the original is untouched. This is a visible mark, not a cryptographic PDF signature — say so when the user asks about legal/cryptographic signing, and point them at manifest --gpg for integrity.
  • manifest PATHS...: writes a sha256sum-format manifest (MANIFEST.sha256 by default, -o to choose; directories recurse). --gpg (or --key ID, which implies it) also writes a detached armored signature OUT.asc — needs gpg with a usable key (exit 3 → relay the hint).
  • verify MANIFEST: recomputes every hash and, when MANIFEST.asc exists, checks the gpg signature. Interpret the JSON: list files that are ok, changed, or missing, and the signature result.

Never pass --force unless the user explicitly wants an existing output/manifest replaced. Use --json and report the output path(s); after stamp, confirm with carrel inspect OUT --json that the page count is unchanged. For the redact → verify → manifest flow see this plugin's document-clerk agent.

Requires the carrel CLI on PATH. If carrel is not found, tell the user to install it with uv tool install carrel (see the repo's INSTALL notes), or run it as uv run carrel ... from the carrel repo root.

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. yesterday First seen · 78 lines · 34 tokens per session scan A ff42b7b58b8d

Subscribe to this mod's changes

sign is a command published in the GitHub repository coltonbearden/carrel (1 stars, last pushed 2d ago), licensed MIT. It adds 34 tokens to every session and 1,017 once invoked, about $0.0002 per session on Opus 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-09-05.