# Discord Reminder

> 일회성·반복 리마인더를 상시 구동 머신의 launchd/cron에 걸고 디스코드 DM으로 받는다. 유료 자동화 슬롯을 쓰지 않는 방법.

- **Type:** Skill
- **Install:** `agentstack add skill-bam-bam-2-solo-skills-discord-reminder`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [bam-bam-2](https://agentstack.voostack.com/s/bam-bam-2)
- **Installs:** 0
- **Category:** [Communication](https://agentstack.voostack.com/c/communication)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [bam-bam-2](https://github.com/bam-bam-2)
- **Source:** https://github.com/bam-bam-2/solo-skills/tree/main/skills/discord-reminder

## Install

```sh
agentstack add skill-bam-bam-2-solo-skills-discord-reminder
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Mac-mini Discord reminder

Use the remote-host instead of Aside routine slots for scheduled reminders.

1. Resolve relative dates in Asia/Seoul and choose a concrete KST time. If the user gives no time, use 10:00 KST and state it.
2. Store the executable script at `~/Projects//.sh` on `remote-host` with mode `700`.
3. Load Discord credentials only at runtime from `~/Projects//discord_bot/.env`. Never print or copy token values.
4. Send the DM through Discord API v10 to `BAMBAM_USER_ID`. Include a non-empty `User-Agent` header to avoid Cloudflare blocking.
5. Store the LaunchAgent at `~/Library/LaunchAgents/com.bambam.reminder-.plist`.
   - One-time reminder: use `StartCalendarInterval` with `Year`, `Month`, `Day`, `Hour`, and `Minute`.
   - Recurring reminder: use only the requested recurring calendar fields.
   - **Never use `StartInterval` on this remote-host.** Verified 2026-08-16: every
     `StartInterval` LaunchAgent in the `gui/501` domain sits at
     `pended nondemand spawn = interval` and does not fire, including one that
     had previously run 2,429 times. `StartCalendarInterval` jobs fire normally.
     For an every-N-minutes job, list the minutes explicitly, e.g.
     `[{Minute: 0}, {Minute: 5}, ... {Minute: 55}]` for a 5-minute cadence.
6. Write stdout and stderr to `~/Projects//.log`.
7. Validate and load without firing the reminder immediately:
   - `plutil -lint `
   - `launchctl bootout gui/$(id -u)/` if an old copy exists
   - `launchctl bootstrap gui/$(id -u) `
   - `launchctl print gui/$(id -u)/`
   - `plutil -p ` to verify the exact schedule
8. Confirm it actually fires. `launchctl print` showing the job loaded is not
   proof — watch `runs` increment across two scheduled ticks, or check the job's
   own log for two consecutive scheduled entries. A job can load cleanly and
   never spawn.
9. Do not test-send a real DM unless the user asks. Report the resolved date, time, timezone, delivery channel, and loaded label.

Use concise reminder text that says what happened, what the user should do next, and any account or product distinction needed to avoid a wrong action.

## 바로 쓰는 스크립트

[`scripts/make-reminder.sh`](scripts/make-reminder.sh) — 일회성 리마인더를 launchd에 등록합니다.

```bash
export DISCORD_BOT_TOKEN=... DISCORD_USER_ID=...
./scripts/make-reminder.sh cancel-check "2026-09-02 10:00" "구독 해지 확인하기"
```

지정한 시각에 DM이 한 번 가고 **잡이 스스로 내려갑니다.**
`StartInterval`이 아니라 `StartCalendarInterval`을 쓰는 이유는 아래 함정 항목을 보세요.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [bam-bam-2](https://github.com/bam-bam-2)
- **Source:** [bam-bam-2/solo-skills](https://github.com/bam-bam-2/solo-skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** yes
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-bam-bam-2-solo-skills-discord-reminder
- Seller: https://agentstack.voostack.com/s/bam-bam-2
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
