base64-parser
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "base64-parser" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-2945d94d1149fa27842f714b8c189ac4c85811d40fa001694050a0329f364659. Verify the upstream source and version against https://github.com/echoVic/blade-code before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Base64 encode/decode tool that supports encoding/decoding of text, JSON, and binary files; automatically detects format and supports batch processing.
Introduction source: third_party · echoVic · 2.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Inputs and outputs
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: base64-parser
description: Base64 编解码工具,支持编码/解码文本、JSON、二进制文件,自动检测格式,支持批量处理
allowed-tools:
- Read
- Write
- Bash
version: 2.0.0
user-invocable: trueBase64 编解码技能
功能
| 操作 | 说明 |
|---|---|
| decode | 解码 Base64 字符串为文本/JSON/二进制 |
| encode | 将文本/文件编码为 Base64 |
| detect | 自动检测 Base64 内容类型(JSON/文本/图片/PDF等) |
| batch | 批量解码多个 Base64 字符串 |
使用方法
重要:始终使用 -p 参数获得人类友好的输出格式!
1. 解码 Base64
# 解码并显示完整内容(推荐)
python3 .blade/skills/base64-parser/scripts/base64_tool.py -p decode "SGVsbG8gV29ybGQ="
# 解码并保存到文件
python3 .blade/skills/base64-parser/scripts/base64_tool.py -p decode "..." --output result.txt
# 解码二进制(如图片)并保存
python3 .blade/skills/base64-parser/scripts/base64_tool.py -p decode "iVBORw0KGgo..." --output image.png --binary
2. 编码为 Base64
# 编码文本
python3 .blade/skills/base64-parser/scripts/base64_tool.py -p encode "Hello World"
# 编码文件
python3 .blade/skills/base64-parser/scripts/base64_tool.py -p encode --file image.png
# URL 安全编码
python3 .blade/skills/base64-parser/scripts/base64_tool.py -p encode "Hello World" --url-safe
3. 检测类型
# 自动检测 Base64 内容类型并显示内容
python3 .blade/skills/base64-parser/scripts/base64_tool.py -p detect "eyJ0ZXN0IjogMX0="
4. 批量处理
# 从文件批量解码(每行一个 Base64)
python3 .blade/skills/base64-parser/scripts/base64_tool.py -p batch --file input.txt --output-dir ./decoded/
输出格式说明
-p(pretty): 人类友好格式,带 emoji 图标,显示完整解码内容- 不加
-p: JSON 格式,适合程序处理
示例输出(使用 -p):
✅ Successfully decoded as JSON
📊 类型: json (application/json)
📏 大小: 35 bytes
📄 解码内容:
--------------------------------------------------
{
"name": "Blade",
"version": "2.0"
}
--------------------------------------------------
支持格式
| 格式 | 自动检测 | 说明 |
|---|---|---|
| JSON | ✅ | 自动解析并格式化输出 |
| 纯文本 | ✅ | UTF-8 文本 |
| PNG/JPEG/GIF | ✅ | 通过 magic bytes 检测 |
| ✅ | 通过 %PDF 头检测 | |
| 其他二进制 | ✅ | 显示十六进制预览 |
常见场景
- 解析 JWT Token:JWT 的 payload 是 Base64 编码的 JSON
- 查看 API 响应:某些 API 返回 Base64 编码的数据
- 处理配置文件:Kubernetes Secrets 等使用 Base64
- 图片 Data URI:
data:image/png;base64,...格式 - 调试加密数据:查看加密前的原始内容
Version history
-
v0.11.23
GitHub ↗
Original release notes
**Full Changelog**: https://github.com/echoVic/blade-code/compare/v0.11.22...v0.11.23
-
v0.11.22
GitHub ↗
Original release notes
**Full Changelog**: https://github.com/echoVic/blade-code/compare/v0.11.21...v0.11.22
-
v0.11.21
GitHub ↗
Original release notes
**Full Changelog**: https://github.com/echoVic/blade-code/compare/v0.11.20...v0.11.21
-
v0.11.20
GitHub ↗
Original release notes
**Full Changelog**: https://github.com/echoVic/blade-code/compare/v0.11.19...v0.11.20
-
v0.11.19
GitHub ↗
Original release notes
**Full Changelog**: https://github.com/echoVic/blade-code/compare/v0.11.18...v0.11.19
Only the five most recent versions are shown. View full version history at the source ↗
Current listing version
2.0.0
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- Base64 编解码是开发和数据处理中的高频刚需场景
- 支持多种格式自动检测与批量处理,实用性强
Highlights
- description 明确,提供了详细的命令示例和使用场景
- 触发词覆盖全面,边界清晰
Highlights
- 文档结构清晰,分功能、使用方法、输出格式等章节
- 步骤明确,有具体示例,frontmatter 完整
Areas to improve
-
缺少错误处理说明 Reported severity: Minor
未显式说明对无效 Base64 输入等异常情况的处理机制
Recommendation: 建议在文档中补充常见错误处理说明,如无效输入、解码失败等场景的应对方式
Highlights
- 工具调用路径明确,参数说明清晰
- 支持异常格式检测,有输出格式控制
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.