360 Secure SkillHub
360 安全技能中心

Blinko Api

该 Skill 使用 Python 脚本调用 Blinko API,管理笔记与 blinkos:列出、获取、创建/更新、删除,以及把 blinko 提升为笔记。主机与令牌来自环境变量,响应打印到标准输出,错误写入标准错误并返回非零退出码。

分类:知识
pigd0g
pigd0g
热度 42.24
最近更新 2026-05-11 17:28:50

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add pigd0g/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.