前缀添加工具

MCP Tools

Add a specified prefix to each line of a given text using a Python standard library script.

Install

openclaw skills install cn-prefix-tool

cn-prefix-tool

文本前缀添加工具。为每行添加指定前缀。

使用方法

python3 scripts/add_prefix.py --text "第一行\n第二行" --prefix "- "
python3 scripts/add_prefix.py --text "第一行\n第二行" --prefix "  "

纯Python标准库。