Skip to content
Agentmart
Submit a tool

paperless-canonical-ingestion

Canonical ingestion workflow for family-office records: discover candidate files in Google Drive, Gmail attachments, OneDrive, and SharePoint; deduplicate…

Skill by hvkshetry

IndexedMIT★ 16
Write a review

Chalk Labs

Need help deploying paperless-canonical-ingestion?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/hvkshetry-paperless-canonical-ingestion

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Canonical ingestion workflow for family-office records: discover candidate files in Google Drive, Gmail attachments, OneDrive, and SharePoint; deduplicate minor variants; choose one canonical document; and upsert into Paperless with normalized title, document type, correspondent, and owner-routing tags. Use when seeding Paperless, running periodic syncs, or cleaning duplicates across storage systems.

Use cases: documents, productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/paperless-canonical-ingestion

What's inside

Skill name
paperless-canonical-ingestion
Description
Canonical ingestion workflow for family-office records: discover candidate files in Google Drive, Gmail attachments, OneDrive, and SharePoint; deduplicate minor variants; choose one canonical document; and upsert into Paperless with normalized title, document type, correspondent, and owner-routing tags. Use when seeding Paperless, running periodic syncs, or cleaning duplicates across storage systems.
License
MIT
Instructions
72 lines in SKILL.md · view on GitHub

Files (3)

  • SKILL.md
  • openai.yaml · agents/
  • filing-matrix.md · references/

SKILL.md (first lines)

# Paperless Canonical Ingestion

## Outcome
Create and maintain a Paperless corpus that is canonical, deduplicated, and queryable by agent role.

## Source Discovery (read-only)
- Google Drive: `search_drive_files`, `list_drive_items`, `get_drive_file_download_url`
- Gmail: `search_gmail_messages`, `get_gmail_message_content`, `get_gmail_attachment_content`
- Microsoft: `office-mcp.files` with `search`, `get`, `download`
- Paperless: `search_documents`, `get_document`, `post_document`, `update_document`, `bulk_edit_documents`

## Workflow
1. Define scope and query set.
- Start from explicit folders, entities, and case names in the request.
- Expand with keyword variants (tax years, policy numbers, case IDs, entity aliases).

2. Collect candidate files.
- Pull metadata first: filename, path/link, modified date, sender/issuer, mime type.
- Download only shortlisted files needed for canonical comparison or ingest.

3. Canonicalize duplicates and near-duplicates.
- Use normalized filename stem + issuer + date + page count + first-page text similarity.
- Treat variants as duplicates when differences are forwarding wrappers, scan quality, or cosmetic edits.
- Keep one canonical file per logical document set.
- Record why non-canonical copies were skipped.

4. Rank canonical candidates (highest wins).
- `executed/signed/final` > draft.
- authority-issued original > forwarded attachment.
- complete packet > partial extract.
- machine-readable PDF > low-quality image scan (unless scan is the only executed copy).
- newest corrected version > older versions (unless chronology itself is legally important).

5. Upsert into Paperless.
- If a logical document already exists: use `update_document` for metadata normalization.
- If not present: ingest with `post_document`.
- Normalize `title`, `document_type`, `correspondent`, and tags using `references/filing-matrix.md`.

6. Apply ownership routing.
- Add owner tags so downstream task routing is deterministic.
- Use these role tags: `owner-estate`, `owner-hc`, `owner-io`, `owner-cos`, `owner-hd`, `owner-wellness`.
- Use multiple owner tags when the document has cross-functional impact.

7. Verify and report.
- Re-query by entity/case tags and spot-check duplicates.
- Return summary: `uploaded`, `updated`, `skipped_duplicate`, `needs_user_decision`.

## Canonical Baseline Seed Pack
When seeding family-office context, prioritize these categories:
- Estate core: will, irrevocable trust, POA, healthcare directives.
- Tax core: latest 3 years personal/entity returns, notices/orders, appeals, payment proofs.
- Entity core: formation docs, operating agreements, annual reports, key minutes/resolutions.
- Property core: deed/title, mortgage/loan docs, insurance declarations, major service contracts.
- Risk core: active policies, material liabilities, active litigation/case packets.

## Guardrails
- Do not perform Microsoft write operations.
- Do not delete source files from Drive/OneDrive/SharePoint/Gmail.
- Do not ingest both canonical and clearly duplicate variants.
- Prefer `update_document` over re-upload when Paperless already has the canonical file.

## Completion Checklist
- Canonical selected for each logical document set.
- Paperless metadata normalized (`title`, `document_type`, `correspondent`, tags).
- Owner-routing tags applied for all seeded records.
- Duplicate decisions documented in the final summary.
- Ambiguities surfaced explicitly for user decision.

## References
- Filing and owner-routing matrix: `references/filing-matrix.md`

From hvkshetry/StewardOS, MIT.

More from hvkshetry/StewardOS

Signals

Stars
16
Forks
7
Open issues
2
Last commit (this folder)
Mar 13, 2026 (8 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from hvkshetry

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get paperless-canonical-ingestion running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying paperless-canonical-ingestion?

CallGet help
Cite this page

paperless-canonical-ingestion skill. Agent Mart. https://agentmart.dev/skills/hvkshetry-paperless-canonical-ingestion (last updated 2026-10-24)