A lightweight Python utility designed to merge multi-line text blocks into a single line using custom separators.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install cn-join-lines
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install cn-join-lines using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The cn-join-lines tool is a developer-focused utility built to streamline text processing pipelines. It efficiently takes multi-line text strings and consolidates them into a continuous single line, giving developers precise control over data formatting. By default, it operates using pure Python standard libraries, removing unnecessary bulk or third-party dependencies from your system environment.
Integrating this tool with Openclaw Skills workflows empowers automated agents to normalize messy text files, sanitize prompt inputs, or prepare clean logs for processing. The utility ensures that multi-line data structures can be safely flattened without breaking formatting constraints, bridging the gap between raw data dumps and clean text strings.
\n through a CLI option.--separator argument.Clone or place the join_lines.py script into your project structure, then execute it directly from your terminal:
# Basic line merging using default settings
python3 scripts/join_lines.py --text "第一行\n第二行\n第三行"
# Advanced line merging utilizing a custom comma separator
python3 scripts/join_lines.py --text "第一行\n第二行" --separator ","
The utility requires no databases or external configuration files to maintain execution state. Inputs and outputs are strictly string-based as defined below:
| Argument | Type | Required | Description |
|---|---|---|---|
--text |
String | Yes | The raw multi-line string block containing line breaks to be joined. |
--separator |
String | No | The target character or sequence used to concatenate lines together. Defaults to an empty space. |
Loading
A zero-dependency, pure Python tool designed to evaluate and output differences between two structured JSON files.

A lightweight Python utility to generate high-quality, themed Chinese placeholder text for design, layout testing, and UI/UX mockups.

A lightweight financial command-line tool written in pure Python to calculate loan payments and generate clear amortization details.

A pure Python command-line utility for formatting numbers into thousands separators, percentages, and scientific notations.

A utility skill to convert hierarchical JSON data into subject-predicate-object triples for semantic web integrations and knowledge graphs.

A zero-dependency Python utility designed to validate Chinese National ID numbers and extract demographic insights natively.








































