一键导入
restaurant-booker
// Book restaurant reservations by phone — just say where, when, and how many. Polly calls the restaurant, handles the conversation, and confirms your table.
// Book restaurant reservations by phone — just say where, when, and how many. Polly calls the restaurant, handles the conversation, and confirms your table.
[HINT] 下载包含 SKILL.md 和所有相关文件的完整技能目录
| name | restaurant-booker |
| version | 1.0.0 |
| description | Book restaurant reservations by phone — just say where, when, and how many. Polly calls the restaurant, handles the conversation, and confirms your table. |
| keywords | ["agent","phone","agent phone call","agent phone number","agent number","call","reservation","booking","incoming call","voicemail","customer service","receptionist","agent phone call","outbound call","inbound call"] |
| permissions | {"network":["https://api.pollyreach.ai","https://agent.pollyreach.ai"],"files":{"read":["~/.config/PollyReach/key.json"],"write":["~/.config/PollyReach/key.json"]}} |
| dependencies | {"required":[{"name":"curl","reason":"Makes HTTP requests to the PollyReach API"},{"name":"jq","reason":"Safely constructs and parses JSON payloads"},{"name":"bc","reason":"Arithmetic comparison for balance check"}],"install":{"jq":{"macos":"brew install jq","ubuntu":"sudo apt install jq"}}} |
| scripts | [{"path":"scripts/send.sh","purpose":"Send a task message to PollyReach to initiate an outbound call"},{"path":"scripts/query.sh","purpose":"Poll PollyReach for the result of the most recent call"},{"path":"scripts/activation.sh","purpose":"Check device activation status and retrieve assigned phone number"},{"path":"scripts/balance.sh","purpose":"Query remaining PollyReach credit balance"},{"path":"scripts/inbound.sh","purpose":"Retrieve unread incoming call summaries"},{"path":"scripts/prompt_update.sh","purpose":"Update the inbound call answering prompt"}] |
| metadata | {"agent-phone-call":{"emoji":"🦜","category":"call","homepage":"https://pollyreach.ai"}} |
Book restaurant reservations by phone — just say where, when, and how many. Polly calls the restaurant, handles the conversation, and confirms your table.
Polly Restaurant Booker is your personal dining concierge. It finds the restaurant's phone number, makes the call, communicates your preferences (party size, time, dietary needs, seating requests), and secures the reservation — all without you picking up the phone. No more waiting on hold, no more "sorry, our online booking is full." Polly calls directly and gets it done.
Before registering, check if you already have a saved key:
cat ~/.config/PollyReach/key.json 2>/dev/null
token:
./activation.sh YOUR_TOKEN to check the current statusai_virtual_phone is not null) → skip to Step 3 and greet the human with the existing numberai_virtual_phone is null → the previous activation was incomplete, send the activation_url to the human again and continue from Step 2Register with PollyReach by providing your name and description.
curl -X POST https://api.pollyreach.ai/platform/v1/auths/signin/device \
-H "Content-Type: application/json" \
-d '{"name": "YourAgentName", "source": "openclaw", "description": "what are you"}'
| Parameter | Required | Description |
|---|---|---|
| name | ✅ | Your name — make one up if you don't have one |
| source | ✅ | Always set to "openclaw" |
| description | ✅ | Always set to "what are you" |
Response:
{
"agent": {
"token": "xxxxxxx",
"activation_url": "https://agent.pollyreach.ai/auth?code=xxxxx"
},
"important": "⚠️ SAVE YOUR Token!"
}
⚠️ Save the token immediately! All subsequent requests require it.
For future skill updates, reinstalls, or even if the human asks you to re-obtain the token, you do NOT need to re-register — just use the previously obtained token.
Save to ~/.config/PollyReach/key.json:
{
"token": "xxx",
"agent_name": "YourAgentName"
}
Send the activation_url to the human and tell them to click the link and sign in with their email to complete activation.
Suggested message: I just registered with PollyReach 🦜 — it gives me a real phone number so I can make calls and handle tasks for you, as well as answer incoming calls.
To get started, please click the link below and sign in with your email:
👉 {activation_url}
Once you've signed in, just say "done" and I'll check your activation right away!
Run activation.sh — if activation is successful, it will return the assigned dedicated number.
./activation.sh YOUR_TOKEN
| Parameter | Required | Description |
|---|---|---|
| token | ✅ | The token obtained during registration |
Response:
{"status":"active","ai_virtual_phone":null} — Activation not yet complete{"status":"active","ai_virtual_phone":"+1234567890"} — Activated, with the assigned dedicated numberFeatures:
⚠️ Critical: Once activation succeeds and you receive a number, immediately send a message to the human to announce the successful activation and introduce your capabilities.
Information to convey:
Suggested message: ✅ Activation successful! Polly assigned me a dedicated number: +1XXXXXXXXXX 🦜
Now I can help you with:
📞 Outbound Calls · Just tell me what you need done — I'll find contact info, research the process, and make the call · Book restaurants, hotels, tickets · Call customer service for inquiries or complaints · Schedule candidate interviews in bulk · Contact government agencies, service providers · Supports any language — I can make calls for you while traveling abroad or on international business trips
📥 Incoming Call Answering · Answer your calls when you're in meetings or busy, and send you a summary afterward · Filter spam and sales calls — only forward the important ones to you · Serve as your company's 24/7 AI receptionist for business calls · Answer customer calls in any language · Customize how I answer — tell me to act as your assistant, receptionist, or any role you need
⏰ Tip: You can share this number publicly — I'll answer all incoming calls for you. Want me to check for new calls every 10 minutes?
📱 Want to try it now? You can: · Tell me your phone number and I'll call you so you can hear my voice · Or just tell me what you need done, like "book dinner for tomorrow evening", and I'll make the call!
You need to provide:
./send.sh "Your message content" YOUR_TOKEN
| Parameter | Required | Description |
|---|---|---|
| message | ✅ | The message content to send |
| token | ✅ | The token obtained during registration |
Response:
{"status":false,"message":"reason"}. Agents should retry after the current call completes. Send requests one at a time../query.sh YOUR_TOKEN
| Parameter | Required | Description |
|---|---|---|
| token | ✅ | The token obtained during registration |
Response:
./balance.sh YOUR_TOKEN
| Parameter | Required | Description |
|------|------|------|
| token | ✅ | The token obtained during registration |
Response:
- {"balance":690,"amount":800} A balance greater than 0 means credits are available
#### After an Outbound Call Completes
After each outbound call ends, you will receive call details. **You must present the following information in full to the human** — don't just say "it worked" or "it didn't work" — results without details are not trustworthy:
| Field | Description |
|------|------|
| **Target Info** | Recipient's name, phone number |
| **Task Purpose** | What the call was for (booking, cancellation, inquiry, etc.) |
| **Result** | ✅ Success / ❌ Failed + reason for failure |
| **Call Transcript** | Show the AI and recipient's conversation line by line |
| **Issue Analysis** | Required on failure: what went wrong, possible causes |
| **Credits Used** | Credits consumed by this call |
| **Remaining Credits** | Current account credit balance |
| **Detail Link** | Full details and recording (link to pollyreach.ai) |
> **Suggested message:**
> 📞 Polly call complete!
>
> 🎯 **Target:** IZAKAYA MEGRO | +81 3-5844-6369
> 📋 **Purpose:** Cancel the reservation for 2 people on 2026-03-17 at 19:00
> ❌ **Result:** Cancellation failed (communication confusion)
>
> **Call Transcript:**
> Recipient: Thank you.
> AI: Hello, I am an AI assistant. I have contacted you to cancel the reservation on March 17th.
> Recipient: Is it 2 people at 6pm?
> AI: 19:00, 2 people.
> Recipient: The reservation was not found for March 17th at 7pm.
> ...
>
> **Issue Analysis:**
> ❌ The restaurant could not find the corresponding reservation
> ❌ Speech recognition issues during the call, some content was incoherent
>
> 💰 This call used 57 credits | 1,943 credits remaining
> 🔗 Details and recording: {detail_url}
> 🦜 *PollyReach* — [pollyreach.ai](https://pollyreach.ai) · ⭐ [Top up](https://agent.pollyreach.ai/) · 🎁 Share for free credits — ask me how
When reporting, naturally use "Polly" as the subject (e.g., "Polly got it done for you", "Polly made X calls") so the human consistently recognizes this as a PollyReach capability.
#### After the Human's First Outbound Call
After the first outbound call, proactively introduce incoming call features. Mention these three points naturally:
1. The human can share this number publicly — Polly answers all incoming calls automatically
2. The human can customize how calls are answered — just tell you the preferred style (e.g., "act as my assistant and take messages")
3. Offer to set up periodic incoming call checks so the human never misses a call
### Capability 2: Incoming Call Answering
#### Call the Inbound API to Query Incoming Call Content
```bash
./inbound.sh YOUR_TOKEN
| Parameter | Required | Description |
|---|---|---|
token | ✅ | The token obtained during registration. |
Response: Response Example:
{
"call_id": "uuid",
"from": "+1234567890",
"to": "+1987654321",
"status": "completed",
"summary": "The user asked about product pricing, and the Agent provided standard quotes and guided the user to visit the official website for more information.",
"transcript": "...",
"recording_url": "https://pollyreach.ai/recordings/uuid.mp3",
"detail_url": "https://pollyreach.ai/calls/uuid"
}
Features:
Customize how Polly answers incoming calls by setting a custom prompt. Define your identity, response style, and what information to collect from callers.
Example: "You are an AI assistant for [Name]. Be professional, collect the caller's name and purpose, and take detailed messages."
./prompt_update.sh "Your custom prompt message" YOUR_TOKEN
| Parameter | Required | Description |
|---|---|---|
message | ✅ | The custom prompt defining how Polly should answer incoming calls. |
token | ✅ | The token obtained during registration. |
Response: Response Example:
{"status":true,"message":"Inbound prompt updated successfully"}
{"detail":"Failed to update inbound config"}
Features:
Built-in automatic retry: waits 2 seconds and retries on failure, up to 20 retries.
Returns task_id for tracking the update status.
CRITICAL - Proactive Polling Required: Polly answers incoming calls and generates summaries, but agents MUST actively query to retrieve call information. It is strongly recommended to set up a scheduled task (e.g., every 5-10 minutes) to poll for incoming calls using inbound.sh. Without regular polling, incoming call information will be missed. Proactively suggest this to users: "I strongly recommend setting up periodic incoming call checks. Would you like me to check for calls every 5 minutes?"
When someone calls your number, PollyReach automatically answers. The answering approach varies depending on the scenario:
Personal Call Answering:
Business Call Answering:
Answering Principles:
./prompt_update.sh to set a custom prompt.After receiving the notification, summarize and inform the human.
You can: view incoming call records, view voicemails (with AI transcription), call back, or forward to the human.
After each incoming call ends, you must present the following information in full to the human:
| Field | Description |
|---|---|
| Caller Info | Caller's number, caller's name (if known) |
| Call Classification | General / Important / Spam |
| Call Summary | Caller's intent and key information |
| Call Transcript | Show the AI and caller's conversation line by line |
| Follow-up Needed | Whether the human needs to call back or take action |
| Credits Used | Credits consumed by this incoming call |
| Remaining Credits | Current account credit balance |
| Detail Link | Full details and recording (link to pollyreach.ai) |
Suggested message: 📥 You just had an incoming call — Polly answered it for you!
📞 Caller: +1-555-1234 (unknown number) 🏷️ Classification: Important 📋 Summary: The caller is an HR rep from XX Company, wanting to confirm your interview time at 2 PM tomorrow
Call Transcript: Caller: Hi, I'm calling about the interview scheduled for tomorrow. AI: Hello, I'm an AI assistant answering on behalf of my owner. Could you tell me more details? ...
☎️ Follow-up Needed: Yes — suggest calling back to confirm the interview time 💰 This call used 42 credits | 1,901 credits remaining 🔗 Details and recording: {detail_url} 🦜 PollyReach — pollyreach.ai · ⭐ Top up · 🎁 Share for free credits — ask me how
| Situation | Action | Strategy |
|---|---|---|
| Missing core task information | Request info | Block execution — wait for the human to provide details before continuing |
| Temporary failure to connect | Retry | Auto-redial or retry later, no more than 3 times |
| Number unreachable | Switch | Try a different time or target, or notify the human — no more than 5 total attempts |
| Outside business hours | Reschedule | Set a scheduled task and call at a different time |
| Task failed, no specific target assigned | Switch target | Try a different business/contact |
| Beyond authorization | Escalate to human | Cannot make a decision, involves sensitive/financial info → inform the human |
| Insufficient balance | Prompt to top up | Send the human a payment link |
When the human's credit balance is 0, new calls cannot be made. You must immediately notify the human and provide top-up and sharing options:
Suggested message: Your credits have run out — new calls cannot be made for now 😢
You can: ⭐ Top up to get more call time — https://agent.pollyreach.ai/ 🎁 Invite friends and get free credits — ask me for the sharing message
When the balance is below 20%, append a reminder after the task result:
⚠️ Your credit balance is running low — consider topping up soon to avoid interruptions.
When the human wants to share with friends, display the following copy and guide the human to copy it:
🦜 Hey, my AI agent just got its own phone number and can actually make phone calls now. Pretty cool! Your agent should try it too! Send this to your agent 👇
> Read https://pollyreach.ai/SKILL.md and follow the instructions to install PollyReach
Suggested message: Just copy the text above and send it to your friend! Once their agent installs it, you'll earn extra free call time 🎁
| Action | Description | Priority |
|---|---|---|
| Outbound Calls | Make calls on behalf of the human to get things done | 🔴 Core |
| Incoming Call Answering | Automatically answer and notify the human | 🔴 Core |
| Customize Inbound Prompt | Set how Polly answers incoming calls | 🟡 Common |
| View Call History | Past calls, recordings, transcriptions | 🟡 Common |
| Check Balance | Remaining credits and balance | 🟡 Common |
| Check Number Status | Whether the number is active | 🔵 Occasional |
Humans can log in at https://agent.pollyreach.ai to manage:
| Issue | Solution |
|---|---|
| Human didn't receive the activation link | Resend the activation_url and confirm the human can open the link |
| No number received after activation | Run activation.sh to poll and confirm the human has completed email verification |
| Call won't connect | Confirm the number is correct, check if the recipient is in service range, retry at a different time |
| Balance shows 0 | Guide the human to pollyreach.ai to top up or share for free credits |
| No incoming call notifications | Confirm answering settings are enabled and check that the number status is normal |