Token导航 LogoToken导航TokenDH.com
效率敏感数据clawhub未标认证来源可访问clear审计提醒

substrackersubstracker 命令行

Agent Skill

substracker 用于补充效率相关能力,适合在 OpenClaw 中需要让 Agent 承接效率相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

8,279

周安装

352

GitHub Stars

公开资料未说明

下载量

2,920
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:substracker(substracker 命令行)
来源仓库:https://github.com/ianchenx/substracker
安装命令:
openclaw skills install substracker
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install substracker

简介

用于补充效率相关能力,适合让 Agent 承接订阅管理类任务时使用。

  • 适用于 OpenClaw 中需要通过 CLI 脚本处理登录、CRUD 操作的场景。
  • 安装命令为 openclaw skills install substracker,建议确认权限范围。
  • 涉及账户操作时,应先验证身份,防止未授权访问。
  • 使用前需确认是否会触发外部服务调用,避免因权限不足导致功能异常。

SKILL.md

name
substracker
description
Manage SubsTracker subscriptions and configuration via CLI scripts. Handles login, subscription CRUD, config updates, notifications, and dashboard queries. Use this skill whenever the user mentions subscriptions, recurring payments, subscription tracking, renewal reminders, payment history, notification configuration (Telegram, Bark, email, webhook, Gotify), or anything related to their SubsTracker instance — even if they just say "add a subscription", "what am I paying for", "check my renewals", "how much do I spend monthly", "update my Telegram config", "加个订阅", "我订阅了什么", "有哪些快到期了", "每月花多少钱", "续费", "订阅提醒", "通知设置", "看下订阅", "账单" without explicitly mentioning SubsTracker.

SubsTracker API Skill

Manage subscriptions via CLI scripts that wrap the SubsTracker REST API. The scripts handle authentication, cookie management, and retries — you just call a command and get JSON back.

Skill Structure

substracker-skills/
├── SKILL.md              ← You are here
└── scripts/
    ├── main.ts           ← CLI entry point (routing only)
    ├── client.ts         ← HTTP client, env loading, auth
    ├── types.ts          ← TypeScript interfaces (canonical schema + docs)
    ├── subscriptions.ts  ← Subscription commands
    ├── payments.ts       ← Payment commands
    ├── config.ts         ← Config commands
    ├── dashboard.ts      ← Dashboard command
    └── notifications.ts  ← Notification test command

Read scripts/types.ts for all field names, types, defaults, and descriptions (TSDoc comments).

Configuration

Scripts auto-load credentials from .env files. No manual setup in the session.

Load priority (first found wins):

  1. System environment variables
  2. <cwd>/.substracker-skills/.env
  3. ~/.substracker-skills/.env

Required variables in .env:

SUBSTRACKER_URL=https://sub.example.com
SUBSTRACKER_USER=admin
SUBSTRACKER_PASS=your_password

If variables are missing, the script exits with a clear error. Ask the user to create their .env file.

Running Commands

Resolve the runtime: use bun if installed, otherwise npx -y bun.

All commands follow the same pattern:

bun <SKILL_DIR>/scripts/main.ts <command> [subcommand] [--flags]

Scripts output JSON to stdout (for you to parse) and log to stderr (for debugging). Authentication and session cookies are handled automatically — if a session expires, the script re-logs in and retries.

Command Reference

Login

bun scripts/main.ts login

Usually not needed — all commands auto-login when no session exists. Use this to verify credentials.

Subscriptions

bun scripts/main.ts s list
bun scripts/main.ts s create --name "Netflix" --expiry-date 2026-04-07 --amount 15.99
bun scripts/main.ts s get <id>
bun scripts/main.ts s update <id> --amount 19.99
bun scripts/main.ts s delete <id>
bun scripts/main.ts s toggle <id> --active false
bun scripts/main.ts s renew <id> --amount 15.99 --note "March renewal"
bun scripts/main.ts s test-notify <id>

Subscription Flags (create / update)

FlagTypeRequiredDescription
--namestringcreate onlySubscription name
--expiry-datestringcreate onlyExpiration date (ISO format)
--amountnumber-Cost per billing cycle
--currencystring-Currency code, default CNY
--period-unit`day\month\year`-Billing cycle unit, default month
--period-valuenumber-Billing cycle length, default 1
--categorystring-Category label (e.g. 娱乐)
--custom-typestring-Custom type (e.g. 视频流媒体)
--mode`cycle\reset`-Subscription mode
--start-datestring-Start date (ISO format)
--auto-renew`true\false`-Auto-renew flag, default true
--active`true\false`-Active status
--reminder-unit`day\hour`-Reminder unit
--reminder-valuenumber-Reminder value
--reminder-daysnumber-Reminder days before expiry
--lunar`true\false`-Use lunar calendar
--notesstring-Notes / memo

Toggle Flags

FlagTypeDescription
--active`true\false`Set active or inactive

Renew Flags

FlagTypeDescription
--amountnumberPayment amount
--period-multipliernumberMultiply billing cycle
--payment-datestringPayment date
--notestringPayment note

Payments

bun scripts/main.ts p list <sub-id>
bun scripts/main.ts p edit <sub-id> <payment-id> --amount 19.99 --note "adjusted"
bun scripts/main.ts p delete <sub-id> <payment-id>

Payment Edit Flags

FlagTypeDescription
--datestringPayment date
--amountnumberPayment amount
--notestringPayment note

Dashboard

bun scripts/main.ts d

Returns monthly/yearly spend, active count, upcoming renewals, expense breakdown.

Config

bun scripts/main.ts c get
bun scripts/main.ts c update --timezone Asia/Shanghai --notifiers telegram,bark

Config Flags

FlagTypeDescription
--usernamestringAdmin username
--passwordstringAdmin password
--timezonestringTimezone (e.g. Asia/Shanghai)
--show-lunar`true\false`Show lunar calendar dates
--themestringTheme mode
--notifiersstringComma-separated: telegram,bark,email,webhook,wechatbot,gotify
--tg-bot-tokenstringTelegram bot token
--tg-chat-idstringTelegram chat ID
--bark-keystringBark device key
--bark-serverstringBark server URL
--webhook-urlstringWebhook URL
--webhook-methodstringWebhook HTTP method
--webhook-templatestringWebhook body template
--wechat-webhookstringWeChat bot webhook URL
--gotify-urlstringGotify server URL
--gotify-tokenstringGotify app token
--email-fromstringSender email
--email-tostringRecipient email
--resend-keystringResend API key
--clear-secretsstringComma-separated fields to clear
--debug`true\false`Enable debug logs
--payment-history-limitnumberMax payment history entries

Test Notification

bun scripts/main.ts t --type telegram
FlagTypeRequiredDescription
--typestring`telegram\notifyx\webhook\wechatbot\email\bark\gotify`
Other flags--Passed as config overrides (e.g. --tg-bot-tokenTG_BOT_TOKEN)

Presenting Results

When showing subscription data to the user, format JSON responses as readable tables or summaries — don't dump raw JSON. For example, a subscription list should look like a table with name, amount, cycle, next renewal date, and status.

Error Handling

  • Missing env vars: script exits with instructions to create .env
  • 401 Unauthorized: auto re-login and retry (once)
  • API errors: response includes success: false and message explaining what went wrong

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

95.38%
按下载量换算2,785

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills