with one click
paste
粘贴板 — 创建/查看代码片段分享,支持文件上传、分片上传、代码分析、安全扫描。触发:分享代码、粘贴代码、上传文件、分享文本、pastebin
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
粘贴板 — 创建/查看代码片段分享,支持文件上传、分片上传、代码分析、安全扫描。触发:分享代码、粘贴代码、上传文件、分享文本、pastebin
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
聊天室 — 创建房间、实时聊天、AI 机器人(10种预设角色+TTS语音)、图片/视频上传。触发:创建聊天室、聊天、加AI机器人、聊天室
生活记账 — 创建账本、记录收支、分类管理、统计分析、AI 语音记账。触发:记账、花了多少钱、今日开销、月度统计、添加支出、语音记账
家庭物品整理 — 物品库存管理、位置标注、到期提醒、AI 智能添加/分析、小票 OCR 识别。触发:整理物品、添加物品、库存管理、物品快过期、收纳整理
档案照片墙 — 分类照片管理、时间线聚合、分享链接、批量下载ZIP。触发:照片墙、上传照片、相册、家庭相册
事项管理 — 创建/查看/更新/删除工作与生活任务,支持 AI 解析、会议纪要、日历下载、时间线回顾。触发:记录事情、添加任务、事项管理、会议记录、今日计划
科学上网线路管理 — 查看节点、切换线路、测速。当用户请求切换代理线路、查看代理状态、管理科学上网节点时使用此技能。
| name | paste |
| description | 粘贴板 — 创建/查看代码片段分享,支持文件上传、分片上传、代码分析、安全扫描。触发:分享代码、粘贴代码、上传文件、分享文本、pastebin |
| triggers | ["粘贴板","分享代码","粘贴代码","上传文件","pastebin","paste"] |
通过 DevTools 后端 API 创建和分享代码片段、文件。后端默认运行在 https://t.jaxiu.cn。
curl -s -X POST https://t.jaxiu.cn/api/paste \
-H "Content-Type: application/json" \
-d '{
"content": "console.log(\"Hello World\")",
"title": "测试代码",
"language": "javascript",
"password": "optional_password",
"expires_in": 7,
"max_views": 100
}'
# 返回: {"id":"abc12345","url":"/paste/abc12345",...}
参数说明:
content: 必填,文本内容,最大 100KBtitle: 可选,标题language: 可选,代码语言标记password: 可选,访问密码 (SHA256 hash)expires_in: 可选,过期天数 (默认7天,最大7天)max_views: 可选,最大查看次数 (默认1000)# 无需密码
curl -s https://t.jaxiu.cn/api/paste/{id}
# 需要密码
curl -s "https://t.jaxiu.cn/api/paste/{id}?password=xxx"
# 查看信息(不消耗查看次数)
curl -s https://t.jaxiu.cn/api/paste/{id}/info
# 普通上传(最大55MB)
curl -X POST https://t.jaxiu.cn/api/paste/upload \
-F "file=@document.pdf" \
-F "title=项目文档"
# 返回: {"id":"xxx","url":"/api/paste/files/filename","filename":"..."}
# 初始化
curl -s -X POST https://t.jaxiu.cn/api/paste/chunk/init \
-H "Content-Type: application/json" \
-d '{"filename":"large_video.mp4","total_size":1073741824,"chunk_size":5242880}'
# 返回: {"file_id":"xxx"}
# 上传分片 (分片大小默认5MB)
curl -X POST "https://t.jaxiu.cn/api/paste/chunk/{file_id}" \
-F "chunk=@chunk_data" \
-F "index=0"
# 合并分片
curl -s -X POST "https://t.jaxiu.cn/api/paste/chunk/{file_id}/merge"
# 查看进度
curl -s "https://t.jaxiu.cn/api/paste/chunk/{file_id}/status"
# 访问上传的文件
curl -o downloaded.pdf https://t.jaxiu.cn/api/paste/files/{filename}
# 分析代码文本
curl -s -X POST https://t.jaxiu.cn/api/paste/analyze \
-H "Content-Type: application/json" \
-d '{
"content": "func main() {\n\tfmt.Println(\"hello\")\n}",
"language": "go"
}'
# 分析上传的文件
curl -s "https://t.jaxiu.cn/api/paste/analyze/{file_id}"
# 扫描内容
curl -s -X POST https://t.jaxiu.cn/api/paste/scan \
-H "Content-Type: application/json" \
-d '{"content":"..."}'
# 验证文件
curl -s "https://t.jaxiu.cn/api/paste/validate/{file_id}"
# 搜索粘贴
curl -s "https://t.jaxiu.cn/api/paste/search?q=关键词&language=go"
# 统计信息
curl -s "https://t.jaxiu.cn/api/paste/stats"
当用户说"把这个分享到粘贴板"或"分享这段代码"时,使用创建粘贴 API。 当用户说"上传这个文件分享"时,使用文件上传 API。
Base URL: https://t.jaxiu.cn