paste-rs for Openclaw

A streamlined utility for uploading text, logs, and snippets to paste.rs with built-in secret redaction and local backups.

banghasan
v1.0.0
Feb 6, 2026
1
2.1k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install paste-rs

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install paste-rs using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is paste-rs?

The paste-rs skill is a powerful addition to the library of Openclaw Skills designed for developers who need to share text, Markdown, or HTML snippets quickly and securely. By leveraging the paste.rs backend, this skill provides a shareable URL for logs, configuration snippets, and command outputs, ensuring that long messages do not clutter communication channels. This implementation prioritizes security by automatically redacting sensitive information like API tokens and passwords before the upload occurs, making it a reliable choice for technical collaboration.

paste-rs Use Cases

  • Sharing long error logs or system diagnostic outputs without flooding chat interfaces.
  • Quickly publishing Markdown notes or HTML snippets to a shareable link via the terminal.
  • Safeguarding sensitive data by automatically redacting secrets before public upload.
  • Maintaining local backups of shared snippets for audit trails or future reference.

How paste-rs Works

  1. The user provides input through standard input (stdin), a specific file path, or an inline text string.
  2. The skill applies a redaction filter to identify and mask common secret patterns, such as tokens and authorization headers.
  3. A local Markdown file is generated and saved to a specified directory to ensure a persistent record exists before transmission.
  4. The processed content is transmitted to the paste.rs API using a deterministic uploader script.
  5. The system returns the generated URL to stdout, while confirming the local backup file path via stderr.

paste-rs Setup

To start using this utility within your Openclaw Skills environment, ensure you have Python 3 available. You can execute the uploader script directly:

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

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

# Paste an inline snippet with a custom output directory
python3 skills/paste-rs/scripts/paste_rs.py --outdir ./my-pastes --text '<h1>Hello World</h1>'

paste-rs Data Schema & Taxonomy

The skill manages data by creating local backups before generating public links. This ensures that you have a local history of all Openclaw Skills activities related to this tool.

Component Specification
Local Backup Saved as .md files using the naming convention paste-rs-YYYYMMDD-HHMMSS.md.
Public URL Returns a standard https://paste.rs/XXXX.md link.
Secret Filtering Automatically redacts patterns matching token, apiKey, botToken, password, and Authorization.

paste-rs Advanced Features

  • Automatic redaction of sensitive credentials enabled by default to prevent accidental exposure.
  • Support for multiple input methods including piping from other CLI tools and direct file uploads.
  • Manual override available via the --no-redact flag for cases where raw data is required.
  • Integration-ready script architecture that fits perfectly into broader Openclaw Skills automation pipelines.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*