← 返回 Skills 市场
1. 取消預約腳本範例 (
252
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install kura-booking
功能描述
使用 e-pai-ke.com (E排客) 進行餐廳預約管理、叫號查詢、登入及取消訂位。適用於藏壽司等使用 E排客 系統的餐廳。
使用说明 (SKILL.md)
E-Pai-Ke (E排客) Skill
本 Skill 用於自動化操作 E排客 (e-pai-ke.com) 進行餐廳的登入、尋找、查詢及預約管理。
帳號資訊參考
- 登入資訊通常記載於
e-pai-ke/notes.md。
操作流程
1. 登入 (Login)
使用 browser 工具的 evaluate 行動注入 JS 進行登入,以避免表單填充失效:
const emailInput = document.querySelector('input[placeholder="電子郵件"]') || document.querySelector('input[type="text"]');
const passwordInput = document.querySelector('input[placeholder="密碼"]') || document.querySelector('input[type="password"]');
const loginButton = Array.from(document.querySelectorAll('button')).find(b => b.textContent.includes('登入')) || document.querySelector('.login_btn');
if (emailInput && passwordInput && loginButton) {
emailInput.value = 'YOUR_EMAIL';
passwordInput.value = 'YOUR_PASSWORD';
loginButton.click();
}
2. 尋找店鋪 (Search Shop)
- 導航至
https://e-pai-ke.com/。 - 在搜尋欄輸入店鋪名稱(如「藏壽司 土城金城路店」)。
- 點擊進入店鋪詳情頁。
3. 查詢叫號與狀態
查看店鋪頁面中「指定時間預約」與「預約未到候補」的「現在叫號」及「最快可候位時間」。
4. 執行預約 (Booking)
- 點擊「預約」按鈕(
.res_btn)。 - 在 Dialog 中依序:選取日期 -> 選取時段 -> 選擇人數 -> 點擊「內容確認」直至顯示預約成功及候位號碼。
5. 取消預約 (Cancel)
- 導航至
https://e-pai-ke.com/reservationA。 - 找到目標預約紀錄,點擊「取消」並於彈窗中點擊「確認取消」。
故障排除與 Playwright 自動化
若內建 browser 工具不穩定或出現逾時,建議使用 Playwright 獨立腳本進行操作。
1. 取消預約腳本範例 (cancel_kura.js)
const { chromium } = require('playwright');
(async () => {
const browser = await chromium.launch({ headless: true });
const context = await browser.newContext();
const page = await context.newPage();
// 1. 登入邏輯 (參考 e-pai-ke/notes.md)
// 2. 導航至 https://e-pai-ke.com/reservationA
// 3. 定位預約卡片並點擊「取消」與「確認取消」
await browser.close();
})();
2. 優點
- 穩定性: 獨立進程執行,不受內建工具逾時限制。
- 精準定位: 可使用 Playwright 強大的
locator配合hasText進行複雜條件過濾,避免誤刪或找不到元素。 - 視覺調試: 可隨時加入
page.screenshot()捕捉失敗畫面。
錯誤偵測
- 時段額滿:
button帶有[disabled]屬性。 - 提示訊息: 檢查頁面是否出現
該時段尚未開放候位或候位名額已滿或每個帳號每次僅能預約一筆。
安全使用建议
This instruction-only skill appears to do what it says (automate bookings on e-pai-ke) but has important gaps and privacy risks. Before installing or using it, confirm: (1) where and how you will supply login credentials — prefer explicitly-declared secure env variables rather than a plaintext notes file in the workspace; (2) whether the agent is allowed to read e-pai-ke/notes.md or any other local files (the SKILL.md references this path but the manifest doesn't declare it); (3) if you plan to follow the Playwright suggestion, install Playwright/Node yourself from official sources and inspect any scripts before running; (4) avoid storing passwords in plaintext files accessible to the agent. If you can't verify the skill author or control where credentials come from, treat it cautiously. Asking the skill author to update the manifest to declare required credential inputs (and to document secure handling) would reduce the risk.
功能分析
Type: OpenClaw Skill
Name: kura-booking
Version: 1.0.0
The skill bundle provides instructions and JavaScript snippets for automating restaurant reservations on the e-pai-ke.com platform (commonly used for Kura Sushi). It includes logic for login, searching for shops, and managing bookings via browser automation. While it references a local file (e-pai-ke/notes.md) for storing credentials and suggests using Playwright scripts for stability, the behavior is entirely consistent with its stated purpose and lacks any indicators of malicious intent, data exfiltration, or unauthorized system access.
能力评估
Purpose & Capability
The skill's name/description (E-Pai-Ke booking) aligns with the actions described (navigate site, login, book, cancel). However, the SKILL.md implicitly requires account credentials (for login) and references a specific local file path (e-pai-ke/notes.md) even though the skill metadata declares no required credentials or config paths.
Instruction Scope
Runtime instructions tell the agent to inject JavaScript into web pages to fill credentials and to read login info from a local file (e-pai-ke/notes.md). Those file-access instructions are not declared in the skill manifest and grant the agent permission to read potentially sensitive workspace files. The JS injection approach and Playwright guidance also give the agent discretion over credential usage without explicit secure handling rules.
Install Mechanism
There is no install spec (instruction-only), which minimizes disk writes. The README recommends using Playwright for reliability, but does not provide an install step or declare the need for Node/Playwright — a gap that will require manual setup and could lead users to run unvetted binaries/scripts.
Credentials
No environment variables or primary credentials are declared, yet the skill requires account credentials to operate and points to a specific local notes file as the credential source. This is a mismatch: sensitive secrets are implied but not explicitly requested or scoped, increasing the risk of accidental exposure or unexpected file reads.
Persistence & Privilege
The skill does not request always-on presence and uses normal autonomous invocation settings (disable-model-invocation is false). It does not claim to modify other skills or system-wide settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install kura-booking - 安装完成后,直接呼叫该 Skill 的名称或使用
/kura-booking触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
常见问题
Kura Sushi Booking (E-Pai-Ke) 是什么?
使用 e-pai-ke.com (E排客) 進行餐廳預約管理、叫號查詢、登入及取消訂位。適用於藏壽司等使用 E排客 系統的餐廳。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 252 次。
如何安装 Kura Sushi Booking (E-Pai-Ke)?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install kura-booking」即可一键安装,无需额外配置。
Kura Sushi Booking (E-Pai-Ke) 是免费的吗?
是的,Kura Sushi Booking (E-Pai-Ke) 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Kura Sushi Booking (E-Pai-Ke) 支持哪些平台?
Kura Sushi Booking (E-Pai-Ke) 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Kura Sushi Booking (E-Pai-Ke)?
由 dabendan(@dabendan2)开发并维护,当前版本 v1.0.0。
推荐 Skills