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

private-computation私人计算

Agent Skill

private-computation 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

8,274

周安装

338

GitHub Stars

公开资料未说明

下载量

2,677
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install private-computation

简介

private-computation 实现敏感任务的零知识执行框架,保障 AI 代理操作的隐私性。

  • 适用于金融、医疗等对数据保密性要求高的代理应用场景。
  • 在 OpenClaw 中通过 clawhub 安装,需部署配套计算环境与可信执行模块。
  • 目前为实验性功能,建议在非生产环境充分测试后再投入实际使用。
  • 适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。

SKILL.md

name
private-computation
display_name
OpenClaw Private Computation
version
0.1.0
author
ZhenStaff
category
privacy
subcategory
security
license
MIT-0
description
Zero-Knowledge Execution for Sensitive Agent Tasks - Privacy computing framework for AI Agents
tags
[privacy, private-computation, zero-knowledge, ai-agent, security, encryption, hipaa, gdpr, compliance, typescript]
repository
https://github.com/ZhenRobotics/openclaw-private-computation
homepage
https://github.com/ZhenRobotics/openclaw-private-computation
documentation
https://github.com/ZhenRobotics/openclaw-private-computation#readme

OpenClaw Private Computation

Zero-Knowledge Execution for Sensitive Agent Tasks AI Agent 敏感任务的零知识执行框架

A privacy-first computation framework for AI Agents that need to process sensitive data securely. Built with TypeScript for the Node.js ecosystem.

为需要安全处理敏感数据的 AI Agent 打造的隐私优先计算框架。使用 TypeScript 为 Node.js 生态系统构建。


✨ Features / 功能特性

  • 🔐 Encrypted Credential Storage / 加密凭证存储

- AES-256-GCM encryption for API keys and secrets - API 密钥和敏感信息的 AES-256-GCM 加密

  • 🛡️ Secure Task Execution / 安全任务执行

- Isolated execution environment for sensitive operations - 敏感操作的隔离执行环境

  • 📝 Immutable Audit Trail / 不可篡改审计日志

- Blockchain-style audit logs for compliance - 区块链式审计日志,满足合规要求

  • 🎯 Multiple Security Levels / 多层安全级别

- Basic, Standard (TEE), and Strict (Zero-Knowledge) - 基础、标准(TEE)、严格(零知识证明)

  • GDPR & HIPAA Compliant / GDPR 和 HIPAA 合规

- Designed for regulatory compliance - 专为满足监管合规要求而设计


📦 Installation / 安装

Via npm

npm install openclaw-private-computation

Via ClawHub

clawhub install private-computation

🚀 Quick Start / 快速开始

import { PrivateAgent } from 'openclaw-private-computation';

// Initialize agent / 初始化 Agent
const agent = new PrivateAgent({
  securityLevel: 'basic',  // basic | standard | strict
  audit: true              // 启用审计日志
});

// Store credentials securely / 安全存储凭证
await agent.setSecret('OPENAI_API_KEY', 'sk-...');

// Execute sensitive tasks / 执行敏感任务
const result = await agent.executeTask(async () => {
  const apiKey = await agent.getSecret('OPENAI_API_KEY');
  return await callAPI(apiKey);
}, {
  audit: true,
  metadata: { taskType: 'api_call' }
});

console.log(result);
// { status: 'success', data: {...}, auditId: '...', executionTime: 123 }

🎯 Use Cases / 使用场景

1. Medical AI (HIPAA) / 医疗 AI(HIPAA 合规)

const diagnosis = await agent.executeTask(async () => {
  const key = await agent.getSecret('MEDICAL_API_KEY');
  return await analyzeMedicalData(patientData, key);
}, {
  audit: true,
  metadata: { complianceLevel: 'HIPAA' }
});

2. Financial Services (PCI-DSS) / 金融服务(PCI-DSS 合规)

const transaction = await agent.executeTask(async () => {
  const bankKey = await agent.getSecret('BANK_API_KEY');
  return await processPayment(amount, bankKey);
}, {
  audit: true,
  timeout: 30000
});

3. AI Agent with Private Context / 带私有上下文的 AI Agent

const response = await agent.executeTask(async () => {
  const llmKey = await agent.getSecret('LLM_API_KEY');
  // Private context never exposed / 私有上下文永不暴露
  return await generateAI(userQuery, privateContext, llmKey);
}, {
  audit: true
});

🔧 API Reference / API 文档

Configuration / 配置

const agent = new PrivateAgent({
  securityLevel: 'basic' | 'standard' | 'strict',
  encryption: 'aes-256-gcm' | 'chacha20-poly1305',
  audit: boolean,
  storagePath: string,  // Default: ~/.openclaw
  masterKey: string     // Auto-generated if not provided / 未提供时自动生成
});

Security Levels / 安全级别

Level / 级别Features / 功能Overhead / 开销Use Case / 适用场景
Basic / 基础Encrypted storage / 加密存储~0%Development / 开发测试
Standard / 标准+ TEE isolation / + TEE 隔离~10%Production / 生产环境
Strict / 严格+ Zero-knowledge proofs / + 零知识证明~300%High-security / 高度敏感

Credential Management / 凭证管理

// Store a secret / 存储密钥
await agent.setSecret('KEY_NAME', 'secret-value');

// Retrieve a secret / 获取密钥
const value = await agent.getSecret('KEY_NAME');

// List all secrets / 列出所有密钥(仅键名)
const keys = agent.listSecrets();

// Delete a secret / 删除密钥
await agent.deleteSecret('KEY_NAME');

Task Execution / 任务执行

const result = await agent.executeTask(async () => {
  // Your task logic / 你的任务逻辑
  return someData;
}, {
  audit: true,           // Enable audit logging / 启用审计日志
  proof: true,           // Generate ZK proof / 生成零知识证明 (strict mode)
  timeout: 30000,        // Timeout in ms / 超时时间(毫秒)
  metadata: {...}        // Custom metadata / 自定义元数据
});

Audit & Compliance / 审计与合规

// Get audit logs / 获取审计日志
const logs = agent.getAuditLogs(10);

// Verify integrity / 验证完整性
const integrity = agent.verifyAuditIntegrity();
// { valid: true }

// Get statistics / 获取统计信息
const stats = agent.getAuditStatistics();
// { totalLogs: 42, byAction: {...}, byResult: {...} }

🏗️ Architecture / 架构

OpenClaw Private Computation
│
├── Core Layer / 核心层
│   ├── Encryption Manager / 加密管理器 (AES-256-GCM)
│   ├── Credential Vault / 凭证保险库
│   ├── Audit Logger / 审计日志器 (Blockchain-style)
│   └── Task Executor / 任务执行器
│
├── Crypto Layer (Future) / 加密层(未来)
│   ├── zk-SNARKs (Zero-Knowledge Proofs) / 零知识证明
│   ├── TEE (Trusted Execution Environment) / 可信执行环境
│   └── Homomorphic Encryption / 同态加密
│
└── Integration Layer (Future) / 集成层(未来)
    ├── LangChain Adapter
    ├── Vercel AI SDK Adapter
    └── Claude API Adapter

🛣️ Roadmap / 路线图

Phase 1: MVP ✅ (Current / 当前)

  • [x] Encrypted credential storage / 加密凭证存储
  • [x] Basic audit logging / 基础审计日志
  • [x] Simple SDK API / 简洁的 SDK API
  • [x] Examples and documentation / 示例和文档

Phase 2: Zero-Knowledge (Next / 下一步)

  • [ ] zk-SNARKs integration / zk-SNARKs 集成
  • [ ] Proof generation and verification / 证明生成和验证
  • [ ] Circuit library / 电路库

Phase 3: TEE Integration / TEE 集成

  • [ ] Intel SGX support / Intel SGX 支持
  • [ ] ARM TrustZone support / ARM TrustZone 支持
  • [ ] Hybrid mode (TEE + zk) / 混合模式(TEE + 零知识)

Phase 4: Enterprise Features / 企业功能

  • [ ] AI framework integrations / AI 框架集成
  • [ ] Compliance reporting / 合规报告
  • [ ] Multi-party computation / 多方计算

🔬 Technology / 技术栈

  • Language / 语言: TypeScript
  • Runtime / 运行时: Node.js 18+
  • Encryption / 加密: Node.js Crypto (AES-256-GCM, ChaCha20-Poly1305)
  • Zero-Knowledge / 零知识: snarkjs (coming soon / 即将推出)
  • TEE: Intel SGX (planned / 规划中)
  • Audit / 审计: Blockchain-inspired immutable logs / 区块链式不可篡改日志

📚 Documentation / 文档


🌟 Why Choose OpenClaw? / 为什么选择 OpenClaw?

"The first production-ready privacy computing framework for TypeScript" "首个生产级 TypeScript 隐私计算框架"

No other TypeScript/JavaScript library provides: 其他 TypeScript/JavaScript 库都不提供:

  • ✅ Zero-knowledge execution for AI agents / AI Agent 的零知识执行
  • ✅ HIPAA/GDPR-ready audit trails / HIPAA/GDPR 就绪的审计追踪
  • ✅ Simple API for complex cryptography / 复杂加密的简洁 API
  • ✅ Open source and extensible / 开源且可扩展

🤝 Contributing / 贡献

We welcome contributions! Please see our GitHub repository for details.

欢迎贡献!详情请查看我们的 GitHub 仓库


📄 License / 许可证

MIT-0 License - Free and open source, no attribution required. MIT-0 许可证 - 免费开源,无需署名。


Built for the AI Agent era. Secure by default. Private by design. 为 AI Agent 时代而生。默认安全。隐私优先。 🚀

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

97.63%
按下载量换算2,614

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills