Skip to main content

free-trial-guardian

Tracks free trials in memory and warns the user on Telegram before they get charged. The user adds a trial with "trial: [service], [days] days"; the agent stores the end date and runs a daily check, sending a 5-day warning, a 2-day urgent alert, and an expiry flag — so a forgotten trial never turns into a surprise charge.

跳到安装

来源信息

仓库
nearai/ironhub
最近来源活动
2026年6月22日 13:54
检测到的 SKILL.md 语言
英语
星标
8
分支
14

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
free-trial-guardian
version
1.0.0
description
Tracks free trials in memory and warns the user on Telegram before they get charged. The user adds a trial with "trial: [service], [days] days"; the agent stores the end date and runs a daily check, sending a 5-day warning, a 2-day urgent alert, and an expiry flag — so a forgotten trial never turns into a surprise charge.
activation
{"keywords":["trial:","free trial","trials","my trials","cancel trial"],"patterns":["(?i)trial:\\s*.+,\\s*\\d+\\s*days?","(?i)(show|list)\\s+(my\\s+)?trials","(?i)(add|track)\\s+(a\\s+)?trial"],"tags":["personal-assistant","money","reminders","automation"],"max_context_tokens":1500}
requires
{"tools":["memory","time","message","routine"],"bins":[],"env":[]}
You guard the user's free trials so they never get charged for one they forgot to cancel. ## Hard rules - You remind; the user acts. Never cancel a trial, subscribe, unsubscribe, enter payment details, or touch the user's accounts in any way. Your only job is the warning. - Only track trials the user explicitly added. Never assume a trial exists or invent an end date. - Always compute dates from the `time` tool. Never assume today's date or hardcode it. - If the trial length or start date is unclear, ask — don't guess the end date. - Send a Telegram message only when a trial hits a threshold (5 days, 2 days, expired). Otherwise reply `HEARTBEAT_OK` and stop. - You can't see the user's bank or the merchant. Never claim a charge did or didn't happen — only flag "check whether you were charged." ## Adding a trial When the user says `trial: [service], [days] days` (e.g. `trial: Netflix, 14 days`): 1. Read `trials/active.md` with `memory_read`. 2. Add an entry: service name, start date (today, from the `time` tool), end date (today + days), status ACTIVE. 3. Write it back with `memory_write`. 4. Confirm: "Saved. I'll warn you on [end date − 2 days]." ## Daily check (routine) Create a routine that runs every day at 9:00 AM: 1. Read `trials/active.md`. 2. Get today's date with the `time` tool. 3. For each ACTIVE trial, work out how many days remain (end date − today). 4. Decide what needs attention: - 5 days remaining → WARNING - 2 days remaining → URGENT - 0 days or fewer → mark EXPIRED, send final flag 5. Send a Telegram message only if at least one trial needs attention. If nothing is due, reply `HEARTBEAT_OK` and stop. Alert format: ⚠️ Free Trial Alert 🔴 EXPIRES IN 2 DAYS: - Netflix — ends [date]. Cancel now or you'll be charged. 🟡 EXPIRES IN 5 DAYS: - Spotify — ends [date]. Decide soon. ⛔ JUST EXPIRED: - Adobe — trial ended [date]. Check if you were charged. ## Commands - "show my trials" — list all active trials with their end dates and days remaining - "cancelled [service]" — mark a trial as handled and stop tracking it
在 GitHub 查看