mcp-apple-reminders: Command for Claude Code

.claude/commands/scaffold.md

scaffold is a command for Claude Code from rex/mcp-apple-reminders. It costs 15 tokens per session (2,289 once invoked), scanned C, a copy of scaffold, MIT.

A command that creates a new software repository from scratch with the files and setup an coding agent needs. It first checks the repository's Git state and adapts to branches, worktrees, and remotes.

In plain words
What is it for?
Use it when beginning a new project, setting up Git workflow rules, and preparing the repository for agent-assisted development.
Why use it?
Starting a project often involves repeating setup and checking whether Git is configured correctly. This command handles the initial bootstrap and accounts for cases such as no remote or a detached branch.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions AGENTS.md.

This is rex/mcp-apple-reminders's own configuration. It tells Claude Code how to work on mcp-apple-reminders itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything mcp-apple-reminders configures →

Reuse

Borrowing it

Nothing to install: this file belongs to rex/mcp-apple-reminders. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/rex/mcp-apple-reminders/main/.claude/commands/scaffold.md
Clone the repo
git clone --depth 1 https://github.com/rex/mcp-apple-reminders

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for scaffold

README.md
[![agentmods](https://agentmods.dev/badge/commands/rex/mcp-apple-reminders/scaffold.svg)](https://agentmods.dev/commands/rex/mcp-apple-reminders/scaffold)
Your own site
<a href="https://agentmods.dev/commands/rex/mcp-apple-reminders/scaffold"><img src="https://agentmods.dev/badge/commands/rex/mcp-apple-reminders/scaffold.svg" alt="Measured on agentmods" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,289 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00015 $0.02289
Opus 5 $0.00008 $0.01144
Sonnet 5 $0.00003 $0.00458
Haiku 4.5 $0.00002 $0.00229

Measured 3d ago against content hash 39aab97dba06, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade C, and why

scaffold scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

contains a blocked pattern (e.g. mentioning `rm -rf /` in a PR
Origin

This is a copy

100% identical to scaffold — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/commands/scaffold.md · 229 lines

How it starts

The opening of the file, as written. The whole thing — 229 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/scaffold — fresh agent-ready repo bootstrap

This command runs the full greenfield bootstrap top-to-bottom in this session. The user invoking it IS the consent — proceed without any "are we doing this?" check.

Step 0 — Detect git environment

Slash commands assume nothing about the working tree. Detect first:

git rev-parse --is-inside-work-tree 2>/dev/null   # is this even a git repo?
git symbolic-ref --short HEAD 2>/dev/null         # current branch (empty = detached)
git worktree list 2>/dev/null                     # main checkout vs worktree?
git config --get remote.origin.url 2>/dev/null    # remote URL (empty = no remote)

What matters:

  • Detached HEAD or git worktree: every PR's git checkout -b chore/... step will fail with "already used by worktree" or create an orphan branch. Adapt: skip the branch-creation step in each CHECKLIST and push with git push origin HEAD:<trunk> (where <trunk> is main, master, or whatever VIBE.yaml says).
  • No remote: push steps no-op silently. Surface that and ask the user to add a remote, or proceed without push.
  • Trunk-based development: if VIBE.yaml.workflow.branch_strategy: trunk exists, skip ALL git checkout -b steps and commit directly on the current branch.

Scaffolding a fresh dir? You'll git init later in Step 2 — none of the above applies yet.

Step 1 — Discovery (inline)

Ask only what you can't answer from context (fresh dir = ask all of Q1–Q5). Persist answers to .claude/session-context.md at the end.

Q1 — required: what's the goal of this session?

  • a) Quick task / single edit — exit /scaffold, do the small thing.
  • b) Just a question / chat — exit /scaffold, answer.
  • c) Iterate on existing agent-collab project — read existing VIBE.yaml, skip to Step 3.
  • d) Retrofit existing repo — exit /scaffold; tell user to run /retrofit.
  • e) New greenfield project — continue with Q2–Q5.
  • f) Other / write-in — parse free-text, propose a mode, confirm.

Read the full file on GitHub · 229 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago Changed · -36 lines 39aab97dba06
  2. 7d ago First seen · 265 lines · 15 tokens per session scan C 89eff80e3170

Subscribe to this mod's changes

scaffold is a command published in the GitHub repository rex/mcp-apple-reminders (0 stars, last pushed yesterday), licensed MIT. It adds 15 tokens to every session and 2,289 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). It is 100% identical to scaffold, differing in 0 lines, and is treated as a copy.