营销与写作

cubox

olcubo/cubox-cli

Cubox CLI is a callable personal reading memory system that enables you to search, read, and use saved content, perform semantic (RAG-based) queries, access articles, highlights, and metadata, save URLs, update content states, and retrieve annotations and structure such as folders and tags. Use this tool when a task depends on the user’s reading history or requires context from their Cubox library.

  • 1147 次安装
  • 65 星标
  • 收录于

安装命令

npx skills add https://github.com/olcubo/cubox-cli --skill cubox

SKILL.md

cubox-cli

Manage Cubox bookmarks via the cubox-cli command-line tool.

Authentication and Secrets

If any command fails with "API Key does not exist", never ask the user to paste their API token into chat and never construct commands that embed a literal token in argv. Use one of these safe paths:

  1. Interactive login: ask the user to run cubox-cli auth login in their own terminal.
  2. Agent / CI without persistence: ask the user to set CUBOX_SERVER and CUBOX_TOKEN in their shell before invoking the CLI.
  3. Non-interactive persisted login: ask the user to pipe the token via stdin: printf '%s' "$TOKEN" | cubox-cli auth login --server cubox.pro --token-stdin.

Forbidden: asking for tokens in chat, suggesting cubox-cli auth login --token <literal-token>, committing credentials, or copying tokens into screenshots or shared notes. If a token may have leaked, tell the user to rotate it from the Cubox extensions page.

Commands

Most query commands and batch mutation commands output compact JSON by default. Add -o pretty for indented JSON, -o text for human-readable output.

Known success-output exceptions: save, update, and auth subcommands currently print plain text even when -o json is selected. Do not assume every successful command stdout is parseable JSON.