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

cs-crypto加密货币

Agent Skill

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

总安装

441

周安装

18

GitHub Stars

4

下载量

141
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/alphaonedev/openclaw-graph --skill cs-crypto

简介

实现数据加密、哈希校验与 TLS 通信等安全操作支持。

  • 支持零知识证明与抗量子密码等前沿技术集成建议。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。
  • 适用于文件加密、消息认证与安全 API 搭建等场景。
  • 安装需通过 npx 添加指定仓库,建议在涉及敏感数据处理时使用。
  • cs-crypto 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

cs-crypto

Purpose

This skill equips the AI to implement and utilize cryptographic techniques for data security, including encryption, hashing, key management, and protocols like TLS, ensuring secure operations in code or CLI environments.

When to Use

  • Secure data transmission or storage, e.g., encrypting files or messages.
  • Verify data integrity or authenticity, such as hashing user inputs or signing transactions.
  • Handle secure communications, like setting up TLS for APIs.
  • Implement advanced security features, such as zero-knowledge proofs (ZKP) for privacy-preserving computations or quantum-resistant algorithms for future-proofing.

Key Capabilities

  • Symmetric encryption: AES-128/256 in CBC or GCM modes for fast, secure data encryption.
  • Asymmetric encryption: RSA (up to 4096 bits) or ECC (e.g., secp256k1) for key exchange and signing.
  • Hashing: SHA-256 for standard digests or Blake3 for high-speed hashing with 256-bit outputs.
  • PKI: Generate and manage X.509 certificates, including CSR creation and validation.
  • TLS: Configure TLS 1.3 handshakes for secure sockets, including cipher suite selection.
  • Digital signatures: Create and verify signatures using RSA or ECC, e.g., ECDSA.
  • ZKP: Basic implementations like zk-SNARKs for proofs without revealing data.
  • Quantum resistance: Use algorithms like CRYSTALS-Kyber for key encapsulation or Dilithium for signatures.

Usage Patterns

Always initialize cryptographic operations with secure random keys and handle exceptions for invalid inputs. For AES encryption, generate a key first, then encrypt/decrypt in a single function call. Use hardware security modules (HSMs) for key storage if available. Pattern for hashing: input data -> hash object -> update and finalize. For TLS, wrap sockets with SSL contexts. Example pattern in Python:

from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes
key = b'32-byte-key-for-aes-256'  # Use secure key generation
iv = os.urandom(16)
cipher = Cipher(algorithms.AES(key), modes.CBC(iv))
encryptor = cipher.encryptor()
encrypted = encryptor.update(b"plaintext") + encryptor.finalize()

For CLI, pipe inputs to OpenSSL commands with specific flags.

Common Commands/API

  • AES encryption via OpenSSL: openssl enc -aes-256-cbc -pbkdf2 -iter 10000 -in input.file -out output.enc -k $ENCRYPT_KEY (use -salt for added security).
  • RSA key generation: openssl genpkey -algorithm RSA -out private.pem -pkeyopt rsa_keygen_bits:2048 then export public key with openssl rsa -in private.pem -pubout -out public.pem.
  • Hashing with SHA-256: echo -n "data_to_hash" | openssl dgst -sha256 -binary | base64 or in Python: import hashlib; hash_obj = hashlib.sha256(b"data").digest().
  • X.509 certificate creation: openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 365 -subj "/CN=example.com".
  • TLS setup in code: Use Python's ssl module: import ssl; context = ssl.create_default_context(); context.load_cert_chain(certfile="cert.pem", keyfile="key.pem").
  • Digital signatures: Sign with openssl dgst -sha256 -sign private.pem -out signature.bin input.file, verify with openssl dgst -sha256 -verify public.pem -signature signature.bin input.file.
  • ZKP example: Use libzkp library; in code: from libzkp import prove; proof = prove(statement, witness).
  • Quantum-resistant ops: Generate Kyber keys with OpenQuantumSafe: oqsprov genpkey -algorithm Kyber512 -out key.pem.

Integration Notes

Install required libraries first, e.g., pip install cryptography openssl or use system OpenSSL. For authenticated services like cloud KMS, set environment variables: export AWS_KMS_KEY=$SERVICE_API_KEY and reference in code, e.g., os.environ.get('AWS_KMS_KEY'). Handle keys via secure vaults; never log them. For multi-tool integration, wrap OpenSSL in scripts: import subprocess and run subprocess.run(['openssl', 'enc',...]). Ensure compatibility with languages like Python or Go; for Go, use crypto/aes package.

Error Handling

Always wrap cryptographic calls in try-except blocks to catch specific exceptions, e.g., in Python: from cryptography.exceptions import InvalidSignature; try: verifier.verify(signature, data) except InvalidSignature: raise ValueError("Signature invalid"). For CLI, check exit codes: if openssl command fails, parse stderr for errors like "bad decrypt" and retry with correct key. Common issues: invalid keys (use openssl errstr for codes), hash mismatches (recompute and compare), or TLS handshake failures (debug with -debug flag). Log errors with context, e.g., key length or mode errors, and fallback to alternative algorithms if needed.

Concrete Usage Examples

  1. Encrypt a sensitive string with AES-256-GCM and decrypt it: In Python: from cryptography.hazmat.primitives.ciphers.aead import AESGCM key = b'32-byte-long-secret-key-here' aesgcm = AESGCM(key) nonce = os.urandom(12) encrypted = aesgcm.encrypt(nonce, b"confidential data", None) decrypted = aesgcm.decrypt(nonce, encrypted, None) # Output: b"confidential data" Use this for securing API payloads; store nonce with encrypted data.
  2. Generate an RSA key pair, sign a message, and verify the signature: Via CLI: First, generate keys: openssl genrsa -out private.pem 2048. Sign: openssl dgst -sha256 -sign private.pem -out sig.bin message.txt. Verify: openssl dgst -sha256 -verify public.pem -signature sig.bin message.txt (outputs "Verified OK" if successful). In code (Python): from cryptography.hazmat.primitives.asymmetric import rsa, padding from cryptography.hazmat.primitives import hashes private_key = rsa.generate_private_key(public_exponent=65537, key_size=2048) signature = private_key.sign(b"message", padding.PSS(mgf=padding.MGF1(hashes.SHA256()), salt_length=padding.PSS.MAX_LENGTH), hashes.SHA256()) public_key = private_key.public_key() public_key.verify(signature, b"message", padding.PSS(...), hashes.SHA256()) # No error if valid Apply this for authenticating transactions or documents.

Graph Relationships

  • Related to cluster: computer-science
  • Links to: network-security (shares TLS and PKI capabilities)
  • Connects with: data-privacy (via encryption and hashing features)
  • Overlaps with: blockchain-tech (through digital signatures and ZKP)
  • Integrates with: quantum-computing (for quantum-resistant algorithms)

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.42%
按下载量换算49

Claude

32.56%
按下载量换算46

Cursor

19.72%
按下载量换算28

Gemini CLI

9.68%
按下载量换算14

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills