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/README.md
ADDED
|
@@ -0,0 +1,328 @@
|
|
|
1
|
+
# Felo AI
|
|
2
|
+
|
|
3
|
+
**Ask anything. Get current answers powered by AI.**
|
|
4
|
+
|
|
5
|
+
Felo AI provides a terminal CLI and Claude Code skill, with support for English, Chinese (Simplified & Traditional), Japanese, and Korean.
|
|
6
|
+
|
|
7
|
+
[]() []()
|
|
8
|
+
|
|
9
|
+
**Other languages:** [简体中文](README.zh-CN.md) · [日本語](README.ja.md) · [한국어](README.ko.md) · [繁體中文](README.zh-TW.md)
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Two Core Capabilities
|
|
14
|
+
|
|
15
|
+
Felo AI offers two main features: **Real-time Search** and **PPT Generation**. Use them via the CLI in your terminal, or in Claude Code via the skill (search can trigger automatically).
|
|
16
|
+
|
|
17
|
+
### Capability 1: Real-time Search
|
|
18
|
+
|
|
19
|
+
Search the web for up-to-date information and get AI-synthesized answers. Ideal for weather, news, prices, documentation, tech updates, and any question that needs “right now” information.
|
|
20
|
+
|
|
21
|
+
- **Multi-language**: Ask in your preferred language.
|
|
22
|
+
- **Terminal**: `felo search "your question"`
|
|
23
|
+
- **Claude Code**: After installing the skill, it triggers automatically, or type `/felo-ai your question`
|
|
24
|
+
- **Examples**: `felo search "Tokyo weather"`, `felo search "React 19 new features" --verbose`
|
|
25
|
+
|
|
26
|
+
### Capability 2: Generate PPT
|
|
27
|
+
|
|
28
|
+
Describe a topic in one sentence and Felo generates a slideshow. The job runs in the cloud; when done, you get an **online document link** to open in your browser.
|
|
29
|
+
|
|
30
|
+
- **Terminal**: `felo slides "your topic or description"`
|
|
31
|
+
- **Options**: `--verbose` for polling status, `--json` for raw JSON (`task_id`, `live_doc_url`).
|
|
32
|
+
- **Examples**: `felo slides "Felo product intro, 3 slides"`, `felo slides "Introduction to React"`, `felo slides "Quarterly review" --poll-timeout 300`
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## Felo CLI (Terminal)
|
|
37
|
+
|
|
38
|
+
Use Felo from the terminal without opening Claude Code.
|
|
39
|
+
|
|
40
|
+
### Install
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
npm install -g felo-ai
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
Run without installing (latest published version):
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
npx felo-ai search "Tokyo weather"
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
After install, the command is `felo` (from package name `felo-ai`).
|
|
53
|
+
|
|
54
|
+
### Configure API key
|
|
55
|
+
|
|
56
|
+
**Option 1: Persist with config (recommended)**
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
felo config set FELO_API_KEY your-api-key-here
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
The key is stored in `~/.felo/config.json` (Windows: `%USERPROFILE%\.felo\config.json`). You only need to set it once.
|
|
63
|
+
|
|
64
|
+
**Option 2: Environment variable**
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
# Linux/macOS
|
|
68
|
+
export FELO_API_KEY="your-api-key-here"
|
|
69
|
+
|
|
70
|
+
# Windows (PowerShell)
|
|
71
|
+
$env:FELO_API_KEY="your-api-key-here"
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
Get your API key from [felo.ai](https://felo.ai) (Settings → API Keys). Environment variable overrides config if both are set.
|
|
75
|
+
|
|
76
|
+
### Commands
|
|
77
|
+
|
|
78
|
+
| Command | Description |
|
|
79
|
+
|---------|-------------|
|
|
80
|
+
| `felo search "<query>"` | **Real-time search** — weather, news, prices, docs, etc. |
|
|
81
|
+
| `felo slides "<prompt>"` | **Generate PPT** — outputs online doc link when done |
|
|
82
|
+
| `felo config set FELO_API_KEY <key>` | Save API key (recommended before first use) |
|
|
83
|
+
| `felo config get/list/path/unset` | View, list, path, or remove config |
|
|
84
|
+
|
|
85
|
+
### Examples
|
|
86
|
+
|
|
87
|
+
```bash
|
|
88
|
+
felo search "Tokyo weather"
|
|
89
|
+
felo search "MacBook Air M3 price"
|
|
90
|
+
felo search "React 19 new features" --verbose
|
|
91
|
+
felo search "Hangzhou tomorrow weather" --json
|
|
92
|
+
npx felo-ai search "Tokyo weather"
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### CLI FAQ
|
|
96
|
+
|
|
97
|
+
- **Key not found?** Run `felo config set FELO_API_KEY <key>` or set the `FELO_API_KEY` environment variable.
|
|
98
|
+
- **Request timeout?** Use `felo search "query" --timeout 120` (default 60 seconds). 5xx errors are retried automatically with backoff.
|
|
99
|
+
- **Where is config stored?** Run `felo config path` to see the file (e.g. `~/.felo/config.json`).
|
|
100
|
+
- **Streaming?** Not yet; when the Felo API supports streaming, the CLI can be updated to stream output.
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
## Quick Start (Claude Code Skill)
|
|
105
|
+
|
|
106
|
+
Install the skill:
|
|
107
|
+
|
|
108
|
+
```bash
|
|
109
|
+
npx @claude/skills add felo-ai
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
Get your API key from [felo.ai](https://felo.ai) (Settings → API Keys), then configure:
|
|
113
|
+
|
|
114
|
+
**Linux/macOS:**
|
|
115
|
+
```bash
|
|
116
|
+
export FELO_API_KEY="your-api-key-here"
|
|
117
|
+
# Add to ~/.bashrc or ~/.zshrc for persistence
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
**Windows (PowerShell):**
|
|
121
|
+
```powershell
|
|
122
|
+
$env:FELO_API_KEY="your-api-key-here"
|
|
123
|
+
# For persistence, add to system environment variables
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
Test it:
|
|
127
|
+
```
|
|
128
|
+
Ask Claude: "What's the weather in Tokyo today?"
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
**You're done!** The skill triggers automatically for any question needing current information.
|
|
132
|
+
|
|
133
|
+
---
|
|
134
|
+
|
|
135
|
+
## Usage Examples
|
|
136
|
+
|
|
137
|
+
### Daily life
|
|
138
|
+
|
|
139
|
+
**Weather**
|
|
140
|
+
```
|
|
141
|
+
You: What's the weather in Tokyo today?
|
|
142
|
+
Claude: [Current temperature, conditions, forecast]
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
**Restaurants & food**
|
|
146
|
+
```
|
|
147
|
+
You: Best ramen in Osaka
|
|
148
|
+
Claude: [Top-rated ramen shops with addresses, ratings, reviews]
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
**Shopping & prices**
|
|
152
|
+
```
|
|
153
|
+
You: iPhone 15 Pro price comparison
|
|
154
|
+
Claude: [Prices from different retailers with links]
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
**Travel**
|
|
158
|
+
```
|
|
159
|
+
You: Things to do in Kyoto this weekend
|
|
160
|
+
Claude: [Events, attractions, seasonal activities]
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
### Developer scenarios
|
|
164
|
+
|
|
165
|
+
**Latest documentation**
|
|
166
|
+
```
|
|
167
|
+
You: React 19 new features
|
|
168
|
+
Claude: [Latest React 19 features with official docs links]
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
**Library comparison**
|
|
172
|
+
```
|
|
173
|
+
You: Vite vs Webpack 2024 comparison
|
|
174
|
+
Claude: [Performance, features, use cases comparison]
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
**Tech trends**
|
|
178
|
+
```
|
|
179
|
+
You: Latest AI developments January 2026
|
|
180
|
+
Claude: [Recent AI breakthroughs, company announcements]
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
### Multi-language queries
|
|
184
|
+
|
|
185
|
+
Works in Chinese (Simplified & Traditional), Japanese, Korean, and English. Ask in any language, get answers in that language.
|
|
186
|
+
|
|
187
|
+
**[See 40+ more examples →](./docs/EXAMPLES.md)**
|
|
188
|
+
|
|
189
|
+
---
|
|
190
|
+
|
|
191
|
+
## Installation details
|
|
192
|
+
|
|
193
|
+
### Prerequisites
|
|
194
|
+
|
|
195
|
+
- [Claude Code](https://claude.ai/code) CLI installed
|
|
196
|
+
- Node.js (for npx)
|
|
197
|
+
- Internet connection
|
|
198
|
+
|
|
199
|
+
### Manual installation
|
|
200
|
+
|
|
201
|
+
If quick install doesn’t work:
|
|
202
|
+
|
|
203
|
+
1. Clone this repository:
|
|
204
|
+
```bash
|
|
205
|
+
git clone https://github.com/Felo-Inc/felo-skills.git
|
|
206
|
+
cd felo-skills
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
2. Copy to Claude Code skills directory:
|
|
210
|
+
- **Linux/macOS:** `~/.claude/skills/`
|
|
211
|
+
- **Windows:** `C:\Users\<YourUsername>\.claude\skills\`
|
|
212
|
+
|
|
213
|
+
```bash
|
|
214
|
+
# Linux/macOS
|
|
215
|
+
cp -r felo-search ~/.claude/skills/
|
|
216
|
+
|
|
217
|
+
# Windows (PowerShell)
|
|
218
|
+
Copy-Item -Recurse felo-search "$env:USERPROFILE\.claude\skills\"
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
3. Get API key from [felo.ai](https://felo.ai) (Settings → API Keys)
|
|
222
|
+
|
|
223
|
+
4. Set environment variable (see Quick Start)
|
|
224
|
+
|
|
225
|
+
5. Restart Claude Code: `claude restart`
|
|
226
|
+
|
|
227
|
+
### Verify installation
|
|
228
|
+
|
|
229
|
+
```bash
|
|
230
|
+
claude skills list
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
You should see `felo-ai` or `felo-search` in the output.
|
|
234
|
+
|
|
235
|
+
Test: ask Claude *"Latest news about quantum computing"*. If you see an AI-generated answer, it’s working.
|
|
236
|
+
|
|
237
|
+
---
|
|
238
|
+
|
|
239
|
+
## FAQ
|
|
240
|
+
|
|
241
|
+
### Q: Skill not triggering automatically?
|
|
242
|
+
|
|
243
|
+
**A:** The skill triggers for questions needing current info (weather, news, prices, etc.). For manual trigger, use `/felo-ai your query here`.
|
|
244
|
+
|
|
245
|
+
### Q: "FELO_API_KEY not set" error?
|
|
246
|
+
|
|
247
|
+
**A:** Set the environment variable (see Quick Start), then restart Claude Code.
|
|
248
|
+
|
|
249
|
+
### Q: Environment variable not persisting?
|
|
250
|
+
|
|
251
|
+
**A:** Add to your shell profile: **bash** `~/.bashrc`, **zsh** `~/.zshrc`, **Windows** system environment variables.
|
|
252
|
+
|
|
253
|
+
### Q: "INVALID_API_KEY" error?
|
|
254
|
+
|
|
255
|
+
**A:** Your API key is incorrect or revoked. Generate a new one at [felo.ai](https://felo.ai) (Settings → API Keys).
|
|
256
|
+
|
|
257
|
+
### Q: Does it work in Chinese/Japanese/Korean?
|
|
258
|
+
|
|
259
|
+
**A:** Yes. Multi-language queries are supported; ask in any language.
|
|
260
|
+
|
|
261
|
+
### Q: Rate limits?
|
|
262
|
+
|
|
263
|
+
**A:** Check your Felo account tier at [felo.ai](https://felo.ai). Free tier available.
|
|
264
|
+
|
|
265
|
+
### Q: Can I use it offline?
|
|
266
|
+
|
|
267
|
+
**A:** No, it requires an internet connection to the Felo API.
|
|
268
|
+
|
|
269
|
+
### Q: How fast are responses?
|
|
270
|
+
|
|
271
|
+
**A:** Typically 2–5 seconds depending on query complexity.
|
|
272
|
+
|
|
273
|
+
**[Full FAQ →](./docs/FAQ.md)**
|
|
274
|
+
|
|
275
|
+
---
|
|
276
|
+
|
|
277
|
+
## Claude Code skill (summary)
|
|
278
|
+
|
|
279
|
+
With `felo-ai` installed, **real-time search** runs as a skill: when you ask about weather, news, prices, or latest docs, Felo search is triggered and returns an answer. You can also type `/felo-ai your question` to trigger it manually.
|
|
280
|
+
|
|
281
|
+
**Typical triggers:** current events, weather/prices/reviews, places (restaurants, attractions), latest tech docs and trends, product comparisons, and questions with words like “latest”, “recent”, “best”, “how to”.
|
|
282
|
+
|
|
283
|
+
PPT generation is only available in the terminal via `felo slides`.
|
|
284
|
+
|
|
285
|
+
**[Search skill details →](./felo-search/)**
|
|
286
|
+
|
|
287
|
+
---
|
|
288
|
+
|
|
289
|
+
## Contributing
|
|
290
|
+
|
|
291
|
+
We welcome contributions:
|
|
292
|
+
|
|
293
|
+
- Report bugs or request features
|
|
294
|
+
- Improve documentation
|
|
295
|
+
- Add new skills
|
|
296
|
+
|
|
297
|
+
Run CLI tests: `npm test`
|
|
298
|
+
|
|
299
|
+
**[Contributing guide →](./CONTRIBUTING.md)**
|
|
300
|
+
|
|
301
|
+
---
|
|
302
|
+
|
|
303
|
+
## Links
|
|
304
|
+
|
|
305
|
+
- **[Felo Open Platform](https://openapi.felo.ai/docs/)** — Get your API key
|
|
306
|
+
- **[API Documentation](https://openapi.felo.ai/docs/api-reference/v2/chat.html)** — API reference
|
|
307
|
+
- **[Claude Code](https://claude.ai/code)** — AI assistant CLI
|
|
308
|
+
- **[Full examples](./docs/EXAMPLES.md)** — 40+ usage examples
|
|
309
|
+
- **[FAQ](./docs/FAQ.md)** — Troubleshooting
|
|
310
|
+
- **[GitHub Issues](https://github.com/Felo-Inc/felo-skills/issues)** — Report bugs
|
|
311
|
+
|
|
312
|
+
---
|
|
313
|
+
|
|
314
|
+
## Support
|
|
315
|
+
|
|
316
|
+
- **Documentation**: [FAQ](./docs/FAQ.md) and skill READMEs
|
|
317
|
+
- **Issues**: [GitHub Issues](https://github.com/Felo-Inc/felo-skills/issues)
|
|
318
|
+
- **Email**: support@felo.ai
|
|
319
|
+
|
|
320
|
+
---
|
|
321
|
+
|
|
322
|
+
## License
|
|
323
|
+
|
|
324
|
+
MIT License — see [LICENSE](./felo-search/LICENSE) for details.
|
|
325
|
+
|
|
326
|
+
---
|
|
327
|
+
|
|
328
|
+
Made with ❤️ by the Felo team
|
package/README.zh-CN.md
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
# Felo AI
|
|
2
|
+
|
|
3
|
+
**随时提问,用 AI 获取当下最新答案。**
|
|
4
|
+
|
|
5
|
+
Felo AI 提供终端 CLI 与 Claude Code 技能,支持简体中文、英文、日文、韩文、繁体中文等多语言。
|
|
6
|
+
|
|
7
|
+
[]()
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## 两大能力
|
|
12
|
+
|
|
13
|
+
Felo AI 提供两个核心能力:**实时搜索** 与 **PPT 生成**。可在终端用 CLI 使用,也可在 Claude Code 中通过技能使用(搜索支持自动触发)。
|
|
14
|
+
|
|
15
|
+
### 能力一:实时搜索
|
|
16
|
+
|
|
17
|
+
联网搜索最新信息,由 AI 整合成可直接使用的回答。适合查天气、新闻、价格、文档、技术动态等一切需要「当下」信息的场景。
|
|
18
|
+
|
|
19
|
+
- **支持多语言**:用你习惯的语言提问即可。
|
|
20
|
+
- **终端**:`felo search "你的问题"`
|
|
21
|
+
- **Claude Code**:安装技能后自动触发,或输入 `/felo-ai 你的问题`
|
|
22
|
+
- **示例**:`felo search "杭州明天天气"`、`felo search "React 19 new features" --verbose`
|
|
23
|
+
|
|
24
|
+
### 能力二:生成 PPT
|
|
25
|
+
|
|
26
|
+
根据一句描述或主题,自动生成 PPT。任务在云端执行,完成后返回**在线文档链接**,浏览器打开即可查看/编辑。
|
|
27
|
+
|
|
28
|
+
- **终端**:`felo slides "你的主题或描述"`
|
|
29
|
+
- **示例**:`felo slides "Felo 产品介绍,3 页"`、`felo slides "Introduction to React" --poll-timeout 300`
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## 安装与配置
|
|
34
|
+
|
|
35
|
+
### 安装 CLI
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
npm install -g felo-ai
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
不安装直接运行:`npx felo-ai search "东京天气"`
|
|
42
|
+
安装后命令为 `felo`。
|
|
43
|
+
|
|
44
|
+
### 配置 API Key
|
|
45
|
+
|
|
46
|
+
推荐(持久保存):
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
felo config set FELO_API_KEY your-api-key-here
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
或设置环境变量:`export FELO_API_KEY="your-api-key-here"`(Linux/macOS),`$env:FELO_API_KEY="your-api-key-here"`(Windows PowerShell)。
|
|
53
|
+
|
|
54
|
+
API Key 请在 [felo.ai](https://felo.ai)(设置 → API Keys)获取。
|
|
55
|
+
|
|
56
|
+
### 命令一览
|
|
57
|
+
|
|
58
|
+
| 命令 | 说明 |
|
|
59
|
+
|------|------|
|
|
60
|
+
| `felo search "<query>"` | 实时搜索 |
|
|
61
|
+
| `felo slides "<prompt>"` | 生成 PPT |
|
|
62
|
+
| `felo config set FELO_API_KEY <key>` | 保存 API Key |
|
|
63
|
+
| `felo config get/list/path/unset` | 查看/列出/定位/删除配置 |
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
## Claude Code 技能
|
|
68
|
+
|
|
69
|
+
安装技能:
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
npx @claude/skills add felo-ai
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
配置 `FELO_API_KEY` 后,在 Claude Code 中问「东京今天天气」「React 19 新特性」等问题会自动触发搜索。PPT 生成目前仅支持终端 `felo slides`。
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
## 链接
|
|
80
|
+
|
|
81
|
+
- [Felo 开放平台](https://openapi.felo.ai/docs/) — 获取 API Key
|
|
82
|
+
- [API 文档](https://openapi.felo.ai/docs/api-reference/v2/chat.html)
|
|
83
|
+
- [更多示例](./docs/EXAMPLES.md) | [FAQ](./docs/FAQ.md) | [GitHub Issues](https://github.com/Felo-Inc/felo-skills/issues)
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
**其他语言 / Other languages:** [English](README.en.md) | [日本語](README.ja.md) | [한국어](README.ko.md) | [繁體中文](README.zh-TW.md)
|
package/README.zh-TW.md
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
# Felo AI
|
|
2
|
+
|
|
3
|
+
**隨時提問,用 AI 取得當下最新答案。**
|
|
4
|
+
|
|
5
|
+
Felo AI 提供終端 CLI 與 Claude Code 技能,支援繁體中文、簡體中文、英文、日文、韓文等多語言。
|
|
6
|
+
|
|
7
|
+
[]()
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## 兩大能力
|
|
12
|
+
|
|
13
|
+
Felo AI 提供兩個核心能力:**即時搜尋** 與 **PPT 生成**。可在終端用 CLI 使用,也可在 Claude Code 中透過技能使用(搜尋支援自動觸發)。
|
|
14
|
+
|
|
15
|
+
### 能力一:即時搜尋
|
|
16
|
+
|
|
17
|
+
連網搜尋最新資訊,由 AI 整合成可直接使用的回答。適合查天氣、新聞、價格、文件、技術動態等一切需要「當下」資訊的場景。
|
|
18
|
+
|
|
19
|
+
- **支援多語言**:用你習慣的語言提問即可。
|
|
20
|
+
- **終端**:`felo search "你的問題"`
|
|
21
|
+
- **Claude Code**:安裝技能後自動觸發,或輸入 `/felo-ai 你的問題`
|
|
22
|
+
- **範例**:`felo search "台北明天天氣"`、`felo search "React 19 new features" --verbose`
|
|
23
|
+
|
|
24
|
+
### 能力二:生成 PPT
|
|
25
|
+
|
|
26
|
+
根據一句描述或主題,自動生成一份 PPT。任務在雲端執行,完成後回傳**線上文件連結**,可直接在瀏覽器開啟檢視/編輯。
|
|
27
|
+
|
|
28
|
+
- **終端**:`felo slides "你的主題或描述"`
|
|
29
|
+
- **範例**:`felo slides "Felo 產品介紹,3 頁"`、`felo slides "Introduction to React" --poll-timeout 300`
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## 安裝與設定
|
|
34
|
+
|
|
35
|
+
### 安裝 CLI
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
npm install -g felo-ai
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
不安裝直接執行:`npx felo-ai search "東京天氣"`
|
|
42
|
+
安裝後指令為 `felo`。
|
|
43
|
+
|
|
44
|
+
### 設定 API Key
|
|
45
|
+
|
|
46
|
+
建議(持久保存):
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
felo config set FELO_API_KEY your-api-key-here
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
或設定環境變數:`export FELO_API_KEY="your-api-key-here"`(Linux/macOS),`$env:FELO_API_KEY="your-api-key-here"`(Windows PowerShell)。
|
|
53
|
+
|
|
54
|
+
API Key 請至 [felo.ai](https://felo.ai)(設定 → API Keys)取得。
|
|
55
|
+
|
|
56
|
+
### 指令一覽
|
|
57
|
+
|
|
58
|
+
| 指令 | 說明 |
|
|
59
|
+
|------|------|
|
|
60
|
+
| `felo search "<query>"` | 即時搜尋 |
|
|
61
|
+
| `felo slides "<prompt>"` | 生成 PPT |
|
|
62
|
+
| `felo config set FELO_API_KEY <key>` | 儲存 API Key |
|
|
63
|
+
| `felo config get/list/path/unset` | 檢視/列出/路徑/刪除設定 |
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
## Claude Code 技能
|
|
68
|
+
|
|
69
|
+
安裝技能:
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
npx @claude/skills add felo-ai
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
設定 `FELO_API_KEY` 後,在 Claude Code 中詢問「東京今天天氣」「React 19 新特性」等問題會自動觸發搜尋。PPT 生成目前僅支援終端 `felo slides`。
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
## 連結
|
|
80
|
+
|
|
81
|
+
- [Felo 開放平台](https://openapi.felo.ai/docs/) — 取得 API Key
|
|
82
|
+
- [API 文件](https://openapi.felo.ai/docs/api-reference/v2/chat.html)
|
|
83
|
+
- [更多範例](./docs/EXAMPLES.md) | [FAQ](./docs/FAQ.md) | [GitHub Issues](https://github.com/Felo-Inc/felo-skills/issues)
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
**其他語言 / Other languages:** [简体中文](README.zh-CN.md) | [English](README.en.md) | [日本語](README.ja.md) | [한국어](README.ko.md)
|