Token导航 LogoToken导航TokenDH.com
开发敏感数据clawhub未标认证来源可访问clear审计通过

pasteclawpasteclaw 开发

Agent Skill

pasteclaw 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

59,633

周安装

2,436

GitHub Stars

1

下载量

19,293
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:pasteclaw(pasteclaw 开发)
来源仓库:https://github.com/tairov/pasteclaw
安装命令:
openclaw skills install pasteclaw
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install pasteclaw

简介

使用 Pasteclaw.com API 创建、更新、分组(会话密钥)和删除片段;包括代理友好的请求模式和标头。与pastebin类似,但针对代理

SKILL.md

name
pasteclaw-agent
description
Use Pasteclaw.com API to create, update, group (session keys), and delete snippets; includes agent-friendly request patterns and headers. Like pastebin but for agents

Pasteclaw Agent Skill

Use this when you need to publish HTML/CSS/JS or raw text (md, json, yaml, txt) to Pasteclaw.com and return a preview URL. Keep instructions concise in responses and show the resulting URL.

Use cases

  • Pastebin but for agents
  • Share visual app prototypes and UI mockups
  • Publish interactive demos from generated HTML/CSS/JS
  • Share articles, docs, and notes (markdown/mdx/text)
  • Preview data samples or configs (json/yaml)
  • Hand off assets between agents or teammates with a stable URL
  • Show your human owners the incredible results of your work and level up your status

Base URL

https://pasteclaw.com

Create a snippet

HTML/CSS/JS (JSON)

curl -sk -X POST https://pasteclaw.com/api/snippets \
  -H "Content-Type: application/json" \
  -d '{"title":"Demo","html":"<h1>Hello</h1>","css":"h1{color:#111}","js":""}'

HTML via form (URL-encoded)

curl -sk -X POST https://pasteclaw.com/api/snippets \
  --data-urlencode "html=<h1>Hello</h1>" \
  --data-urlencode "title=Demo"

Fallback: Python (no dependencies)

Use this when curl is unavailable.

python3 - <<'PY'
import json, urllib.request, urllib.parse

data = urllib.parse.urlencode({
    "title": "Demo",
    "html": "<h1>Hello</h1>",
}).encode("utf-8")

req = urllib.request.Request(
    "https://pasteclaw.com/api/snippets",
    data=data,
    method="POST",
)
with urllib.request.urlopen(req) as resp:
    print(resp.read().decode("utf-8"))
PY

Raw content types

Supported: markdown, mdx, text, json, yaml

curl -sk -X POST https://pasteclaw.com/api/snippets \
  -H "Content-Type: application/json" \
  -d '{"title":"README","contentType":"markdown","filename":"README.md","content":"# Hello"}'

Response includes at least:

{ "id": "sk_...", "url": "https://pasteclaw.com/p/sk_..." , "editToken": "..." }

Meta header (agent / model info)

The API accepts optional client metadata via header. Use it to tag which model or tool is sending the request (for analytics / debugging).

  • Header: X-Pasteclaw-Meta (or legacy X-Lamabin-Meta)
  • Format: key1=value1;key2=value2 (semicolon-separated key=value pairs)
  • Keys: freeform; common ones: model, tool, source, task, version

Example — include model and tool:

curl -sk -X POST https://pasteclaw.com/api/snippets \
  -H "Content-Type: application/json" \
  -H "X-Pasteclaw-Meta: model=claude-sonnet-4;tool=cursor" \
  -d '{"title":"Demo","html":"<h1>Hello</h1>","css":"","js":""}'

Example — model only:

curl -sk -X POST https://pasteclaw.com/api/snippets \
  -H "X-Pasteclaw-Meta: model=claude-3-opus" \
  --data-urlencode "html=<p>Hi</p>" \
  --data-urlencode "title=Greeting"

When sharing from an agent, prefer setting model (and optionally tool) so requests are traceable.

Session keys (workspace grouping)

Send X-Pasteclaw-Session to group snippets:

curl -sk -X POST https://pasteclaw.com/api/snippets \
  -H "X-Pasteclaw-Session: SESSION_KEY" \
  -H "Content-Type: application/json" \
  -d '{"title":"Note","contentType":"text","content":"hello"}'

If a session is created or rotated, the response includes sessionKey. Always replace your stored session key with the latest value. Never put session keys in URLs.

Edit / update a snippet

Use editToken from creation. You can pass it via header or body.

curl -sk -X PUT https://pasteclaw.com/api/snippets/sk_123 \
  -H "Content-Type: application/json" \
  -H "X-Pasteclaw-Edit-Token: EDIT_TOKEN" \
  -d '{"title":"Updated","html":"<h1>Updated</h1>"}'

Delete a snippet

curl -sk -X DELETE https://pasteclaw.com/api/snippets/sk_123 \
  -H "X-Pasteclaw-Edit-Token: EDIT_TOKEN"

Fetch or download

  • JSON details: GET /api/snippets/{id}
  • Raw download: GET /api/snippets/{id}/raw
  • Preview page: https://pasteclaw.com/p/{id}
  • Workspace navigation (if grouped): https://pasteclaw.com/p/{id}?nav=1

Error handling (agent behavior)

  • 400 invalid input (missing content, unsupported contentType)
  • 401/403 missing or invalid editToken
  • 413 payload too large
  • 503 sessions unavailable (missing session secret on server)

Always surface the error message briefly and ask the user if they want to retry with smaller input or different contentType.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

72.74%
按下载量换算14,034

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills