← Back to Skills Marketplace
wu-uk

text-parser

by wu-uk · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ Security Clean
81
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install edit-pdf-text-parser
Description
Guide for parsing structured text input files.
README (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
Usage Guidance
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install edit-pdf-text-parser
  3. After installation, invoke the skill by name or use /edit-pdf-text-parser
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
Bulk publish from all-task-skills-dedup
Metadata
Slug edit-pdf-text-parser
Version 0.1.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is text-parser?

Guide for parsing structured text input files. It is an AI Agent Skill for Claude Code / OpenClaw, with 81 downloads so far.

How do I install text-parser?

Run "/install edit-pdf-text-parser" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is text-parser free?

Yes, text-parser is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does text-parser support?

text-parser is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created text-parser?

It is built and maintained by wu-uk (@wu-uk); the current version is v0.1.0.

💬 Comments