ClaudeMods
☰
ZH-TW
● 0 人在線上 · 瀏覽 0 次
贊助提交作品
GitHub 儲存庫 · 發布者 hacksurvivor

bouncer

一個 Claude Code mod,會根據專案判斷貼上的連結,並用附有 Use/Later/Skip 判定、effort、費用和單行理由的卡片開啟 Claude 的回答,另有 /bouncer list 及開關命令。

hacksurvivor@hacksurvivor

hacksurvivor/claude-mods/tree/main/mods/bouncer

原貼文圖片1
已翻譯

關於這個 mod

Bouncer 是一個 Claude Code 外掛,會攔截你貼到提示中的連結(最多額外 400 個字元),讓 Claude 在回答中開啟判定卡:Use、Later 或 Skip,說明它服務哪些專案、嘗試需要多久、費用是多少,以及原因(一行)。Start 會送出後續提示,Later 和 Skip 會記住你的決定。/bouncer 命令會依判定列出所有連結;/bouncer off 和 /bouncer on 會暫停和恢復本工作階段中的功能。它會跳過本機位址、.local 和 .test 主機、Gmail、Google Docs、claude.ai 和 ChatGPT 連結。連結會根據 ~/.claude/bouncer/projects.md 中列出的專案判定,若沒有則退回目前對話和資料夾。它會讀取你的提示和該專案檔案,但不會自行傳送任何內容,只會把簡短說明附加到你的提示中,並在 Claude Code 的本機外掛儲存區保留最多 200 個已判定連結。需要 Claude Code 2.1.286 或更新版本。安裝:/plugin marketplace add hacksurvivor/claude-mods、/plugin install bouncer@hacksurvivor、/reload-plugins。Apache-2.0。

安裝

請先查看作者 README,確認 marketplace 與外掛名稱;指令可能隨儲存庫結構而變動。

claude plugin marketplace add hacksurvivor/claude-mods
claude plugin install bouncer
原文 / README

Bouncer

A Claude Code mod for the links you paste. Every one meets the bouncer: Claude reads it, then its answer opens with a card that says whether it's worth your time.

Bouncer in the Claude desktop app: a pasted link, the verdict card above Claude's answer with Start on it, Later and Skip, and the /bouncer list

  • Use it, Later or Skip, which of your projects it serves, how long it takes to try, what it costs, and one line why.
  • Start on it sends the prompt to begin; Later and Skip remember your call.
  • /bouncer lists every link judged so far, by verdict. /bouncer off pauses it for the session, /bouncer on resumes it.

It only steps in for a link with a short question (up to 400 characters besides the link). It leaves alone local addresses, .local and .test hosts, Gmail and Google Docs links, and claude.ai and ChatGPT chats.

Your projects

Bouncer judges each link against the projects in ~/.claude/bouncer/projects.md, one per line:

- shop-app: an online store for handmade furniture
- the blog: weekly posts about remote work

Without that file it judges against what you're working on in the conversation and folder.

Requirements

Claude Code 2.1.286 or later (mods). The card is drawn in the Claude desktop app and in the terminal.

Install

In Claude Code:

/plugin marketplace add hacksurvivor/claude-mods
/plugin install bouncer@hacksurvivor
/reload-plugins

What it runs, reads and sends

  • Reads your prompt, to spot a pasted link, and ~/.claude/bouncer/projects.md.
  • Sends nothing itself. It adds a short brief to your prompt (the link, your projects, and the shape of the verdict line), which Claude Code sends to Anthropic with your message under your Claude account.
  • Keeps up to 200 judged links in Claude Code's plugin store on your computer.
  • Claude reads the link with its own tools, as it would without Bouncer.

See PRIVACY.md.

License

Apache-2.0

更多類似作品