TopRank Skills

Home / Claw Skills / 其他 / paste-rs
Official OpenClaw rules 15%

paste-rs

Paste text, Markdown, or HTML snippets to https://paste.rs and return a shareable URL. Use when the user asks to "paste"/"upload" text to paste.rs, share logs/config snippets safely as a link, or quickly publish command output without sending long messages.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

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

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

Overview

Skill Key
banghasan/paste-rs
Author
banghasan
Source Repo
openclaw/skills
Version
-
Source Path
skills/banghasan/paste-rs
Latest Commit SHA
2a0d1f9def16cba0c3478f6774f8f5abf7e61451

Extracted Content

SKILL.md excerpt

# paste.rs

## Quick start (preferred)

Use the bundled script (it **saves a local `.md` file first**, then uploads):

```bash
# paste from stdin
some_command | python3 skills/paste-rs/scripts/paste_rs.py

# paste a file
python3 skills/paste-rs/scripts/paste_rs.py --file ./notes.md

# paste an inline snippet
python3 skills/paste-rs/scripts/paste_rs.py --text '<h1>Hello</h1>'

# choose where the .md file is saved (default: /tmp)
python3 skills/paste-rs/scripts/paste_rs.py --outdir ./tmp-pastes --text 'hello'
```

Output:
- **stdout**: URL `https://paste.rs/XXXX.md`
- **stderr**: path `saved: /tmp/paste-rs-YYYYMMDD-HHMMSS.md`

## Curl one-liners (fallback)

```bash
# stdin
some_command | curl -fsS https://paste.rs -d @-

# file
curl -fsS https://paste.rs -d @./file.txt
```

## Safety notes

- Treat the pasted content as **public**.
- Script `scripts/paste_rs.py` melakukan **redact otomatis by default** untuk pola rahasia umum (token/apiKey/botToken/password/Authorization).
- Kalau memang butuh raw (tidak disarankan), pakai `--no-redact`.

## Resources

- `scripts/paste_rs.py`: deterministic uploader (stdin / --text / --file)
- `references/paste-rs-api.md`: minimal API reference

Related Claw Skills