Cn Base64 Tool: Claude skill | implexaback to searchclawhub
Cn Base64 Tool
cn-base64-tool。纯Python标准库,无需API Key。
SKILL.md
slug: cn-base64-tool
name: Base64工具
description: "cn-base64-tool。纯Python标准库,无需API Key。"
keywords: base64, tool
version: "1.0.0"
author: 千策
# Base64工具
纯 Python 标准库实现的 Base64 编解码工具。
## 功能
- **编码**:将字符串或文件内容编码为 Base64
- **解码**:将 Base64 字符串还原为原始内容
- **文件支持**:支持对文件进行 Base64 编码/解码
## 使用方式
```bash
# 编码字符串
python3 cn_base64_tool.py encode "Hello World"
# 解码 Base64 字符串
python3 cn_base64_tool.py decode "SGVsbG8gV29ybGQ="
# 编码文件
python3 cn_base64_tool.py encode_file input.png
# 解码文件
python3 cn_base64_tool.py decode_file output.b64 output.png
# 批量编码(目录)
python3 cn_base64_tool.py encode_dir ./my_folder
```
## 技术说明
- 纯 Python 标准库(`base64`、`argparse`)
- 无外部依赖
- 支持 UTF-8 字符串
---
**出品:** AISoBrand|爱索品牌 — AI搜索优化工具
**官网:** https://aisobrand.com
**免费检测你的品牌在AI搜索中有没有存在感 →** [30秒出结果](https://aisobrand.com/free-diagnosis.html)
related skills
semantically similar in the cross-vendor indexdon't have the plugin yet? install it then click "run inline in claude" again.
+uses only python standard library, eliminating dependency bloat and installation friction+covers both string and file operations including batch directory processing+command-line interface is straightforward and easy to invokeweaknesses
- ~no explicit error handling documented - silent failures on malformed base64, missing files, or permission issues are likely
- ~trigger phrases are generic cli commands rather than declarative intent statements for workflow automation
- ~decision points absent - no guidance on when to use this vs alternatives, handling of binary vs text, or character encoding edge cases