jaz-doc-collect

jaz-doc-collect is a command for Claude Code from teamtinvio/jaz-ai. It costs 23 tokens per session (596 once invoked), scanned A, original, MIT.

A command for finding and classifying client documents before they are uploaded to Jaz, an accounting or business-transaction service. It handles local folders and cloud links, then groups files such as invoices, bills, receipts, and bank statements.

In plain words
What is it for?
Use it to scan directories, identify supported PDF and image files, group them by type and date, and upload invoices or bills for OCR and transaction autofill.
Why use it?
Documents may be scattered across folders and mixed together, making upload preparation slow and error-prone. This workflow organizes them and prepares invoices and bills for Jaz’s background text extraction.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the jaz-ai plugin — 7 skills, 22 commands shipped together

Good fit Use it to scan directories, identify supported PDF and image files, group them by type and date, and upload invoices or bills for OCR and transaction autofill.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/teamtinvio/jaz-ai/jaz-doc-collect
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/teamtinvio/jaz-ai

Made for: Claude Code.

Or install jaz-ai, the plugin that ships this one along with the rest of its 7 skills, 22 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 jaz-doc-collect

README.md
[![agentmods](https://agentmods.dev/badge/commands/teamtinvio/jaz-ai/jaz-doc-collect/github.svg)](https://agentmods.dev/commands/teamtinvio/jaz-ai/jaz-doc-collect)
Your own site
<a href="https://agentmods.dev/commands/teamtinvio/jaz-ai/jaz-doc-collect"><img src="https://agentmods.dev/badge/commands/teamtinvio/jaz-ai/jaz-doc-collect/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 jaz-doc-collect

Your own site · 80×15
<a href="https://agentmods.dev/commands/teamtinvio/jaz-ai/jaz-doc-collect"><img src="https://agentmods.dev/badge/commands/teamtinvio/jaz-ai/jaz-doc-collect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 596 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.00023 $0.00596
Opus 5.5 $0.00009 $0.00238
Sonnet 5.5 $0.00005 $0.00119
Haiku 4.5 $0.00002 $0.00060

Measured 1mo ago against content hash 884895766bff, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

jaz-doc-collect 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 1mo ago.

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.

commands/jaz-doc-collect.md · 67 lines

How it starts

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

Document Collection

Run the document collection playbook from the jaz-jobs skill (references/document-collection.md). Scans directories, classifies documents, and prepares them for upload.

Usage

/jaz-doc-collect ~/Downloads/client-docs/
/jaz-doc-collect scan the January invoices folder

Workflow

1. Open the playbook

The steps are in the jaz-jobs skill: references/document-collection.md. Read it first and walk its steps in order. The only clio jobs document-collection command is the ingest sub-tool below.

2. Scan and classify

Point the workflow at a directory:

clio jobs document-collection ingest --source ~/Downloads/client-docs/ --json

The ingestor:

  • Scans for PDF, JPG, PNG files
  • Classifies each as: invoice, bill, receipt, bank statement, other
  • Groups by type and date

3. Upload to Jaz

For invoices and bills, use Jaz Magic (server-side OCR + autofill). The Magic endpoint accepts multipart form data:

  • Endpoint: POST /api/v1/magic/createBusinessTransactionFromAttachment
  • Fields: sourceFile (PDF/JPG), businessTransactionType ("BILL" or "INVOICE"), sourceType ("FILE" or "URL")
  • Auth: Uses the same sign-in as clio auth login (or a saved API key); clio handles auth automatically

Magic extraction is async: the upload returns immediately, OCR runs in background. Use clio bills search or clio invoices search to verify the extracted documents.

For bank statements:

clio bank import --account "DBS Current" --file statement.csv --json

4. Verify uploads

Check that uploaded documents appear in Jaz:

clio bills search --from 2025-01-01 --to 2025-01-31 --json
clio invoices search --from 2025-01-01 --to 2025-01-31 --json

Key Rules

  • Jaz Magic accepts PDF and JPG/JPEG; use businessTransactionType: "BILL" or "INVOICE" (not "EXPENSE")
  • Multipart field names are camelCase: sourceFile, businessTransactionType, sourceType
  • Magic extraction is async: the upload returns immediately, OCR runs in background
  • Cloud links (Dropbox, Drive, OneDrive) can use sourceType: "URL" with sourceURL instead of file upload

Read the full file on GitHub · 67 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. 1mo ago Changed 884895766bff
  2. 1mo ago Changed · -2 lines 156d4ae5f364
  3. 1mo ago Changed c23f280b214e
  4. 2mo ago First seen · 69 lines · 23 tokens per session scan A 6881d3a4afff

Subscribe to this mod's changes

jaz-doc-collect is a command published in the GitHub repository teamtinvio/jaz-ai (8 stars, last pushed yesterday), licensed MIT. It adds 23 tokens to every session and 596 once invoked, about $0.0001 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-08-31.

Related

jaz-doc-collect compared with commands from other repositories

jaz-doc-collect next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
jaz-doc-collectteamtinvio/jaz-aiCommand8yesterdayMITA23Claude Code
importmichielinksee/bantouCommand22mo agoMITA14Claude Code
reportmichielinksee/bantouCommand22mo agoMITA12Claude Code
create-readmeAzure-Samples/mcp-agent-langchainjsCommand2049d agoMITA0GitHub Copilot
journal-entryGAJETOso/financeskillsCommand475d agoMITA18Claude Code
reportCPUtester5465/countbean-pluginCommand291mo agoMITA26Claude Code
correctmichielinksee/bantouCommand22mo agoMITA13Claude Code