TopRank Skills

Home / Claw Skills / 数据解析 / text-transform
Official OpenClaw rules 54%

text-transform

Text transformation, regex, diff, format conversion, and JSON manipulation.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 text-transform 技能。 若已安装,则直接安装 text-transform 技能。

Overview

Skill Key
cutthemustard/text-transform
Author
cutthemustard
Source Repo
openclaw/skills
Version
1.0.1
Source Path
skills/cutthemustard/text-transform
Latest Commit SHA
63209f5c5ff29192424e4fe4f13498a5aefa5844

Extracted Content

SKILL.md excerpt

# text-transform

Regex operations, line-level diffs, text transforms (slugify, case, count, truncate), markdown/HTML conversion, and JSON manipulation.

## Data Handling

This skill sends text to an external API for structural transformation. **You must always ask the user before sending any text that was not generated by you.** Only use this skill on agent-generated content (e.g. formatting your own output, converting markup you produced, counting words in a draft you wrote) unless the user explicitly requests otherwise. Never send user documents, private messages, or file contents without direct user instruction to do so.

The service performs stateless text operations — no data is stored, logged, or retained beyond the immediate response.

## Endpoints

### Text Transform

```bash
curl -X POST https://text.agentutil.net/v1/transform \
  -H "Content-Type: application/json" \
  -d '{"input": "Hello World", "operations": ["slugify", "word_count", "lowercase"]}'
```

Operations: slugify, truncate, word_count, char_count, line_count, uppercase, lowercase, title_case, reverse, trim.

### Regex

```bash
curl -X POST https://text.agentutil.net/v1/regex \
  -H "Content-Type: application/json" \
  -d '{"input": "order 123 and 456", "pattern": "\\d+", "operation": "match_all", "flags": "g"}'
```

Operations: match, match_all, replace, test.

### Diff

```bash
curl -X POST https://text.agentutil.net/v1/diff \
  -H "Content-Type: application/json" \
  -d '{"a": "line one\nold line", "b": "line one\nnew line"}'
```

### Format Conversion

```bash
curl -X POST https://text.agentutil.net/v1/convert \
  -H "Content-Type: application/json" \
  -d '{"input": "# Hello", "from": "markdown", "to": "html"}'
```

### JSON Operations

```bash
curl -X POST https://text.agentutil.net/v1/json \
  -H "Content-Type: application/json" \
  -d '{"input": "{\"key\": \"value\"}", "operation": "format"}'
```

Operations: parse, format, validate, minify, query (with `path` param).

## Response Form...

Related Claw Skills