← 返回 Skills 市场
10
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install encoding-converter
功能描述
Convert and verify data between Base64, URL encoding, HEX, MD5/SHA hashes, JWT payloads, HTML entities, and binary/octal/decimal/hex formats.
使用说明 (SKILL.md)
encoding-converter
技能概述
多格式编码转换工具集。支持 Base64、URL 编码、HEX、MD5/SHA 哈希、JWT 解码、HTML 实体编码等常见编码格式的互转与校验。
何时使用
- 需要 Base64 编码/解码数据时
- 需要 URL encode/decode 文本时
- 需要计算文件或字符串的 MD5/SHA 哈希时
- 需要解码 JWT Token 查看 payload 时
- 需要 HTML 实体编码/解码时
- 需要进行进制转换(二进制/八进制/十进制/十六进制)时
使用方法
基础用法
from scripts.encoding_engine import EncodingConverter
ec = EncodingConverter()
# Base64 编解码
encoded = ec.base64_encode("Hello World")
decoded = ec.base64_decode(encoded)
# URL 编码
url_encoded = ec.url_encode("你好 世界")
# MD5 / SHA256 哈希
md5_hash = ec.md5("secret data")
sha256_hash = ec.sha256("secret data")
# JWT 解码(不验证签名)
payload = ec.jwt_decode("eyJhbGciOiJIUzI1NiIs...")
# HTML 实体编码
html = ec.html_encode("\x3Cdiv>Hello & 你好\x3C/div>")
# 进制转换
hex_val = ec.to_hex(255) # -> "ff"
bin_val = ec.to_binary(255) # -> "11111111"
文件结构
encoding-converter/
├── SKILL.md
├── README.md
├── requirements.txt
├── scripts/
│ └── encoding_engine.py # 核心引擎
├── examples/
│ └── basic_usage.py # 使用示例
└── tests/
└── test_encoding.py # 单元测试
依赖
- Python 内置:
base64,urllib.parse,hashlib,html,json,binascii - 可选:
PyJWT用于 JWT 编码
标签
encoding, decoding, base64, hash, jwt, developer-tools, security
安全使用建议
This appears to be a straightforward, local encoding/decoding utility. Before installing or running: 1) remember jwt_decode explicitly does NOT verify signatures — do not treat decoded JWT payloads as trusted without verification; 2) functions that compute HMACs/hashes accept secret data as parameters — avoid passing sensitive keys to third parties or untrusted contexts; 3) optional dependency PyJWT is only suggested for JWT encoding/verification, so if you need signature checks install a vetted PyJWT version; and 4) although no network or credential access is present, review any code you run in environments with sensitive data to ensure it meets your policies.
功能分析
Type: OpenClaw Skill
Name: encoding-converter
Version: 1.0.0
The encoding-converter skill bundle is a standard utility for common data transformation tasks such as Base64, URL encoding, hashing, and JWT decoding. The implementation in scripts/encoding_engine.py relies on standard Python libraries (hashlib, base64, secrets) and contains no evidence of data exfiltration, network communication, or malicious execution. All instructions in SKILL.md and README.md are consistent with the provided code logic.
能力评估
Purpose & Capability
The name/description match the actual code and examples. All implemented functions (Base64, URL encoding, HEX, hashes, JWT decode, HTML entities, radix conversions, random generators) are appropriate for an encoding/conversion utility and no unrelated dependencies or credentials are requested.
Instruction Scope
SKILL.md instructs import/usage of the local scripts.encoding_engine API and example scripts use only local functions. There are no instructions to read unrelated files, access environment variables, or send data to external endpoints.
Install Mechanism
There is no install spec or network download. The package is instruction-only for runtime use and includes pure-Python source and optional mention of PyJWT; requirements.txt contains no forced external packages.
Credentials
The skill requests no environment variables or credentials. Functions that accept keys (HMAC) take them as arguments; nothing in the skill tries to read secrets from the environment or config paths.
Persistence & Privilege
The skill does not request always:true and does not modify agent/system configuration. It has no persistent/backdoor behavior or autonomous privilege escalation signals.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install encoding-converter - 安装完成后,直接呼叫该 Skill 的名称或使用
/encoding-converter触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of encoding-converter:
- Provides tools for converting between Base64, URL, HEX, HTML entities, and binary/decimal/octal/hexadecimal formats.
- Supports hashing with MD5 and SHA algorithms.
- Allows JWT decoding (without signature verification).
- Organizes code with examples and unit tests for easy integration.
元数据
常见问题
Encoding Converter 是什么?
Convert and verify data between Base64, URL encoding, HEX, MD5/SHA hashes, JWT payloads, HTML entities, and binary/octal/decimal/hex formats. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 10 次。
如何安装 Encoding Converter?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install encoding-converter」即可一键安装,无需额外配置。
Encoding Converter 是免费的吗?
是的,Encoding Converter 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Encoding Converter 支持哪些平台?
Encoding Converter 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Encoding Converter?
由 Lv Lancer(@kaiyuelv)开发并维护,当前版本 v1.0.0。
推荐 Skills