← 返回 Skills 市场
Base64 Toolkit
作者
freeter226
· GitHub ↗
· v1.0.0
· MIT-0
136
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install base64-toolkit
功能描述
Base64 encoding and decoding toolkit. Encode/decode text, URL-safe Base64, and image to Base64 conversion.
使用说明 (SKILL.md)
Base64 Toolkit
A comprehensive Base64 encoding and decoding tool for developers.
Features
- Encode - Convert text to Base64
- Decode - Convert Base64 back to text
- URL-Safe - URL-safe Base64 encoding (+/- instead of /+)
- Image to Base64 - Convert images to Base64 data URI
Usage
python3 skills/base64-toolkit/scripts/base64_toolkit.py \x3Caction> [options]
Actions
| Action | Description |
|---|---|
encode |
Encode text to Base64 |
decode |
Decode Base64 to text |
encode-url |
URL-safe Base64 encoding |
decode-url |
URL-safe Base64 decoding |
image-encode |
Convert image to Base64 data URI |
Options
| Option | Type | Default | Description |
|---|---|---|---|
--input |
string | - | Input string or file path |
--file |
bool | false | Treat input as file path |
Examples
# Encode text
python3 skills/base64-toolkit/scripts/base64_toolkit.py encode --input "Hello, World!"
# Decode Base64
python3 skills/base64-toolkit/scripts/base64_toolkit.py decode --input "SGVsbG8sIFdvcmxkIQ=="
# URL-safe encode
python3 skills/base64-toolkit/scripts/base64_toolkit.py encode-url --input "Hello+World?"
# URL-safe decode
python3 skills/base64-toolkit/scripts/base64_toolkit.py decode-url --input "SGVsbG8rV29ybGQ_"
# Image to Base64
python3 skills/base64-toolkit/scripts/base64_toolkit.py image-encode --input /path/to/image.png
Use Cases
- API authentication - Encode credentials for Basic Auth
- Data transmission - Safely transmit binary data as text
- URL parameters - Use URL-safe Base64 in URLs
- Image embedding - Embed images in HTML/CSS as data URIs
- JWT tokens - Decode and inspect JWT payload
Current Status
Ready for testing.
安全使用建议
This appears to be a simple, coherent Base64 utility. Before installing: 1) Fix or confirm the script path in SKILL.md (the examples point to 'skills/base64-toolkit/scripts/...' but the file is at 'scripts/base64_toolkit.py') so the agent can run it reliably. 2) Remember that image-encode and --file read local files and output their Base64 content (including file_path in the JSON); do not point the tool at secrets or sensitive files you don't want to be emitted to agent outputs. 3) You can review and run the script locally (python3 scripts/base64_toolkit.py ...) to confirm behavior. If you plan to encode secrets for use elsewhere, consider doing that locally rather than sending them through an external agent.
功能分析
Type: OpenClaw Skill
Name: base64-toolkit
Version: 1.0.0
The skill bundle provides standard Base64 encoding and decoding utilities, including URL-safe variants and image-to-data-URI conversion. The Python script (scripts/base64_toolkit.py) uses standard libraries without any network activity, external dependencies, or suspicious execution patterns, and all behaviors are consistent with the stated purpose.
能力评估
Purpose & Capability
The name/description (Base64 encode/decode, image-to-data-URI) matches the included Python script and required binary (python3). One minor inconsistency: SKILL.md examples reference path 'skills/base64-toolkit/scripts/base64_toolkit.py' while the repository contains 'scripts/base64_toolkit.py' (README uses the latter). This is likely a documentation/path mismatch rather than malicious behavior, but it may cause runtime failures if the agent attempts the documented path.
Instruction Scope
SKILL.md instructs the agent to run the bundled script and the script's behavior is limited to encoding/decoding and reading local files for file-based input or image-encoding. Reading local files is expected for the stated features. The tool also returns the file_path, base64 string and data URI for image-encode — useful but means any file you point at will have its contents represented in the tool output (be cautious about sensitive files).
Install Mechanism
No install spec; this is an instruction-only skill that relies on an existing python3 binary. No external downloads or third-party package installs are performed.
Credentials
The skill requests no environment variables, credentials, or config paths. That is proportionate for a local Base64 utility.
Persistence & Privilege
The skill does not request permanent presence (always=false) and does not modify other skills or system configuration. Agent autonomous invocation is allowed by default but not a special privilege here.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install base64-toolkit - 安装完成后,直接呼叫该 Skill 的名称或使用
/base64-toolkit触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of base64-toolkit.
- Provides commands to encode and decode Base64 text.
- Supports URL-safe Base64 encoding and decoding.
- Includes image-to-Base64 data URI conversion.
- Offers command-line usage with input options for strings or files.
- Useful for API authentication, data transmission, and embedding images as data URIs.
元数据
常见问题
Base64 Toolkit 是什么?
Base64 encoding and decoding toolkit. Encode/decode text, URL-safe Base64, and image to Base64 conversion. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 136 次。
如何安装 Base64 Toolkit?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install base64-toolkit」即可一键安装,无需额外配置。
Base64 Toolkit 是免费的吗?
是的,Base64 Toolkit 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Base64 Toolkit 支持哪些平台?
Base64 Toolkit 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Base64 Toolkit?
由 freeter226(@freeter226)开发并维护,当前版本 v1.0.0。
推荐 Skills