一键导入
clipshelf-cli
Read from and write to ClipShelf via the clipshelf CLI — query clipboard history, add items, manage tags, and delete entries from the terminal.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Read from and write to ClipShelf via the clipshelf CLI — query clipboard history, add items, manage tags, and delete entries from the terminal.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Agent-driven wiki generation workflow for gRPC + Java projects with consistent styling. ⚠️ This skill is optimized for gRPC + Java architecture. It delivers the best results when the project uses gRPC for service communication and Java as the implementation language. For other architectures (REST, GraphQL, non-Java languages), the output quality may vary. Use this skill whenever the user wants to: - Create a documentation wiki for a Java project - Generate API documentation from gRPC proto files - Set up a project wiki with consistent styling - Create interface documentation for microservices This skill is specifically designed for projects using: - gRPC for service communication - Java as the implementation language - Proto files for API definitions Do not use for: - Non-gRPC projects (REST/GraphQL) - Non-Java projects (Node.js, Python, Go) - Documentation without code generation needs
StarRocks upgrade comparison tool. Compares two local branches of a StarRocks repository via commit log diff. Per-commit diff analysis with risk tier classification (HIGH/MEDIUM/LOW/SKIP) for comprehensive impact assessment beyond scanner coverage. 11 compatibility scanners cover config changes, session/system variables, BE config, protocol changes, parser changes, auth changes, storage format changes, charset/collation, type system changes, and materialized view compatibility. Unified impact model assesses data, behavior, operational, and rolling-upgrade impacts. Four-phase parallel analysis with subagent-driven deep investigation for all HIGH/CRITICAL findings. Requires local StarRocks source code.
Multi-platform, multi-channel notification skill for AI code agents. Sends notifications (sound, macOS alert, Telegram, Email, Slack, Discord, DingTalk) when the agent needs user interaction or completes a task. Supports Claude Code, GitHub Copilot CLI, Cursor, Codex, Aider, and OpenCode.
Uploads images to image hosting services (supports sm.ms, Imgur, and GitHub + jsDelivr CDN). Use this skill when the user wants to upload a local image file to the web and get a public URL.
Automates the process of creating and setting blog post covers. Reads a markdown file, generates a cover image based on title/subtitle, uploads it, and updates the file's frontmatter (e.g., banner_img).
Generates simple gradient-based cover images for blogs or articles with a title and subtitle. Can optionally upload the generated image immediately.
| name | clipshelf-cli |
| description | Read from and write to ClipShelf via the clipshelf CLI — query clipboard history, add items, manage tags, and delete entries from the terminal. |
| triggers | ["clipshelf","shelf","clipboard history","clipboard query","clipboard add"] |
Use the clipshelf CLI to interact with the ClipShelf clipboard manager from the terminal. The CLI shares the same SQLite database as the macOS GUI app, so changes are reflected in both.
The clipshelf binary must be available on $PATH. Install via Homebrew:
brew tap crossoverJie/homebrew-tap
brew install crossoverjie/tap/clipshelf
Verify:
clipshelf --help
If the binary is not found, inform the user and stop — do not attempt alternative access methods.
clipshelf recent [--limit N] [--output json|ndjson|text]
json--output text when you only need plain text content--output ndjson for streaming / large result setsclipshelf query [--tag TAG ...] [--match-any-tag] [--text "substring"] [--limit N] [--output json|ndjson|text]
--tag values use AND semantics by default--match-any-tag to switch to OR semantics--text performs case-insensitive substring matchingclipshelf get <uuid> [--output json|ndjson|text]
# From argument
clipshelf add --text "content" [--tags TAG ...] [--print-id]
# From stdin (pipe-friendly)
echo "content" | clipshelf add --stdin [--tags TAG ...] [--print-id]
--text or --stdin is required (mutually exclusive)--tags accepts multiple values: --tags work --tags important--print-id outputs only the UUID of the created item (useful for scripting)clipshelf delete <uuid>
# List all tags
clipshelf tags list [--output json|ndjson|text]
# Create a tag
clipshelf tags create <name> [--color #808080]
| Format | Flag | Use case |
|---|---|---|
| JSON | --output json (default) | Structured data, jq processing. Wrapped in {"schemaVersion":"1","data":[...]} |
| NDJSON | --output ndjson | Streaming, large datasets. One JSON object per line (no envelope) |
| Text | --output text | Plain content only, one item per line. No metadata |
{
"schemaVersion": "1",
"data": [
{
"id": "uuid-string",
"contentType": "text",
"textContent": "...",
"createdAt": "ISO-8601",
"tags": ["tag1"],
"isPinned": false
}
]
}
Errors are written to stderr as structured JSON. Check exit codes:
| Exit code | Meaning |
|---|---|
| 0 | Success |
| 2 | Invalid argument or empty stdin |
| 3 | Resource not found |
| 4 | Access denied |
| 5 | Store/database error |
| 6 | Conflict (e.g. duplicate tag) |
| 10 | Unknown error |
Always check the exit code when running CLI commands. On non-zero exit, read stderr for the error message and report it to the user.
clipshelf query --text "keyword" --limit 20
clipshelf query --tag work --limit 100
clipshelf recent --limit 50 --output ndjson > /tmp/shelf_export.ndjson
cat notes.txt | clipshelf add --stdin --tags notes
ITEM_ID=$(clipshelf add --text "hello" --print-id)
echo "Created: $ITEM_ID"
clipshelf recent --limit 100 | jq '.data[] | select(.isPinned == true) | .textContent'
--output text only when the user explicitly wants plain content.--limit to a reasonable value. Don't fetch thousands of items unless the user asks.--print-id instead of parsing full JSON output.--text with embedded newlines.