← 返回 Skills 市场
rogue-agent1

Confmt

作者 rogue-agent1 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
130
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install confmt
功能描述
Format, convert, flatten, and diff configuration files. Supports JSON, TOML (Python 3.11+), and .env formats. Use when asked to pretty-print a config, flatte...
使用说明 (SKILL.md)

confmt 📝

Config file formatter, converter, and differ.

Commands

# Pretty-print JSON config
python3 scripts/confmt.py format config.json --sort

# Flatten nested config to dot-notation
cat config.json | python3 scripts/confmt.py format -o flat

# Convert JSON to .env format
python3 scripts/confmt.py format config.json -o env

# Compact/minify
python3 scripts/confmt.py format config.json --compact

# Diff two config files
python3 scripts/confmt.py diff prod.json staging.json

Formats

  • JSON — read/write, pretty or compact
  • TOML — read (Python 3.11+)
  • .env — read/write
  • flat — dot-notation output (key.subkey = value)

Diff Output

  • + added keys
  • - removed keys
  • ~ changed values
安全使用建议
This skill appears to do exactly what it says: local parsing, formatting, flattening, and diffing of config files. Before running, confirm you trust the included Python files (they're bundled and readable) and run them on only files you intend to process — the tool will read any file path you give it. If you need TOML support, run it with Python 3.11+ so tomllib is available. There is no evidence of network I/O or secret-exfiltration code, but as with any script, avoid pointing it at directories containing secrets unless you intend to process them.
功能分析
Type: OpenClaw Skill Name: confmt Version: 1.0.0 The skill bundle provides a utility for formatting, converting, and diffing configuration files (JSON, TOML, .env). The Python script (confmt.py) uses only standard libraries and contains no network activity, obfuscation, or unauthorized file access. The instructions in SKILL.md are consistent with the tool's stated purpose and do not contain any prompt injection or malicious directives.
能力评估
Purpose & Capability
Name/description, SKILL.md usage examples, and the included Python scripts all implement config formatting, flattening, conversion, and diffing for JSON/TOML/.env. There are no unrelated environment variables, binaries, or external services requested. The TOML support is conditional on Python 3.11+ (tomllib), which matches the description.
Instruction Scope
Runtime instructions tell the agent to run the included Python script (scripts/confmt.py) on user-supplied config files or stdin. The script performs local file reads, parsing, key flattening, and stdout printing. It does not reference external endpoints, hidden files, or additional environment variables beyond what the user provides. Behavior is scoped to the stated functionality.
Install Mechanism
There is no install spec; this is instruction-only with code files bundled. The script has zero external package dependencies and uses only the standard library. No remote downloads, package installs, or archive extraction are present.
Credentials
The skill requires no credentials, no environment variables, and no config paths. The code reads only files the user explicitly passes (or stdin). There are no requests for unrelated secrets or other services.
Persistence & Privilege
always is false and the skill does not attempt to modify agent configuration or other skills. It will run only when invoked. No elevated or persistent privileges are requested.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install confmt
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /confmt 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of confmt — a config file formatter, converter, and differ. - Supports JSON, TOML (Python 3.11+), and .env formats for reading and conversion. - Pretty-print, compact, flatten (dot-notation), diff, and sort configuration files. - Handles conversion between JSON, flat (dot-notation), and env formats. - Zero dependencies.
元数据
Slug confmt
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Confmt 是什么?

Format, convert, flatten, and diff configuration files. Supports JSON, TOML (Python 3.11+), and .env formats. Use when asked to pretty-print a config, flatte... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 130 次。

如何安装 Confmt?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install confmt」即可一键安装,无需额外配置。

Confmt 是免费的吗?

是的,Confmt 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Confmt 支持哪些平台?

Confmt 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Confmt?

由 rogue-agent1(@rogue-agent1)开发并维护,当前版本 v1.0.0。

💬 留言讨论