Community编程与开发github.com

nomadamas/catchtable-sniper

监控 Catchtable 上的开放预订时段,并使用已登录的 Chrome 会话尝试预订。

catchtable-sniper 是什么?

该技能(Skill)能够自动监控 Catchtable 餐厅预订平台上的可用时段,并利用预先登录的 Chrome 浏览器会话模拟用户操作,自动尝试完成预订。对于热门餐厅、难以抢到的热门时段以及临时取消释放的座位,该技能可以显著提升成功预订的概率。它支持 macOS、Windows 和 Linux 等主流操作系统,通过 Selenium 或 Puppeteer 等自动化框架控制浏览器,实现从监控到提交预订的端到端流程。用户只需提供登录后的浏览器会话信息(如用户数据目录或远程调试端口),技能便会持续扫描目标餐厅的预订日历,一旦发现符合日期、人数和时间范围条件的空位,立即触发预订流程,并在成功后通知用户。该技能非常适合需要频繁刷新页面或担心错过临时释放时段的用户,能大幅节省人工盯梢的时间。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/nomadamas/k-skill/tree/main/skills/catchtable-sniper

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

catchtable-sniper 是做什么的?

监控 Catchtable 上的开放预订时段,并使用已登录的 Chrome 会话尝试预订。

概述

此技能可让 AI 助手(如 Claude Code、Cursor 等)自动监控 Catchtable 餐厅预订平台,并在检测到符合指定条件的可用时段时,利用用户已登录的 Chrome 浏览器会话自动执行预订操作。

工作原理

  1. 浏览器自动化:通过 Selenium 或 Puppeteer 控制一个已登录 Catchtable 的 Chrome 浏览器实例。
  2. 持续监控:定期扫描目标餐厅的预订日历页面,检查是否有符合日期、人数和时间范围条件的空位。
  3. 自动预订:一旦发现可用时段,立即模拟用户点击和填写表单,完成预订提交。
  4. 结果通知:成功预订或出现错误时,通过用户配置的方式(如控制台输出、系统通知等)告知用户。

适用平台

  • macOS
  • Windows
  • Linux

先决条件

  • 安装 Chrome 浏览器
  • 已登录 Catchtable 账号的 Chrome 用户数据目录或远程调试端口
  • Python 3.7+ 及必要的 Python 包(详见下方配置)

配置

  1. 获取 Chrome 用户数据目录:

    • 在 Chrome 地址栏输入 chrome://version/,找到“个人资料路径”或“Profile Path”。
    • 例如:C:\Users\YourName\AppData\Local\Google\Chrome\User Data(Windows)或 /Users/YourName/Library/Application Support/Google/Chrome/(macOS)。
  2. 启动 Chrome 时指定远程调试端口(可选,更稳定):

    chrome --remote-debugging-port=9222 --user-data-dir="<你的用户数据目录>"
    
  3. 设置监控参数(在配置文件中或在代码中直接修改):

    • RESTAURANT_URL:目标餐厅在 Catchtable 上的预订页面 URL。
    • TARGET_DATE:希望预订的日期(格式 YYYY-MM-DD)。
    • PARTY_SIZE:用餐人数。
    • TIME_RANGE:可接受的时间范围(例如 ["18:00", "20:00"])。
    • CHECK_INTERVAL:监控检查间隔时间(秒)。

使用示例

  1. 克隆项目并安装依赖:

    git clone https://github.com/nomadamas/catchtable-sniper.git
    cd catchtable-sniper
    pip install -r requirements.txt
    
  2. 配置您的监控参数(编辑 config.py 或直接在技能调用时传入参数)。

  3. 运行监控脚本:

    python sniper.py
    

    AI 助手将自动打开或连接到已登录的 Chrome 浏览器,并开始监控。

注意事项

  • 请确保您有权使用该技能,且遵守 Catchtable 的服务条款。自动预订可能违反某些平台的使用规则。
  • 频繁请求可能被目标网站限制,请合理设置检查间隔。
  • 建议在非高峰时段进行测试,确保配置正确。

故障排除

  • Chrome 无法连接:确认 --remote-debugging-port 参数已正确传递,且端口未被占用。
  • 登录状态失效:每次使用前确保 Chrome 会话仍在登录状态。手动打开 Catchtable 并登录一次即可。
  • 检测不到空位:可能目标餐厅当天未放出任何时段,或您的搜索条件过于严格。

许可

MIT License

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

nomadamas/blue-ribbon-nearby

Use when the user asks for nearby restaurants or 근처 맛집 and wants 블루리본 picks. Always ask the user's current location first, then search official Blue Ribbon nearby restaurants via k-skill-proxy.

nomadamas/bunjang-search

번개장터 검색, 상세조회, 찜, 채팅, 대량 수집, AI TOON export를 bunjang-cli로 안내한다.

nomadamas/cheap-gas-nearby

Use when the user asks for nearby cheapest gas stations or 근처 가장 싼 주유소. Always ask the user's current location first, then use Kakao Map anchor resolution plus official Opinet fuel-price APIs.

nomadamas/corporate-registration-consulting

법인등기소/인터넷등기소 상업등기 신청을 처음 하는 사용자를 위해 일반 영리 주식회사 발기설립 절차, 정관·첨부서류 실제 HWP 양식 작성, 등록면허세·과밀억제권역 중과 체크, rhwp 기반 순차 검토 흐름을 참고용으로 안내한다.

nomadamas/coupang-product-search

retention-corp/coupang_partners의 로컬 Coupang MCP 호환 레이어로 쿠팡 상품 검색, 로켓배송 필터, 가격대 검색, 상품 비교, 베스트 상품, 골드박스 특가를 조회한다.

nomadamas/court-auction-notice-search

Browse 대법원경매정보(courtauction.go.kr) 부동산 매각공고 by 매각기일·법원·기일/기간 입찰, expand each notice into 사건번호·용도·주소·감정평가액·최저매각가, search property items by free conditions(지역·용도·가격·면적·유찰횟수), and look up a case directly by 법원+사건번호. Read-only, slow-by-design (~2s/call) to avoid IP blocks.

nomadamas/daiso-product-search

Look up Daiso products by store name and product keyword using official Daiso Mall store/search/stock surfaces. Use when the user wants to know whether a product is available at a specific Daiso store.

nomadamas/delivery-tracking

Track CJ대한통운 and 우체국 parcels by invoice number with official carrier endpoints, and structure the workflow around a carrier adapter that can grow to more couriers later.

nomadamas/fine-dust-location

에어코리아 기반 미세먼지/초미세먼지를 지역명 또는 위치 힌트로 조회한다. 기본 경로는 k-skill-proxy의 report endpoint다.

nomadamas/foresttrip-vacancy

Look up available Korean national forest recreation lodging or camping slots on foresttrip.go.kr. Use when the user asks for 숲나들e or 자연휴양림 빈 객실/빈자리 조회, not for booking.

nomadamas/geeknews-search

GeekNews public RSS/Atom feed로 긱뉴스 게시물을 조회, 검색, 상세 확인하는 읽기 전용 스킬.

nomadamas/han-river-water-level

한강홍수통제소 기반 현재 수위/유량을 관측소명 또는 관측소코드로 조회한다. 기본 경로는 k-skill-proxy의 han-river water-level endpoint다.

nomadamas/hipass-receipt

공식 하이패스 홈페이지에서 사용자가 직접 로그인한 Chrome 세션을 재사용해 사용내역 조회와 영수증 팝업 진입을 돕는다.

nomadamas/hola-poke-yeoksam

올라포케 역삼점의 메뉴·매장 정보·이벤트 참여 흐름을 remote MCP 서버 기준으로 안내한다.

nomadamas/household-waste-info

Use when the user asks for 생활쓰레기 배출 요일/시간/장소 정보 by 지역명(시군구) and wants official data.go.kr household waste guidance.

nomadamas/hwp

Use kordoc for agent-native HWP/HWPX document parsing, JSON extraction, diffing, form-field extraction, and Markdown→HWPX reverse conversion (read/convert only — for binary editing use rhwp-edit).

nomadamas/iros-registry-automation

인터넷등기소(IROS)에서 법인/부동산 등기부등본(등기사항증명서) 발급을 준비하고, 사용자가 직접 로그인·결제한 브라우저 흐름 안에서 장바구니·열람·저장을 안전하게 보조한다.

nomadamas/joseon-sillok-search

Search Joseon Dynasty Annals records from the official sillok.history.go.kr site with keyword search plus optional king/year narrowing.

nomadamas/kakao-bar-nearby

Use when the user asks for nearby bars or 근처 술집. Always ask the user's current location first, then use Kakao Map search + place detail panels to find open-now bars with menu, seating, and phone hints.

nomadamas/kakaotalk-mac

Use kakaocli on macOS to read KakaoTalk chats, search messages, send replies after explicit confirmation, and delete sent messages with explicit operator intent.

相关技能