Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问clear审计异常

digisigndigisign 命令行

Agent Skill

digisign 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

294

周安装

12

GitHub Stars

公开资料未说明

下载量

94
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:digisign(digisign 命令行)
来源仓库:https://github.com/majncz/digisign-skill
仓库路径:skills/digisign
安装命令:
npx skills add https://github.com/majncz/digisign-skill --skill digisign
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/majncz/digisign-skill --skill digisign

简介

digisign 集成捷克电子签名服务 REST API,提供 CLI 脚本与完整文档支持。

  • 支持生产与测试双环境切换,附带 OpenAPI 规范便于 Postman 等工具集成调用。
  • 采用 Bearer Token 认证机制,需向 podpora@digisign.cz 申请 staging 环境访问权限。
  • 适用于需要法律效力电子签章的业务系统对接,如合同签署、表单提交等场景。
  • digisign 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

DigiSign API

Czech electronic signature service REST API integration. This skill provides both CLI scripts for quick operations and comprehensive API documentation for implementing DigiSign into your applications.

API Overview

Base URLs

EnvironmentURLPurpose
Productionhttps://api.digisign.orgLive operations
Staginghttps://api.staging.digisign.orgTesting (contact podpora@digisign.cz for access)
OpenAPI Docshttps://api.digisign.org/api/docsInteractive documentation
OpenAPI JSONhttps://api.digisign.org/api/docs.jsonImport to Postman

Authentication

DigiSign uses Bearer token authentication (RFC 6750).

Step 1: Exchange credentials for token

POST /api/auth-token
Content-Type: application/json

{
  "accessKey": "your-access-key",
  "secretKey": "your-secret-key"
}

Response:

{
  "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9...",
  "exp": 1682572132,
  "iat": 1682485732
}

Step 2: Use token in all subsequent requests

Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9...

Token is valid for ~24 hours. Get a new one when expired.

API Key Setup

  1. Log into DigiSign selfcare at https://app.digisign.org
  2. Go to Settings > For Developers > API Keys
  3. Click "New API Key" and configure permissions
  4. Save accessKey and secretKey securely (shown only once)

Response Formats

Pagination

All list endpoints return paginated responses:

{
  "items": [...],
  "count": 127,
  "page": 1,
  "itemsPerPage": 30
}

Query parameters:

  • page - Page number (default: 1)
  • itemsPerPage - Items per page (default: 30, max: 500)

Filtering

List endpoints support filter operators as query parameters:

OperatorExampleDescription
[eq]status[eq]=completedEquals
[neq]status[neq]=draftNot equals
[in]status[in][]=sent&status[in][]=completedIn array
[contains]name[contains]=contractContains string
[starts_with]email[starts_with]=johnStarts with
[gt]createdAt[gt]=2024-01-01Greater than
[gte]createdAt[gte]=2024-01-01Greater than or equal
[lt]validTo[lt]=2024-12-31Less than
[lte]validTo[lte]=2024-12-31Less than or equal

Sorting

order[createdAt]=desc
order[updatedAt]=asc

Available sort fields: createdAt, updatedAt, validTo, completedAt, cancelledAt, declinedAt

Error Responses

{
  "type": "https://tools.ietf.org/html/rfc2616#section-10",
  "title": "An error occurred",
  "status": 400,
  "violations": [
    {
      "propertyPath": "email",
      "message": "This value is not a valid email address."
    }
  ]
}

HTTP Status Codes

StatusMeaning
200Success
201Created
204No content (successful delete)
400Bad request - check violations field
401Authentication failed - get new token
403Forbidden - insufficient permissions
404Resource not found
422Validation error - check violations
429Rate limit exceeded

Important API Notes

  • Omitting an attribute in request body = don't change it (for updates)
  • Sending null = explicitly set to null (may error if not nullable)
  • HATEOAS: Responses include _actions and _links for navigation
  • Localization: Set Accept-Language: en|cs|sk|pl for localized error messages

Core Workflow

The typical envelope signing workflow has 7 steps:

#StepEndpoint
1AuthenticatePOST /api/auth-token
2Create envelopePOST /api/envelopes
3Add documentsPOST /api/files + POST /api/envelopes/{id}/documents
4Add recipientsPOST /api/envelopes/{id}/recipients
5Add signature tagsPOST /api/envelopes/{id}/tags or /tags/by-placeholder
6Send envelopePOST /api/envelopes/{id}/send
7Download signed docsGET /api/envelopes/{id}/download

Example: Create and Send Envelope

// 1. Authenticate
const tokenRes = await fetch('https://api.digisign.org/api/auth-token', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({
    accessKey: process.env.DIGISIGN_ACCESS_KEY,
    secretKey: process.env.DIGISIGN_SECRET_KEY
  })
});
const { token } = await tokenRes.json();

const headers = {
  'Authorization': `Bearer ${token}`,
  'Content-Type': 'application/json'
};

// 2. Create envelope
const envelopeRes = await fetch('https://api.digisign.org/api/envelopes', {
  method: 'POST',
  headers,
  body: JSON.stringify({
    name: 'Contract Agreement',
    emailBody: 'Please review and sign the attached contract.'
  })
});
const envelope = await envelopeRes.json();

// 3. Upload file
const formData = new FormData();
formData.append('file', fs.createReadStream('contract.pdf'));
const fileRes = await fetch('https://api.digisign.org/api/files', {
  method: 'POST',
  headers: { 'Authorization': `Bearer ${token}` },
  body: formData
});
const file = await fileRes.json();

// 4. Add document to envelope
await fetch(`https://api.digisign.org/api/envelopes/${envelope.id}/documents`, {
  method: 'POST',
  headers,
  body: JSON.stringify({
    file: `/api/files/${file.id}`,
    name: 'Contract'
  })
});

// 5. Add recipient
const recipientRes = await fetch(`https://api.digisign.org/api/envelopes/${envelope.id}/recipients`, {
  method: 'POST',
  headers,
  body: JSON.stringify({
    role: 'signer',
    name: 'John Doe',
    email: 'john@example.com'
  })
});
const recipient = await recipientRes.json();

// 6. Add signature tag (by placeholder)
await fetch(`https://api.digisign.org/api/envelopes/${envelope.id}/tags/by-placeholder`, {
  method: 'POST',
  headers,
  body: JSON.stringify({
    recipient: `/api/envelopes/${envelope.id}/recipients/${recipient.id}`,
    type: 'signature',
    placeholder: '{{sign_here}}',
    positioning: 'center'
  })
});

// 7. Send envelope
await fetch(`https://api.digisign.org/api/envelopes/${envelope.id}/send`, {
  method: 'POST',
  headers
});

Enums Reference

Envelope Statuses

StatusDescription
draftNot yet sent, can be edited
sentSent, waiting for signatures
completedAll recipients signed
expiredDeadline passed without completion
declinedSigner declined to sign
disapprovedApprover disapproved
cancelledCancelled by sender

Recipient Roles

RoleDescription
signerRemote signer - receives email with signing link
in_personSigns in person on intermediary's device
ccCopy recipient - receives completed documents only
approverApproves or rejects document
autosignAutomatic signature with company seal
semi_autosignTriggered automatic signature via API call

Recipient Statuses

StatusDescription
draftNot yet sent
sentInvitation sent
deliveredOpened the signing link
signedCompleted signing
declinedDeclined to sign
disapprovedDisapproved (for approvers)
cancelledCancelled
authFailedAuthentication failed (3 attempts exhausted)

Signature Types

TypeDescription
simpleSimple electronic signature
biometricHandwritten signature capture
bank_id_signBank iD Sign (qualified, Czech)
certificateCertificate-based signature

Authentication Methods

MethodDescription
noneNo authentication required
smsSMS code verification
bank_idBank iD verification (Czech national identity)

Tag Types

TypeDescription
signatureSignature field (required for signers)
approvalApproval stamp field
textText input field
documentID document photos field
attachmentFile attachment field
checkboxCheckbox field
radio_buttonRadio button (use with group)
date_of_signatureAuto-filled signature date

Tag Positioning

PositionDescription
top_leftTag top-left at placeholder top-left
top_centerTag top-center at placeholder top-center
top_rightTag top-right at placeholder top-right
middle_leftTag middle-left at placeholder middle-left
centerTag center at placeholder center
middle_rightTag middle-right at placeholder middle-right
bottom_leftTag bottom-left at placeholder bottom-left
bottom_centerTag bottom-center at placeholder bottom-center
bottom_rightTag bottom-right at placeholder bottom-right

Channels

ChannelDescription
emailNotifications via email
smsNotifications via SMS

Webhook Events

Envelope Events

EventDescription
envelopeSentEnvelope was sent
envelopeCompletedAll signatures completed
envelopeExpiredDeadline passed
envelopeDeclinedSigner declined
envelopeDisapprovedApprover disapproved
envelopeCancelledCancelled by sender
envelopeDeletedEnvelope deleted

Recipient Events

EventDescription
recipientSentInvitation sent to recipient
recipientDeliveredRecipient opened the link
recipientNonDeliveredDelivery failed (bad email, etc.)
recipientAuthFailedAuth attempts exhausted
recipientSignedRecipient signed
recipientDownloadedDownloaded completed docs
recipientDeclinedDeclined to sign
recipientDisapprovedDisapproved
recipientCanceledRecipient cancelled

Webhook Payload Format

{
  "id": "3974d252-b027-46df-9fd8-ddae54bc9ab9",
  "event": "envelopeCompleted",
  "name": "envelope.completed",
  "time": "2021-06-07T14:07:23+02:00",
  "entityName": "envelope",
  "entityId": "4fcf171c-4522-4a53-8a72-784e1dd36c2a",
  "data": {
    "status": "completed"
  }
}

Webhook Signature Verification

Header format: Signature: t={timestamp},s={signature}

import hmac
import hashlib
import time

def verify_webhook(signature_header, body, secret):
    # Parse header
    parts = dict(p.split('=') for p in signature_header.split(','))
    timestamp = int(parts['t'])
    signature = parts['s']

    # Check timestamp (5 minute window)
    if abs(time.time() - timestamp) > 300:
        raise Exception('Request too old - possible replay attack')

    # Verify signature
    expected = hmac.new(
        secret.encode(),
        f"{timestamp}.{body}".encode(),
        hashlib.sha256
    ).hexdigest()

    if not hmac.compare_digest(expected, signature):
        raise Exception('Invalid signature')

    return True

Webhook Retry Schedule

12 attempts over ~7 days if delivery fails:

Attempt123456-12
Delay5m10m30m1h2h24h each

CLI Scripts Reference

For quick operations, use the bundled Python scripts:

ScriptCommandsDescription
auth.pyget-token, status, clearToken management
envelope.pylist, get, create, update, delete, send, cancel, download, download-urlEnvelope operations
document.pyupload, add, list, get, update, delete, download, download-urlDocument management
recipient.pylist, add, get, update, delete, resend, autosignRecipient management
tag.pylist, add, add-by-placeholder, get, update, deleteSignature tag operations
webhook.pylist, create, get, update, delete, test, attempts, resend, verify-signatureWebhook management
embed.pyenvelope, recipient, signing, detailEmbedding URLs

Environment Variables

export DIGISIGN_ACCESS_KEY="your-access-key"
export DIGISIGN_SECRET_KEY="your-secret-key"
# Optional: use staging for testing
export DIGISIGN_API_URL="https://api.staging.digisign.org"

Quick Start with Scripts

# Authenticate
python scripts/auth.py get-token --save

# List envelopes
python scripts/envelope.py list

# Create and send envelope
python scripts/envelope.py create --name "Contract" --email-body "Please sign"
python scripts/document.py upload contract.pdf
python scripts/document.py add <envelope_id> --file-id <file_id> --name "Contract"
python scripts/recipient.py add <envelope_id> --role signer --name "John Doe" --email "john@example.com"
python scripts/tag.py add-by-placeholder <envelope_id> --recipient <rec_id> --type signature --placeholder "{{sign}}"
python scripts/envelope.py send <envelope_id> --yes

Czech-Specific Notes

Bank iD (Bankovni identita)

Czech national identity verification system through participating banks.

  • Use authenticationOnOpen: "bank_id" or authenticationOnSignature: "bank_id"
  • Verifies signer identity through their online banking
  • Required for qualified electronic signatures

Qualified Electronic Signature

For legally binding signatures in Czech Republic:

  • Set signatureType: "bank_id_sign"
  • Requires Bank iD verification
  • Compliant with eIDAS regulation

Audit Log (Protokol)

Every envelope includes a detailed audit log:

  • Download with GET /api/envelopes/{id}/download?include_log=true
  • Or get only the log: GET /api/envelopes/{id}/download?output=only_log

Timestamping

Enable qualified timestamps on documents:

  • Set timestampDocuments: true in envelope properties
  • Available authorities: ica_tsa (I.CA)

Cost Warning

DigiSign charges per envelope sent. These operations are FREE:

  • Creating/editing draft envelopes
  • Uploading documents
  • Managing recipients and tags
  • Webhook setup
  • Generating embed URLs
  • Listing and reading resources

BILLING TRIGGER: POST /api/envelopes/{id}/send - sends real emails and incurs charges.

References

Detailed documentation for each resource:

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

28.47%
按下载量换算27

Gemini CLI

21.35%
按下载量换算20

Antigravity

19.79%
按下载量换算19

windsurf

14.19%
按下载量换算13

trae

7.71%
按下载量换算7

OpenCode

3.33%
按下载量换算3

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills