Skip to content

Commit 076cd4b

Browse files
committed
Add smoke test to CLI.
1 parent f436348 commit 076cd4b

2 files changed

Lines changed: 30 additions & 4 deletions

File tree

skills/firecrawl-cli/SKILL.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ Must be installed and authenticated. Check with `firecrawl --status`.
3232

3333
If not ready, see [rules/install.md](rules/install.md). For output handling guidelines, see [rules/security.md](rules/security.md).
3434

35+
Before doing real work, verify the setup with one small request:
36+
37+
```bash
38+
mkdir -p .firecrawl
39+
firecrawl scrape "https://firecrawl.dev" -o .firecrawl/install-check.md
40+
```
41+
3542
```bash
3643
firecrawl search "query" --scrape --limit 3
3744
```

skills/firecrawl-cli/rules/install.md

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,19 @@ description: |
1212
## Quick Setup (Recommended)
1313

1414
```bash
15-
npx -y firecrawl-cli -y
15+
npx -y firecrawl-cli@latest -y
1616
```
1717

1818
This installs `firecrawl-cli` globally, authenticates via browser, and installs all skills.
1919

20+
This setup is safe to re-run when the CLI is missing, stale, or only partially configured.
21+
22+
If `firecrawl` is already installed and you want to update it first:
23+
24+
```bash
25+
npm update -g firecrawl-cli
26+
```
27+
2028
Skills are installed globally across all detected coding editors by default.
2129

2230
To install skills manually:
@@ -28,15 +36,26 @@ firecrawl setup skills
2836
## Manual Install
2937

3038
```bash
31-
npm install -g firecrawl-cli@1.8.0
39+
npm install -g firecrawl-cli@latest
3240
```
3341

3442
## Verify
3543

44+
First check status:
45+
3646
```bash
3747
firecrawl --status
3848
```
3949

50+
Then run one small real request to prove install, auth, and output all work:
51+
52+
```bash
53+
mkdir -p .firecrawl
54+
firecrawl scrape "https://firecrawl.dev" -o .firecrawl/install-check.md
55+
```
56+
57+
The install is healthy when both commands succeed.
58+
4059
## Authentication
4160

4261
Authenticate using the built-in login flow:
@@ -59,5 +78,5 @@ Ask the user how they'd like to authenticate:
5978
If `firecrawl` is not found after installation:
6079

6180
1. Ensure npm global bin is in PATH
62-
2. Try: `npx firecrawl-cli@1.8.0 --version`
63-
3. Reinstall: `npm install -g firecrawl-cli@1.8.0`
81+
2. Try: `npx firecrawl-cli@latest --version`
82+
3. Reinstall: `npm install -g firecrawl-cli@latest`

0 commit comments

Comments
 (0)