Skills 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.
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/banghasan/paste-rs" ~/.claude/skills/openclaw-skills-paste-rs && 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/banghasan/paste-rs" ~/.openclaw/skills/openclaw-skills-paste-rs && rm -rf "$T"
manifest:
skills/banghasan/paste-rs/SKILL.mdsource content
paste.rs
Quick start (preferred)
Use the bundled script (it saves a local
file first, then uploads):.md
# 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)
# 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
melakukan redact otomatis by default untuk pola rahasia umum (token/apiKey/botToken/password/Authorization).scripts/paste_rs.py - Kalau memang butuh raw (tidak disarankan), pakai
.--no-redact
Resources
: deterministic uploader (stdin / --text / --file)scripts/paste_rs.py
: minimal API referencereferences/paste-rs-api.md