编码工具

encode

by BytesAgain

Encode text to base64, URL-safe strings, and HTML entity formats. Use when encoding payloads, escaping URLs, converting HTML entities.

4.5k效率与工作流未扫描2026年3月23日

安装

claude skill add --url github.com/openclaw/skills/tree/main/skills/bytesagain3/encode

文档

Encode

A devtools toolkit for checking, validating, generating, formatting, linting, explaining, converting, templating, diffing, previewing, fixing, and reporting on encoded data — all from the command line.

Commands

CommandDescription
encode check <input>Check encoding validity — log check results for encoded payloads
encode validate <input>Validate encoding format — record validation outcomes
encode generate <input>Generate encoded output — log generation parameters and results
encode format <input>Format encoded data for readability — track formatting operations
encode lint <input>Lint encoding for common issues — save lint findings
encode explain <input>Explain encoding format or structure — record explanations
encode convert <input>Convert between encoding formats — log conversion details
encode template <input>Create or apply encoding templates — track template operations
encode diff <input>Diff two encoded values — log comparison results
encode preview <input>Preview decoded or re-encoded output — record preview sessions
encode fix <input>Fix encoding issues — log fix operations and outcomes
encode report <input>Generate encoding analysis reports — save report specifications
encode statsShow summary statistics across all command categories
encode export json|csv|txtExport all logged data in JSON, CSV, or plain text format
encode search <term>Search across all log entries for a keyword
encode recentShow the 20 most recent activity entries
encode statusHealth check — version, data directory, entry count, disk usage, last activity
encode helpShow available commands and usage
encode versionShow version (v2.0.0)

Each domain command (check, validate, generate, etc.) works in two modes:

  • Without arguments: displays the 20 most recent entries from that category
  • With arguments: logs a new timestamped entry and shows the running total

Data Storage

All data is stored locally in ~/.local/share/encode/. Each command writes to its own log file (e.g., check.log, validate.log, convert.log) and a shared history.log tracks all activity with timestamps. No cloud sync, no external API calls — everything stays on your machine.

Requirements

  • Bash 4+ (uses set -euo pipefail)
  • Standard Unix utilities: date, wc, du, grep, head, tail, basename
  • No external dependencies or API keys required

When to Use

  1. Debugging encoded API payloads — Use check and validate to verify base64 or URL-encoded strings, explain to understand the encoding structure, and fix to log corrections
  2. Converting between encoding formats — Use convert to track format conversions (base64 ↔ URL encoding ↔ HTML entities) and diff to compare before/after results
  3. Building encoding pipelines — Use template to define reusable encoding patterns, generate to produce encoded output, and format to ensure consistent presentation
  4. Code review and linting — Use lint to record encoding issues found during review, preview to verify decoded output, and report to summarize findings for the team
  5. Maintaining an encoding operations log — Use stats to see how many encoding operations you've performed, search to find specific entries, and export to back up your history

Examples

bash
# Check if a base64 string is valid
encode check "SGVsbG8gV29ybGQ= — valid base64, decodes to Hello World"

# Validate URL encoding
encode validate "%E4%BD%A0%E5%A5%BD — valid UTF-8 URL encoding for 你好"

# Convert between formats
encode convert "base64 to hex: SGVsbG8= → 48656c6c6f"

# Lint for common issues
encode lint "Found double-encoded URL: %2520 should be %20"

# Explain an encoding format
encode explain "JWT token structure: header.payload.signature, each base64url"

# Generate encoded output
encode generate "URL-encode query params: name=张三&city=北京"

# Diff two encoded values
encode diff "v1: dXNlcg== vs v2: YWRtaW4= — different decoded values"

# Export all data to JSON
encode export json

# View statistics
encode stats

How It Works

Encode uses a simple append-only log architecture. Each command appends a timestamped, pipe-delimited entry (YYYY-MM-DD HH:MM|value) to its category-specific log file. The stats command aggregates line counts across all logs, search runs case-insensitive grep across all files, and export serializes everything into your chosen format (JSON, CSV, or plain text). The status command gives a quick system health overview including version, total entries, disk usage, and last activity timestamp.


Powered by BytesAgain | bytesagain.com | hello@bytesagain.com

相关 Skills

技能工坊

by anthropics

Universal
热门

覆盖 Skill 从创建到迭代优化全流程:起草能力、补测试提示、跑评测与基准方差分析,并持续改写内容和描述,提升效果与触发准确率。

技能工坊把技能从创建、迭代到评测串成闭环,方差分析加描述优化,特别适合把触发准确率打磨得更稳。

效率与工作流
未扫描157.8k

PPT处理

by anthropics

Universal
热门

处理 .pptx 全流程:创建演示文稿、提取和解析幻灯片内容、批量修改现有文件,支持模板套用、合并拆分、备注评论与版式调整。

涉及PPTX的创建、解析、修改到合并拆分都能一站搞定,连备注、模板和评论也能处理,做演示文稿特别省心。

效率与工作流
未扫描157.8k

PDF处理

by anthropics

Universal
热门

遇到 PDF 读写、文本表格提取、合并拆分、旋转加水印、表单填写或加解密时直接用它,也能提取图片、生成新 PDF,并把扫描件通过 OCR 变成可搜索文档。

PDF杂活别再来回切工具了,文本表格提取、合并拆分到OCR识别一次搞定,连扫描件也能变可搜索。

效率与工作流
未扫描157.8k

相关 MCP 服务

文件系统

编辑精选

by Anthropic

热门

Filesystem 是 MCP 官方参考服务器,让 LLM 安全读写本地文件系统。

这个服务器解决了让 Claude 直接操作本地文件的痛点,比如自动整理文档或生成代码文件。适合需要自动化文件处理的开发者,但注意它只是参考实现,生产环境需自行加固安全。

效率与工作流
88.0k

by wonderwhy-er

热门

Desktop Commander 是让 AI 直接执行终端命令、管理文件和进程的 MCP 服务器。

这工具解决了 AI 无法直接操作本地环境的痛点,适合需要自动化脚本调试或文件批量处理的开发者。它能让你用自然语言指挥终端,但权限控制需谨慎,毕竟让 AI 执行 rm -rf 可不是闹着玩的。

效率与工作流
6.2k

by stickerdaniel

热门

LinkedIn Profile and Job Scraper 是让 Claude 直接抓取 LinkedIn 个人资料、公司信息和职位详情的工具。

这个服务器解决了招聘和商业调研中手动复制粘贴 LinkedIn 数据的痛点,适合猎头或市场分析师快速获取候选人背景和公司动态。不过,LinkedIn 反爬机制频繁更新,数据稳定性需要持续维护,使用时建议搭配人工验证。

效率与工作流
2.6k

相关资讯

Gemma 4 12B 是 Google 最新发布的中型多模态模型,采用无编码器架构,原生支持图像和音频输入,性能接近 26B 版本但内存占用减半,可在 16GB 内存的笔记本上运行,并附带官方 Skills 仓库支持 Agent 开发。

指南·6月9日·5 分钟

Anthropic在开发者大会上宣布多项更新,包括提高Claude Code速率限制和推出多智能体编排功能。与此同时,开源替代品OpenCode因1月OAuth封锁事件获得大量关注,GitHub星数超15.7万。开发者正面临选择:垂直集成的托管方案 vs 供应商中立的开源方案。

深度The New Stack·5月10日·8 分钟

Supersimple 是轻量级 OpenCode 配置文件,提供精简的智能体集、基于编排器的默认入口、本地技能和命令,以及 Conductor 工作流支持。适合日常开发中的规划、实现、调试、文档和任务追踪。

指南·5月1日·8 分钟

评论