Skills text-cleaner-lite

Skill Name

install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/askjda/text-cleaner-lite" ~/.claude/skills/openclaw-skills-text-cleaner-lite && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/askjda/text-cleaner-lite" ~/.openclaw/skills/openclaw-skills-text-cleaner-lite && rm -rf "$T"
manifest: skills/askjda/text-cleaner-lite/SKILL.md
source content

Skill Name

text-cleaner-lite

Function Description

Normalize whitespace, remove duplicated blank lines, and trim leading/trailing spaces.

Input Parameters

  • raw_text (string), keep_newlines (boolean, optional)

Output Result

  • cleaned_text (string)

Usage Example

ash python main.py --input sample.txt --mode clean 

Risk Statement

  • Risk level: L1
  • This skill may perform actions matching category $(@{skill_id=skill_001; name=text-cleaner-lite; category=text-processing; risk_level=L1; source_template=skillsmp_download/1/SKILL.md; description=Normalize whitespace, remove duplicated blank lines, and trim leading/trailing spaces.; input=raw_text (string), keep_newlines (boolean, optional); output=cleaned_text (string); tags=System.Object[]; example=python main.py --input sample.txt --mode clean}.category) and should be reviewed before production use.

Category Tags

  • text-processing, normalization, safe