configure

configure is a command for Claude Code from omarshahine/apple-pim. It costs 13 tokens per session (1,268 once invoked), scanned A, original, MIT.

A documentation management agent that checks the relationship between source code and documentation, then identifies updates needed when the code changes.

In plain words
What is it for?
Use it to find affected documentation, flag pages for review, update some reference material, and create human-readable changelogs from conventional commits.
Why use it?
It helps prevent documentation from describing old APIs, commands, or behavior after a release.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Part of the apple-pim plugin — 16 skills, 7 commands, 1 agent shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/omarshahine/apple-pim/configure
Clone the repo
git clone --depth 1 https://github.com/omarshahine/apple-pim

Made for: Claude Code.

Or install apple-pim, the plugin that ships this one along with the rest of its 16 skills, 7 commands, 1 agent.

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 configure

README.md
[![agentmods](https://agentmods.dev/badge/commands/omarshahine/apple-pim/configure.svg)](https://agentmods.dev/commands/omarshahine/apple-pim/configure)
Your own site
<a href="https://agentmods.dev/commands/omarshahine/apple-pim/configure"><img src="https://agentmods.dev/badge/commands/omarshahine/apple-pim/configure.svg" alt="Measured on agentmods" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,268 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found 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.00013 $0.01268
Opus 5 $0.00006 $0.00634
Sonnet 5 $0.00003 $0.00254
Haiku 4.5 $0.00001 $0.00127

Measured 6d ago against content hash 2086431b77fc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

configure scanned grade A with 0 findings 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 6d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/configure.md · 116 lines

How it starts

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

Configure Apple PIM Access

Apple PIM is the Personal Information Manager plugin for Calendar, Reminders, Contacts, and Mail.

Help the user configure which domains, calendars, and reminder lists the apple-pim plugin can access.

Tip: If you encounter permission errors during configuration, use /apple-pim:authorize to check and request macOS permissions first.

Configuration Location

The config file is at ~/.config/apple-pim/config.json (JSON format). The Swift CLIs read this file directly via the PIMConfig library. Do NOT write to any plugin cache directory or use YAML/markdown format.

Process

  1. Check permissions with apple-pim action config_show to see current config and action status for macOS access
    • If any domain shows notDetermined, use action authorize to trigger prompts
    • If any domain shows denied, warn the user and guide to System Settings
  2. Discover available items with apple-pim action config_init — this lists ALL calendars and reminder lists from macOS
  3. Read existing config from ~/.config/apple-pim/config.json if it exists
  4. Ask which domains to enable (Calendars, Reminders, Contacts, Mail) — multi-select
  5. For enabled domains with filtering (Calendars, Reminders):
    • Use the discovery data from apple-pim action config_init (do NOT use calendar action list — that returns filtered results)
    • Ask user which to allow
  6. Set defaults for new events/reminders
  7. Write config file as JSON to ~/.config/apple-pim/config.json
  8. Confirm changes are effective immediately (no restart needed)

Configuration File Format

Write the config file as JSON to ~/.config/apple-pim/config.json:

{
  "calendars": {
    "enabled": true,
    "mode": "allowlist",
    "items": ["Calendar Name 1", "Calendar Name 2"]
  },
  "reminders": {
    "enabled": true,
    "mode": "allowlist",
    "items": ["List Name 1", "List Name 2"]
  },
  "contacts": {
    "enabled": true,
    "mode": "all",
    "items": []
  },
  "mail": {
    "enabled": true
  },
  "default_calendar": "Calendar Name",
  "default_reminder_list": "List Name"
}

Read the full file on GitHub · 116 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. 6d ago First seen · 116 lines · 13 tokens per session scan A 2086431b77fc

Subscribe to this mod's changes

configure is a command published in the GitHub repository omarshahine/apple-pim (51 stars, last pushed yesterday), licensed MIT. It adds 13 tokens to every session and 1,268 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.