pear-connection-check

pear-connection-check is a skill for Claude Code from AshtonAU/pear-plugin. It costs 32 tokens per session (686 once invoked), scanned A, original, MIT.

A connection checker for Pear accounts and their calendar or mailbox access. It distinguishes sign-in, permissions, available tools, and a successful read.

In plain words
What is it for?
Use it when setting up Pear, checking permissions, selecting an account, or investigating a failed calendar or mail workflow.
Why use it?
It helps explain why a calendar or mailbox cannot be read instead of treating missing access as empty data.

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 when setting up Pear, checking permissions, selecting an account, or investigating a failed calendar or mail workflow.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/ashtonau/pear-plugin/pear-connection-check/github.svg)](https://agentmods.dev/skills/ashtonau/pear-plugin/pear-connection-check)
Your own site
<a href="https://agentmods.dev/skills/ashtonau/pear-plugin/pear-connection-check"><img src="https://agentmods.dev/badge/skills/ashtonau/pear-plugin/pear-connection-check/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-connection-check

Your own site · 80×15
<a href="https://agentmods.dev/skills/ashtonau/pear-plugin/pear-connection-check"><img src="https://agentmods.dev/badge/skills/ashtonau/pear-plugin/pear-connection-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 686 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.00032 $0.00686
Opus 5.5 $0.00013 $0.00274
Sonnet 5.5 $0.00006 $0.00137
Haiku 4.5 $0.00003 $0.00069

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

Security

Grade A, and why

pear-connection-check 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-connection-check/SKILL.md · 48 lines

What it actually says

Inspect the host's Pear connection before reading provider data. An installed plugin, completed OAuth sign-in, permitted tools, and successful provider read are different states. Microsoft calendar checks currently require both mcp:calendar:read and mcp:contacts:read under Pear's policy. Explain and verify that grant first; do not silently request additional permission after a failed call.

  1. Confirm the user's selected provider account and the read to perform. Inspect the current Pear tool schemas; host prefixes may differ from the pear_* names below.
  2. If tools are absent or auth is required, use the host's provider-owned sign-in flow. Never ask for credentials, complete authorization URLs, tokens, or a key in chat. Do not copy a Cursor editor token into another host.
  3. Call pear_provider_status with the selected provider and accountId. It reports configuration and capability routing. It does not prove current provider health. When authorization is present, report its grantedScopes and scopeMode for this connection. A missing field means permission evidence is unavailable, not that the connection is read-only. A write-capable grant stays write-capable even when this skill uses only reads. Never echo credentials or grant identifiers.
  4. Check the selected account's exact readable tools before performing a small read: match accounts[].id and provider; require connected status, featureEnabled and routingEnabled, then health.capabilities[].readable and the tool in tools[]. pear_list_calendars with limit 1, or pear_list_emails with the exact folder and limit 1. Skip the read if its exact tool is unavailable, even if a broad capability exists. Send-only mail accounts do not expose inbox reads. For generic IMAP use provider: "mail" for status and provider: "auto" with the same explicit accountId for the read. Apple uses provider: "apple", accountId: "apple". Other sources use their returned account IDs. Do not open message bodies.
  5. Report the failing stage or successful read, checked-at time, and next step. A successful empty result is different from a failed read. Do not echo private message content, tokens, raw logs, or authorization query strings into diagnostics.

Stop on a team policy block, missing consent, unsupported registration, or rejected callback. Do not weaken host policy, use browser login automation, install another connector, or enable a routine as recovery. One connection check has at most two tool calls and no writes. Authentication recovery is a separate user action.

For Apple Reminders, explain that upgraded Reminders are unavailable through Pear's hosted CalDAV connection. Reconnecting does not change that limit.

A read-only workflow is not a read-only grant. Before an unattended routine, have the user verify server-enforced read scopes for this connection. If that cannot be proved, keep the routine disabled. Tool annotations and these instructions do not enforce scopes.

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 · 48 lines · 32 tokens per session scan A 8a0630631474

Subscribe to this mod's changes

pear-connection-check is a skill published in the GitHub repository AshtonAU/pear-plugin (7 stars, last pushed today), licensed MIT. It adds 32 tokens to every session and 686 once invoked, about $0.0001 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-connection-check compared with skills from other repositories

pear-connection-check next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pear-connection-checkAshtonAU/pear-pluginSkill7todayMITA32Claude 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