/peernotes:github-summaries-to-peernotesfrom peernotes
This skill should be used when the user asks to "copy GitHub code summaries to Peernotes", "summarize today's or this week's code changes into Peernotes", "push a repo digest to Peernotes", "save what shipped in a repo to Peernotes", or when a scheduled "Peernotes · GitHub summaries" task runs, including one-time runs and backfills. Produces one digest source per repository per period. Requires Peernotes and a GitHub connector.
Ships in peernotes. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Save a periodic digest per repository into Peernotes as a source: what merged, what shipped, what's in flight, and why it matters.
Tool names are base names; actual names may carry a server prefix. Match on the base name.
SendUserMessage if available. If a connector is missing, report and stop.Range: instead of the rolling period. For ranges up to 14 days, write one digest per repo for the whole range; for longer ranges, write one digest per repo per calendar week (Monday–Sunday), each with its own Sync ID, oldest first. Interactive one-time runs behave like Interactive; scheduled ones like Scheduled.This plugin is run by one sync admin on behalf of the team. Unless the user says the sync is just for themselves:
peernotes-team-setup (see its references/team-sources.md). In interactive runs without a configuration, ask for team sources rather than defaulting to the admin's personal account, and search the workspace for the Peernotes team sync settings note to reuse its scope and exclusions.1:1, confidential, private, personal, HR, interview, performance, legal, compensation. Count excluded items in the report without naming their titles.Synced for the team by <admin name> from <source>.Most source connectors are bundled with this plugin (see CONNECTORS.md). Match connectors by service and tool names, not by where they came from: a bundled server and a directory connector for the same service are interchangeable, so use whichever is signed in and never ask the user to sign in twice. If a bundled one's tools are missing or fail with an auth error, it isn't signed in yet: in interactive runs, ask the user to sign in to it from Settings → Connectors and check again. If a directory connector is missing: ListConnectors (installed but disconnected → reconnect in Settings → Connectors; connected but not enabled → enable it in this chat), otherwise SearchMcpRegistry + SuggestConnectors (interactive only). In scheduled runs, report which connector is missing and stop.
If a connector shows as failed, check CONNECTORS.md: Google services work natively in Cowork; Microsoft 365 needs a one-time Entra admin consent — direct the admin to CONNECTORS.md → Claude Cowork and check again.
listWorkspaces, saveDocumentSource, saveImageSource, getSource, getOwnedSources, search.https://api.githubcopilot.com/mcp/): check for GitHub tools (list_pull_requests, search_pull_requests, list_commits, list_releases, get_pull_request).
Org visibility check: if the repo list returns only public repos (or far fewer than expected), the Claude GitHub MCP connector app is probably not installed on the org, or not granted those repos. Say so in the report and point the admin to that link: an org owner installs (or configures) the app on the team's organization with access to the repos to summarize.
Ask once for anything not stated:
owner/repo list.listWorkspaces) and sharing (default shared with workspace).Use the GitHub connector exclusively (queries in references/github-queries.md).
Code changes — for each merged PR in the period, call get_pull_request to fetch its file list with per-file additions, deletions and patch. Read patches selectively to understand what the code now does:
references/github-queries.md). Count them as "dependency/lockfile updates" in Stats, not in the totals.<path>" under Risks & follow-ups.Context (connector queries in references/github-queries.md):
list_commits on the default branch in the period; filter out commits whose message contains (#<n>) or Merge pull request #<n> (PR merge/squash commits); group bot commits (dependabot, renovate) into one line.priority labels).Skip repos with no merged PRs, direct commits or releases in the period. Write the digest using PR patches for what actually changed and PR text for intent; where they disagree (a PR description says one thing, the diff shows more), say so under Risks & follow-ups. Never store raw diffs: no patch hunks, and no code beyond short identifiers (function, class, file, endpoint, table names). Never read, quote or summarize the contents of secrets, .env files, keys or credentials.
Sync ID: github:<owner>/<repo>:<period start YYYY-MM-DD>..<period end YYYY-MM-DD> (for a single-day period, start and end are the same date).
Finding an existing item: search the workspace with resourceTypes: ["SOURCE"] for the Sync ID. Confirm with getSource: check the content field for the Sync ID: line (for binary files, check that name ends with the Sync ID). If search returns nothing, page through getOwnedSources and match on name.
If the digest exists, skip it. In interactive mode, offer to refresh it: if the user confirms, record the existing source's ORN and proceed to Step 4 passing that ORN to update the source in place rather than create a new one.
Sources only, never notes or thoughts. Save every synced item as a Peernotes source with saveDocumentSource (images with saveImageSource). Never call saveThought or generateNote for synced items.
saveDocumentSource with workspaceOrn, name (the title), content (raw UTF-8 Markdown string — do not base64-encode), extension: "md" and sharedWithWorkspace.orn. This replaces the file in place, so never create a second source for the same Sync ID.saveImageSource for images (jpg, jpeg, png, gif, webp, svg, bmp, ico), saveDocumentSource for everything else. If it can't be downloaded, record it as failed and include its link in the report: links can't be saved as sources. Put the Sync ID in the name as · <sync id> so it can still be found.<title> (Part n of N). Each part carries Sync ID: <sync id>#part<n>.One Markdown source per repo, name = <repo>: <start> – <end>. Write the digest yourself from the gathered data, using only that data:
# <owner/repo>: code summary <start> → <end>
Repository: https://github.com/<owner>/<repo>
Period: <start> to <end>
Synced for the team by <admin name>
Sync ID: <sync id>
<N> PRs merged · <N> commits · <N> people · +<N>/−<N> · CI on <branch>: <✅ green | ❌ failing | —>
## 🚢 What shipped
### 💻 <Surface (Web app / Mobile / Desktop / API / …)>
- <What changed for users/the product, derived from the PR diff> — @<author> (#<n>)
### 🏗️ Infrastructure & deploys
- <infra/deploy change> — @<author> (#<n>)
### 📖 Docs & site
- <docs change> — @<author> (#<n>)
## 🧾 What went away
- <Removed feature, endpoint, URL, config, …> — @<author> (#<n>)
## ⚠️ Worth knowing
- **Breaking/migration:** <anything that requires action from the team>
- **Deploy/config:** <anything that requires config changes, bookmark updates, etc.>
- **CI:** <any CI issues and their current state>
## 🔁 In flight
- #<n> <title> — @<author>, open <N> days
## 🧠 Reading the mood
One short paragraph: what kind of day/week was it (feature push, cleanup, infra, quiet), who contributed, what surface areas moved, what's notably absent, and whether anything in flight looks stuck or risky.
Omit sections that have nothing to say (e.g. no "What went away" if nothing was removed). Under What shipped, group by surface area rather than theme; derive the one-liner from the PR diff, not only the title. The Reading the mood paragraph is mandatory — it gives the reader a quick orientation before they dig in.
Team engineering digest (default on in team mode): after the per-repo sources, save one more Markdown source named Engineering digest: <start> – <end> with the same format but scoped to the whole org (Highlights, What shipped by repo, In flight, Worth knowing, Reading the mood), ending with Sync ID: github-digest:<org>:<start>..<end>. Skip it if that Sync ID already exists.
Repos checked, digest sources created, skipped (no activity / already exists), failed (with reason), workspace.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub obtainable-ai/agent-plugins --plugin peernotes8 skills in this plugin
/agent-sessions-to-peernotesThis skill should be used when the user asks to "save my Claude Code sessions to Peernotes", "capture my agent sessions in Peernotes", "back up today's coding sessions to Peernotes", "sync my AI agent conversations to Peernotes", or "save this session to Peernotes", or when a scheduled "Peernotes · Agent sessions" task runs, including one-time backfills. Saves each local Claude Code session as a Peernotes agent session source using the Peernotes CLI. Requires Claude Code running on the machine that holds the sessions./docs-to-peernotesThis skill should be used when the user asks to "sync my Google Drive to Peernotes", "import my Notion pages into Peernotes", "copy OneDrive documents to Peernotes", "bring existing docs into Peernotes", or when a scheduled "Peernotes · Document sync" task runs, including one-time runs and backfills. Syncs new and changed documents from Google Drive, OneDrive/SharePoint or Notion into Peernotes. Requires the Peernotes connector plus at least one document source./linear-summaries-to-peernotesThis skill should be used when the user asks to "summarize our Linear issues into Peernotes", "copy Linear updates to Peernotes", "save a Linear digest to Peernotes", "what moved in Linear this week, save it to Peernotes", or when a scheduled "Peernotes · Linear summaries" task runs, including one-time runs and backfills. Produces one summary source per Linear team per period, plus an optional workspace-wide product digest. Requires Peernotes and a Linear connector.