← 返回 Skills 市场
wu-uk

text-parser

作者 wu-uk · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ 安全检测通过
81
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install edit-pdf-text-parser
功能描述
Guide for parsing structured text input files.
使用说明 (SKILL.md)

Text Parser Skill

Overview

Parse structured text files to extract data for filling PDFs.

Key-Value Parsing

def parse_input(text):
    """Parse key-value pairs from text."""
    data = {}
    for line in text.strip().split('\
'):
        if ':' in line:
            # Remove leading dash/bullet if present
            line = line.lstrip('- ').strip()
            key, value = line.split(':', 1)
            data[key.strip()] = value.strip()
    return data

# Usage
with open("input.txt") as f:
    content = f.read()

data = parse_input(content)
# data["Name"] -> "John Smith"
# data["Email"] -> "[email protected]"

Common Input Formats

- Name: John Smith
- Email: [email protected]
- Phone: 555-1234

Or without dashes:

Name: John Smith
Email: [email protected]

Tips

  • Read the entire input file first
  • Match field names to PDF labels
  • Handle special instructions
安全使用建议
This skill is low-risk and coherent: it merely documents a small Python parser for key:value text. Before using it, confirm you trust the skill source (owner is unknown), avoid parsing sensitive personal data until you test it, and ensure the agent runtime can run the example Python snippet if you plan to execute it. Also be mindful that parsed content may contain PII — keep input files local and do not paste secrets into them. If you need stronger guarantees, test with non-sensitive data and/or require the skill to explicitly declare needed runtimes (e.g., Python) or to include vetted code.
能力评估
Purpose & Capability
The name and description (parsing structured text to extract data for PDFs) match the SKILL.md content: a straightforward key:value parsing example. There are no unrelated env vars, binaries, or config paths requested.
Instruction Scope
The SKILL.md stays on topic: it shows a small Python parse_input() function that reads a local input file and extracts key:value pairs. It does not instruct reading unrelated system files or sending data externally. Minor note: the example uses Python and opens 'input.txt' but the skill does not declare a Python runtime requirement or explain path handling—this is a small documentation gap, not a security issue.
Install Mechanism
No install spec and no code files — instruction-only — so nothing is downloaded or written to disk by the skill itself.
Credentials
The skill requests no environment variables, credentials, or config paths, which is appropriate for a local parsing helper.
Persistence & Privilege
always is false and the skill does not request persistent presence or modify other skills or system-wide settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install edit-pdf-text-parser
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /edit-pdf-text-parser 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Bulk publish from all-task-skills-dedup
元数据
Slug edit-pdf-text-parser
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

text-parser 是什么?

Guide for parsing structured text input files. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 81 次。

如何安装 text-parser?

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

text-parser 是免费的吗?

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

text-parser 支持哪些平台?

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

谁开发了 text-parser?

由 wu-uk(@wu-uk)开发并维护,当前版本 v0.1.0。

💬 留言讨论