track17
Track parcels via the 17TRACK API (local SQLite DB, polling + optional webhook ingestion)
- License 许可
- MIT
- 最近更新
- 2026-04-05
- Stars
- ★ 7
- Forks
- 1
01 前言 Front Matter
- name
- track17
- metadata
- { "clawdbot": { "emoji": "?", "requires": { "env": [ "TRACK17_TOKEN" ], "anyBins": [ "python3", "python" ] }, "primaryEnv": "TRACK17_TOKEN" } }
- description
- Track parcels via the 17TRACK API (local SQLite DB, polling + optional webhook ingestion)
- user-invocable
- true
02 资源文件 3
- 参考文档_meta.json294 B
- 参考文档README.md2.5 KB
- 脚本scripts/track17.py50.4 KB
03 SKILL.md 正文
track17 (17TRACK parcel tracking)
This skill lets Clawdbot keep a local list of your parcels, track their state via the 17TRACK Tracking API v2.2, and summarise changes.
It stores everything in a small SQLite DB under your workspace (by default: <workspace>/packages/track17/track17.sqlite3).
<workspace> is auto-detected as the parent directory of the nearest skills/ directory that contains this skill.
For example, if you install it at /clawd/skills/track17/, data will be stored at /clawd/packages/track17/.
Requirements
TRACK17_TOKENmust be set (17TRACK API token; used as the17tokenheader).- Python (
python3preferred).
Optional:
TRACK17_WEBHOOK_SECRETif you want to verify webhook signatures.TRACK17_DATA_DIRto override where the DB/inbox live.TRACK17_WORKSPACE_DIRto override what this tool considers the workspace directory.
Quick start
- Initialise storage (safe to run multiple times):
python3 {baseDir}/scripts/track17.py init
- Add a package (registers it with 17TRACK and stores it locally):
python3 {baseDir}/scripts/track17.py add "RR123456789CN" --label "AliExpress headphones"
If carrier auto-detection fails, specify a carrier code:
python3 {baseDir}/scripts/track17.py add "RR123456789CN" --carrier 3011 --label "..."
- List tracked packages:
python3 {baseDir}/scripts/track17.py list
- Poll for updates (recommended if you don't want webhooks):
python3 {baseDir}/scripts/track17.py sync
- Show details for one package:
python3 {baseDir}/scripts/track17.py status 1
# or
python3 {baseDir}/scripts/track17.py status "RR123456789CN"
Webhooks (optional)
17TRACK can push updates to a webhook URL. This skill supports webhook ingestion in two ways:
A) Run the included webhook server
python3 {baseDir}/scripts/track17.py webhook-server --bind 127.0.0.1 --port 8789
Then point 17TRACK's webhook URL at that server (ideally via a reverse proxy or Tailscale Funnel).
B) Ingest webhook payloads from stdin/file
cat payload.json | python3 {baseDir}/scripts/track17.py ingest-webhook
# or
python3 {baseDir}/scripts/track17.py ingest-webhook --file payload.json
If you saved webhook deliveries to the inbox directory, process them:
python3 {baseDir}/scripts/track17.py process-inbox
Common actions
- Stop tracking:
python3 {baseDir}/scripts/track17.py stop 1
- Retrack a stopped parcel:
python3 {baseDir}/scripts/track17.py retrack 1
- Delete a parcel from local DB (does not delete at 17TRACK unless you also call
delete-remote):
python3 {baseDir}/scripts/track17.py remove 1
- Show API quota:
python3 {baseDir}/scripts/track17.py quota
Operating guidance for the agent
- Prefer sync (polling) for simplicity unless the user explicitly wants webhooks.
- After adding a package, run
statusonce to confirm a valid carrier/status was returned. - When summarising, prioritise:
- delivered/out for delivery
- exception/failed delivery
- customs holds
- carrier handoffs
- Never echo
TRACK17_TOKENorTRACK17_WEBHOOK_SECRET.
04 同仓库更多 Skills
zyfai
Earn yield on any Ethereum wallet on Base, Arbitrum, and Plasma. Use when a user wants passive DeFi yield on their funds. Deploys a non-custodial subaccount (Safe) linked to their EOA, enables automated yield optimization, and lets them deposit/withdraw anytime.
zerion-api
暂无简介
zerion-api-skill
暂无简介
zerion-api-mcp
暂无简介
yahoo-finance-forex
Fetches real-time FOREX news and market data from Yahoo Finance for major currency pairs (EUR/USD, GBP/USD, USD/JPY, etc.). Analyzes sentiment and provides trading context.
yahoo-finance
This skill should be used when the user asks to "get stock prices", "check stock quotes", "look up earnings", "get financial data", "find trending stocks", or needs stock market data from Yahoo Finance.