360 Secure SkillHub
360 安全技能中心

passnote-skill

该 Skill 通过 skill 目录内的 Python 脚本调用 PassNote 服务创建临时备忘录:备忘录默认 24 小时后自动销毁,查看需要 4 位 pass_key;执行脚本后解析其标准输出,把查看链接和口令返回给用户。使用前需配置服务地址与 API 令牌。材料未提供查看或管理已有备忘录的能力。

shiweifu
shiweifu
热度 40.54
最近更新 2026-05-11 17:37:51
分类:自动化依赖:代码执行 / 第三方 API应用场景:自动化脚本 / 笔记整理

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add passnote
Metadata
name
passnote
description
Create and manage disposable memos using PassNote. Share secure, auto-destructing notes with others.
env
["PASSNOTE_API_URL","PASSNOTE_API_TOKEN"]
binaries
["python3"]

When the user wants to create a memo, note, or secure message to share, you can use the PassNote service to generate a secure, temporary link.

Features of PassNote:

  • Memos are securely stored and by default auto-destruct after 24 hours.
  • A passcode (pass_key) is required to view the memo.
  • You will receive a unique link and passcode after successful creation.

Setup Instructions for User

To use this skill, you must configure your PassNote API Token.

  1. Log in to your PassNote web portal.
  2. Navigate to the API Tokens page and create a new token.
  3. Edit your ~/.openclaw/openclaw.json to include the credentials:
{
  "skills": {
    "entries": {
      "passnote": {
        "env": {
          "PASSNOTE_API_URL": "https://passnote.yourdomain.com",
          "PASSNOTE_API_TOKEN": "your-api-token-here"
        }
      }
    }
  }
}

How to use the tools

To create a memo, execute the provided Python script located in this skill's directory. Always use absolute paths when running the script. The script path is {baseDir}/scripts/create_memo.py.

Example invocation:

# Basic usage
python3 {baseDir}/scripts/create_memo.py "This is a secret message"

# Set custom expiration (in hours, max 48)
python3 {baseDir}/scripts/create_memo.py "This is a secret message" --expire-hours 12

After running the command, parse the standard output to provide the user with the generated viewing URL and the 4-digit passcode (pass_key). The script will output these details in a clear format. If the script fails, relay the error message to the user.