Adds an /inspectdoc skill to Claude Code so your customers can analyze documents for authenticity directly from their terminal.
Once installed, customers type /inspectdoc in any Claude Code conversation. The skill has two modes:
Analyze mode — authenticate specific documents:
- Ask for the document file path(s)
- Call the InspectDoc API automatically
- Return a formatted authenticity report with risk levels
Test & Report mode — run a diagnostic suite:
- Health-check the API
- Run a set of test documents through the API
- Produce a pass/fail test report (and optionally save it to a file)
Supports single documents, receipts, batch analysis (up to 20 files), and test suite runs.
- Claude Code installed
- An InspectDoc API key (sign up at inspectdoc.com)
# Clone or download this repo, then:
bash claude-skill/install.shCopy inspectdoc.md to your Claude Code skills directory:
mkdir -p ~/.claude/skills
cp inspectdoc.md ~/.claude/skills/inspectdoc.mdAdd your API key to your shell profile (~/.zshrc, ~/.bashrc, etc.):
export INSPECTDOC_API_KEY=your_api_key_hereThen reload your shell:
source ~/.zshrcIn any Claude Code conversation:
/inspectdoc
Claude will ask what you want to do. You can also be direct:
/inspectdoc check if this invoice is real: ~/Downloads/invoice.pdf
/inspectdoc run tests on my documents folder ~/test-docs/
/inspectdoc check API health and run diagnostics
File: invoice.jpg
Verdict: SUSPICIOUS
Authenticity Score: 0.52 / 1.0
| Check | Risk Level | Score |
|-----------------|-----------|-------|
| Tampering | MEDIUM | 0.48 |
| AI Generated | LOW | 0.12 |
| Digital Editing | HIGH | 0.71 |
| Metadata | MEDIUM | 0.44 |
Summary: The document shows notable signs of digital editing with
medium-confidence tampering indicators. Manual review is recommended.
================================================
InspectDoc Test Report
2026-03-05_14-22-01
API: https://api.inspectdoc.com
================================================
SUMMARY
-------
API Health: PASSED
Total Tests: 4
Passed: 3 (75%)
Failed: 1
TEST RESULTS
------------
[PASSED] invoice_sample.jpg score: 0.87 risk: LOW
[PASSED] receipt_real.png score: 0.91 risk: LOW
[FAILED] tampered_id.jpg HTTP 500 — server error
[PASSED] passport_scan.jpg score: 0.74 risk: LOW
FAILED TESTS
------------
tampered_id.jpg
Error: Internal server error
Suggestion: Check file format or contact support@inspectdoc.com
================================================
Result: 1 FAILURE DETECTED
================================================
- Email: support@inspectdoc.com
- Docs: https://docs.inspectdoc.com