惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V
Visual Studio Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
N
Netflix TechBlog - Medium
博客园 - 叶小钗
大猫的无限游戏
大猫的无限游戏
S
SegmentFault 最新的问题
V
V2EX
IT之家
IT之家
J
Java Code Geeks
Hacker News - Newest:
Hacker News - Newest: "LLM"
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
GbyAI
GbyAI
D
Docker
S
Secure Thoughts
Recent Announcements
Recent Announcements
Webroot Blog
Webroot Blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
云风的 BLOG
云风的 BLOG
博客园_首页
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Security Archives - TechRepublic
Security Archives - TechRepublic
酷 壳 – CoolShell
酷 壳 – CoolShell
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
N
News | PayPal Newsroom
S
Security @ Cisco Blogs
I
InfoQ
Last Week in AI
Last Week in AI
SecWiki News
SecWiki News
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
W
WeLiveSecurity
T
Troy Hunt's Blog
Recent Commits to openclaw:main
Recent Commits to openclaw:main
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Attack and Defense Labs
Attack and Defense Labs
美团技术团队
T
The Blog of Author Tim Ferriss
Google DeepMind News
Google DeepMind News
Martin Fowler
Martin Fowler
B
Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Scott Helme
Scott Helme
T
Tor Project blog
Know Your Adversary
Know Your Adversary
有赞技术团队
有赞技术团队
Hugging Face - Blog
Hugging Face - Blog
Recorded Future
Recorded Future
C
Cyber Attacks, Cyber Crime and Cyber Security
AI
AI
G
Google Developers Blog

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
Auto-Save Every Snippet You Copy in Chrome — Then Pipe It to Claude or ChatGPT
AlokT · 2026-04-28 · via DEV Community

Researching across thirty tabs, copying fragments into a scratchpad, then watching half of them vanish by Friday is not a memory problem — it is a tooling problem. Here is how to put a quiet capture layer between your browser and your AI assistant, so what you grabbed at 10am is still there at 4pm, bundled and ready to send.

The "I'll save it later" lie

You open a doc and copy a paragraph. Another tab, a code sample. A Stack Overflow answer, a snippet. A GitHub README, the config block. By the time you have what you need, the clipboard has been overwritten ten times and the only thing you still have is whatever you copied last.

The story you tell yourself is that you are about to paste everything into a scratchpad. The reality is the next idea is already pulling and the snippet gets one second of clipboard life before the next arrives. By Friday, half of what you needed is gone.

Three flavors of that pain show up over and over:

  • Stripe webhook research — eight tabs across Stripe docs and a Stack Overflow answer on signature verification. The two lines that solved it were copied at minute three and lost by minute fifteen.
  • Tailwind class hunting — you copy the right utility chain for a card, switch to the playground, and by the time you open your editor the copy has been wiped by a button label.
  • Debugging a third-party SDK — the error message, the GitHub issue thread, and the workaround snippet were all copied within four minutes. None are reachable at the next standup.

The cost is not the snippets — it is the rebuild. Reopening tabs you already closed, re-running the same query, re-reading the same paragraph twice. Most "research is hard" days are research-twice days, and the second pass burns the afternoon.

What auto-capture actually means

Most Chrome users assume clipboard managers are a macOS dock thing — a hotkey that pops recent copies. That assumption is out of date.

A modern Chrome extension can listen for the standard copy event in any tab and store the selection locally — silently, no popup, no extra keystroke. That is what the ClipGate browser extension does. Every Cmd-C / Ctrl-C in a regular tab becomes a stored, classified entry. Three capture modes fit different research styles.

  • Auto mode (default). Every text selection you copy is saved to the local store. You change nothing about how you read. The badge ticks up by one each time.
  • Right-click "Save to ClipGate". Highlight a selection on any page, right-click, choose Save to ClipGate. A deliberate save for when auto-capture is off or you want to grab something without overwriting your clipboard.
  • The Ctrl+Shift+S shortcut. Same outcome as the right-click entry, faster. Select text, hit the shortcut, the snippet lands with source URL and content-type tag attached.

Selective mode is a feature, not a workaround. During long form fills, onboarding flows, or screen shares, selective mode keeps the store clean. Switch modes from a dropdown in the popup.

Equally important is what auto-capture does not grab. Password fields are excluded by Chrome's permission model. Incognito tabs are out of scope. If a captured value looks like a credential, it is detected, encrypted with AES-256-GCM, masked in the UI, and auto-expired on a timer.

Install the extension in 60 seconds

Sixty seconds, three steps, then you forget it exists until the first time it saves your afternoon.

  1. Open the Chrome Web Store listing. Visit the ClipGate extension page, click Add to Chrome, confirm permissions. Works in any Chromium browser — Chrome, Edge, Brave, Arc.
  2. Pin the icon to the toolbar. Open the puzzle-piece menu, find ClipGate, pin it. The badge ticks up every time a new snippet is captured.
  3. Trigger your first capture. Select any sentence, press Cmd-C or Ctrl-C, click the icon. Your selection is at the top of the list with source URL and type tag attached.

After a single capture, the popup shows the snippet preview, source domain, timestamp, and a Local only indicator. No account prompt, no cloud round-trip. Next time you wonder "did I copy that earlier?" the answer is one click away.

The research-to-AI loop, end to end

You are about to write a Stripe webhook handler. You spend an hour reading across eight tabs — webhook docs, signature verification, SDK reference, two GitHub examples, a Stack Overflow thread on idempotency. Across that hour you copy six snippets: a code block, a JSON payload, an error, a CLI command, a config line, and a URL.

Without auto-capture, you arrive at your editor with one of those six on the clipboard and a foggy memory of the rest. With it, all six sit in your local store, tagged by type and source URL.

Option A — Browser only. Open the popup, multi-select the six snippets, copy as one bundled block. Paste into a new conversation at claude.ai or chatgpt.com. The model has the verbatim docs context with source URLs intact.

// Paste from the popup:
[code]  const sig = req.headers['stripe-signature'];
        stripe.webhooks.constructEvent(body, sig, secret);
        // src: stripe.com/docs/webhooks/signatures

[json]  {"type":"payment_intent.succeeded","data":{...}}
        // src: stripe.com/docs/api/events/types

[error] Webhook Error: No signatures found matching...
        // src: github.com/stripe/stripe-node/issues/1234

Enter fullscreen mode Exit fullscreen mode

Option B — Terminal bundle. If the ClipGate CLI is installed, browser and terminal captures share one local store. One command bundles the last thirty minutes into a Markdown block with classified types and redacted secrets.

$ cg pack --last 30m
# 4 url, 2 code, 1 json, 1 error, 1 command
# 6 snippets · sources preserved · secrets redacted
...
$ cg pack --last 30m | claude "write a Stripe webhook handler"

Enter fullscreen mode Exit fullscreen mode

The win is not that the model is smarter. It is that the model finally sees the same context you saw. Without the bundle, you paraphrase and the model fills gaps from training. With it, the assistant reads the exact docs and the exact error you read at minute four. The handler it writes references the right event types, the right header name, and the idempotency pattern the docs prescribe — because that is the corpus you showed it.

Generalises beyond Stripe. OAuth scopes, infra rollouts, library upgrades — anything where the answer lives across many sources. Auto-capture turns a reading session into a single block, no extra effort.

The right-click escape hatch

Auto mode is the default because most copies during research are worth keeping. Some sessions are not — long form fills, screen shares, onboarding where you paste personal information. For those, switch to selective mode from the popup. Ordinary copies stop landing in the store. To save deliberately:

  • Right-click → Save to ClipGate. Highlight, right-click, pick Save to ClipGate. The selection lands with page URL and an inferred type tag — code, JSON, URL, error, or plain text.
  • Press Ctrl+Shift+S. Same outcome, no mouse. Works in both modes, so it is also a good "definitely keep this" tap inside auto mode.

The split matches how research feels. Reading is wide — capture everything, prune later. Writing is narrow — only the snippet you are about to use. Switching modes is one click.

Privacy: what's stored, what stays on your machine

The fast version: nothing leaves your laptop unless you explicitly send it.

  • Storage is local to your browser profile. Snippets live in the extension's local storage on disk. Not synced to a Chrome cloud account, not shipped to any backend, not visible to other extensions. Uninstalling clears the store.
  • Zero network requests for capture or retrieval. No telemetry beacon, no error reporting endpoint, no analytics ping. Popup, badge, and right-click entry run on local code only.
  • Secrets are encrypted and auto-expired. Anything that looks like a token, key, or credential is detected at capture, encrypted with AES-256-GCM, and auto-expired on a configurable timer (default two hours, max two days). The popup does not surface secret values in the clear.
  • Incognito and password fields are excluded. Chrome's permission model keeps incognito windows out. Password fields never reach the extension. The text you most want kept out of any store stays out.
  • Outbound only happens when you choose. Research touches a model the moment you paste into Claude or ChatGPT, or pipe a CLI bundle to the assistant. Until then, every snippet stays local.

Stricter requirements? If your team has air-gapped machines or a no-extensions policy, the CLI alone covers the terminal-side capture story.

When to use the CLI vs the extension (and when both)

The two surfaces solve overlapping but distinct problems. The extension captures from the browser. The CLI captures from the terminal and adds a retrieval and bundling layer on top. Most readers want both.

If your day looks like… Start with Why
Reading docs, then asking a model Extension Every browser copy is captured, classified, and stored. The popup is enough to assemble a bundle for Claude or ChatGPT.
Heavy terminal work, occasional browser CLI first, extension second The CLI captures from the local clipboard and gives you cg list, cg last, and cg pack for retrieval and bundling.
Cross-surface research that ends in code Both Browser snippets and terminal snippets land in the same logical session. cg pack --last 30m bundles them all in one shot.

If torn, install the extension first. Most readers add the CLI within a week — the moment you want to pipe a bundle into claude is when the second half of the workflow clicks.

For the terminal side, see stop losing errors, commands, and paths. Same store, different entry point.

FAQ

Can a Chrome extension really auto-save everything I copy?

Yes. ClipGate listens for the standard browser copy event and captures into a local store the moment your selection lands on the clipboard. No polling, no remote server.

Will it capture passwords or incognito content?

No. Password fields are excluded by Chrome's permission model, and incognito windows are out of scope by default. Credentials that do appear are detected, encrypted with AES-256, masked, and auto-expired on a timer.

How do I get my snippets into Claude or ChatGPT?

Browser-only: open the popup, multi-select snippets, copy as one block, paste into the model. With the CLI: run cg pack --last 30m to emit a Markdown bundle ready to pipe into claude or paste into chatgpt.com.

Does anything leave my machine?

No. Zero outbound network requests. Snippets are stored locally, secrets are encrypted at rest, and there is no cloud sync, no telemetry, no account.

What if I don't want every copy captured?

Switch to selective mode. Auto-capture is off; snippets save only when you right-click a selection or press Ctrl+Shift+S.

Will it work in Edge, Brave, or Arc?

Yes. Any Chromium-based browser supports it, with identical auto-capture, right-click entry, and Ctrl+Shift+S shortcut.

Install ClipGate and stop losing research

Install the extension before your next reading session. Pin the icon, and let the next thirty minutes of research land in a real store instead of one overwritten clipboard slot.

Install the extension from the Chrome Web Store:
https://chromewebstore.google.com/detail/iceplcknbihmnogljpmdhjelckohpice

For terminal-side bundling, also: curl -fsSL https://clipgate.github.io/install.sh | sh


Originally published on the ClipGate blog.