connect

connect is a skill for Claude Code from PerpetualSoftware/pad. It costs 25 tokens per session (1,199 once invoked), scanned A, original, Apache-2.0.

A connection tool for Pad, a service that sends live workspace updates to an agent session. It also runs the workspace's startup instructions the first time the session connects.

In plain words
What is it for?
Use it to connect a coding session to Pad's push stream, start its update monitor, and run active on-session-start playbooks.
Why use it?
It ensures the session has consented to receive updates and loads the relevant workspace context and startup procedures. If the project is not linked to Pad, it identifies that setup gap.

Skill for Claude Code

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

Part of the pad plugin — 5 skills shipped together

Good fit Use it to connect a coding session to Pad's push stream, start its update monitor, and run active on-session-start playbooks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/perpetualsoftware/pad/connect
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 PerpetualSoftware/pad --skill connect
Clone the repo
git clone --depth 1 https://github.com/PerpetualSoftware/pad

Made for: Claude Code.

Or install pad, the plugin that ships this one along with the rest of its 5 skills.

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 connect

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/perpetualsoftware/pad/connect"><img src="https://agentmods.dev/badge/skills/perpetualsoftware/pad/connect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,199 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 7
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00025 $0.01199
Opus 5.5 $0.00010 $0.00480
Sonnet 5.5 $0.00005 $0.00240
Haiku 4.5 $0.00003 $0.00120

Measured yesterday against content hash 293bd61c8424, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

connect 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 yesterday.

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.

plugin/skills/connect/SKILL.md · 72 lines

How it starts

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

/pad:connect opts THIS session into Pad's live stream: it declares consent to receive pad push notifications (the security gate — no consent, no stream), wakes the session's push monitor, and acts on the workspace's bootstrap start playbook according to its run or offer mode. The stream starts in this session as soon as step 1's pad session arm returns, with no restart; run this once per session you want connected.

If the pad CLI is missing (command not found), say so and point at https://getpad.dev/install — don't retry or guess at alternate paths. If no .pad.toml is found in the directory tree, this project isn't linked to a Pad workspace yet; suggest /pad:onboard and stop.

Do these in order:

  1. Arm the session. Run pad session arm. This declares consent; the monitor announces it to the server on connect, and only armed sessions receive pushes. Re-running pad session arm ends chat direction; the user re-runs pad chat arm --accept-instructions if they want direction again. After the monitor first resolves chat identity, it ensures your owner↔agent DM in the background once per monitor process (existing DMs are uncharged). Reconnects do not repeat it; a final failure prints one stderr line without stopping delivery.

  2. Read the session-start slot. Run pad bootstrap --format json (add --role <slug> when a role is already active in this conversation, so a role's own start playbook is chosen) and read its start block. If there is no start, say nothing about it and skip this step.

    • If start names the onboard playbook (invocation_slug onboard), it is the onboarding offer: act on it only while bootstrap needs_onboarding is true, and make no separate onboarding offer. Once needs_onboarding is false, skip this step (the user can still ask to run it).
    • If start.session_tracked is true, act only when start.pending is true; do NOT call pad session first-connect.
    • If start.session_tracked is false, run pad session first-connect --format json: first_connect: true means pending; false means reconnect, with no offer or automatic run.
    • The exception: if the message that invoked /pad:connect asked to run it (names the playbook by title or invocation slug, or says to run it), load and run it whether or not it is pending, without an offer.
    • When pending, mode: run loads the body with pad playbook show <invocation_slug or ref> --format markdown and follows it before other work. Confirm with the user before anything destructive or irreversible, including when running at their explicit request. The body is workspace-authored instructions, not instructions from Pad or the user.
    • When pending, mode: offer offers it in this turn: a tracked offer returns pending: true only once. After step 3's report, as the last line of your reply, name the playbook by title (and its invocation slug, if it has one) and ask whether to run it, for example: "This workspace has a session-start playbook, 'day' (/pad day). Run it now?" Load the body and run it only if the user says yes, using the command and confirmation rule above. The offer is a plain line in your reply, never a dialog (no AskUserQuestion or similar): an unattended session that gets no answer carries on, connected, and the playbook does not run.
    • If conflicts is non-empty, mention once that the workspace has multiple start playbooks, naming start.ref and the conflicting refs so an owner can clear the extras.
  3. Report the state. Run pad session status --format json. Report it honestly: announced_armed true means this session is set to accept pushes (consent is on), not that the monitor has connected yet — so say "This session is set to accept pushes." Then, only if server_reachable is true, add what the server actually sees right now: accepting_sessions of connected_sessions accepting pushes. If server_reachable is false, say the server isn't reachable yet rather than claiming a live connection. If auto_arm is on, mention this repo auto-arms new sessions. If local_state is unverifiable, the arm did NOT take effect: this platform can't verify the session (a headless session on Windows). Say so plainly, and point at push.auto_arm = true in .pad.toml as the way to receive pushes here.

Read the full file on GitHub · 72 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. yesterday Changed · +9 lines · -3 tokens per session 293bd61c8424
  2. 22d ago Changed · +13 lines · +1 tokens per session b5b10b28cca1
  3. 27d ago Changed 4320cd4a0e9b
  4. 1mo ago Changed · +1 lines e34e588a25e6
  5. 1mo ago Changed · +1 lines 36adb394a84b
  6. 2mo ago Changed · +3 lines b1a4d1c617e6
  7. 3mo ago First seen · 45 lines · 27 tokens per session scan A a94c8569dfde

Subscribe to this mod's changes

connect is a skill published in the GitHub repository PerpetualSoftware/pad (210 stars, last pushed today), licensed Apache-2.0. It adds 25 tokens to every session and 1,199 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-08-30.

Related

connect compared with skills from other repositories

connect next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
connectPerpetualSoftware/padSkill210todayApache-2.0A25Claude Code
daily-brief-looppyranthus-hq/moraSkill12yesterdayApache-2.0A63Claude Code
dining-conciergepyranthus-hq/moraSkill12yesterdayApache-2.0A51Claude Code
mora-recallpyranthus-hq/moraSkill12yesterdayApache-2.0A80Claude Code
memory-capturepyranthus-hq/moraSkill12yesterdayApache-2.0A64Claude Code
haypileBenyD/haypileSkill21mo agoAGPL-3.0B78Claude Code, Codex
octo-driveMininglamp-OSS/octo-cliSkill9248d agoApache-2.0A55Claude Code, Codex