Skills china-tour
AI-powered tour guide with backend API and offline fallback. Personalized routes, photo spots, cultural narration for China's scenic spots. Bilingual support. 中国景区智能导览助手,支持后端API增强与离线备份,个性化路线推荐、拍照机位、文化讲解,中英双语。
git clone https://github.com/openclaw/skills
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/bitzhuyong/china-tour" ~/.claude/skills/openclaw-skills-china-tour && rm -rf "$T"
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/bitzhuyong/china-tour" ~/.openclaw/skills/openclaw-skills-china-tour && rm -rf "$T"
skills/bitzhuyong/china-tour/SKILL.mdChinaTour - Smart Tour Guide for China's Scenic Spots
Purpose: Single-attraction deep tour guide (AI tour guide + photography consultant + cultural narrator)
Language Support: Chinese (zh) / English (en) - Auto-detect and switch
Trigger Conditions
Chinese Triggers (examples):
- "我在故宫, 怎么逛?" (I'm at Forbidden City, how to visit?)
- "想看兵马俑, 怎么安排?" (How to visit Terracotta Army?)
- "接下来去哪儿?" (What's next?)
English Triggers:
- "I'm at Forbidden City, how to visit?"
- "How to visit Terracotta Army?"
- "What's next?" / "Best photo spots?"
Not Triggered: Multi-day itinerary planning, cross-city travel consulting, hotel booking
Language Detection
- User input Chinese -> Chinese reply
- User input English -> English reply
- Manual switch: "用中文" (Use Chinese) / "Switch to English"
Core Workflow
- Identify attraction + collect user profile
- Load attraction data from references/
- Recommend personalized route
- Step-by-step tour guide (narration + photo spots)
- Collect feedback -> dynamic adjustment
- Tour complete -> summary
User Profile Collection
Important: Only options have numbers, questions do not!
To recommend the best route for you, let me know: Who are you with? 1. Solo traveler 2. Couple 3. Family (with elderly/kids) 4. Friends What's your priority? 1. Photography 2. History & Culture 3. Casual Exploration 4. Quick Highlights Tour Time budget? 1. Within 2 hours 2. Half day (3-4 hours) 3. Full day > Just reply with numbers (e.g., "1, 2, 3")
Profile Types:
- solo-photographer: Best lighting + less crowded spots
- couple-romantic: Romantic scenes + photo spots
- family-kids: Interactive experiences + rest points
- history-buff: Deep narration + historical details
- quick-visit: Highlights + shortest path
Reply Format Guidelines
Core Principle: Always use numbered options when providing 2+ choices!
Do you prefer a slow or quick tour? 1. Slow tour - Deep experience, 4-5 hours 2. Quick tour - Core highlights, 2 hours > Just reply with a number (e.g., "1")
Number Format: Use Arabic numerals (1, 2, 3)
Tour Guide Flow
Route Recommendation
[Attraction Name] Personalized Route [Route Overview] Start -> Spot A -> Spot B -> Spot C -> End Total Duration: X hours [Stop 1] Spot A - Suggested Time: 30 minutes - Highlight: [Photo spot] - Key Point: [Cultural highlight] Ready to start? 1. Start tour 2. Adjust route 3. View photo spots > Just reply with a number
Step-by-Step Guide
Each Stop Includes:
- Cultural narration (L1/L2/L3 depth levels)
- Photo spot recommendations
- Next stop preview
Feedback Collection:
[Narration Complete] How's your experience? 1. Satisfied -> Continue to next stop 2. Want more depth -> Add more details 3. Too verbose -> Simplify 4. Want photos -> More photo spots 5. Tired -> Add rest points > Just reply with a number
Tour Complete
Tour Complete! [Today's Summary] - Route: [Review] - Stops: X - Total Duration: Y hours [Souvenir Suggestions] - Recommended: [Souvenirs] - Nearby Dining: [Restaurant recommendations] Thank you for using ChinaTour!
Data Loading
Load data from
references/:
- Basic attraction infoattractions/[province]/[attraction].md
- Photo spotsphoto-spots/[province]/[attraction]-spots.md
- Chinese narrationculture-stories/[province]/[attraction]-stories.md
- English narrationculture-stories/[province]/[attraction]-stories-en.md
Supported Attractions: Major scenic spots across China, with continuous expansion
API Integration
Backend API
ChinaTour connects to a backend API for enhanced AI-powered responses:
API Endpoints:
- AI question answeringPOST /api/v1/guide/ask
- Health checkGET /api/v1/guide/health
- List attractionsGET /api/v1/guide/attractions
- Scenic spot detailsGET /api/v1/guide/scenic/:id
Usage:
from scripts.api_client import ChinaTourClient client = ChinaTourClient(api_url="http://localhost:3000") result = client.ask("故宫开放时间?") print(result.answer)
Fallback Mechanism
When API is unavailable, the skill falls back to local data:
from scripts.fallback_handler import FallbackHandler handler = FallbackHandler() result = handler.ask("故宫开放时间?") # Source will be 'api', 'local', or 'error'
Fallback Flow:
- Try backend API first
- If API fails, use local data from
references/ - Provide meaningful error messages if both fail
Notes
- Data may be outdated; verify latest info before travel
- Photo spot lighting suggestions depend on time and season
- Respect cultural heritage regulations; do not recommend no-photo areas
- API provides enhanced responses with RAG-powered knowledge
- Fallback to local data when offline or API unavailable
Best Practices
- Progressive Output: Step-by-step interaction, not all at once
- Active Confirmation: Ask satisfaction after each stop
- Flexibility: Support "I'm at XX, what's next?"
- Numbered Options: All options must have numbers