pear-account-selection

pear-account-selection is a skill for Claude Code from AshtonAU/pear-plugin. It costs 42 tokens per session (703 once invoked), scanned A, original, MIT.

An account-selection helper for Pear, which connects services such as Apple iCloud, Microsoft 365, and email accounts. It identifies the exact account, calendar, or mail folder needed for a workflow.

In plain words
What is it for?
Use it before calendar or mail tasks when several accounts are available, a source is missing, or a workflow needs precise account and folder choices.
Why use it?
It prevents work from being performed against the wrong account or an account that is not connected or permitted.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the pear plugin — 8 skills, 5 commands, 1 agent shipped together

Good fit Use it before calendar or mail tasks when several accounts are available, a source is missing, or a workflow needs precise account and folder choices.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ashtonau/pear-plugin/pear-account-selection
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.

Any agent
npx skills add AshtonAU/pear-plugin --skill pear-account-selection
Clone the repo
git clone --depth 1 https://github.com/AshtonAU/pear-plugin

Made for: Claude Code.

Or install pear, the plugin that ships this one along with the rest of its 8 skills, 5 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 pear-account-selection

README.md
[![agentmods](https://agentmods.dev/badge/skills/ashtonau/pear-plugin/pear-account-selection/github.svg)](https://agentmods.dev/skills/ashtonau/pear-plugin/pear-account-selection)
Your own site
<a href="https://agentmods.dev/skills/ashtonau/pear-plugin/pear-account-selection"><img src="https://agentmods.dev/badge/skills/ashtonau/pear-plugin/pear-account-selection/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pear-account-selection

Your own site · 80×15
<a href="https://agentmods.dev/skills/ashtonau/pear-plugin/pear-account-selection"><img src="https://agentmods.dev/badge/skills/ashtonau/pear-plugin/pear-account-selection.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 703 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00042 $0.00703
Opus 5.5 $0.00017 $0.00281
Sonnet 5.5 $0.00008 $0.00141
Haiku 4.5 $0.00004 $0.00070

Measured 9d ago against content hash 1c700782b9aa, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pear-account-selection 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 9d 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.

skills/pear-account-selection/SKILL.md · 57 lines

How it starts

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

Identify whether the request needs Calendar, Mail or both. Discover Pear's actual tool names and schemas in this host; prefixes can differ. A skill installation does not establish sign-in, permission or provider health.

Select accounts

Use pear_provider_status for account discovery. Filter by a known provider/account when it expresses the user's choice; otherwise one unfiltered call lists visible accounts. Read the structured accounts[] result, not a guessed provider list.

Match the intended account's returned id and runtime provider. Require connected status, featureEnabled, routingEnabled, and the specific inventory/read tool in health.capabilities[].tools[] with readable: true. Redacted placeholder IDs cannot be used as selectors. If several accounts still match, ask the user to choose. Do not select a default, invent an ID, or substitute an account after a failure.

  • Apple uses provider: "apple", accountId: "apple".
  • Microsoft uses its returned account ID.
  • Generic IMAP uses provider: "mail" for status and provider: "auto" with the same mandatory accountId for folder and mail tools. Require accountKind: "mail". A send_only_email account cannot supply a mailbox read.

Microsoft calendar inventory and reads currently require mcp:contacts:read as well as mcp:calendar:read under Pear's policy. Explain that extra permission before consent. Do not silently expand an existing grant. Mail folder inventory needs mcp:mail:metadata; status needs mcp:tools:read.

Select calendars or folders

For a chosen calendar account, call pear_list_calendars with its exact binding, limit: 8 and offset: 0. For a chosen mail account, use pear_list_mail_folders with its binding, limit: 25 and offset: 0. Select the returned names or IDs the user intends, preserving exact values. Microsoft child folders require the returned parentFolder ID when that argument is exposed. Do not guess a nested folder path.

Keep this first selection pass to one status call and at most one inventory page per selected capability. Report pagination and let the user request another page or child folder if needed. A failed inventory is not an empty account. If the tool schema omits provider or accountId, report that explicit selection is unavailable; do not remove the binding to force execution.

Read the full file on GitHub · 57 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. 9d ago First seen · 57 lines · 42 tokens per session scan A 1c700782b9aa

Subscribe to this mod's changes

pear-account-selection is a skill published in the GitHub repository AshtonAU/pear-plugin (7 stars, last pushed today), licensed MIT. It adds 42 tokens to every session and 703 once invoked, about $0.0002 per session on Opus 5.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-11-25.

Related

pear-account-selection compared with skills from other repositories

pear-account-selection next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pear-account-selectionAshtonAU/pear-pluginSkill7todayMITA42Claude Code
calendar-contacts-tasksPhilflowIO/dav-mcpSkill487d agoMITB147Claude Code
apple-bridgesmore-io/claude-apple-bridgesSkill495d agoMITA133Claude Code, Codex
olkrlrghb/olkcliSkill25todayMITA28Claude Code, Codex
using-outlook-assistantlittlebearapps/outlook-assistantSkill424d agoMITA175Claude Code
reassign-schedulingreassignai/pluginsSkill1todayApache-2.0A123Claude Code
nylas-clinylas/skillsSkill112mo agoMITA113Claude Code