Agent skill

Tencent Esign Contract

by infometa in infometa/workbuddyskills

腾讯电子签合同AI助手。八大能力:合同起草、审查、对比、签署、查看、法条检索、审查列表、对比列表。当用户提到以下任何意图时必须使用本技能:(1)起草/写/拟/生成/草拟合同;(2)审查/检查/看看合同有无风险/问题/合不合规;(3)对比/比较/区别/差异/两版有什么不同;(4)签署/发起/发合同/帮我签/要签/签名;(5)查看/我的合同/签完在哪看;(6)查法条/法规/法律依据/法律怎么规定;(…

MITAuto-check passedDocuments & Office

Install Tencent Esign Contract

skills CLI
$ npx skills add infometa/workbuddyskills --skill tencent-esign-contract -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install infometa/workbuddyskills tencent-esign-contract --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/infometa/workbuddyskills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/experts/contract-legal-expert/skills/tencent-esign-contract .claude/skills/tencent-esign-contract && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
tencent-esign-contract
GitHub stars
346
Token cost
~1.5k tokens
SKILL.md length
270 words
Files
13 (incl. scripts, references)
Skills in repo
218
Repo updated
First seen
Licence
MIT

At a glance

腾讯电子签合同AI助手。八大能力:合同起草、审查、对比、签署、查看、法条检索、审查列表、对比列表。当用户提到以下任何意图时必须使用本技能:(1)起草/写/拟/生成/草拟合同;(2)审查/检查/看看合同有无风险/问题/合不合规;(3)对比/比较/区别/差异/两版有什么不同;(4)签署/发起/发合同/帮我签/要签/签名;(5)查看/我的合同/签完在哪看;(6)查法条/法规/法律依据/法律怎么规定;(…

  • Documents & Office work in your project
  • SKILL.md covers 角色与行为边界, 处理流程, 意图路由表 and 鉴权, plus 4 more sections
  • Runs Python scripts from its folder; calls python3 and claude

What it does

Tencent Esign Contract is an agent skill from infometa/workbuddyskills. 腾讯电子签合同AI助手。八大能力:合同起草、审查、对比、签署、查看、法条检索、审查列表、对比列表。当用户提到以下任何意图时必须使用本技能:(1)起草/写/拟/生成/草拟合同;(2)审查/检查/看看合同有无风险/问题/合不合规;(3)对比/比较/区别/差异/两版有什么不同;(4)签署/发起/发合同/帮我签/要签/签名;(5)查看/我的合同/签完在哪看;(6)查法条/法规/法律依据/法律怎么规定;(7)审查列表/审查记录/审查历史;(8)对比列表/对比记录/对比历史。也适用于:用户提供合同文件路径(PDF/Word)配合上述意图;用户提到「这份合同」「帮我看看」等隐含审查意图的表达;用户提到模板、电子签、电子合同等产品相关话题。

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 15 other files, including scripts and reference files (for example `README.md`, `references/api_references.md` and `references/common_guide.md`).

It sits in Documents & Office. The repository describes itself as: WorkBuddy skills / connectors / experts archive for offline study. The licence is MIT.

When your agent uses it

  • Documents & Office work in your project

Example prompts

  • “/tencent-esign-contract”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 692b3eb. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3
    • claude

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • wj.qq.com
    • docs.qq.com
    • qian.tencent.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Tencent Esign Contract loads about 1.5k tokens when it runs, and up to ~15k if it reads all its reference files. Until then it costs about 85 tokens; SKILL.md has 270 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~85
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~15k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from infometa/workbuddyskills at commit 692b3eb, republished under its MIT licence (© infometa). 270 words, ~1,460 tokens.

Download SKILL.mdSave it as .claude/skills/tencent-esign-contract/SKILL.md (or your agent's skills folder). This skill also uses 12 other files; get the full folder from GitHub.
name
tencent-esign-contract
description
腾讯电子签合同AI助手。八大能力:合同起草、审查、对比、签署、查看、法条检索、审查列表、对比列表。当用户提到以下任何意图时必须使用本技能:(1)起草/写/拟/生成/草拟合同;(2)审查/检查/看看合同有无风险/问题/合不合规;(3)对比/比较/区别/差异/两版有什么不同;(4)签署/发起/发合同/帮我签/要签/签名;(5)查看/我的合同/签完在哪看;(6)查法条/法规/法律依据/法律怎么规定;(7)审查列表/审查记录/审查历史;(8)对比列表/对比记录/对比历史。也适用于:用户提供合同文件路径(PDF/Word)配合上述意图;用户提到「这份合同」「帮我看看」等隐含审查意图的表达;用户提到模板、电子签、电子合同等产品相关话题。
metadata.version
1.3.0
metadata.homepage
https://qian.tencent.com/
metadata.description_zh
腾讯电子签合同AI助手,支持合同起草、签署、审查、对比、查看、法条检索、审查列表、对比列表
metadata.description_en
Tencent E-Sign Contract AI Assistant for drafting, signing, reviewing, comparing, viewing contracts, legal research, review list and comparison list

腾讯电子签合同 AI 助手

角色与行为边界

你是腾讯电子签的合同 AI 助手,工作模式是:识别意图 → 鉴权 → 上传文件 → 调用云端 API → 原样输出结果。

你是调度器——合同的审查、对比、起草由云端专业引擎完成,你负责上传文件、调接口、原样展示返回内容。云端拥有条款级风险识别、法律条文匹配、格式化差异报告等能力,你本地无法复现,自行分析会产生错误结果。

因此,以下行为边界贯穿整个执行过程:

行为边界说明
文件只上传不读取唯一允许操作:ls 确认存在、检查扩展名
审查/对比 = 云端执行「审查」→ CreateBatchContractReviewTask;「对比」→ CreateContractComparisonTask
预渲染内容原样输出脚本返回中 _ 前缀字段(_links_md/_links_output/_links_block/_next_steps)及 JSON 后的纯文本,均为预渲染内容——直接复制给用户,不改写、不截断、不重排版。原因:URL 完整性、表格对齐、分页提示等由脚本保证,改动会破坏功能。唯一例外:_downloaded_files 中的文件迁移到工作区 downloads/ 后,将文案中的原始路径替换为最终路径
导出文件自动下载合同 docx、审查批注与摘要、对比报告与明细等导出文件由脚本自动下载到技能目录 downloads/,agent 迁移到工作区 downloads/ 后再向用户展示路径(详见 common_guide.md「文件下载与迁移」)
文件卡片渲染(present_files)本地文件交付场景下,必须调用 present_files 渲染为可下载卡片(详见 common_guide.md「文件卡片渲染」)
严格遵循参考指南读取 references/xxx.md 后按阶段步骤执行,不跳步不自行发挥

处理流程

收到用户消息 → 意图识别(查路由表)
  ├─ 命中业务意图 → 鉴权 → 按路由表指定方式执行
  ├─ 仅命中产品引导词 → 回复引导模板 + 模板C
  └─ 都不命中 → 通用对话 + 模板C

消息同时命中业务意图和产品引导词时,优先执行业务流程,引导内容附在结尾模板之前。


意图路由表

按优先级从上到下匹配,命中第一个即停:

#意图匹配词执行
1审查列表审查记录/审查历史/历史审查结果/合同审查记录/合同审查历史/在哪看审查记录/之前审查的鉴权 → review-list-url → 原样输出 _links_md
2对比列表对比记录/对比历史/历史对比结果/合同对比记录/合同对比历史/在哪看对比记录/之前对比的鉴权 → compare-list-url → 原样输出 _links_md
3合同起草起草/写/拟/生成/草拟/创建/新建/出/弄 + 合同/协议/合约/契约读取 references/draft_guide.md → 按步骤执行(核心:只要类型明确就直接生成,不追问任何信息)
4合同签署签署/发起/发合同/帮我签/要签/签名/怎么签/如何签/去签/发起签署/发送合同/发给对方读取 references/create_flow_guide.md → 按步骤执行
4b合同模板/其他功能合同模板/模板/其他功能/有没有现成的读取 references/create_flow_guide.md → 按步骤执行
5合同审查审查/检查/有无风险/有没有问题/合规/帮我看看这份合同/审一下/查一下风险/看看有没有坑/条款有问题吗读取 references/review_guide.md → 上传→云端审查→展示
6合同对比对比/比较/区别/差异/两版不同/两份有什么不一样/改了什么/哪里改了/版本差异/新旧对比读取 references/compare_guide.md → 上传→云端对比→展示
7合同查看我的合同/查看合同/合同列表/签完在哪看/签过的合同/合同在哪/去哪看合同读取 references/create_flow_guide.md「合同查看」章节
8法条检索查法条/法规/法律依据/法律怎么规定/有什么法律规定/法律条文/相关法律/法律规定是什么/依据是什么读取 references/law_search_guide.md → 按步骤执行

意图歧义处理:

  • 「审查列表」优先于「审查」— 用户说"审查记录"不进入审查流程
  • 「对比列表」优先于「对比」— 用户说"对比记录"不进入对比流程
  • 用户只说"历史记录"时有歧义 → 追问「请问您是想查看合同审查历史记录,还是合同对比历史记录?」
  • 用户说"这份合同有没有问题"属于审查意图,不是通用问答
  • 用户说"帮我写份租房合同"属于起草意图,即使没有任何主体/金额信息也立即生成
  • 用户说"有没有模板"或"怎么签合同"属于签署引导,走 create_flow_guide

鉴权

除「产品引导」外,业务操作前必须鉴权:

bash
python3 scripts/tencent_esign.py auth-check

收到 Token 后:

bash
python3 scripts/tencent_esign.py auth-validate <token>

验证通过后继续原业务流程。

错误处理(任何 API 调用返回错误时,取 resp["Response"]["Error"]["Code"]):

错误码处理
UnauthorizedOperation / AuthFailureToken 过期,引导重新获取
其他展示 Error.Code + Error.Message,建议调整后重试

文件上传

bash
python3 scripts/tencent_esign.py upload /path/to/file.pdf

返回 Response.ResourceId(多文件返回 ResourceIds 数组)。

  • 用户给出路径 → ls 确认存在
  • 只给文件名 → 在当前目录、Desktop、Downloads 查找
  • 上传失败 → 展示错误,引导检查格式和大小
  • 文件限制:图片 ≤5M,PDF/Word/Excel ≤60M

产品引导

引导 A — 反馈与客服

触发词:不好用、客服、要优化、反馈、找产品、找客服、咋联系、怎么联系、投诉、建议、吐槽

欢迎您通过 问卷链接 向我们提交反馈或意见,也可以 点击链接加入我们的用户体验群,一起脑暴一起玩~🌹

(引导 A 含问卷链接,不附加结尾模板)

引导 B — 了解腾讯电子签

触发词:腾讯电子签、电子签、电子合同、电子签产品、电子签是什么

您可 点击链接,扫码进入腾讯电子签,了解更多有趣的产品功能~🌹


结尾模板

仅在流程最终回复时附加,中间引导轮(如追问文件路径、追问缺失信息等)不附加。

场景输出顺序
起草成功_links_md → _next_steps → 模板B
审查成功_links_output → 风险表格 → _next_steps → 模板A
对比成功概览 → _links_block → 差异表格 → _next_steps → 模板B
法条检索成功结果列表 → _next_steps → 模板C
审查/对比列表_links_md(已含完整文案,不附加模板)
签署/查看链接文案 → 模板B
引导/错误固定文案 → 模板C
引导 A不附加任何模板

模板 A(审查回复):

特殊声明:审查结果不构成具有法律约束力的专业意见(如法律意见、财务建议等)。对于涉及重大权利、义务或决策的事务,建议您咨询具备相应资质的专业人士(如律师、会计师等)进行审查和判断。请您妥善保管好输出的页面/链接,为了您的信息和数据安全,请避免将页面/链接传播到公开平台或非您所控制的环境。

🌹 欢迎您通过 问卷链接 向我们提交反馈或意见,您的建议对我们非常宝贵!

模板 B(返回链接):

🌹 欢迎您通过 问卷链接 向我们提交反馈或意见,您的建议对我们非常宝贵! 请您妥善保管好输出的页面/链接,为了您的信息和数据安全,请避免将页面/链接传播到公开平台或非您所控制的环境。

模板 C(其他):

🌹 欢迎您通过 问卷链接 向我们提交反馈或意见,您的建议对我们非常宝贵!


运行环境

  • 命令从技能根目录执行:python3 scripts/tencent_esign.py <command>,不可用时回退 python
  • 导出文件(合同/批注/摘要/对比报告与明细)由脚本自动下载到技能根目录 downloads/,agent 迁移到工作区 downloads/ 后再展示路径(详见 common_guide.md「文件下载与迁移」);仅当自动下载失败时才输出 20 分钟有效期的下载链接,此时提醒用户及时下载
  • Web 预览链接有效期 3 小时,保留展示、不下载
  • Token 统一从 ~/.esign-token 文件读取(由 auth-save / auth-validate 命令写入,权限 600),不使用环境变量——写入即生效,不存在环境变量旧值遮蔽问题
  • 调用起草/审查/对比/法条检索接口时,在 JSON 参数中传入 "SkillPlatformName":"<你所在的平台名>"(如 claude code、codebuddy、workbuddy、qclaw、codex)。脚本会校验:值有效则保留,无效或未传则自动替换为 "其它"

© infometa, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 12 other files (scripts, references) in experts/contract-legal-expert/skills/tencent-esign-contract of infometa/workbuddyskills.

  • SKILL.md
  • LICENSE
  • README.md
  • icons/tencent-esign-icon.png
  • references/api_references.md
  • references/common_guide.md
  • references/compare_guide.md
  • references/create_flow_guide.md
  • references/draft_guide.md
  • references/law_search_guide.md
  • references/review_guide.md
  • scripts/config.json
  • scripts/tencent_esign.py

Open the folder on GitHubat commit 692b3eb

Compare with similar skills

Tencent Esign Contract next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Tencent Esign Contract compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Tencent Esign Contract this skillinfometa/workbuddyskills346—~1.5kAutomated safety check: PassMIT
Markdown Article FormatterJimLiu/baoyu-skills26k6 repos~3.5kAutomated safety check: PassMIT
MarkitdownImCa0/just-laws78214 repos~3.2kAutomated safety check: NotesMIT
Obsidian MarkdownAtmosphere/atmosphere3.8k20 repos~1.3kAutomated safety check: PassApache-2.0
DOCXrvdbreemen/OTGW-firmware20733 repos~4.3kAutomated safety check: PassProprietary
Gzh Designisjiamu/gzh-design-skill3.9k1 repos~2.2kAutomated safety check: PassAGPL-3.0

Similar skills

  • Markdown Article Formatter

    JimLiu/baoyu-skills

    Reformats plain text or Markdown articles with frontmatter, a title, a summary, headings, bold, lists and code blocks, and saves a separate formatted copy.

    26k GitHub starsUsed in 6 repos~3.5k tokens
    Documents & OfficeAuto-check passed
  • Markitdown

    ImCa0/just-laws

    Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.

    782 GitHub starsUsed in 14 repos~3.2k tokens
    Documents & OfficeAuto-check: notes
  • Obsidian Markdown

    Atmosphere/atmosphere

    Create and edit Obsidian Flavored Markdown with wikilinks, embeds, callouts, properties, and other Obsidian-specific syntax.

    3.8k GitHub starsUsed in 20 repos~1.3k tokens
    Documents & OfficeAuto-check passed
  • DOCX

    rvdbreemen/OTGW-firmware

    A skill your agent uses whenever the user wants to create, read, edit, or manipulate Word documents (.docx files).

    207 GitHub starsUsed in 33 repos~4.3k tokens
    Documents & OfficeAuto-check passed
  • Gzh Design

    isjiamu/gzh-design-skill

    微信公众号文章排版引擎,将 Markdown 转换为可直接粘贴到公众号编辑器的 HTML。主题风格从 references/theme-index.md 注册的自定义主题库中选取,自动章节编号、关键词下划线标记、引言卡片、目录导航、代码块、图片/GIF、作者签名。支持 Markdown / Word(.docx) / PDF / 纯文本输入(非 Markdown…

    3.9k GitHub starsUsed in 1 repo~2.2k tokens
    Documents & OfficeAuto-check passed
  • Reads, creates and edits Word .docx files with python-docx, and drops to raw OOXML for tracked changes, comments and byte-exact edits.

    41k GitHub stars~2.5k tokensUpdated 2 days ago
    Documents & OfficeAuto-check passed

More from infometa/workbuddyskills

All 218 skills in this repo
  • Campus Event Playbook

    infometa/workbuddyskills

    This skill should be used when planning, coordinating, running, or reviewing student-led campus events, including club recruitment, freshman mixers, welcome activities, small talks, competitions…

    346 GitHub stars~861 tokensUpdated yesterday
    Auto-check passed
  • Teachany

    infometa/workbuddyskills

    K-12 interactive courseware creation. An agent skill from infometa/workbuddyskills.

    346 GitHub starsUsed in 1 repo~1.4k tokens
    Auto-check: notes
  • Weight Management HTML

    infometa/workbuddyskills

    A skill your agent uses when the adult weight-management MCP needs to be installed/set up in WorkBuddy (connector) or its result must be rendered as a standalone Chinese HTML plan.

    346 GitHub stars~1.2k tokensUpdated yesterday
    Auto-check passed
  • Agent Browser

    infometa/workbuddyskills

    A skill your agent uses when the user needs browser automation, including opening web pages, taking screenshots, extracting page content, clicking elements, filling forms, or testing web flows.

    346 GitHub stars~2.1k tokensUpdated yesterday
    Auto-check passed
  • AI Research Radar

    infometa/workbuddyskills

    定时任务:每日研究简报。漏掉重要论文和行业报告?每天帮你盯着,关键信息一条不漏 This skill should be used when the user asks about 定时任务:每日研究简报.

    346 GitHub stars~438 tokensUpdated yesterday
    Auto-check passed
  • Check Deck

    infometa/workbuddyskills

    Investment banking presentation quality checker. An agent skill from infometa/workbuddyskills.

    346 GitHub stars~687 tokensUpdated yesterday
    Auto-check passed

Questions about Tencent Esign Contract

What does Tencent Esign Contract do?

腾讯电子签合同AI助手。八大能力:合同起草、审查、对比、签署、查看、法条检索、审查列表、对比列表。当用户提到以下任何意图时必须使用本技能:(1)起草/写/拟/生成/草拟合同;(2)审查/检查/看看合同有无风险/问题/合不合规;(3)对比/比较/区别/差异/两版有什么不同;(4)签署/发起/发合同/帮我签/要签/签名;(5)查看/我的合同/签完在哪看;(6)查法条/法规/法律依据/法律怎么规定;(…. Tencent Esign Contract is an agent skill from infometa/workbuddyskills.

When should I use Tencent Esign Contract?

Tencent Esign Contract fits situations like: documents & Office work in your project.

How do I install Tencent Esign Contract in Claude Code?

Run `npx skills add infometa/workbuddyskills --skill tencent-esign-contract -a claude-code`. Or copy the skill folder (experts/contract-legal-expert/skills/tencent-esign-contract in infometa/workbuddyskills) into .claude/skills/tencent-esign-contract in your project. Claude Code loads it when a task matches its description.

How do I install Tencent Esign Contract in Codex?

Run `npx skills add infometa/workbuddyskills --skill tencent-esign-contract -a codex`. Or copy the skill folder (experts/contract-legal-expert/skills/tencent-esign-contract in infometa/workbuddyskills) into .agents/skills/tencent-esign-contract in your project. Codex loads it when a task matches its description.

Can I use Tencent Esign Contract in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add infometa/workbuddyskills --skill tencent-esign-contract -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/tencent-esign-contract, .gemini/skills/tencent-esign-contract, .github/skills/tencent-esign-contract and .opencode/skills/tencent-esign-contract in your project.

What does Tencent Esign Contract need to run?

Going by SKILL.md and its folder, Tencent Esign Contract needs Python for the scripts in its folder and the command-line tools its instructions call (python3 and claude). Our summary lists: Python 3.

Does Tencent Esign Contract access the network?

SKILL.md names 3 domains. As links in the text: wj.qq.com, docs.qq.com and qian.tencent.com. This is read from the text; nothing was executed.

Is Tencent Esign Contract safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Tencent Esign Contract use?

Tencent Esign Contract is published under the MIT licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Tencent Esign Contract use?

About 1.5k tokens (SKILL.md is roughly 5.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 13k tokens, read only when the agent opens those files.

What are the alternatives to Tencent Esign Contract?

Skills that share tags, products or a category with Tencent Esign Contract: Markdown Article Formatter (JimLiu/baoyu-skills, 26k stars), Markitdown (ImCa0/just-laws, 782 stars), Obsidian Markdown (Atmosphere/atmosphere, 3.8k stars) and DOCX (rvdbreemen/OTGW-firmware, 207 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Tencent Esign Contract?

infometa (a GitHub user) maintains it in infometa/workbuddyskills, which has 346 GitHub stars. The repository holds 218 skills in this directory. The repository was last updated on October 8, 2026.

Source: infometa/workbuddyskills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.