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.
npx skills add AshtonAU/pear-plugin --skill pear-account-selectiongit clone --depth 1 https://github.com/AshtonAU/pear-pluginWrote 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.
[](https://agentmods.dev/skills/ashtonau/pear-plugin/pear-account-selection)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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 andprovider: "auto"with the same mandatoryaccountIdfor folder and mail tools. RequireaccountKind: "mail". Asend_only_emailaccount 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.
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.
- 9d ago First seen · 57 lines · 42 tokens per session scan A 1c700782b9aa
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.
pear-account-selection compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pear-account-selectionAshtonAU/pear-plugin | Skill | 7 | today | MIT | A | 42 | Claude Code |
| calendar-contacts-tasksPhilflowIO/dav-mcp | Skill | 48 | 7d ago | MIT | B | 147 | Claude Code |
| apple-bridgesmore-io/claude-apple-bridges | Skill | 49 | 5d ago | MIT | A | 133 | Claude Code, Codex |
| olkrlrghb/olkcli | Skill | 25 | today | MIT | A | 28 | Claude Code, Codex |
| using-outlook-assistantlittlebearapps/outlook-assistant | Skill | 42 | 4d ago | MIT | A | 175 | Claude Code |
| reassign-schedulingreassignai/plugins | Skill | 1 | today | Apache-2.0 | A | 123 | Claude Code |
| nylas-clinylas/skills | Skill | 11 | 2mo ago | MIT | A | 113 | Claude Code |