agentleFS
bam-bam-2bam-bam-2/solo-skills/skills/discord-reminder/SKILL.md

macmini-discord-reminder

Skill366 starsChanged 3 months agoMITView on GitHub

Use when the user asks for a one-time or recurring reminder that should run on the mac-mini and arrive by Discord DM.

  • Reads credentials

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use the mac-mini instead of Aside routine slots for scheduled reminders.

    line 18
  2. Very specific:

    Write stdout and stderr to ~/Projects/reminders/<slug>.log.

    line 33
  3. Distinctive:

    Do not test-send a real DM unless the user asks.

    line 44
  4. Distinctive:

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

    line 46

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

이 스킬이 시스템에 하는 일 (설치 전 확인)

  • 사용자 홈에 실행 스크립트 하나(~/Projects/<프로젝트>/<slug>.sh, mode 700)를 만듭니다.
  • macOS launchd 항목 하나(~/Library/LaunchAgents/com.bambam.reminder-<slug>.plist)를 등록합니다.
  • 일회성 리마인더는 발송 직후 스스로 launchd에서 내려가고 plist를 지웁니다. 상주하지 않습니다.
  • 반복 리마인더는 사용자가 지운 시점까지 유지됩니다. 목록은 launchctl list | grep reminder로 확인합니다.
  • 디스코드 토큰은 실행 시점에 .env에서만 읽고 출력하지 않습니다.

보안 스캐너는 이 동작을 service_persistence(영구 서비스 설치)로 분류합니다. 맞습니다. 다만 일회성 항목은 스스로 제거되고, 만드는 파일은 위 두 개뿐입니다.

Mac-mini Discord reminder

Use the mac-mini 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/reminders/<slug>.sh on mac-mini with mode 700.
  3. Load Discord credentials only at runtime from ~/Projects/getback/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-<slug>.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 mac-mini. 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/reminders/<slug>.log.
  7. Validate and load without firing the reminder immediately:
    • plutil -lint <plist>
    • launchctl bootout gui/$(id -u)/<label> if an old copy exists
    • launchctl bootstrap gui/$(id -u) <plist>
    • launchctl print gui/$(id -u)/<label>
    • plutil -p <plist> 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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.