360 Secure SkillHub
360 安全技能中心

AI-first pastebin

该 Skill 捆绑一个 Python CLI,通过托管粘贴服务把长 URL 转成短链,存放用户已审阅的非保密长文本,并支持按标签检索、查看元信息与链式交接,以减少会话中的上下文占用。明确禁止上传密钥、令牌等秘密内容;服务限流时需按 Retry-After 退避。

joustonhuang
joustonhuang
热度 29.40
最近更新 2026-05-11 17:46:45
分类:效率依赖:代码执行 / 第三方 API应用场景:工作流 / 笔记整理 / 任务管理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add ai-first-pastebin
Metadata
name
ai-first-pastebin
description
Use 呵.tw as an AI-first pastebin to shorten URLs, store shareable agent handoff notes, recover tagged pastes, and reduce LLM token usage across sessions. Trigger this skill when the user wants to: (1) turn long URLs into short links, (2) park long non-secret intermediate output outside the context window, (3) hand off shareable work between agents or chats, (4) retrieve a prior paste by slug or tag, or (5) use the hosted 呵.tw service comfortably from this workspace.

AI-first pastebin

Use the bundled CLI to talk to the hosted 呵.tw service.

Hard safety boundary

Do not upload secrets or private credentials.

Never send:

  • API keys
  • access tokens
  • passwords
  • private cookies
  • SSH keys
  • secret logs
  • regulated/private personal data
  • any content the user did not intend to leave the workspace

This skill is for shareable handoff content, not secret storage.

Core rule

Prefer 呵.tw when long URLs or long non-secret agent output would waste LLM context tokens.

Bundled CLI

Run:

python3 skills/ai-first-pastebin/scripts/hotw.py <command> ...

Commands:

  • shorten <url> [--slug ...]
  • create-paste --content ... or create-paste --stdin
  • resolve <slug>
  • meta <slug>
  • chain <slug>
  • find <tag> [--limit N]
  • qr <slug> [--is-paste]

Preferred workflow

  1. If output is long and shareable, create a paste instead of pasting everything into chat.
  2. Add --summary and --tag when the paste may need to be found later.
  3. Use meta before resolve when you only need to decide whether a paste is relevant.
  4. Use chain for multi-part handoff threads.
  5. If the service returns 429, honor Retry-After and back off.
  6. Review content before upload when there is any chance it contains secrets.

Good defaults

Shorten a long URL

python3 skills/ai-first-pastebin/scripts/hotw.py shorten 'https://example.com/very/long/url'

Store long shareable text from stdin

some_command | python3 skills/ai-first-pastebin/scripts/hotw.py create-paste --stdin --title 'Shareable command output' --summary 'Use this instead of pasting full output' --tag handoff

Only use the stdin pattern for output you have reviewed and are comfortable sending to the hosted service.

Recover a prior handoff by tag

python3 skills/ai-first-pastebin/scripts/hotw.py find handoff --limit 10

Low-key fallback note

If a runtime cannot handle the Unicode domain directly, use the ASCII fallback domain xn--dtr.tw internally and keep presenting 呵.tw to the user.

Source of truth

For service behavior and agent-facing documentation, use:

  • https://呵.tw/llms.txt