inspect

inspect is a command for coding agents from coltonbearden/carrel. It costs 29 tokens per session (406 once invoked), scanned A, original, MIT.

A command for showing metadata and type-specific details about local files such as PDFs, images, data files, HTML, and text.

In plain words
What is it for?
Use it to inspect file details, identify formats, check PDF properties, review image metadata, understand data-file structure, or request deeper EXIF information.
Why use it?
It gathers file information in one report, so you do not need separate tools to check properties such as size, type, hashes, pages, or image dimensions.

Command

Part of the carrel-inspect plugin — 1 skill, 4 commands shipped together

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.

agentmods
npx agentmods add commands/coltonbearden/carrel/inspect
Clone the repo
git clone --depth 1 https://github.com/coltonbearden/carrel

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

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 inspect

README.md
[![agentmods](https://agentmods.dev/badge/commands/coltonbearden/carrel/inspect.svg)](https://agentmods.dev/commands/coltonbearden/carrel/inspect)
Your own site
<a href="https://agentmods.dev/commands/coltonbearden/carrel/inspect"><img src="https://agentmods.dev/badge/commands/coltonbearden/carrel/inspect.svg" alt="Measured on agentmods" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 406 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00029 $0.00406
Opus 5 $0.00015 $0.00203
Sonnet 5 $0.00006 $0.00081
Haiku 4.5 $0.00003 $0.00041

Measured today against content hash 9a56b3416a89, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

inspect 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 today.

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-inspect/commands/inspect.md · 22 lines

What it actually says

Inspect the file the user asked about: $ARGUMENTS

Run the carrel CLI via Bash. Map the user's request onto these real flags of carrel inspect (verify with carrel inspect --help if unsure — never invent flags):

carrel inspect PATH [--deep] --json
  • Always reported: name, size, mtime, detected type, sha256, mime guess.
  • Per-type detail: pdf (pages, title/author/producer, encryption, form fields, annotations), images (dimensions, mode, EXIF summary), json (shape, key count, depth), csv (dialect, columns, rows), xml (root tag, element count, depth), html (title, headings, link/img counts), md (headings outline, word count), txt (lines/words/chars).
  • --deep: adds exiftool's full tag table when exiftool is installed (harmless without it) — pass it when the user asks for "everything", EXIF detail, or deep metadata.

Always pass --json, then present the interesting fields conversationally — lead with what the user actually asked about (e.g. "is this PDF encrypted?" → the encryption field), not a raw JSON dump. Exit code 4 means the file is missing/unreadable/unsupported — say so plainly.

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. today Changed 9a56b3416a89
  2. 3d ago First seen · 22 lines · 29 tokens per session scan A a78b43daf5d1

Subscribe to this mod's changes

inspect is a command published in the GitHub repository coltonbearden/carrel (1 stars, last pushed today), licensed MIT. It adds 29 tokens to every session and 406 once invoked, about $0.0001 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-08-31.