Agent skill

Base64 Parser

by echoVic in echoVic/blade-code

Base64 编解码工具,支持编码/解码文本、JSON、二进制文件,自动检测格式,支持批量处理. An agent skill from echoVic/blade-code.

MITAuto-check: notes

Install Base64 Parser

skills CLI
$ npx skills add echoVic/blade-code --skill base64-parser -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install echoVic/blade-code base64-parser --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/echoVic/blade-code.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.blade/skills/base64-parser .claude/skills/base64-parser && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
base64-parser
GitHub stars
180
Token cost
~545 tokens
SKILL.md length
97 words
Files
3 (incl. scripts)
Skills in repo
38
Repo updated
First seen
Licence
MIT

At a glance

Base64 编解码工具,支持编码/解码文本、JSON、二进制文件,自动检测格式,支持批量处理. An agent skill from echoVic/blade-code.

  • Works in 4 steps: 解码 Base64 → 编码为 Base64 → 检测类型 → …
  • SKILL.md covers 功能, 使用方法, 输出格式说明 and 支持格式, plus 1 more section
  • Runs Python scripts from its folder; calls python3

What it does

Base64 Parser is an agent skill from echoVic/blade-code. Base64 编解码工具,支持编码/解码文本、JSON、二进制文件,自动检测格式,支持批量处理

Its SKILL.md is about 550 tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including scripts (for example `README.md` and `scripts/base64_tool.py`).

The repository describes itself as: AI-powered CLI coding agent with 20+ built-in tools, MCP support, and multi-model providers. The licence is MIT.

Example prompts

  • “/base64-parser”

Requirements

  • Python 3
  • Pre-approved tools (allowed-tools): Read, Write, Bash

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. 解码 Base64
  2. 编码为 Base64
  3. 检测类型
  4. 批量处理

What it can do on your machine

Read from SKILL.md and the folder at commit 30f8684. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Bash

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Base64 Parser loads about 545 tokens when it runs. Until then it costs about 15 tokens; SKILL.md has 97 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~15
When it runs · the whole SKILL.md, loaded when a task matches
~545

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Write, Bash

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from echoVic/blade-code at commit 30f8684, republished under its MIT licence (© echoVic). 97 words, ~545 tokens.

Download SKILL.mdSave it as .claude/skills/base64-parser/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
base64-parser
description
Base64 编解码工具,支持编码/解码文本、JSON、二进制文件,自动检测格式,支持批量处理
allowed-tools
Read, Write, Bash
version
2.0.0
user-invocable
true

Base64 编解码技能

功能

操作说明
decode解码 Base64 字符串为文本/JSON/二进制
encode将文本/文件编码为 Base64
detect自动检测 Base64 内容类型(JSON/文本/图片/PDF等)
batch批量解码多个 Base64 字符串

使用方法

重要:始终使用 -p 参数获得人类友好的输出格式!

1. 解码 Base64
bash
# 解码并显示完整内容(推荐)
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
bash
# 编码文本
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. 检测类型
bash
# 自动检测 Base64 内容类型并显示内容
python3 .blade/skills/base64-parser/scripts/base64_tool.py -p detect "eyJ0ZXN0IjogMX0="
4. 批量处理
bash
# 从文件批量解码(每行一个 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✅通过 %PDF 头检测
其他二进制✅显示十六进制预览

常见场景

  1. 解析 JWT Token:JWT 的 payload 是 Base64 编码的 JSON
  2. 查看 API 响应:某些 API 返回 Base64 编码的数据
  3. 处理配置文件:Kubernetes Secrets 等使用 Base64
  4. 图片 Data URI:data:image/png;base64,... 格式
  5. 调试加密数据:查看加密前的原始内容

© echoVic, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (scripts) in .blade/skills/base64-parser of echoVic/blade-code.

  • SKILL.md
  • README.md
  • scripts/base64_tool.py

Open the folder on GitHubat commit 30f8684

Compare with similar skills

Base64 Parser next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Base64 Parser compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Base64 Parser this skillechoVic/blade-code180—~545Automated safety check: NotesMIT
ParsersVectorSpaceLab/AREX-Skill328—~930Automated safety check: PassCustom licence
Burp Suite Project Parsertrailofbits/skills7.4k3 repos~4.2kAutomated safety check: NotesCC-BY-SA-4.0
Arg Parser Generatorrevfactory/harness-1001.3k—~1.2kAutomated safety check: PassApache-2.0
Text Parserbenchflow-ai/skillsbench1.8k—~252Automated safety check: PassApache-2.0
Commit Parserrevfactory/harness-1001.3k—~1.1kAutomated safety check: PassApache-2.0

Similar skills

  • Parsers

    VectorSpaceLab/AREX-Skill

    A skill your agent uses when adding, debugging, inspecting, or smoke-testing Electricity Maps live parsers and parser registry mappings.

    328 GitHub stars~930 tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Burp Suite Project Parser

    trailofbits/skills

    Official

    Searches and extracts data from Burp Suite project files on the command line: regex searches over responses, audit findings, proxy history and site map data.

    7.4k GitHub starsUsed in 3 repos~4.2k tokens
    SecurityAuto-check: notes
  • Arg Parser Generator

    revfactory/harness-100

    Methodology for systematically designing and generating CLI tool argument parser structures.

    1.3k GitHub stars~1.2k tokensUpdated 6 mo ago
    DevelopmentAuto-check passed
  • Text Parser

    benchflow-ai/skillsbench

    Guide for parsing structured text input files. An agent skill from benchflow-ai/skillsbench.

    1.8k GitHub stars~252 tokensUpdated 2 mo ago
    Auto-check passed
  • Commit Parser

    revfactory/harness-100

    Methodology for parsing git commit messages and extracting structured change information.

    1.3k GitHub stars~1.1k tokensUpdated 6 mo ago
    DevelopmentAuto-check passed
  • Commit Parser

    revfactory/harness-100

    git 커밋 메시지를 파싱하여 구조화된 변경 정보를 추출하는 방법론. An agent skill from revfactory/harness-100.

    1.3k GitHub stars~950 tokensUpdated 6 mo ago
    DevelopmentAuto-check passed

More from echoVic/blade-code

All 38 skills in this repo
  • Code Review

    echoVic/blade-code

    Review frontend code for best practices, bugs, and improvements.

    180 GitHub stars~377 tokensUpdated 10 days ago
    Auto-check: notes
  • GitHub Explorer

    echoVic/blade-code

    Explore and summarize popular GitHub projects. An agent skill from echoVic/blade-code.

    180 GitHub stars~434 tokensUpdated 10 days ago
    Auto-check passed
  • 覆盖 Session 级 LSP 配置快照、stdio 进程、文档同步、语义查询、诊断回注、崩溃恢复 和子 Session 继承。进入条件:新增语言服务器、修改 LSP 工具、排查诊断缺失/重复、 处理 worktree 或 ACP 差异、修复进程泄漏或 transport 代际问题。不包含:VS Code 扩展桥接(见…

    180 GitHub stars~1.9k tokensUpdated 10 days ago
    Auto-check passed
  • 覆盖 SkillRegistry、SKILL.md 延迟加载、自定义命令 Markdown 解析、来源覆盖、插件 命名空间、Session 快照和模型/用户调用入口。进入条件:新增 Skill 或命令字段、调整 发现优先级、调试 /command 或 Skill 工具、修改 Prompt 元数据或消费者集成。不包含: 插件安装生命周期(见…

    180 GitHub stars~2.1k tokensUpdated 10 days ago
    Auto-check passed
  • Covers 领域能力如何包装成内置工具、getBuiltinTools 的 Session 依赖注入、ToolSearch 延迟激活,以及 Goal/Task/Team/Plan/Skill/LSP/MCP/Web/Config/Worktree 适配边界。

    180 GitHub stars~2.1k tokensUpdated 10 days ago
    Auto-check passed
  • 覆盖 Blade 的用户/项目/local/调用级配置合并、workspace 定向解析、运行时 Store 投影和字段持久化路由。

    180 GitHub stars~1.7k tokensUpdated 10 days ago
    Auto-check passed

Questions about Base64 Parser

What does Base64 Parser do?

Base64 编解码工具,支持编码/解码文本、JSON、二进制文件,自动检测格式,支持批量处理. An agent skill from echoVic/blade-code. Base64 Parser is an agent skill from echoVic/blade-code.

How do I install Base64 Parser in Claude Code?

Run `npx skills add echoVic/blade-code --skill base64-parser -a claude-code`. Or copy the skill folder (.blade/skills/base64-parser in echoVic/blade-code) into .claude/skills/base64-parser in your project. Claude Code loads it when a task matches its description.

How do I install Base64 Parser in Codex?

Run `npx skills add echoVic/blade-code --skill base64-parser -a codex`. Or copy the skill folder (.blade/skills/base64-parser in echoVic/blade-code) into .agents/skills/base64-parser in your project. Codex loads it when a task matches its description.

Can I use Base64 Parser in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add echoVic/blade-code --skill base64-parser -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/base64-parser, .gemini/skills/base64-parser, .github/skills/base64-parser and .opencode/skills/base64-parser in your project.

What does Base64 Parser need to run?

Going by SKILL.md and its folder, Base64 Parser needs Python for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Read, Write, Bash.

Does Base64 Parser access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Base64 Parser safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Base64 Parser use?

Base64 Parser is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Base64 Parser use?

About 545 tokens (SKILL.md is roughly 2.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Base64 Parser?

Skills that share tags, products or a category with Base64 Parser: Parsers (VectorSpaceLab/AREX-Skill, 328 stars), Burp Suite Project Parser (trailofbits/skills, 7.4k stars), Arg Parser Generator (revfactory/harness-100, 1.3k stars) and Text Parser (benchflow-ai/skillsbench, 1.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Base64 Parser?

echoVic (a GitHub user) maintains it in echoVic/blade-code, which has 180 GitHub stars. The repository holds 38 skills in this directory. The repository was last updated on September 27, 2026.

Source: echoVic/blade-code on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.