From psd-productivity
Export and archive DocuSign envelopes, templates, and documents for migration to Documenso. Read-only — no creating or modifying content. Use when: downloading signed documents, exporting templates, bulk archiving, querying envelope status, migrating to Documenso. Triggers on: docusign, export, archive, migration, signed documents, bulk download.
How this skill is triggered — by the user, by Claude, or both
Slash command
/psd-productivity:docusign-managerclaude-opus-4-6This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Read-only export and archive skill for migrating from DocuSign to Documenso + n8n.
references/docusign-api-reference.mdreferences/docusign-jwt-setup.mdreferences/docusign-migration-guide.mdscripts/bulk_download.jsscripts/docusign_client.jsscripts/download_audit.jsscripts/download_document.jsscripts/download_template.jsscripts/export_account.jsscripts/export_all_templates.jsscripts/export_template.jsscripts/get_envelope.jsscripts/get_powerform.jsscripts/get_template.jsscripts/health_check.jsscripts/list_envelopes.jsscripts/list_powerforms.jsscripts/list_templates.jsRead-only export and archive skill for migrating from DocuSign to Documenso + n8n.
/oauth/userinfo (varies by account: na1, na2, na3, eu, au)plugins/psd-productivity/skills/docusign-manager/scripts/All scripts use bun and read credentials from secrets.js (env vars → Geoffrey .env).
| Secret | Description |
|---|---|
DOCUSIGN_INTEGRATION_KEY | Integration key (client ID) from DocuSign admin |
DOCUSIGN_USER_ID | User ID (GUID) of the API user |
DOCUSIGN_ACCOUNT_ID | Account ID (GUID) |
DOCUSIGN_RSA_KEY_PATH | Path to RSA private key file (PEM format) |
DOCUSIGN_ENVIRONMENT | production or demo (default: production) |
See references/docusign-jwt-setup.md for credential setup instructions.
| Command | Script | Description |
|---|---|---|
/docusign status | bun health_check.js | Test JWT auth, show account info |
| Command | Script | Description |
|---|---|---|
/docusign list-templates | bun list_templates.js | List all templates |
/docusign list-templates '{"search":"permission"}' | bun list_templates.js '{"search":"permission"}' | Search templates |
/docusign get-template <id> | bun get_template.js <id> | Full template with fields/recipients |
/docusign export-template <id> | bun export_template.js <id> | Export as Documenso-compatible JSON |
/docusign export-templates | bun export_all_templates.js | Export ALL templates with manifest |
/docusign download-template <id> | bun download_template.js <id> | Download template PDF(s) + Documenso field mapping |
| Command | Script | Description |
|---|---|---|
/docusign list-powerforms | bun list_powerforms.js | List all PowerForms (self-service links) |
/docusign get-powerform <id> | bun get_powerform.js <id> | PowerForm details with migration hints |
| Command | Script | Description |
|---|---|---|
/docusign export-account | bun export_account.js | Full account inventory (templates, PowerForms, groups, envelope stats by year) |
| Command | Script | Description |
|---|---|---|
/docusign list-envelopes | bun list_envelopes.js | List recent envelopes |
/docusign list-envelopes '{"status":"completed","from_date":"2024-01-01"}' | bun list_envelopes.js '...' | Filter by status/date |
/docusign get-envelope <id> | bun get_envelope.js <id> | Full envelope details |
/docusign download <id> | bun download_document.js <id> | Download signed PDF |
/docusign download-audit <id> | bun download_audit.js <id> | Download audit trail JSON |
/docusign download-audit <id> certificate | bun download_audit.js <id> certificate | Download Certificate of Completion PDF |
| Command | Script | Description |
|---|---|---|
/docusign bulk-download | bun bulk_download.js | Download ALL completed envelopes (with checkpointing) |
/docusign bulk-download --status | bun bulk_download.js --status | Show bulk download progress |
/docusign bulk-download --retry-failed | bun bulk_download.js --retry-failed | Retry previously failed downloads |
/docusign bulk-download --from 2024-01-01 | bun bulk_download.js --from 2024-01-01 | Download from specific date |
/docusign bulk-download --reset | bun bulk_download.js --reset | Clear checkpoint and start fresh |
The bulk-download command is designed for large-scale export (50,000+ envelopes):
Two phases:
Checkpointing: Progress saved to ~/.docusign-export/checkpoint.json every 50 downloads. Safe to stop (Ctrl+C) and resume later — picks up where it left off. Already-downloaded files are skipped.
Output structure:
~/DocuSign-Export/envelopes/
2024/
01/
Permission-Slip-abc12345.pdf
Employment-Agreement-def67890.pdf
02/
...
2025/
...
Time estimate: 50,000 envelopes at 3,000 API calls/hour = ~17 hours. Designed for overnight runs.
See references/docusign-migration-guide.md for the full 20-day migration plan.
| Days | Phase | Key Commands |
|---|---|---|
| 1-2 | Inventory & Archive | export-account, bulk-download (runs ~18hrs) |
| 3-5 | Template Triage | export-templates, download-template for each |
| 6-12 | Template Migration | Upload PDFs to Documenso, map fields from exported JSON |
| 13-17 | PowerForm Migration | list-powerforms, get-powerform, rebuild as n8n workflows |
| 18-19 | Testing & Cutover | Test all workflows, redirect users |
| 20 | Decommission | Disable PowerForms, notify users |
Account stats: 655 named templates, 50 PowerForms, 55,068 completed envelopes (2020-2026)
The export-template command transforms DocuSign templates into Documenso-compatible JSON:
signHereTabs → SIGNATURE, textTabs → TEXT, dateSignedTabs → DATE, etc.formulaTabs, notarizeTabs)See references/docusign-migration-guide.md for the complete mapping table.
This is a read-only skill. No operations create, modify, or delete content in DocuSign.
references/docusign-jwt-setup.md.from_date is REQUIRED — the envelopes list endpoint silently defaults to 30 days ago if from_date is omitted. All scripts pass this explicitly./oauth/userinfo.crypto.createSign for JWT signing, native fetch for HTTP. Matches the existing skill pattern.| Document | Contents |
|---|---|
references/docusign-jwt-setup.md | Step-by-step JWT credential setup for DocuSign admin |
references/docusign-api-reference.md | API endpoints, pagination, rate limits, auth flow |
references/docusign-migration-guide.md | DocuSign → Documenso concept mapping, field types, coordinates |
npx claudepluginhub psd401/psd-claude-plugins --plugin psd-productivityCreates bite-sized, testable implementation plans from specs or requirements, with file structure and task decomposition. Activates before coding multi-step tasks.