picsee-short-link
PicSee URL shortener with QR code generation, analytics charts, and link management via CLI. Use when the user asks to shorten a URL, generate QR codes, visualize analytics, list/search links, or mentions PicSee. Supports unauthenticated mode (basic shortening + QR codes + charts) and authenticated mode (full analytics, editing, search). Token stored with AES-256-CBC encryption.
- License 许可
- MIT
- 最近更新
- 2026-09-30
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- picsee-short-link
- license
- MIT
- metadata
- { "emoji": "🔗", "author": "picsee", "version": "2.0.1", "openclaw-requires": "node", "openclaw-configPaths": "skills/picsee-short-link/config.json", "openclaw-writesPaths": "skills/picsee-short-link/config.json, ~/.openclaw/.picsee_token, ~/.openclaw/.picsee_salt, skills/picsee-short-link/tmp/*.png" }
- description
- PicSee URL shortener with QR code generation, analytics charts, and link management via CLI. Use when the user asks to shorten a URL, generate QR codes, visualize analytics, list/search links, or mentions PicSee. Supports unauthenticated mode (basic shortening + QR codes + charts) and authenticated mode (full analytics, editing, search). Token stored with AES-256-CBC encryption.
- compatibility
- Requires Node.js >= 18. Network access to api.pics.ee, chrome-ext.picsee.tw, api.qrserver.com, quickchart.io.
02 资源文件 10
- 参考文档_meta.json136 B
- 参考文档cli/package-lock.json17.3 KB
- 参考文档cli/package.json471 B
- 脚本cli/src/api.ts6.7 KB
- 脚本cli/src/cli.ts11.2 KB
- 脚本cli/src/keychain.ts2.8 KB
- 参考文档cli/tsconfig.json287 B
- 参考文档README.md6.0 KB
- 参考文档references/api-authenticated.md8.6 KB
- 参考文档references/api-unauthenticated.md1.7 KB
03 SKILL.md 正文
PicSee Short Link
URL shortener with QR code generation, analytics charts, and link management via CLI.
Works with any agent that can run shell commands (OpenClaw, Claude Code, Codex, etc.).
CLI Path
node ~/.openclaw/workspace/skills/picsee-short-link/cli/dist/cli.js
For brevity, examples below use picsee as alias.
Quick Reference
Shorten a URL
picsee shorten "https://example.com/long-url"
picsee shorten "https://example.com" --slug mylink
picsee shorten "https://example.com" --slug mylink --domain pse.is --title "My Title" --tags seo,marketing
Analytics
picsee analytics mylink
Generate Analytics Chart
picsee chart mylink
Fetches analytics and returns a QuickChart URL visualizing daily clicks.
Generate QR Code
picsee qr "https://pse.is/mylink"
picsee qr "https://pse.is/mylink" --size 500
List Links
picsee list
picsee list --limit 10
picsee list --start "2026-03-31T23:59:59" --keyword "campaign"
picsee list --tag seo --starred
--start queries backward from that time (default: now). Use the END of the period, e.g. 2026-03-31T23:59:59 for March 2026.
Edit a Link
picsee edit mylink --url "https://new-destination.com"
picsee edit mylink --slug newslug --title "New Title" --tags a,b,c
Requires Advanced plan.
Delete / Recover
picsee delete mylink
picsee recover mylink
Authentication
picsee auth <token>
picsee auth-status
Token source: https://picsee.io → avatar → Settings → API → Copy token.
Help
picsee help
Full Options
shorten
| Flag | Description |
|---|---|
--slug <slug> |
Custom slug (3-90 chars) |
--domain <domain> |
Short link domain (default: pse.is) |
--title <title> |
Preview title (Advanced plan) |
--desc <desc> |
Preview description (Advanced plan) |
--image <url> |
Preview thumbnail (Advanced plan) |
--tags t1,t2 |
Comma-separated tags (Advanced plan) |
--utm s:m:c:t:n |
UTM params — source:medium:campaign:term:content |
list
| Flag | Description |
|---|---|
--start <time> |
Query backward from this time (default: now) |
--limit <n> |
Results per page (1-50, default 50) |
--keyword <kw> |
Search title/description (Advanced, 3-30 chars) |
--tag <tag> |
Filter by tag (Advanced) |
--url <url> |
Filter by exact destination URL |
--slug <slug> |
Filter by exact slug |
--starred |
Starred links only |
--api-only |
API-generated links only |
--cursor <mapId> |
Pagination cursor |
edit
| Flag | Description |
|---|---|
--url <url> |
New destination URL |
--slug <slug> |
New slug |
--domain <domain> |
New domain |
--title <title> |
New preview title |
--desc <desc> |
New preview description |
--image <url> |
New preview thumbnail |
--tags t1,t2 |
New tags |
--expire <iso> |
Expiration time (ISO 8601) |
Auth Modes
| Mode | API Host | Features |
|---|---|---|
| Unauthenticated | chrome-ext.picsee.tw |
Create short links only |
| Authenticated | api.pics.ee |
Create + analytics + list + search + edit + delete |
Auto-detected: if encrypted token exists at ~/.openclaw/.picsee_token, authenticated mode is used.
Security
- Token encryption: AES-256-CBC, IV stored alongside ciphertext
- Key derivation:
SHA-256(random-salt + hostname + "-" + username)— the 32-byte random salt is generated once and stored at~/.openclaw/.picsee_salt(mode0600), making the key unpredictable even if hostname/username are known - File permissions:
0600on both token and salt files
Agent Recipes (Post-Processing)
Download QR Code as Image
After picsee qr, download and send the image:
mkdir -p ~/.openclaw/workspace/skills/picsee-short-link/tmp
curl -s -o ~/.openclaw/workspace/skills/picsee-short-link/tmp/<ENCODE_ID>_qr.png "<originalQrUrl>"
Send via message tool with filePath: "~/.openclaw/workspace/skills/picsee-short-link/tmp/<ENCODE_ID>_qr.png".
Download Chart as Image
After picsee chart, download and send the image:
mkdir -p ~/.openclaw/workspace/skills/picsee-short-link/tmp
curl -s -o ~/.openclaw/workspace/skills/picsee-short-link/tmp/<ENCODE_ID>_chart.png "<originalChartUrl>"
Send via message tool with filePath: "~/.openclaw/workspace/skills/picsee-short-link/tmp/<ENCODE_ID>_chart.png".
04 同仓库更多 Skills
xlsx
Open, create, read, analyze, edit, repair, or validate spreadsheet files (.xlsx, .xlsm, .xltx, .csv, .tsv) with zero format loss, with first-class support for Chinese / CJK content. Use whenever the user asks to create, build, modify, fill, analyze, read, repair, validate, or format any spreadsheet, workbook, report, dashboard, budget, financial model, pivot table, or tabular data file. Handles Chinese text, encodings (UTF-8 / GB18030 / GBK), full-width characters, CJK fonts in rendering, and Chinese number/date conventions (¥, 万/亿, 年/月/日). Covers: creating new workbooks from scratch, reading and analyzing existing files, editing existing workbooks while preserving pivot tables / VBA macros / charts / sparklines / conditional formatting / named ranges, formula recalculation and validation, visual review of results, and applying professional formatting. Triggers on 'spreadsheet', 'Excel', 'workbook', '表格', '工作簿', '.xlsx', '.xlsm', '.csv', 'pivot table', '透视表', 'macro', '宏', 'chart', '图表', 'financial model', '财务模型', 'formula', '公式', or any request to produce tabular data.
xlsx-formula-master
你描述需求(人话),它给你 Excel / WPS 公式 + 解释 + 不踩坑的边界条件。 专攻 VLOOKUP / XLOOKUP / INDEX-MATCH / SUMIFS / 数组公式 / 动态数组 / Power Query 等高频但易错场景。 自动适配你的 Excel 版本(2019 / 365 / WPS)——版本不同公式可能不能用。 触发:用户说 "Excel 公式"、"VLOOKUP"、"怎么算"、"WPS 公式"、"求和怎么写"、"匹配数据"、"数据透视"。
self-improving-agent
Self-improving agent system that analyzes conversation quality, identifies improvement opportunities, and continuously optimizes response strategies.
xiaohongshu-content-tools
小红书运营数据工具|当提到小红书关键词搜索,小红书笔记详情及评论,小红书博主作品时使用,可实现爆款挖掘/竞品分析/KOL筛选/趋势洞察,用数据驱动小红书流量增长,告别盲目创作
xfg-ddd-skills
DDD 六边形架构设计与部署技能包。提供 Domain/Case/Infrastructure 层设计模式与代码模板,以及 Docker 环境部署脚本。当用户询问 DDD 架构、设计模式或需要部署项目时调用。
wordpress
WordPress.com API integration with managed OAuth. Manage posts, pages, sites, and content. Use this skill when users want to create, read, update, or delete WordPress.com posts, pages, or manage site content. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Requires network access and valid Maton API key.