Skip to content
Agentmart
Submit a tool

document-generation

Generate estate planning documents using python-docx and Jinja2 templates.

Skill by hvkshetry

IndexedMIT★ 16
Write a review

Chalk Labs

Need help deploying document-generation?

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-document-generation

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

Generate estate planning documents using python-docx and Jinja2 templates. Covers trust amendments, LLC agreements, powers of attorney, and other estate documents. Generated docs are uploaded to Paperless-ngx.

Use cases: documents

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/document-generation

What's inside

Skill name
document-generation
Description
Generate estate planning documents using python-docx and Jinja2 templates. Covers trust amendments, LLC agreements, powers of attorney, and other estate documents. Generated docs are uploaded to Paperless-ngx.
License
MIT
Instructions
88 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Document Generation

## Approach

Use python-docx + Jinja2 templates stored in `~/personal/servers/estate-planning-mcp/templates/`.
This is more flexible than Docassemble for family office documents that require
customization per entity and jurisdiction.

## Tool Routing

- `estate-planning`: entity/person/ownership context and document linkage metadata
- `paperless`: uploaded document storage, tags, correspondents, and retrieval
- `household-tax`: only when tax-language assumptions are required for narrative sections
- `finance-graph`: only when valuation history must be cited inside a document appendix
- Do not write finance-fact payloads into estate-planning document metadata

## Template Types

| Template | Use Case | Key Variables |
|----------|----------|---------------|
| trust-amendment | Modify trust provisions | trust_name, amendment_number, changes, effective_date |
| llc-operating-agreement | New LLC formation | llc_name, members, percentages, jurisdiction, manager |
| power-of-attorney | Grant POA | principal, agent, scope, jurisdiction, effective_date |
| certificate-of-trust | Prove trust existence | trust_name, trustee, formation_date, jurisdiction |
| assignment-of-assets | Transfer assets to entity | asset_description, from_party, to_entity, date |
| beneficiary-designation | Designate beneficiaries | account, primary_beneficiary, contingent, percentages |

## Generation Workflow

### Step 1: Gather Data from Estate Graph

Query `estate-planning` for:
- Entity details: `get_entity` (name, type, jurisdiction, formation date, grantor, trustee)
- People details: `get_person` (legal name, address, tax ID)
- Ownership: `get_ownership_graph` (current ownership structure)
- Existing documents: linked docs to avoid duplication

### Step 2: Select Template

Match the document need to a template. If no template exists:
- Note the gap
- Generate the document from scratch using python-docx
- Save the new template for future use

### Step 3: Fill Template Variables

Map estate-planning data to template variables:
- Legal names (not preferred names)
- Full addresses
- Tax IDs (only when required by the document type)
- Dates in jurisdiction-appropriate format
- Entity-specific terms (e.g., "Member" for LLC, "Beneficiary" for trust)

### Step 4: Generate Document

Execute python-docx code to render the template with variables.
Apply formatting:
- Professional formatting (margins, fonts, spacing)
- Page numbers
- Signature blocks with date lines
- Notary acknowledgment blocks where required

### Step 5: Upload to Paperless-ngx

Via paperless tools:
1. Upload the generated .docx as a new document
2. Title: `[Doc Type] - [Entity Name] - YYYY-MM-DD`
3. Tags: `legal`, appropriate secondary tags
4. Correspondent: The entity or attorney
5. Link in estate-planning: `link_document` (or `upsert_document_metadata`) to associate with entity/asset

## Output Contract

Return:
- Generated document filename and template used
- Linked `paperless_doc_id`
- Linked estate object IDs (`entity_id` / `asset_id` / `person_id`)
- Open attorney-review flags (witness/notary/jurisdiction-specific checks)

## Important Constraints

- **Not legal advice**: All generated documents should be reviewed by a qualified attorney
- **Wet signatures required**: Estate docs (wills, trusts, deeds) require wet signatures and often notarization — e-sign is insufficient
- **Jurisdiction-specific**: Templates must account for jurisdiction-specific requirements (e.g., witness requirements, notary formats differ by state)
- **Version control**: Always include amendment number and effective date; never overwrite prior versions
- **Confidential**: Generated documents contain sensitive information (tax IDs, ownership, valuations)

From hvkshetry/StewardOS, MIT.

More from hvkshetry/StewardOS

Signals

Stars
16
Forks
7
Open issues
2
Last commit (this folder)
Mar 4, 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 document-generation 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 document-generation?

CallGet help
Cite this page

document-generation skill. Agent Mart. https://agentmart.dev/skills/hvkshetry-document-generation (last updated 2026-10-24)