npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

open-agreements

v0.8.0

Published

Open-source legal template filling CLI and library

Downloads

17,476

Readme

OpenAgreements

npm version npm downloads License: Apache 2.0 CI codecov Socket Badge GitHub stargazers Agent Skill MCP Server Status install size

English | Español | 简体中文 | Português (Brasil) | Deutsch

翻译说明: 英文版 README.md 是规范的事实来源。此翻译可能会有短暂滞后。英文 README 的重大更新应在 72 小时内同步到本文件。

填写标准法律协议模板并生成可签署的 DOCX 文件。OpenAgreements 提供 40 多份模板,涵盖 NDA、云服务协议、雇佣文档、承包商协议、SAFE 以及 NVCA 融资文件。

可与 Claude Code、Gemini CLI、Cursor 以及本地 MCP 或 CLI 工作流配合使用。

目录

演示:Claude 在 2 分钟内完成一份 Common Paper 双向 NDA。为简洁起见已加速。

模板

Source 列指向上游标准、源文档或规范项目页面(因发布方而异)。License 列显示再分发条款。Repo 链接指向每个模板或配方的 GitHub 内容目录。

保密协议

| 模板 | 网站 | 来源 | 许可 | 仓库 | |----------|---------|--------|---------|------| | Bonterms Mutual NDA | Website | Bonterms | CC0-1.0 | Repo | | Common Paper Mutual NDA | Website | Common Paper | CC-BY-4.0 | Repo | | One Way NDA | Website | Common Paper | CC-BY-4.0 | Repo |

销售与授权

| 模板 | 网站 | 来源 | 许可 | 仓库 | |----------|---------|--------|---------|------| | Cloud Service Agreement | Website | Common Paper | CC-BY-4.0 | Repo | | CSA Click Through | Website | Common Paper | CC-BY-4.0 | Repo | | CSA With AI | Website | Common Paper | CC-BY-4.0 | Repo | | CSA With SLA | Website | Common Paper | CC-BY-4.0 | Repo | | CSA Without SLA | Website | Common Paper | CC-BY-4.0 | Repo | | Order Form | Website | Common Paper | CC-BY-4.0 | Repo | | Order Form With SLA | Website | Common Paper | CC-BY-4.0 | Repo | | Software License Agreement | Website | Common Paper | CC-BY-4.0 | Repo |

数据与合规

| 模板 | 网站 | 来源 | 许可 | 仓库 | |----------|---------|--------|---------|------| | AI Addendum | Website | Common Paper | CC-BY-4.0 | Repo | | AI Addendum In App | Website | Common Paper | CC-BY-4.0 | Repo | | Business Associate Agreement | Website | Common Paper | CC-BY-4.0 | Repo | | Data Processing Agreement | Website | Common Paper | CC-BY-4.0 | Repo |

专业服务

| 模板 | 网站 | 来源 | 许可 | 仓库 | |----------|---------|--------|---------|------| | Bonterms Professional Services Agreement | Website | Bonterms | CC0-1.0 | Repo | | Independent Contractor Agreement | Website | Common Paper | CC-BY-4.0 | Repo | | Common Paper Professional Services Agreement | Website | Common Paper | CC-BY-4.0 | Repo | | Statement Of Work | Website | Common Paper | CC-BY-4.0 | Repo |

交易与合作

| 模板 | 网站 | 来源 | 许可 | 仓库 | |----------|---------|--------|---------|------| | Amendment | Website | Common Paper | CC-BY-4.0 | Repo | | Design Partner Agreement | Website | Common Paper | CC-BY-4.0 | Repo | | Letter Of Intent | Website | Common Paper | CC-BY-4.0 | Repo | | Partnership Agreement | Website | Common Paper | CC-BY-4.0 | Repo | | Pilot Agreement | Website | Common Paper | CC-BY-4.0 | Repo | | Term Sheet | Website | Common Paper | CC-BY-4.0 | Repo |

雇佣

| 模板 | 网站 | 来源 | 许可 | 仓库 | |----------|---------|--------|---------|------| | Employee IP Inventions Assignment | Website | OpenAgreements | CC-BY-4.0 | Repo | | Employment Confidentiality Acknowledgement | Website | OpenAgreements | CC-BY-4.0 | Repo | | Employment Offer Letter | Website | OpenAgreements | CC-BY-4.0 | Repo | | Restrictive Covenant Wyoming | Website | OpenAgreements | CC-BY-4.0 | Repo |

SAFEs

| 模板 | 网站 | 来源 | 许可 | 仓库 | |----------|---------|--------|---------|------| | Discount | Website | Y Combinator | CC-BY-ND-4.0 | Repo | | MFN | Website | Y Combinator | CC-BY-ND-4.0 | Repo | | Pro Rata Side Letter | Website | Y Combinator | CC-BY-ND-4.0 | Repo | | Valuation Cap | Website | Y Combinator | CC-BY-ND-4.0 | Repo |

风险融资

| 模板 | 网站 | 来源 | 许可 | 仓库 | |----------|---------|--------|---------|------| | Certificate Of Incorporation | Website | NVCA | Recipe | Repo | | Indemnification Agreement | Website | NVCA | Recipe | Repo | | Investors Rights Agreement | Website | NVCA | Recipe | Repo | | Management Rights Letter | Website | NVCA | Recipe | Repo | | ROFR Co Sale Agreement | Website | NVCA | Recipe | Repo | | Stock Purchase Agreement | Website | NVCA | Recipe | Repo | | Voting Agreement | Website | NVCA | Recipe | Repo |

其他

| 模板 | 网站 | 来源 | 许可 | 仓库 | |----------|---------|--------|---------|------| | Closing Checklist | Website | OpenAgreements | CC0-1.0 | Repo | | Board Consent SAFE | Website | OpenAgreements | CC-BY-4.0 | Repo | | Due Diligence Request List | Website | OpenAgreements | CC-BY-4.0 | Repo | | Stockholder Consent SAFE | Website | OpenAgreements | CC-BY-4.0 | Repo | | Working Group List | Website | OpenAgreements | CC0-1.0 | Repo |

可用技能

协议起草与填写

| 技能 | 描述 | |-------|-------------| | open-agreements | 填写标准法律协议模板(NDA、云服务协议、SAFE)并生成可签署的 DOCX 文件。支持 Common Paper、Bonterms 和 Y Combinator 模板。在用户需要起草法律协议、生成 NDA、填写合同模板或生成 SAFE 时使用。 | | nda | 起草并填写 NDA 模板 — 双向 NDA、单向 NDA、保密协议。从 Common Paper 和 Bonterms 标准表单生成可签署的 DOCX 文件。当用户提到 "NDA"、"保密协议"、"双向 NDA" 或 "单向 NDA" 时使用。 | | cloud-service-agreement | 起草并填写 SaaS 协议模板 — 云合同、MSA、订单表、软件许可、试点协议、设计合作伙伴协议。包含带 SLA 和 AI 条款的变体。从 Common Paper 标准表单生成可签署的 DOCX。当用户提到 "SaaS 协议"、"云合同"、"MSA"、"订单表"、"软件许可"、"试点协议" 或 "设计合作伙伴协议" 时使用。 | | services-agreement | 起草并填写服务协议模板 — 咨询合同、承包商协议、SOW、工作说明书、专业服务协议。从 Common Paper 和 Bonterms 标准表单生成可签署的 DOCX 文件。当用户提到 "咨询合同"、"承包商协议"、"SOW"、"工作说明书"、"服务协议" 或 "自由职业者合同" 时使用。 | | employment-contract | 起草并填写雇佣协议模板 — 录用函、IP 转让、PIIA、保密承诺书。从 OpenAgreements 标准表单生成可签署的 DOCX 文件,用于雇佣员工。当用户提到 "录用函"、"雇佣协议"、"PIIA"、"IP 转让"、"招人" 或 "入职文件" 时使用。 | | data-privacy-agreement | 起草并填写数据隐私协议模板 — DPA、数据处理协议、GDPR、HIPAA BAA、业务伙伴协议、AI 附录。从 Common Paper 标准表单生成可签署的 DOCX 文件。当用户提到 "DPA"、"数据处理协议"、"HIPAA BAA"、"业务伙伴协议" 或 "AI 附录" 时使用。 | | safe | 起草并填写 Y Combinator SAFE 模板 — 估值上限、折扣、MFN、pro rata 边信。可转换股权的标准创业融资文件。生成可签署的 DOCX 文件。当用户提到 "SAFE"、"未来股权简单协议"、"YC SAFE"、"估值上限"、"种子轮文件" 或 "融资文件" 时使用。 | | venture-financing | 起草并填写 NVCA 模型文件 — 股票认购协议、公司章程、投资者权利协议、投票协议、ROFR、共售、补偿、管理权利信。Series A 和风险融资模板。生成可签署的 DOCX 文件。当用户提到 "Series A 文件"、"NVCA"、"股票认购协议"、"投资者权利协议"、"投票协议" 或 "风险融资文件" 时使用。 |

编辑与客户工作流

| 技能 | 描述 | |-------|-------------| | edit-docx-agreement | 使用 Safe Docx MCP 工具对由 OpenAgreements 生成的(或任何已有的)DOCX 协议进行定制编辑,实现精准、保留格式的编辑和带修订标记的输出。当用户提到 "编辑此合同"、"修改条款"、"修改协议"、"对 docx 做自定义编辑" 或 "对文档做定制更改" 时使用。 | | client-email | 为法律服务起草面向客户的邮件 — 合同交付件附信、redline 摘要、交易进度更新和跟进。在撰写或修改与法律工作产物相关的对外邮件时使用。触发关键词包括 "起草回复"、"给客户邮件"、"附信"、"回复给",或任何随法律交付件一同发出的邮件。 | | delaware-franchise-tax | 申报 Delaware 年度特许经营税和年度报告。引导完成税额计算(授权股份法和假定面值资本法)、eCorp 门户申报流程及付款。适用于 Delaware C-Corp(3 月 1 日截止)和 LLC/LP/GP(6 月 1 日截止)。当用户提到 "Delaware 特许经营税"、"Delaware 年度报告"、"申报特许经营税" 或 "eCorp 门户" 时使用。 |

合规与审计

| 技能 | 描述 | |-------|-------------| | soc2-readiness | 评估 SOC 2 Type II 准备情况。将信任服务标准映射到控制项,识别差距,并制定整改计划。以 NIST SP 800-53(公有领域)作为规范参考,并与 SOC 2 标准交叉映射。当用户提到 "SOC 2 准备"、"SOC 2 准备工作"、"SOC 2 差距分析" 或 "为 SOC 2 审计做准备" 时使用。 | | iso-27001-internal-audit | 运行 ISO 27001 内部审计。按领域逐一审阅控制项,识别差距,收集证据,并生成包含纠正措施建议的发现。以 NIST SP 800-53(公有领域)作为规范参考。当用户提到 "运行内部审计"、"ISO 27001 审计"、"控制评估"、"审计发现" 或 "ISMS 评估" 时使用。 | | iso-27001-evidence-collection | 收集、组织并验证用于 ISO 27001 和 SOC 2 审计的证据。采用 API 优先方式,并为主流云平台提供 CLI 命令。生成带时间戳、审计师可直接使用的证据包。当用户提到 "收集审计证据"、"准备证据包"、"给审计师的证据"、"刷新证据" 或 "证据差距分析" 时使用。 |

软件包

| 软件包 | 描述 | |---------|-------------| | open-agreements | 开源法律模板填写 CLI 和库 | | @open-agreements/contract-templates-mcp | 用于 OpenAgreements 模板发现与填写的本地 stdio MCP 服务器 | | @open-agreements/contracts-workspace | 面向工作区的 CLI,用于组织和跟踪合同仓库 | | @open-agreements/contracts-workspace-mcp | 用于合同工作区操作的本地 stdio MCP 服务器 | | @open-agreements/checklist-mcp | 用于 OpenAgreements 清单内存操作的本地 stdio MCP 服务器 |

安装包含的内容

open-agreements/
  bin/                    # CLI entry point
  dist/                   # Compiled TypeScript
  content/
    templates/            # Fillable DOCX templates with {tag} placeholders
    external/             # YC SAFE templates vendored unchanged
    recipes/              # Recipe instructions for non-redistributable sources
  skills/                 # Agent skill definitions
  server.json             # MCP server manifest
  gemini-extension.json   # Gemini CLI extension config
  README.md, LICENSE

NVCA 配方模板在运行时下载,不随包一起打包。

list

显示可用模板及许可证信息与字段数量。

open-agreements list

# Machine-readable JSON for agent skills and automation
open-agreements list --json

fill <template>

基于模板渲染已填写的 DOCX。

# From a JSON data file
open-agreements fill common-paper-mutual-nda -d data.json -o output.docx

# With inline --set flags
open-agreements fill common-paper-mutual-nda --set party_1_name="Acme Corp" --set governing_law="Delaware"

validate [template]

对单个或全部模板运行验证流水线。

open-agreements validate
open-agreements validate common-paper-mutual-nda

Claude Code

npx skills add open-agreements/open-agreements

Gemini CLI

gemini extensions install https://github.com/open-agreements/open-agreements

Cursor

本仓库包含位于 .cursor-plugin/plugin.json 的 Cursor 插件清单,并在 mcp.json 中配置了 MCP 接线。

本地与托管执行

  • 本地npx、全局安装或 stdio MCP。所有处理都在你的机器上完成。
  • 托管https://openagreements.org/api/mcp。模板填写在服务器端运行,配置更快。

请根据文档敏感度和内部策略进行选择。数据流概览见下文的信任清单。

快速开始

与 Claude Code 配合

向 Claude 提问:

Fill the Common Paper mutual NDA for my company

Claude 可以发现模板、向你询问字段值,并生成可签署的 DOCX。

与 CLI 配合

# See all available templates
open-agreements list

# Fill a template from a JSON data file
open-agreements fill common-paper-mutual-nda -d values.json -o my-nda.docx

# Fill with inline values
open-agreements fill common-paper-mutual-nda --set party_1_name="Acme Corp" --set governing_law="Delaware"

示例提示词

  • "为我们的建筑分包商起草一份 NDA"
  • "为我们的保险代理公司起草一份咨询协议"
  • "为一位自由设计师填写独立承包商协议"
  • "生成一份估值上限为 500 万美元的 SAFE"

执行过程

  1. 代理运行 list --json 发现模板及其字段。
  2. 按章节分组向你询问字段值。
  3. 运行 fill <template> 渲染 DOCX,并保留原始格式。
  4. 你审核并签署输出文档。

安装

Agent Skill(推荐)

npx skills add open-agreements/open-agreements

远程 MCP

将任何兼容 MCP 的代理连接到托管服务器 https://openagreements.org/api/mcp

Claude Code

claude mcp add --transport http open-agreements https://openagreements.org/api/mcp

Codex CLI

codex mcp add open-agreements --url https://openagreements.org/api/mcp

其他代理 — 将你的客户端指向 https://openagreements.org/api/mcp(streamable HTTP)。

Gemini CLI 扩展

gemini extensions install https://github.com/open-agreements/open-agreements

CLI

npm install -g open-agreements

或零安装直接运行:

npx -y open-agreements@latest list

文档

从这里开始

指南

其他软件包

参考

链接: Website | Template Catalog | Docs | Trust | npm

隐私

  • 本地模式npx、全局安装、stdio MCP):所有处理都在你的机器上完成,不会向外部发送任何文档内容。
  • 托管模式https://openagreements.org/api/mcp):模板填写在服务器端运行,响应返回后不会存储已填写的文档。

详见 Privacy Policy

安全政策:请参阅 SECURITY.md

另请参阅

  • safe-docx — 使用编程代理对现有 Word 文档进行精准编辑

贡献

参见 CONTRIBUTING.md 了解如何添加模板、配方及其他改进。

基于 OpenAgreements 构建

正在基于 OpenAgreements 进行构建?提交 PR 添加你的项目。

Star 历史趋势

Star History Chart

许可

项目代码采用 Apache License 2.0 许可。Apache 许可证仅涵盖代码——捆绑的模板内容保留其上游许可,由各自的作者授权:

  • Common Paper、Bonterms 以及 OpenAgreements 撰写的模板采用 CC BY 4.0
  • Y Combinator SAFE 模板原样 vendor,采用 CC BY-ND 4.0
  • NVCA 源文档通过 recipe 工作流处理,采用专有或不可再分发许可

具体来源详情见每个模板的 metadata.yaml

本工具基于标准模板生成文档,不构成法律建议。请咨询律师以获取法律意见。