← 返回 Skills 市场
orti99

copy-paste.cloud

作者 orti99 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
104
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install copypaste
功能描述
Read and create pastes on copy-paste.cloud. Fetch recent public pastes, retrieve a paste by ID, or publish new content via the public API.
使用说明 (SKILL.md)

copy-paste.cloud

Interact with copy-paste.cloud — a lightweight, public pastebin. Use this skill to read recent public pastes, look up a paste by ID, or publish new content.

An API key is required for reading recent pastes and creating new ones. Generate your key at copy-paste.cloud/developer.


When to Use

Activate this skill when the user:

  • Asks to post, paste, share, or publish a snippet, code block, or text to copy-paste.cloud
  • Asks to read, fetch, get, or show a paste from copy-paste.cloud (by ID or recent)
  • Mentions a URL like https://copy-paste.cloud/\x3Cid> and wants the content retrieved
  • Asks "what's on copy-paste.cloud lately?" or similar

Actions

1. Get recent public pastes

Returns the 10 most recent public pastes (sorted newest first).

bash scripts/get_recent.sh

Output: formatted list of paste IDs, titles, languages, and a content preview.


2. Get a paste by ID

Retrieve the full content and metadata of any public paste.

bash scripts/get_paste.sh \x3Cpaste-id>
  • paste-id — the UUID from the paste URL, e.g. 3f2a1c9e-...

Output: title, language, tags, author, creation date, and full content.


3. Create a new paste

Publish text or code as a new public paste.

bash scripts/create_paste.sh \
  --content "your text here" \
  [--title "optional title"] \
  [--language python|javascript|...] \
  [--tags "tag1,tag2"] \
  [--private] \
  [--burn-after-read] \
  [--expires-in-hours 24]

Supported languages: bash, c, cpp, csharp, css, dockerfile, go, html, java, javascript, json, kotlin, markdown, php, python, ruby, rust, sql, swift, typescript, xml, yaml. Omit for plain text.

Output: the URL of the newly created paste.


Configuration

Set your API key as an environment variable:

export COPYPASTE_API_KEY=cp_your_key_here

Generate a key at https://copy-paste.cloud/developer after signing in.


External Endpoints

URL Method Data sent
https://api.copy-paste.cloud/api/v1/pastes/recent GET API key (header)
https://api.copy-paste.cloud/api/v1/pastes/{id} GET paste ID (path)
https://api.copy-paste.cloud/api/v1/pastes POST API key (header), paste content, metadata

Security & Privacy

  • Your COPYPASTE_API_KEY is sent as a Bearer token to api.copy-paste.cloud only.
  • Paste content you create is sent to api.copy-paste.cloud and stored on copy-paste.cloud servers.
  • No data is written to your local filesystem.
  • Private pastes (--private) are only visible to your account; all others are public.
  • Burn-after-read pastes (--burn-after-read) are deleted from the server after first view.
安全使用建议
This skill appears to do exactly what it says: call api.copy-paste.cloud to list, fetch, and create pastes. Before installing, verify the following: (1) Only grant COPYPASTE_API_KEY if you trust copy-paste.cloud — the key and any paste content you send will go to that service. (2) If you may fetch password-protected pastes, ensure python3 is available (get_paste.sh URL-encodes passwords via python3); consider adding python3 to the declared required binaries. (3) Check the API key's permissions and revoke it if exposed. (4) Be aware that created pastes (unless marked private) are stored on the remote server; do not paste secrets unless you intend them to be stored/visible. The inconsistencies are minor documentation/metadata issues rather than functional or malicious problems.
功能分析
Type: OpenClaw Skill Name: copypaste Version: 1.0.0 The skill is a standard API wrapper for the copy-paste.cloud service, allowing users to create and retrieve pastes. The scripts (create_paste.sh, get_paste.sh, get_recent.sh) use jq for safe JSON construction and include input validation, such as UUID regex checking, to prevent common injection attacks.
能力标签
requires-oauth-token
能力评估
Purpose & Capability
Name/description (copy-paste.cloud pastebin operations) align with what the skill does: three scripts call api.copy-paste.cloud to list recent pastes, fetch a paste, and create a paste. Required credential (COPYPASTE_API_KEY) and required binaries (curl, jq) are appropriate for those tasks.
Instruction Scope
Runtime instructions limit activity to API calls to api.copy-paste.cloud and do not read unrelated system files or credentials. Minor inconsistency: scripts/get_paste.sh uses python3 for URL-encoding when a password is provided, but SKILL.md/metadata do not list python3 as a required binary (README mentions python3). Also README and SKILL.md differ slightly about when the API key is required (get_paste.sh supports public pastes without a key). These are implementation/documentation mismatches, not evidence of malicious behavior.
Install Mechanism
Instruction-only skill with small included shell scripts; no external downloads or archive extraction. No install steps that write or execute remote arbitrary code.
Credentials
Only COPYPASTE_API_KEY is required (declared as primaryEnv). The key is used only as a Bearer token sent to api.copy-paste.cloud. No other credentials or unrelated environment variables are requested.
Persistence & Privilege
The skill is not forced-always, does not request persistent system-wide changes, and doesn't modify other skills' config. Model invocation/autonomous use is enabled by default but is not combined with broad credentials or elevated privileges here.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install copypaste
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /copypaste 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of copypaste-cloud skill. Share data across agents/devices - Read and create pastes on copy-paste.cloud via public API. - Fetch recent public pastes or retrieve a paste by ID. - Publish new pastes with options for title, language, privacy, tags, and expiration. - Requires API key and uses `curl` and `jq` for operations. - No local data storage; all actions interact directly with copy-paste.cloud.
元数据
Slug copypaste
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

copy-paste.cloud 是什么?

Read and create pastes on copy-paste.cloud. Fetch recent public pastes, retrieve a paste by ID, or publish new content via the public API. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 104 次。

如何安装 copy-paste.cloud?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install copypaste」即可一键安装,无需额外配置。

copy-paste.cloud 是免费的吗?

是的,copy-paste.cloud 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

copy-paste.cloud 支持哪些平台?

copy-paste.cloud 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 copy-paste.cloud?

由 orti99(@orti99)开发并维护,当前版本 v1.0.0。

💬 留言讨论