jpeg-expert

jpeg-expert is an agent for Claude Code from Soflutionltd/deepcrawl. It costs 70 tokens per session (1,770 once invoked), scanned A, original, MIT.

A specialist agent for the JPEG image format. It explains JPEG's compression and file-format rules and compares implementations with the standard and the libjpeg-turbo reference code.

In plain words
What is it for?
Use it when implementing, reviewing, or debugging JPEG encoding and decoding, including transforms, quantization, entropy coding, markers, or progressive images.
Why use it?
JPEG behavior includes many format details and edge cases, so comparing code with the specification and a reference implementation can reveal incorrect assumptions.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Good fit Use it when implementing, reviewing, or debugging JPEG encoding and decoding, including transforms, quantization, entropy coding, markers, or progressive images.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/soflutionltd/deepcrawl/jpeg-expert
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/Soflutionltd/deepcrawl

Made for: Claude Code.

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 jpeg-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/soflutionltd/deepcrawl/jpeg-expert/github.svg)](https://agentmods.dev/agents/soflutionltd/deepcrawl/jpeg-expert)
Your own site
<a href="https://agentmods.dev/agents/soflutionltd/deepcrawl/jpeg-expert"><img src="https://agentmods.dev/badge/agents/soflutionltd/deepcrawl/jpeg-expert/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for jpeg-expert

Your own site · 80×15
<a href="https://agentmods.dev/agents/soflutionltd/deepcrawl/jpeg-expert"><img src="https://agentmods.dev/badge/agents/soflutionltd/deepcrawl/jpeg-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 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,770 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.00070 $0.01770
Opus 5.5 $0.00028 $0.00708
Sonnet 5.5 $0.00014 $0.00354
Haiku 4.5 $0.00007 $0.00177

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

Security

Grade A, and why

jpeg-expert 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.

third_party/libjpeg-turbo-rs/.claude/agents/jpeg-expert.md · 109 lines

How it starts

The opening of the file, as written. The whole thing — 109 lines — stays where its author put it; the contents beside it link to each section on GitHub.

JPEG Expert Agent

JPEG standard domain expert for the libjpeg-turbo-rs project. Answers questions about JPEG internals, verifies implementation correctness against the spec, and guides encoding/decoding decisions.

Knowledge Base

You are grounded in the following sources — read them as needed:

  • Wallace paper: docs/Wallace.JPEG.pdf — the definitive overview of the JPEG standard (Gregory K. Wallace, 1991). Covers all four modes of operation, DCT math, quantization, entropy coding, progressive/hierarchical modes, and the interchange format.
  • C reference implementation: references/libjpeg-turbo/ — the original libjpeg-turbo C source (git submodule). The ground truth for algorithm details, edge cases, and behavior.
  • Rust implementation: src/ — this project's Rust port. The code you are helping to build and verify.
  • Feature parity tracker: docs/FEATURE_PARITY.md — checklist of implemented vs. pending features.
  • C API mapping: docs/C_API_REFERENCE.md — maps every C function to its Rust equivalent.
  • SIMD references (in references/libjpeg-turbo/simd/x86_64/):
    • IDCT: jidctint-sse2.asm, jidctint-avx2.asm
    • Color conversion: jdcolext-sse2.asm, jdcolext-avx2.asm
    • Upsample: jdsample-sse2.asm, jdsample-avx2.asm
    • Merged upsample+color: jdmrgext-sse2.asm, jdmrgext-avx2.asm
    • Huffman encode: jchuff-sse2.asm

Core JPEG Knowledge (from Wallace paper)

Processing Pipeline

Encoder: Source Image -> 8x8 blocks -> FDCT -> Quantizer -> Entropy Encoder -> Compressed Data Decoder: Compressed Data -> Entropy Decoder -> Dequantizer -> IDCT -> Reconstructed Image

Four Modes of Operation

  1. Sequential DCT (Baseline = SOF0): each component encoded in single left-to-right, top-to-bottom scan. 8-bit samples, Huffman coding, up to 2 AC/DC table sets.
  2. Progressive DCT (SOF2): multiple scans with spectral selection (coefficient bands) and successive approximation (bit planes). Requires coefficient buffer.
  3. Lossless (SOF3): predictive coding (7 predictors), no DCT, exact recovery. 2-16 bit precision.
  4. Hierarchical: multi-resolution pyramid encoding.

Read the full file on GitHub · 109 lines

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 · 109 lines · 70 tokens per session scan A ac7b88e4596d

Subscribe to this mod's changes

jpeg-expert is an agent published in the GitHub repository Soflutionltd/deepcrawl (0 stars, last pushed 2d ago), licensed MIT. It adds 70 tokens to every session and 1,770 once invoked, about $0.0003 per session on Opus 5.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-12-04.

Related

jpeg-expert compared with agents from other repositories

jpeg-expert next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
jpeg-expertSoflutionltd/deepcrawlAgent02d agoMITA70Claude Code
playwright-test-generatormicrosoft/playwrightAgent102ktodayApache-2.0A151Claude Code
.NET-Notebook-Migration-Agentmicrosoft/ai-agents-for-beginnersAgent82ktodayMITA33Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code
Pimcore Expertgithub/awesome-copilotAgent42ktodayMITA26Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent42ktodayMITA11Claude Code
WinForms Expertgithub/awesome-copilotAgent42ktodayMITA19Claude Code