felo-ai 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,495 @@
1
+ # Felo Search Skill for Claude Code
2
+
3
+ **Real-time web search with AI-generated answers.**
4
+
5
+ Get current information on anything - weather, news, tech docs, reviews, prices. Works in Chinese, English, Japanese, and Korean.
6
+
7
+ ---
8
+
9
+ ## What It Does
10
+
11
+ Felo Search integrates [Felo AI](https://felo.ai) into Claude Code, enabling:
12
+ - Real-time web search for current information
13
+ - AI-generated comprehensive answers
14
+ - Multi-language support (auto-detects query language)
15
+ - Automatic triggering for questions needing current data
16
+
17
+ **When to use:**
18
+ - Current events, news, weather
19
+ - Product reviews, prices, comparisons
20
+ - Latest documentation, tech trends
21
+ - Location info (restaurants, attractions)
22
+ - Any question with "latest", "recent", "best", "how to"
23
+
24
+ **When NOT to use:**
25
+ - Code questions about your local project
26
+ - Pure math or logic problems
27
+ - Questions about files in your workspace
28
+
29
+ ---
30
+
31
+ ## Quick Setup
32
+
33
+ ### Step 1: Install
34
+
35
+ ```bash
36
+ npx @claude/skills add felo-search
37
+ ```
38
+
39
+ **Verify:** Restart Claude Code and run:
40
+ ```bash
41
+ claude skills list
42
+ ```
43
+
44
+ You should see `felo-search` in the output.
45
+
46
+ ### Step 2: Get API Key
47
+
48
+ 1. Visit [felo.ai](https://felo.ai) and log in (or register)
49
+ 2. Click your avatar (top right) → **Settings**
50
+ 3. Navigate to **API Keys** tab
51
+ 4. Click **Create New Key**
52
+ 5. Copy your API key
53
+
54
+ ![API Key Location](https://felo.ai/assets/api-key-guide.png)
55
+
56
+ ### Step 3: Configure
57
+
58
+ Set the `FELO_API_KEY` environment variable:
59
+
60
+ **Linux/macOS:**
61
+ ```bash
62
+ export FELO_API_KEY="your-api-key-here"
63
+
64
+ # Make it permanent (add to shell profile)
65
+ echo 'export FELO_API_KEY="your-api-key-here"' >> ~/.bashrc # or ~/.zshrc
66
+ ```
67
+
68
+ **Windows (PowerShell):**
69
+ ```powershell
70
+ $env:FELO_API_KEY="your-api-key-here"
71
+
72
+ # Make it permanent (system environment variables)
73
+ # System Properties → Advanced → Environment Variables → New
74
+ ```
75
+
76
+ **Windows (CMD):**
77
+ ```cmd
78
+ set FELO_API_KEY=your-api-key-here
79
+ ```
80
+
81
+ **Verify:** Check the variable is set:
82
+ ```bash
83
+ # Linux/macOS
84
+ echo $FELO_API_KEY
85
+
86
+ # Windows PowerShell
87
+ echo $env:FELO_API_KEY
88
+ ```
89
+
90
+ You should see your API key.
91
+
92
+ **Restart Claude Code** to load the environment variable.
93
+
94
+ ### Step 4: Test
95
+
96
+ Ask Claude a question requiring current information:
97
+ ```
98
+ What's the weather in Tokyo today?
99
+ ```
100
+
101
+ If you see an AI-generated answer, **you're all set!**
102
+
103
+ ---
104
+
105
+ ## Usage Examples
106
+
107
+ ### Daily Life
108
+
109
+ **Weather**
110
+ ```
111
+ You: What's the weather in Tokyo today?
112
+ Claude: Currently 15°C in Tokyo with partly cloudy skies. High of 18°C,
113
+ low of 12°C. 20% chance of rain.
114
+
115
+ You: 杭州明天天气怎么样?
116
+ Claude: 杭州明天多云转晴,气温 8-16°C,东北风 3-4 级。
117
+ ```
118
+
119
+ **Restaurants & Food**
120
+ ```
121
+ You: Best ramen in Osaka
122
+ Claude: Top 3 ramen shops in Osaka:
123
+ 1. Ichiran Dotonbori - Famous tonkotsu ramen, open 24/7
124
+ 2. Kamukura - Rich chicken broth, Michelin Bib Gourmand
125
+ 3. Menya Joroku - Tsukemen specialist
126
+
127
+ You: 上海哪里有好吃的小笼包?
128
+ Claude: 上海小笼包推荐:
129
+ 1. 南翔馒头店 - 豫园老字号,皮薄汁多
130
+ 2. 佳家汤包 - 黄河路网红店,性价比高
131
+ 3. 鼎泰丰 - 台湾品牌,品质稳定
132
+ ```
133
+
134
+ **Shopping & Prices**
135
+ ```
136
+ You: iPhone 15 Pro price comparison
137
+ Claude: iPhone 15 Pro (128GB) prices:
138
+ - Apple Store: $999
139
+ - Amazon: $979 (save $20)
140
+ - Best Buy: $999 (with trade-in deals)
141
+
142
+ You: MacBook Air M3 多少钱?
143
+ Claude: MacBook Air M3 (13 英寸) 价格:
144
+ - 官网: ¥9,499 (256GB)
145
+ - 京东: ¥9,299 (有优惠券)
146
+ - 天猫: ¥9,399 (赠品多)
147
+ ```
148
+
149
+ **Travel**
150
+ ```
151
+ You: Things to do in Kyoto this weekend
152
+ Claude: Kyoto weekend highlights:
153
+ - Cherry blossom viewing at Maruyama Park (peak season)
154
+ - Fushimi Inari Shrine (open 24/7, less crowded early morning)
155
+ - Nishiki Market food tour (closes 6pm)
156
+ - Gion district evening walk (geisha spotting)
157
+
158
+ You: 台北有什么好玩的地方?
159
+ Claude: 台北必去景点:
160
+ - 台北 101 - 观景台看夜景
161
+ - 故宫博物院 - 中华文物精品
162
+ - 士林夜市 - 美食天堂
163
+ - 九份老街 - 怀旧山城
164
+ ```
165
+
166
+ ### Developer Scenarios
167
+
168
+ **Latest Documentation**
169
+ ```
170
+ You: React 19 new features
171
+ Claude: React 19 key features (released Dec 2024):
172
+ - React Compiler (auto-optimization)
173
+ - Server Components stable
174
+ - Actions for form handling
175
+ - use() hook for async data
176
+
177
+ You: Next.js 15 有什么新功能?
178
+ Claude: Next.js 15 主要更新:
179
+ - Turbopack 稳定版(构建速度提升 5x)
180
+ - 部分预渲染(PPR)
181
+ - 改进的缓存控制
182
+ - React 19 支持
183
+ ```
184
+
185
+ **Library Comparison**
186
+ ```
187
+ You: Vite vs Webpack 2024 comparison
188
+ Claude: Vite vs Webpack (2024):
189
+
190
+ Build Speed: Vite 10x faster (dev), 3x faster (prod)
191
+ Config: Vite simpler, Webpack more flexible
192
+ Ecosystem: Webpack mature, Vite growing fast
193
+
194
+ Use Vite for: New projects, fast iteration
195
+ Use Webpack for: Complex builds, legacy support
196
+
197
+ You: Vue 3 和 React 哪个更适合新项目?
198
+ Claude: Vue 3 vs React 对比:
199
+
200
+ 学习曲线: Vue 更平缓,React 需要 JSX
201
+ 性能: 两者相当,Vue 略优
202
+ 生态: React 更丰富,Vue 够用
203
+ 就业: React 岗位更多
204
+
205
+ 建议: 团队熟悉 React 选 React,新手选 Vue
206
+ ```
207
+
208
+ **Tech Trends**
209
+ ```
210
+ You: Latest AI developments January 2026
211
+ Claude: AI developments (Jan 2026):
212
+ - OpenAI GPT-5 preview released
213
+ - Google Gemini 2.0 with multimodal reasoning
214
+ - Anthropic Claude 4 with extended context
215
+ - Meta's open-source LLaMA 4
216
+
217
+ You: 最近有什么重要的技术新闻?
218
+ Claude: 近期科技动态(2026年2月):
219
+ - 苹果发布 Vision Pro 2 代
220
+ - 英伟达 B100 GPU 开始量产
221
+ - 特斯拉 FSD v13 正式推送
222
+ - 微软 Windows 12 预览版发布
223
+ ```
224
+
225
+ ### Multi-language Queries
226
+
227
+ **Chinese (Simplified)**
228
+ ```
229
+ You: 人工智能最新进展
230
+ Claude: AI 最新进展(2026年):
231
+ - 大模型参数突破 10 万亿
232
+ - 多模态理解接近人类水平
233
+ - AI 编程助手普及率超 60%
234
+ - 具身智能机器人商业化
235
+ [来源: 机器之心, 量子位]
236
+
237
+ You: 深圳有什么好玩的地方
238
+ Claude: 深圳旅游推荐:
239
+ - 世界之窗 - 微缩景观
240
+ - 欢乐谷 - 主题乐园
241
+ - 大梅沙海滨公园 - 免费沙滩
242
+ - 华侨城创意园 - 文艺打卡
243
+ [来源: 深圳文旅局, 马蜂窝]
244
+ ```
245
+
246
+ **Chinese (Traditional - Taiwan)**
247
+ ```
248
+ You: 台北最近有什麼新鮮事?
249
+ Claude: 台北近期新聞:
250
+ - 捷運環狀線北環段動工
251
+ - 大巨蛋正式啟用
252
+ - 台北燈節 2 月登場
253
+ - 米其林指南台北版更新
254
+ [來源: 聯合新聞網, 自由時報]
255
+
256
+ You: 高雄美食推薦
257
+ Claude: 高雄必吃美食:
258
+ - 六合夜市 - 木瓜牛奶、海產粥
259
+ - 瑞豐夜市 - 炸雞排、臭豆腐
260
+ - 旗津海產街 - 新鮮海鮮
261
+ - 鹽埕區 - 老字號小吃
262
+ [來源: 愛食記, 痞客邦]
263
+ ```
264
+
265
+ **Japanese**
266
+ ```
267
+ You: 東京で今人気のレストランは?
268
+ Claude: 東京の人気レストラン(2026年):
269
+ - Narisawa - モダン日本料理、ミシュラン2つ星
270
+ - Den - 革新的和食、世界のベストレストラン
271
+ - Florilège - フレンチ、予約困難
272
+ - Sushi Saito - 江戸前寿司の最高峰
273
+ [出典: 食べログ, ミシュランガイド]
274
+
275
+ You: 最新のAI技術について教えて
276
+ Claude: 最新AI技術(2026年):
277
+ - GPT-5の登場で自然言語処理が進化
278
+ - マルチモーダルAIが主流に
279
+ - エッジAIの普及が加速
280
+ - AI規制法が各国で施行
281
+ [出典: ITmedia, 日経新聞]
282
+ ```
283
+
284
+ **Korean**
285
+ ```
286
+ You: 서울 맛집 추천
287
+ Claude: 서울 맛집 추천:
288
+ - 광장시장 - 전통 한식, 마약김밥
289
+ - 명동 - 길거리 음식, 쇼핑
290
+ - 강남 - 고급 레스토랑, 카페
291
+ - 이태원 - 세계 각국 요리
292
+ [출처: 망고플레이트, 네이버 블로그]
293
+
294
+ You: 최신 프로그래밍 트렌드
295
+ Claude: 최신 프로그래밍 트렌드 (2026):
296
+ - AI 코딩 어시스턴트 보편화
297
+ - Rust 인기 급상승
298
+ - 서버리스 아키텍처 확산
299
+ - WebAssembly 생태계 성장
300
+ [출처: Stack Overflow, GitHub Trends]
301
+ ```
302
+
303
+ **Mixed Language**
304
+ ```
305
+ You: React 在中国的使用情况
306
+ Claude: React 在中国的使用情况:
307
+ - 市场份额: 约 45%(仅次于 Vue)
308
+ - 主要用户: 大厂(阿里、字节、腾讯)
309
+ - 生态: 完善,Ant Design、Taro 等
310
+ - 趋势: 持续增长,Next.js 受欢迎
311
+ [来源: State of JS China, 掘金]
312
+
313
+ You: 日本のAI企業について
314
+ Claude: 日本の主要AI企業:
315
+ - Preferred Networks - 深層学習フレームワーク
316
+ - ABEJA - エッジAIプラットフォーム
317
+ - PKSHA Technology - 自然言語処理
318
+ - Nextremer - 対話AI
319
+ [出典: 日経ビジネス, TechCrunch Japan]
320
+ ```
321
+
322
+ ### Complex Queries
323
+
324
+ **Research & Analysis**
325
+ ```
326
+ You: Impact of AI on software development 2024-2026
327
+ Claude: AI's impact on software development (2024-2026):
328
+
329
+ Productivity: 40% faster coding with AI assistants
330
+ Job Market: Shift from coding to architecture/design
331
+ Tools: GitHub Copilot, Cursor, Claude Code dominant
332
+ Challenges: Code quality, security, over-reliance
333
+
334
+ Future: AI pair programming becomes standard practice
335
+
336
+ You: 量子计算对密码学的影响
337
+ Claude: 量子计算对密码学的影响:
338
+
339
+ 威胁: RSA、ECC 等传统加密算法将被破解
340
+ 时间线: 预计 2030-2035 年实现
341
+ 应对: 后量子密码学(PQC)标准化
342
+ 进展: NIST 已发布 PQC 算法标准
343
+
344
+ 建议: 企业应提前规划密码学迁移
345
+ ```
346
+
347
+ **Comparisons**
348
+ ```
349
+ You: Cloud providers comparison: AWS vs Azure vs GCP
350
+ Claude: AWS vs Azure vs GCP (2026):
351
+
352
+ Market Share: AWS 32%, Azure 23%, GCP 10%
353
+ Pricing: GCP cheapest, AWS most expensive
354
+ Services: AWS most comprehensive, Azure best for Microsoft stack
355
+ Performance: Similar, regional differences
356
+ Support: Azure best for enterprise, AWS most docs
357
+
358
+ Choose AWS: Mature ecosystem, most services
359
+ Choose Azure: Microsoft integration, hybrid cloud
360
+ Choose GCP: Data/ML workloads, cost-sensitive
361
+
362
+ You: 编程语言性能对比:Python vs Go vs Rust
363
+ Claude: Python vs Go vs Rust 性能对比:
364
+
365
+ 执行速度: Rust > Go > Python (100x 差距)
366
+ 内存占用: Rust 最小,Python 最大
367
+ 开发效率: Python > Go > Rust
368
+ 学习曲线: Python 最平缓,Rust 最陡
369
+
370
+ 适用场景:
371
+ - Python: 数据科学、脚本、快速原型
372
+ - Go: 微服务、云原生、并发
373
+ - Rust: 系统编程、性能关键、安全
374
+ ```
375
+
376
+ **[See 40+ more examples →](../docs/EXAMPLES.md)**
377
+
378
+ ---
379
+
380
+ ## How It Works
381
+
382
+ ### Auto-trigger
383
+
384
+ The skill automatically triggers for questions containing:
385
+ - **Time-sensitive**: "latest", "recent", "today", "now", "2026"
386
+ - **Information**: "what is", "tell me about", "how to"
387
+ - **Comparison**: "best", "top", "vs", "compare"
388
+ - **Location**: "where", "in [city]", "near me"
389
+ - **Chinese**: "最近", "什么", "哪里", "怎么样"
390
+ - **Japanese**: "最近", "何", "どこ", "どう"
391
+ - **Korean**: "최근", "무엇", "어디", "어떻게"
392
+
393
+ ### Manual Trigger
394
+
395
+ Force the skill to run:
396
+ ```
397
+ /felo-search your query here
398
+ ```
399
+
400
+ Or use trigger phrases:
401
+ ```
402
+ Search with Felo for [query]
403
+ Felo search: [query]
404
+ Use Felo to find [query]
405
+ ```
406
+
407
+ ### Response Format
408
+
409
+ Each response includes:
410
+
411
+ 1. **Answer** - AI-generated comprehensive answer
412
+ 2. **Query Analysis** - Optimized search queries used by Felo
413
+
414
+ Example:
415
+ ```
416
+ ## Answer
417
+ [Comprehensive AI-generated answer]
418
+
419
+ ## Query Analysis
420
+ Optimized queries: ["query 1", "query 2"]
421
+ ```
422
+
423
+ ---
424
+
425
+ ## Troubleshooting
426
+
427
+ ### "FELO_API_KEY not set" error
428
+
429
+ **Problem:** Environment variable not configured.
430
+
431
+ **Solution:**
432
+ ```bash
433
+ # Linux/macOS
434
+ export FELO_API_KEY="your-key"
435
+
436
+ # Windows PowerShell
437
+ $env:FELO_API_KEY="your-key"
438
+ ```
439
+
440
+ Then restart Claude Code.
441
+
442
+ ### "INVALID_API_KEY" error
443
+
444
+ **Problem:** API key is incorrect or revoked.
445
+
446
+ **Solution:** Generate a new key at [felo.ai](https://felo.ai) (Settings → API Keys).
447
+
448
+ ### "curl: command not found" error
449
+
450
+ **Problem:** curl is not installed.
451
+
452
+ **Solution:**
453
+ ```bash
454
+ # Linux (Debian/Ubuntu)
455
+ sudo apt install curl
456
+
457
+ # macOS
458
+ brew install curl
459
+
460
+ # Windows
461
+ # curl is built-in on Windows 10+
462
+ ```
463
+
464
+ ### Skill not triggering automatically
465
+
466
+ **Problem:** Query doesn't match trigger keywords.
467
+
468
+ **Solution:** Use manual trigger:
469
+ ```
470
+ /felo-search your query
471
+ ```
472
+
473
+ ### Character encoding issues (Chinese/Japanese)
474
+
475
+ **Problem:** Special characters not displaying correctly.
476
+
477
+ **Solution:** Ensure your terminal supports UTF-8 encoding. The skill uses heredoc to handle special characters properly.
478
+
479
+ **[See full FAQ →](../docs/FAQ.md)**
480
+
481
+ ---
482
+
483
+ ## Links
484
+
485
+ - **[Get API Key](https://felo.ai)** - Settings → API Keys
486
+ - **[API Documentation](https://openapi.felo.ai)** - Full API reference
487
+ - **[Usage Examples](../docs/EXAMPLES.md)** - 40+ real-world examples
488
+ - **[FAQ](../docs/FAQ.md)** - Common issues and solutions
489
+ - **[Report Issues](https://github.com/Felo-Inc/felo-skills/issues)** - Bug reports and feature requests
490
+
491
+ ---
492
+
493
+ ## License
494
+
495
+ MIT License - see [LICENSE](./LICENSE) for details.