简介
Docuseal
原始描述
Manage DocuSeal e-signature workflows from the terminal via the DocuSeal CLI - create templates from PDF/DOCX/HTML, send documents for signing, track submissions, and update submitters. Use when the user wants to run DocuSeal commands in the shell, scripts, or CI/CD pipelines. Always load this skill
通过你的 Agent 添加
安装目录:docuseal-cli/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: docuseal-cli
description: >
Manage DocuSeal e-signature workflows from the terminal via the DocuSeal CLI -
create templates from PDF/DOCX/HTML, send documents for signing, track submissions,
and update submitters. Use when the user wants to run DocuSeal commands in the shell,
scripts, or CI/CD pipelines. Always load this skill before running docuseal commands.
license: MIT
metadata:
author: DocuSeal
version: "1.0.5"
homepage: https://www.docuseal.com
source: https://github.com/docusealco/docuseal-agent-skills
openclaw:
emoji: "📝"
requires:
env:
- DOCUSEAL_API_KEY
- DOCUSEAL_SERVER
bins:
- docuseal
primaryEnv: DOCUSEAL_API_KEY
install:
- id: npm
kind: npm
package: docuseal
bins:
- docuseal
label: Install DocuSeal CLI (npm)
Agent Protocol
Rules for agents:
- Supply ALL required flags — the CLI will not prompt for missing parameters.
- Output is always JSON.
- Use
-d key=value(bracket notation) or-d '{"..": ".."}'(JSON) for body and array parameters.
Authentication
Set environment variables:
DOCUSEAL_API_KEY— API key (required). Get yours at https://console.docuseal.com/apiDOCUSEAL_SERVER—global(default),europe, or full URL for self-hosted (e.g.https://docuseal.yourdomain.com)
Available Commands
Command Group
What it does
templates
list, retrieve, update, archive, create-pdf, create-docx, create-html, clone, merge, update-documents
submissions
list, retrieve, archive, create, send-emails, create-pdf, create-docx, create-html, documents
submitters
list, retrieve, update
| Command Group | What it does |
|---|---|
templates |
list, retrieve, update, archive, create-pdf, create-docx, create-html, clone, merge, update-documents |
submissions |
list, retrieve, archive, create, send-emails, create-pdf, create-docx, create-html, documents |
submitters |
list, retrieve, update |
Read the matching reference file for detailed flags and examples.
Common Mistakes
#
Mistake
Fix
1
Forgetting -d template_id=<id> on submissions create
--template-id is a flag; submitters and other body params go via -d
2
Passing a plain file path as a URL
--file accepts a local path; for remote files use -d "documents[0][file]=https://..."
3
Expecting array params as comma-separated
Arrays use bracket notation: -d "template_ids[]=1" -d "template_ids[]=2"
4
Using templates create-pdf without a Pro plan
Commands marked (Pro) require a DocuSeal Pro subscription
5
Sending to multiple recipients with submissions create
Use submissions send-emails --emails a@b.com,c@d.com for bulk; submissions create is per-submitter
Common Patterns
| # | Mistake | Fix |
|---|---|---|
| 1 | Forgetting -d template_id=<id> on submissions create |
--template-id is a flag; submitters and other body params go via -d |
| 2 | Passing a plain file path as a URL | --file accepts a local path; for remote files use -d "documents[0][file]=https://..." |
| 3 | Expecting array params as comma-separated | Arrays use bracket notation: -d "template_ids[]=1" -d "template_ids[]=2" |
| 4 | Using templates create-pdf without a Pro plan |
Commands marked (Pro) require a DocuSeal Pro subscription |
| 5 | Sending to multiple recipients with submissions create |
Use submissions send-emails --emails a@b.com,c@d.com for bulk; submissions create is per-submitter |
List templates:
docuseal templates list --q "NDA" --limit 20
Create a template from a PDF and send for signing:
docuseal templates create-pdf --file contract.pdf --name "NDA"
docuseal submissions send-emails --template-id 1001 --emails signer@example.com
Create a submission with pre-filled fields (bracket notation):
docuseal submissions create --template-id 1001 \
-d "submitters[0][email]=john@acme.com" \
-d "submitters[0][values][Company Name]=Acme Corp"
Create a submission with pre-filled fields (JSON):
docuseal submissions create --template-id 1001 \
-d '{"submitters": [{"email": "john@acme.com", "values": {"Company Name": "Acme Corp"}}]}'
Check signing status:
docuseal submissions list --template-id 1001 --status pending
Update a submitter:
docuseal submitters update 201 --email new@acme.com --send-email
When to Load References
- Creating or managing templates → references/templates.md
- Sending documents for signing or tracking status → references/submissions.md
- Using dynamic content variables in DOCX → references/docx-variables.md
- Embedding field tags in PDF/DOCX → references/field-tags.md
- Writing HTML templates with field tags → references/html-fields.md
- Listing or updating signers → references/submitters.md
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。