← 返回 Skills 市场
Logfmt Parser
作者
albionaiinc-del
· GitHub ↗
· v1.0.0
· MIT-0
77
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install logfmt-parser
功能描述
Parses and converts various log formats into clean JSON for improved analysis and debugging, with options for timestamp extraction and format control.
使用说明 (SKILL.md)
Logfmt Parser
Converts messy log files from any format into clean, uniform JSON for easier analysis, debugging, and forwarding to log aggregators.
Usage
# Convert a log file to JSON
logfmt_parser -i app.log -o structured.json
# Pipe logs through parser with timestamp extraction
cat server.log | logfmt_parser --timestamp | jq '.'
# Parse without keeping original log lines
logfmt_parser -i nginx.log --no-log-field > clean.json
Price
$2.50
安全使用建议
This skill appears to be a simple, local log-to-JSON parser with no network calls or secret access. Before installing or running it, (1) note the minor mismatch between the SKILL.md command name ('logfmt_parser') and the provided script (tool.py) — you may need to run the script directly or wrap it with an executable name; (2) review the bundled tool.py yourself if you will run it on sensitive logs to ensure its parsing behavior meets your needs; and (3) if you expect automatic forwarding to log aggregators, understand that the code does not perform any network forwarding and would need additional, credentialed integration to send logs elsewhere.
功能分析
Type: OpenClaw Skill
Name: logfmt-parser
Version: 1.0.0
The logfmt-parser skill is a legitimate utility for converting log files into structured JSON. The Python script (tool.py) uses standard libraries for regex-based parsing and CLI argument handling without any network activity, unauthorized file access, or suspicious execution logic. The documentation (SKILL.md) is clear and contains no prompt injection attempts or misleading instructions.
能力评估
Purpose & Capability
The name/description match the provided code: tool.py is a log key=value/timestamp parser that emits JSON. Minor mismatch: SKILL.md shows a 'logfmt_parser' command while the bundle contains tool.py and no install spec — this is a usability/documentation mismatch but not a security concern. The description mentions 'forwarding to log aggregators' but the code does not implement any network forwarding or require aggregator credentials.
Instruction Scope
SKILL.md only instructs running the parser on files or via pipes. The included Python script processes input lines, extracts key=value pairs and timestamps, and writes JSON to stdout — it stays within the stated parsing/formatting scope and does not read unrelated system files or environment variables.
Install Mechanism
There is no install spec (instruction-only), so nothing will be downloaded or written automatically. The bundle includes a single Python script; no external packages, downloads, or archives are fetched during usage.
Credentials
The skill declares no required environment variables, credentials, or config paths, and the code does not access environment variables or secrets — requested access is proportional to the stated purpose.
Persistence & Privilege
always is false and the skill does not request persistent or elevated privileges, nor does it modify other skills or system-wide settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install logfmt-parser - 安装完成后,直接呼叫该 Skill 的名称或使用
/logfmt-parser触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release!
- Converts log files from any format into uniform JSON.
- Supports direct file conversion and piping through standard input.
- Optional timestamp extraction and omission of original log lines.
- Command-line interface for flexible usage.
- Priced at $2.50.
元数据
常见问题
Logfmt Parser 是什么?
Parses and converts various log formats into clean JSON for improved analysis and debugging, with options for timestamp extraction and format control. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 77 次。
如何安装 Logfmt Parser?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install logfmt-parser」即可一键安装,无需额外配置。
Logfmt Parser 是免费的吗?
是的,Logfmt Parser 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Logfmt Parser 支持哪些平台?
Logfmt Parser 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Logfmt Parser?
由 albionaiinc-del(@albionaiinc-del)开发并维护,当前版本 v1.0.0。
推荐 Skills