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.
- package/CONTRIBUTING.md +346 -0
- package/README.en.md +87 -0
- package/README.ja.md +87 -0
- package/README.ko.md +87 -0
- package/README.md +328 -0
- package/README.zh-CN.md +87 -0
- package/README.zh-TW.md +87 -0
- package/docs/EXAMPLES.md +681 -0
- package/docs/FAQ.md +479 -0
- package/felo-search/LICENSE +21 -0
- package/felo-search/README.md +495 -0
- package/felo-search/SKILL.md +292 -0
- package/package.json +33 -0
- package/src/cli.js +148 -0
- package/src/config.js +66 -0
- package/src/search.js +142 -0
- package/src/slides.js +228 -0
- package/tests/config.test.js +78 -0
- package/tests/search.test.js +100 -0
package/docs/FAQ.md
ADDED
|
@@ -0,0 +1,479 @@
|
|
|
1
|
+
# Frequently Asked Questions (FAQ)
|
|
2
|
+
|
|
3
|
+
Quick answers to common questions about Felo Search skill.
|
|
4
|
+
|
|
5
|
+
**Quick Navigation:**
|
|
6
|
+
- [Installation Issues](#installation-issues)
|
|
7
|
+
- [Configuration Issues](#configuration-issues)
|
|
8
|
+
- [Usage Questions](#usage-questions)
|
|
9
|
+
- [Error Messages](#error-messages)
|
|
10
|
+
- [Platform-Specific](#platform-specific)
|
|
11
|
+
- [Rate Limits & Performance](#rate-limits--performance)
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## Installation Issues
|
|
16
|
+
|
|
17
|
+
### Q: "npx command not found"
|
|
18
|
+
|
|
19
|
+
**A:** Install Node.js first.
|
|
20
|
+
|
|
21
|
+
Download from [nodejs.org](https://nodejs.org) and install. Then retry:
|
|
22
|
+
```bash
|
|
23
|
+
npx @claude/skills add felo-search
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
### Q: Permission denied during install
|
|
27
|
+
|
|
28
|
+
**A:** Use elevated privileges.
|
|
29
|
+
|
|
30
|
+
**Linux/macOS:**
|
|
31
|
+
```bash
|
|
32
|
+
sudo npx @claude/skills add felo-search
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
**Windows:** Run PowerShell or CMD as Administrator.
|
|
36
|
+
|
|
37
|
+
### Q: Skill not showing up after install
|
|
38
|
+
|
|
39
|
+
**A:** Restart Claude Code.
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
claude restart
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Then verify:
|
|
46
|
+
```bash
|
|
47
|
+
claude skills list
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
You should see `felo-search` in the output.
|
|
51
|
+
|
|
52
|
+
### Q: Manual installation - where to copy files?
|
|
53
|
+
|
|
54
|
+
**A:** Copy to Claude Code skills directory.
|
|
55
|
+
|
|
56
|
+
**Linux/macOS:**
|
|
57
|
+
```bash
|
|
58
|
+
cp -r felo-search ~/.claude/skills/
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
**Windows (PowerShell):**
|
|
62
|
+
```powershell
|
|
63
|
+
Copy-Item -Recurse felo-search "$env:USERPROFILE\.claude\skills\"
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
### Q: How to uninstall the skill?
|
|
67
|
+
|
|
68
|
+
**A:** Remove the skill directory.
|
|
69
|
+
|
|
70
|
+
**Linux/macOS:**
|
|
71
|
+
```bash
|
|
72
|
+
rm -rf ~/.claude/skills/felo-search
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
**Windows (PowerShell):**
|
|
76
|
+
```powershell
|
|
77
|
+
Remove-Item -Recurse "$env:USERPROFILE\.claude\skills\felo-search"
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
Then restart Claude Code.
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
## Configuration Issues
|
|
85
|
+
|
|
86
|
+
### Q: Where do I get the API key?
|
|
87
|
+
|
|
88
|
+
**A:** Get it from felo.ai.
|
|
89
|
+
|
|
90
|
+
1. Visit [felo.ai](https://felo.ai)
|
|
91
|
+
2. Log in (or register)
|
|
92
|
+
3. Click your avatar (top right) → **Settings**
|
|
93
|
+
4. Navigate to **API Keys** tab
|
|
94
|
+
5. Click **Create New Key**
|
|
95
|
+
6. Copy your API key
|
|
96
|
+
|
|
97
|
+
### Q: Environment variable not persisting
|
|
98
|
+
|
|
99
|
+
**A:** Add to your shell profile or system environment variables.
|
|
100
|
+
|
|
101
|
+
**Linux/macOS (bash):**
|
|
102
|
+
```bash
|
|
103
|
+
echo 'export FELO_API_KEY="your-key"' >> ~/.bashrc
|
|
104
|
+
source ~/.bashrc
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
**Linux/macOS (zsh):**
|
|
108
|
+
```bash
|
|
109
|
+
echo 'export FELO_API_KEY="your-key"' >> ~/.zshrc
|
|
110
|
+
source ~/.zshrc
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
**Windows:** Add to system environment variables:
|
|
114
|
+
1. System Properties → Advanced → Environment Variables
|
|
115
|
+
2. Under "User variables", click **New**
|
|
116
|
+
3. Variable name: `FELO_API_KEY`
|
|
117
|
+
4. Variable value: your API key
|
|
118
|
+
5. Click **OK**, restart Claude Code
|
|
119
|
+
|
|
120
|
+
### Q: How to verify API key is set?
|
|
121
|
+
|
|
122
|
+
**A:** Check the environment variable.
|
|
123
|
+
|
|
124
|
+
**Linux/macOS:**
|
|
125
|
+
```bash
|
|
126
|
+
echo $FELO_API_KEY
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
**Windows (PowerShell):**
|
|
130
|
+
```powershell
|
|
131
|
+
echo $env:FELO_API_KEY
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
**Windows (CMD):**
|
|
135
|
+
```cmd
|
|
136
|
+
echo %FELO_API_KEY%
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
You should see your API key. If empty, it's not set.
|
|
140
|
+
|
|
141
|
+
### Q: Can I use multiple API keys?
|
|
142
|
+
|
|
143
|
+
**A:** Only one key per environment.
|
|
144
|
+
|
|
145
|
+
The skill uses the `FELO_API_KEY` environment variable. To switch keys, change the variable and restart Claude Code.
|
|
146
|
+
|
|
147
|
+
### Q: Is my API key secure?
|
|
148
|
+
|
|
149
|
+
**A:** Environment variables are reasonably secure.
|
|
150
|
+
|
|
151
|
+
- Don't commit API keys to git repositories
|
|
152
|
+
- Don't share your API key publicly
|
|
153
|
+
- Revoke and regenerate if compromised
|
|
154
|
+
- Use separate keys for different environments
|
|
155
|
+
|
|
156
|
+
---
|
|
157
|
+
|
|
158
|
+
## Usage Questions
|
|
159
|
+
|
|
160
|
+
### Q: When does the skill trigger automatically?
|
|
161
|
+
|
|
162
|
+
**A:** For questions needing current information.
|
|
163
|
+
|
|
164
|
+
Triggers for:
|
|
165
|
+
- Current events, news, weather
|
|
166
|
+
- Prices, reviews, comparisons
|
|
167
|
+
- Location info (restaurants, attractions)
|
|
168
|
+
- Latest documentation, tech trends
|
|
169
|
+
- Questions with "latest", "recent", "best", "how to"
|
|
170
|
+
- Chinese: "最近", "什么", "哪里", "怎么样"
|
|
171
|
+
- Japanese: "最近", "何", "どこ", "どう"
|
|
172
|
+
- Korean: "최근", "무엇", "어디", "어떻게"
|
|
173
|
+
|
|
174
|
+
### Q: How to trigger manually?
|
|
175
|
+
|
|
176
|
+
**A:** Use the skill command or trigger phrases.
|
|
177
|
+
|
|
178
|
+
**Command:**
|
|
179
|
+
```
|
|
180
|
+
/felo-search your query here
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
**Trigger phrases:**
|
|
184
|
+
```
|
|
185
|
+
Search with Felo for [query]
|
|
186
|
+
Felo search: [query]
|
|
187
|
+
Use Felo to find [query]
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
### Q: Does it work in Chinese/Japanese/Korean?
|
|
191
|
+
|
|
192
|
+
**A:** Yes! Fully supports multi-language queries.
|
|
193
|
+
|
|
194
|
+
Ask in any language, get answers in that language. Even mixed-language queries work:
|
|
195
|
+
- "React 在中国的使用情况"
|
|
196
|
+
- "東京で中国語が通じる病院"
|
|
197
|
+
- "Python vs Java 哪个更适合初学者?"
|
|
198
|
+
|
|
199
|
+
### Q: What's the response format?
|
|
200
|
+
|
|
201
|
+
**A:** Two-part response.
|
|
202
|
+
|
|
203
|
+
1. **Answer** - AI-generated comprehensive answer
|
|
204
|
+
2. **Query Analysis** - Optimized search queries used
|
|
205
|
+
|
|
206
|
+
### Q: Can I use it for code questions?
|
|
207
|
+
|
|
208
|
+
**A:** Best for questions needing web search.
|
|
209
|
+
|
|
210
|
+
**Good for:**
|
|
211
|
+
- Latest framework documentation
|
|
212
|
+
- Library comparisons
|
|
213
|
+
- Tech trends and news
|
|
214
|
+
- API usage guides
|
|
215
|
+
|
|
216
|
+
**Not ideal for:**
|
|
217
|
+
- Questions about your local code
|
|
218
|
+
- Pure logic or math problems
|
|
219
|
+
- File-specific questions in your workspace
|
|
220
|
+
|
|
221
|
+
### Q: How accurate are the answers?
|
|
222
|
+
|
|
223
|
+
**A:** Powered by Felo AI.
|
|
224
|
+
|
|
225
|
+
Answers are AI-generated based on current web information. Accuracy depends on:
|
|
226
|
+
- Query clarity
|
|
227
|
+
- Available web information
|
|
228
|
+
- Information recency
|
|
229
|
+
|
|
230
|
+
### Q: Can I customize the response format?
|
|
231
|
+
|
|
232
|
+
**A:** No, format is standardized.
|
|
233
|
+
|
|
234
|
+
The skill uses a consistent format for all responses. This ensures reliability and ease of use.
|
|
235
|
+
|
|
236
|
+
---
|
|
237
|
+
|
|
238
|
+
## Error Messages
|
|
239
|
+
|
|
240
|
+
### Q: "FELO_API_KEY not set"
|
|
241
|
+
|
|
242
|
+
**A:** Environment variable not configured.
|
|
243
|
+
|
|
244
|
+
**Solution:**
|
|
245
|
+
```bash
|
|
246
|
+
# Linux/macOS
|
|
247
|
+
export FELO_API_KEY="your-key"
|
|
248
|
+
|
|
249
|
+
# Windows PowerShell
|
|
250
|
+
$env:FELO_API_KEY="your-key"
|
|
251
|
+
|
|
252
|
+
# Windows CMD
|
|
253
|
+
set FELO_API_KEY=your-key
|
|
254
|
+
```
|
|
255
|
+
|
|
256
|
+
Then restart Claude Code.
|
|
257
|
+
|
|
258
|
+
### Q: "INVALID_API_KEY"
|
|
259
|
+
|
|
260
|
+
**A:** API key is incorrect or revoked.
|
|
261
|
+
|
|
262
|
+
**Solution:**
|
|
263
|
+
1. Go to [felo.ai](https://felo.ai)
|
|
264
|
+
2. Settings → API Keys
|
|
265
|
+
3. Generate a new key
|
|
266
|
+
4. Update your environment variable
|
|
267
|
+
5. Restart Claude Code
|
|
268
|
+
|
|
269
|
+
### Q: "curl: command not found"
|
|
270
|
+
|
|
271
|
+
**A:** curl is not installed.
|
|
272
|
+
|
|
273
|
+
**Solution:**
|
|
274
|
+
|
|
275
|
+
**Linux (Debian/Ubuntu):**
|
|
276
|
+
```bash
|
|
277
|
+
sudo apt update
|
|
278
|
+
sudo apt install curl
|
|
279
|
+
```
|
|
280
|
+
|
|
281
|
+
**Linux (Fedora/RHEL):**
|
|
282
|
+
```bash
|
|
283
|
+
sudo dnf install curl
|
|
284
|
+
```
|
|
285
|
+
|
|
286
|
+
**macOS:**
|
|
287
|
+
```bash
|
|
288
|
+
brew install curl
|
|
289
|
+
```
|
|
290
|
+
|
|
291
|
+
**Windows:** curl is built-in on Windows 10+. If missing, download from [curl.se](https://curl.se/windows/).
|
|
292
|
+
|
|
293
|
+
### Q: "CHAT_FAILED" or "SERVICE_ERROR"
|
|
294
|
+
|
|
295
|
+
**A:** Felo service issue.
|
|
296
|
+
|
|
297
|
+
**Solution:**
|
|
298
|
+
1. Wait a moment and retry
|
|
299
|
+
2. Check [felo.ai](https://felo.ai) status
|
|
300
|
+
3. Verify your internet connection
|
|
301
|
+
4. Contact support@felo.ai if persistent
|
|
302
|
+
|
|
303
|
+
### Q: "RATE_LIMIT_EXCEEDED"
|
|
304
|
+
|
|
305
|
+
**A:** You've exceeded your API rate limit.
|
|
306
|
+
|
|
307
|
+
**Solution:**
|
|
308
|
+
1. Wait for the rate limit to reset (usually 1 minute)
|
|
309
|
+
2. Check your Felo account tier at [felo.ai](https://felo.ai)
|
|
310
|
+
3. Upgrade to a higher tier if needed
|
|
311
|
+
|
|
312
|
+
### Q: Response is empty or incomplete
|
|
313
|
+
|
|
314
|
+
**A:** Query may be too vague or no results found.
|
|
315
|
+
|
|
316
|
+
**Solution:**
|
|
317
|
+
- Be more specific in your query
|
|
318
|
+
- Include context (location, time, specific details)
|
|
319
|
+
- Try rephrasing the question
|
|
320
|
+
- Check if the topic has recent web information
|
|
321
|
+
|
|
322
|
+
---
|
|
323
|
+
|
|
324
|
+
## Platform-Specific
|
|
325
|
+
|
|
326
|
+
### Q: Windows PowerShell - variable not working
|
|
327
|
+
|
|
328
|
+
**A:** Use PowerShell syntax for environment variables.
|
|
329
|
+
|
|
330
|
+
**For current session:**
|
|
331
|
+
```powershell
|
|
332
|
+
$env:FELO_API_KEY="your-key"
|
|
333
|
+
```
|
|
334
|
+
|
|
335
|
+
**For permanent:**
|
|
336
|
+
1. System Properties → Advanced → Environment Variables
|
|
337
|
+
2. Add `FELO_API_KEY` under User variables
|
|
338
|
+
3. Restart PowerShell and Claude Code
|
|
339
|
+
|
|
340
|
+
### Q: Windows CMD - how to set variable?
|
|
341
|
+
|
|
342
|
+
**A:** Use CMD syntax (no quotes).
|
|
343
|
+
|
|
344
|
+
**For current session:**
|
|
345
|
+
```cmd
|
|
346
|
+
set FELO_API_KEY=your-key
|
|
347
|
+
```
|
|
348
|
+
|
|
349
|
+
**For permanent:** Use System Properties (same as PowerShell above).
|
|
350
|
+
|
|
351
|
+
### Q: macOS - where to add permanent env var?
|
|
352
|
+
|
|
353
|
+
**A:** Add to shell profile.
|
|
354
|
+
|
|
355
|
+
**For zsh (default on macOS):**
|
|
356
|
+
```bash
|
|
357
|
+
echo 'export FELO_API_KEY="your-key"' >> ~/.zshrc
|
|
358
|
+
source ~/.zshrc
|
|
359
|
+
```
|
|
360
|
+
|
|
361
|
+
**For bash:**
|
|
362
|
+
```bash
|
|
363
|
+
echo 'export FELO_API_KEY="your-key"' >> ~/.bash_profile
|
|
364
|
+
source ~/.bash_profile
|
|
365
|
+
```
|
|
366
|
+
|
|
367
|
+
### Q: Linux - bash vs zsh?
|
|
368
|
+
|
|
369
|
+
**A:** Check your shell, then add to the correct profile.
|
|
370
|
+
|
|
371
|
+
**Check current shell:**
|
|
372
|
+
```bash
|
|
373
|
+
echo $SHELL
|
|
374
|
+
```
|
|
375
|
+
|
|
376
|
+
**If bash:**
|
|
377
|
+
```bash
|
|
378
|
+
echo 'export FELO_API_KEY="your-key"' >> ~/.bashrc
|
|
379
|
+
source ~/.bashrc
|
|
380
|
+
```
|
|
381
|
+
|
|
382
|
+
**If zsh:**
|
|
383
|
+
```bash
|
|
384
|
+
echo 'export FELO_API_KEY="your-key"' >> ~/.zshrc
|
|
385
|
+
source ~/.zshrc
|
|
386
|
+
```
|
|
387
|
+
|
|
388
|
+
### Q: WSL (Windows Subsystem for Linux) setup?
|
|
389
|
+
|
|
390
|
+
**A:** Treat it like Linux.
|
|
391
|
+
|
|
392
|
+
Set environment variable in WSL shell profile (~/.bashrc or ~/.zshrc), not in Windows. Claude Code running in WSL uses WSL environment variables.
|
|
393
|
+
|
|
394
|
+
### Q: Docker container usage?
|
|
395
|
+
|
|
396
|
+
**A:** Pass environment variable to container.
|
|
397
|
+
|
|
398
|
+
```bash
|
|
399
|
+
docker run -e FELO_API_KEY="your-key" your-image
|
|
400
|
+
```
|
|
401
|
+
|
|
402
|
+
Or use docker-compose:
|
|
403
|
+
```yaml
|
|
404
|
+
environment:
|
|
405
|
+
- FELO_API_KEY=your-key
|
|
406
|
+
```
|
|
407
|
+
|
|
408
|
+
---
|
|
409
|
+
|
|
410
|
+
## Rate Limits & Performance
|
|
411
|
+
|
|
412
|
+
### Q: Is there a rate limit?
|
|
413
|
+
|
|
414
|
+
**A:** Yes, depends on your Felo account tier.
|
|
415
|
+
|
|
416
|
+
Check your account tier and limits at [felo.ai](https://felo.ai) → Settings → Account.
|
|
417
|
+
|
|
418
|
+
**Typical limits:**
|
|
419
|
+
- Free tier: Limited requests per day
|
|
420
|
+
- Paid tiers: Higher limits based on plan
|
|
421
|
+
|
|
422
|
+
### Q: How fast are responses?
|
|
423
|
+
|
|
424
|
+
**A:** Typically 2-5 seconds.
|
|
425
|
+
|
|
426
|
+
Response time depends on:
|
|
427
|
+
- Query complexity
|
|
428
|
+
- Network latency
|
|
429
|
+
- Felo API load
|
|
430
|
+
|
|
431
|
+
### Q: Can I use it offline?
|
|
432
|
+
|
|
433
|
+
**A:** No, requires internet connection.
|
|
434
|
+
|
|
435
|
+
The skill needs to:
|
|
436
|
+
1. Connect to Felo API
|
|
437
|
+
2. Fetch and analyze web information
|
|
438
|
+
3. Generate AI answers
|
|
439
|
+
|
|
440
|
+
All require internet access.
|
|
441
|
+
|
|
442
|
+
### Q: Does it cache results?
|
|
443
|
+
|
|
444
|
+
**A:** No, each query is fresh.
|
|
445
|
+
|
|
446
|
+
Every query fetches current information from the web. This ensures you always get the latest data.
|
|
447
|
+
|
|
448
|
+
### Q: How many web sources does it use?
|
|
449
|
+
|
|
450
|
+
**A:** Varies by query.
|
|
451
|
+
|
|
452
|
+
Felo AI automatically determines the optimal approach based on query complexity and available information.
|
|
453
|
+
|
|
454
|
+
### Q: Can I increase response speed?
|
|
455
|
+
|
|
456
|
+
**A:** Limited options.
|
|
457
|
+
|
|
458
|
+
- Use specific queries (faster than vague ones)
|
|
459
|
+
- Good internet connection helps
|
|
460
|
+
- Felo API performance is out of your control
|
|
461
|
+
|
|
462
|
+
### Q: What happens if API is down?
|
|
463
|
+
|
|
464
|
+
**A:** Skill will fail gracefully.
|
|
465
|
+
|
|
466
|
+
You'll see an error message. Claude Code will continue working for other tasks. Retry when Felo API is back online.
|
|
467
|
+
|
|
468
|
+
---
|
|
469
|
+
|
|
470
|
+
## Still Have Questions?
|
|
471
|
+
|
|
472
|
+
- **Documentation**: [Main README](../README.md) | [Skill README](../felo-search/README.md)
|
|
473
|
+
- **Examples**: [Usage Examples](./EXAMPLES.md)
|
|
474
|
+
- **Issues**: [GitHub Issues](https://github.com/Felo-Inc/felo-skills/issues)
|
|
475
|
+
- **Email**: support@felo.ai
|
|
476
|
+
|
|
477
|
+
---
|
|
478
|
+
|
|
479
|
+
**Found this helpful?** Consider contributing to the documentation! See [CONTRIBUTING.md](../CONTRIBUTING.md).
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Felo Search Skill Contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|