360 Secure SkillHub
360 安全技能中心

Blinko Api

这是一款通过命令行操作Blinko的工具,需先配置BLINKO_HOST和TOKEN环境变量。核心功能包括对笔记、blinko的增删改查,以及将blinko升级为笔记。典型场景:快速记录临时想法为blinko、整理升级为正式笔记、批量管理内容。通过Python脚本执行命令,输入参数完成操作,响应输出到stdout,错误信息到stderr。

pigd0g
pigd0g
热度 55.99
最近更新 2026-05-11 17:28:50
分类:自动化依赖:代码执行 / 第三方 API应用场景:笔记整理 / 任务管理 / 自动化脚本

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add blinko-api
Metadata
name
blinko
description
Manage Blinko notes and blinkos from the command line. Use when you need to list, create, update, delete, or promote blinkos.
triggers
["save to blinko","blinko markdown","save blinko","get blinko","list blinkos","create blinko","update blinko","delete blinko"]
user-invokable
true
metadata
{"clawdbot":{"emoji":"📝"}}

Blinko

Use the Blinko API from Python with host and token loaded from OS environment variables.

Usage

Set environment variables in your OS/session:

BLINKO_HOST=http://127.0.0.1:1111/api
BLINKO_TOKEN=your_token_here

List notes

python3 {baseDir}/scripts/blinko_client.py list-notes

Get a note

python3 {baseDir}/scripts/blinko_client.py get-note NOTE_ID

Upsert a note

python3 {baseDir}/scripts/blinko_client.py upsert-note --content "My note content"

Delete a note

python3 {baseDir}/scripts/blinko_client.py delete-note NOTE_ID

List blinkos

python3 {baseDir}/scripts/blinko_client.py list-blinkos

Upsert a blinko

python3 {baseDir}/scripts/blinko_client.py upsert-blinko --content "Quick thought"

Promote blinko to note

python3 {baseDir}/scripts/blinko_client.py promote-blinko BLINKO_ID

Notes

  • Reads BLINKO_HOST and BLINKO_TOKEN from the OS environment.
  • If BLINKO_HOST is missing, defaults to http://127.0.0.1:1111.
  • Uses Blinko API note endpoints (/v1/note/...) for both notes and blinkos.
  • Prints API responses to stdout; errors go to stderr with non-zero exit.