全部软件
PinpointUtilities
版本
v0.7.3
发布日期
2026-09-29
平台
macOS
安装包大小
macOS 4.1 MB
发布者
croustibat
Utilities · croustibat

Pinpoint

Pinpoint is a native macOS menu bar app that captures your screen, lets you drop numbered markers on what matters, and copies a ready to paste prompt for your AI agent — an annotated image plus instructions that reference every marker.

版本 v0.7.3
macOS

README

Pinpoint

License: MIT Latest release Platform: macOS 15+ Built with Swift

Point at exactly what you mean.

Pinpoint is a native macOS menu-bar app that captures your screen, lets you drop numbered markers on what matters, and copies a ready-to-paste prompt for your AI agent — an annotated image plus instructions that reference every marker.

Built with Swift / SwiftUI + ScreenCaptureKit. Free & open source.

🔗 pinpoint-ashy.vercel.app · Download the latest release

Pinpoint demo — capture a region, drop numbered markers, and copy a ready-to-paste prompt for your agent

Why I built this

I pair-program with AI agents all day — Claude Code, Codex — and I kept hitting the same wall: paste a screenshot, then type a paragraph to explain which button or which misaligned icon I meant. Worse, most chat UIs keep only the image and silently drop the text you copied with it, so half my context never arrived.

Humans don't describe pixels to each other — we point. Pinpoint lets you do the same with an agent: drop a numbered marker on the thing, and it copies an annotated image plus a structured prompt that maps every marker to a position and a note. No more "the button in the corner — no, the other one."

I built it for myself and use it every day. It's open source because the problem isn't mine alone.

Download

Homebrew

brew install --cask croustibat/tap/pinpoint

On Homebrew 6+ you'll be asked to trust the tap once first — run brew trust croustibat/tap, then re-run the install. See the tap for details.

The cask also puts the pinpoint command on your PATH — see Scripting.

Direct download

  1. Grab the latest Pinpoint.dmg from the releases page.
  2. Open it and drag Pinpoint into your Applications folder.
  3. Launch it — it lives in your menu bar. Signed with a Developer ID and notarized by Apple.

On your first capture, macOS asks for Screen Recording permission (System Settings → Privacy & Security → Screen Recording), then quit and relaunch Pinpoint once.

Requirements: macOS 15 or later · Apple Silicon & Intel.

Features

  • Region capture — press ⌘⇧1 (rebindable) → the screen dims; drag a rectangle (live dimensions). It doesn't capture on release: resize it from its eight handles or nudge it with the arrow keys, then Return (or a click inside it) confirms, Esc cancels. Hold Space while selecting to switch to window mode instead — click any window and it's captured with its real edges. Native resolution, multi-display and Retina aware. A "capture full screen" fallback lives in the menu, and every capture checks the Screen Recording permission first, so a missing grant surfaces as a clear alert rather than a blank image.
  • Numbered markers & shapes — click to drop ringed, numbered pins (drag to move, a note per marker); add arrows and rectangles for emphasis. Every shape takes a description of its own too, so a circled region can say why it was circled — it travels in the copied text, in the JSON and in the embedded legend. Every shape is selectable, movable and resizable after the fact, with full undo/redo (⌘Z / ⇧⌘Z) and keyboard delete.
  • Three marker styles — filled disc, pointer pin, light outline — applied on screen and in the export.
  • Redact before you share — ⌘4, then drag over a token, password or API key: it's blacked out in the exported image, and stripped from the copied text and the accessibility context below, not just visually covered. A hidden area can still be described in your own words ("my API key"), which is the only thing about it that reaches the agent.
  • On-device OCR — Vision reads the text sitting under each marker (an error message, a log line, a class name) with no network call, and can pre-fill a marker's note when nothing else already named the element.
  • Accessibility context — while a region is captured, Pinpoint also reads the macOS accessibility tree. A marker that lands on a UI element carries its role, its label, its identifier, its exact frame, and the chain of containers around it — "marker 1 is the AXButton 'Login' inside Safari", not "marker 1 is at 62%, 48%". This is what turns a marker into something an agent can act on in your source rather than just look at. Optional: needs the Accessibility permission (see below); without it a marker still carries its pixel and percent position, just no interface detail.
  • A prompt your agent can read — ⌘C copies the annotated PNG and a structured text or JSON (your choice): image size, then per marker a stable ID, your note, its pixel and percent position, the accessibility element under it when there's one, and anything Pinpoint read there with OCR that your note didn't already say — followed by your instructions. Parses cleanly in Claude Code, Codex, and the like.
  • Task presets — Bug, Review or Implement: pick one and a short paragraph of framing ("find the cause before proposing anything…") is written above your instructions, so the same scaffolding doesn't get retyped on every capture.
  • Legend baked in (optional) — embeds the marker and shape descriptions + instructions into the image, so a single paste carries everything (most chat UIs drop the clipboard text).
  • The shelf — a built-in library of your screenshots: search, browse, favorite, sort, rename, Quick Look, and reopen any capture with its annotations (deleting one asks first).
  • Global shortcuts — capture or open the shelf from anywhere, fully rebindable.
  • Scriptable — a pinpoint CLI, a pinpoint:// URL scheme, and an MCP server (pinpoint mcp) so agents, hooks and !-commands can ask for a capture and read the result directly — the file path and structured Markdown, never an inline image.
  • Bilingual — follows your macOS language (English / French).
  • Native, private & accessible — SwiftUI + ScreenCaptureKit, living in your menu bar. Captures, OCR and the accessibility read all happen on your Mac and never leave it. VoiceOver, Dynamic Type and reduce-motion are supported throughout the app itself.

What to allow

Permission Required? What it's for Without it
Screen Recording Yes Taking a capture at all Pinpoint can't take a screenshot — it checks before it tries and walks you to System Settings ▸ Privacy & Security ▸ Screen Recording rather than failing silently.
Accessibility No, opt-in The UI: / Path: lines under each marker Everything else keeps working exactly the same — capture, markers, OCR, redaction. A marker just carries its pixel/percent position and nothing about the element under it.

Neither is requested eagerly: Screen Recording is checked right before your first capture, and Accessibility is never asked for until you turn it on yourself from Pinpoint's Settings, which deep-links straight to the right System Settings pane.

This is real output — produced by feeding fabricated markers into this repo's own, unmodified Exporter.buildText (not hand-written), at the coordinates of the staged bug that the demo script walks through recording a capture against:

# Annotated capture — 1280×800 px

An image is attached. Numbered (ringed) badges point to specific elements.
Positions are given in pixels from the top-left corner (0, 0), then as a percentage of the image size.

## Markers
M1, M2… are the numbers drawn on the image; the code in brackets is a stable ID for that marker.
“UI” lines name the interface element found under the marker in the macOS accessibility tree at capture time — its role, its label, the app owning it, and its box in this image. “Path” is the chain of containers around it.
“Text” lines are what Pinpoint read in the pixels under the marker, on this Mac. A marker’s description may have been pre-filled from such a read and then edited by the user.

- M1 [a074e5] · Doesn't stay full-width once the layout stacks on mobile — (794, 384) px · (62 %, 48 %)
  - UI: AXButton “Start free trial” · com.apple.Safari · box (740, 360) 170×56 px
  - Path: AXWindow “Nimbus — Demo for Pinpoint capture” › AXButton “Start free trial”
  - Text: “Start free trial”
- M2 [239cc7] · Logo mark sits a few pixels below the wordmark baseline — (90, 44) px · (7 %, 6 %)
  - UI: AXWindow “Nimbus — Demo for Pinpoint capture” · com.apple.Safari · box (0, 0) 1280×800 px
  - Path: AXWindow “Nimbus — Demo for Pinpoint capture”

## Task — Bug
The markers point at a defect. Find its cause before proposing anything: locate the code that produces what is marked, explain why it behaves this way, then propose the smallest change that addresses the cause rather than the symptom. If the capture isn’t enough to be sure, say what you would need to look at.

## Instructions
Make the CTA full-width on mobile and fix the icon alignment.

M2 resolves to nothing more specific than the window because the icon it sits on is marked aria-hidden in that page's markup — nothing more specific was under the pixel. That's the graceful-degradation path in the bullet above, not a bug in this example: the marker still carries an exact position, and an agent still has the image itself to look at.

Build from source

The project uses XcodeGen to generate the .xcodeproj (not versioned).

brew install xcodegen      # if needed
xcodegen generate          # creates Pinpoint.xcodeproj — run from the repo root
open Pinpoint.xcodeproj

In Xcode:

  1. The signing Team is baked into project.yml (DEVELOPMENT_TEAM), so signing stays stable across xcodegen generate runs. On another machine, replace it with your own (System Settings → your developer account, or the OU of your Apple Development certificate).
  2. ⌘R to run.
  3. On the first capture, grant Screen Recording (System Settings → Privacy & Security → Screen Recording), then relaunch the app.

To verify a build without any signing setup:

xcodegen generate && xcodebuild -scheme Pinpoint -destination 'platform=macOS' CODE_SIGNING_ALLOWED=NO build

The fixed DEVELOPMENT_TEAM + stable bundle id (app.croustibat.Pinpoint) let macOS remember the screen-recording grant between builds. If a permission gets stuck after an identity change: tccutil reset ScreenCapture app.croustibat.Pinpoint, then relaunch and re-grant.

Project structure

project.yml                       # XcodeGen config (deps, bundle id, LSUIElement, version…)
Pinpoint/
  PinpointApp.swift               # @main, Settings scene (Capture / Shelf tabs)
  AppDelegate.swift               # menu-bar status item + capture flow
  RegionSelectionController.swift # multi-display overlay + coordinate resolution
  RegionSelectionView.swift       # dimming + rectangle + live dimensions
  ScreenCapture.swift             # ScreenCaptureKit: region (sourceRect) or full screen
  CaptureRegion.swift             # model: target display + rect (points, top-left) + scale
  CaptureRecord.swift /
  CaptureHistory.swift            #