flaresolverr
Use the minimal FlareSolverr wrapper for a one-off health check or browser-backed GET/POST when ordinary retrieval is blocked by Cloudflare or DDoS-GUARD. Choose flaresolverr-cli instead for named session lifecycle, cookie-only returns, dry-run planning, or the full operational c
Install
npx skills add https://github.com/magnus919/agent-skills/tree/main/flaresolverr
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install magnus919-agent-skills@llmmart
git clone https://github.com/magnus919/agent-skills.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole magnus919/agent-skills collection as a plugin from our marketplace. Git is the plain clone.
README
FlareSolverr
Why Install This Skill
Use a browser-backed proxy when ordinary HTTP clients encounter a browser challenge. The JSON CLI gives an agent a bounded, inspectable interface without requiring a Python package.
Use it only with a private FlareSolverr service and only for sites you are authorized to access.
Use a browser-backed proxy from the terminal when a site rejects ordinary HTTP clients with a Cloudflare or DDoS-GUARD challenge.
What you get
| Path | Purpose |
|---|---|
SKILL.md |
Agent routing and safe usage |
scripts/flaresolverr |
Dependency-free JSON CLI |
scripts/test-flaresolverr.sh |
Deterministic dry-run smoke checks |
What You Get
SKILL.md: agent routing and safe usagescripts/flaresolverr: dependency-free JSON CLIscripts/test-flaresolverr.sh: deterministic smoke checks
Quick Start
python3 scripts/flaresolverr health
Quick start
python3 scripts/flaresolverr health
python3 scripts/flaresolverr get https://example.com
Set FLARESOLVERR_SERVER or pass --server. The default is http://localhost:8191. Keep the service private.
Triggers
- Cloudflare or DDoS-GUARD browser challenges
- A site that requires cookie-preserving browser requests
- FlareSolverr session management from an agent workflow
Requirements
Python 3.9+ and a running FlareSolverr service. No Python packages are required.
Skill manifest
FlareSolverr
Quick Start
python3 scripts/flaresolverr --server http://localhost:8191 health
Use this skill when ordinary HTTP retrieval is blocked by a browser challenge. FlareSolverr must already be running; this skill does not bypass authentication or authorize access to restricted content.
When not to use
Use flaresolverr-cli when the task names that CLI, requires creating/listing/destroying named sessions, needs cookie-only responses or dry-run planning, or needs the full operational command surface. Keep this skill for the smaller one-off health, GET, or POST path.
Mutation Gate
The health command is read-only discovery. GET and POST send traffic to an external target, and POST may change target state.
Confirm the target, scope, and rollback path before acting. Read-only discovery may proceed without confirmation.
A POST or any request intended to change target state requires an explicit user directive. This skill does not authorize deletion, privilege changes, authentication bypass, or irreversible cleanup.
CLI
python3 flaresolverr/scripts/flaresolverr --server http://localhost:8191 health
python3 flaresolverr/scripts/flaresolverr --server http://localhost:8191 get https://example.com
python3 flaresolverr/scripts/flaresolverr session create
python3 flaresolverr/scripts/flaresolverr session list
python3 flaresolverr/scripts/flaresolverr session destroy SESSION_ID
Every command emits JSON. get and post use FlareSolverr's /v1 API and preserve the returned status, URL, headers, and response body. Use --timeout to bound a request and --session when a site needs cookie continuity.
Setup
Run FlareSolverr separately, commonly with Docker:
services:
flaresolverr:
image: ghcr.io/flaresolverr/flaresolverr:latest
ports: ["8191:8191"]
environment:
LOG_LEVEL: info
Do not expose the service publicly. Prefer a pinned image tag in production and use the vendor's documentation for browser and platform compatibility.
Available Scripts
| Script | Purpose | Invocation |
|---|---|---|
scripts/flaresolverr |
Minimal JSON CLI for the FlareSolverr API: health, get, post, and session subcommands with --server and --timeout options. Run it for the one-off health check or challenge-solving GET/POST described above, and for short-lived session create/list/destroy when a site needs cookie continuity. |
python3 scripts/flaresolverr --server http://localhost:8191 get https://example.com |
scripts/test-flaresolverr.sh |
Shell smoke test: verifies --help output and byte-compiles the CLI. Run it after modifying scripts/flaresolverr or when auditing the bundled script; CI runs it via scripts/check-skill-tests.py. |
sh scripts/test-flaresolverr.sh |
Prerequisites
- Python 3 with the standard library only; the CLI has no third-party dependencies.
- A reachable FlareSolverr instance (commonly via Docker, per Setup above) — the CLI is a client and starts nothing itself.
- Network access from the FlareSolverr instance to the target site; this skill does not bypass authentication or grant access to content you are not otherwise entitled to retrieve.
Limitations
- The wrapper covers only the one-off
health,get,post, andsessionpaths; named-session lifecycle management, cookie-only returns, and dry-run planning belong toflaresolverr-cli(see When not to use). - Every command emits JSON and reports what FlareSolverr returned; it does not parse, extract, or rank page content for you.
- Solving a browser challenge is not a guarantee: sites may still block, captcha, or rate-limit the underlying browser, and
--timeoutbounds only the request, not the target's behavior.
Files (agent-skills)
-
evals
-
evals.json 6.3 KB
Loading…
-
-
scripts
-
flaresolverr 1.8 KB · in bundle
-
test-flaresolverr.sh 186 B
Loading…
-
-
README.md 1.4 KB
# FlareSolverr ## Why Install This Skill Use a browser-backed proxy when ordinary HTTP clients encounter a browser challenge. The JSON CLI gives an agent a bounded, inspectable interface without requiring a Python package. Use it only with a private FlareSolverr service and only for sites you are authorized to access. Use a browser-backed proxy from the terminal when a site rejects ordinary HTTP clients with a Cloudflare or DDoS-GUARD challenge. ## What you get | Path | Purpose | |---|---| | `SKILL.md` | Agent routing and safe usage | | `scripts/flaresolverr` | Dependency-free JSON CLI | | `scripts/test-flaresolverr.sh` | Deterministic dry-run smoke checks | ## What You Get - `SKILL.md`: agent routing and safe usage - `scripts/flaresolverr`: dependency-free JSON CLI - `scripts/test-flaresolverr.sh`: deterministic smoke checks ## Quick Start ```sh python3 scripts/flaresolverr health ``` ## Quick start ```sh python3 scripts/flaresolverr health python3 scripts/flaresolverr get https://example.com ``` Set `FLARESOLVERR_SERVER` or pass `--server`. The default is `http://localhost:8191`. Keep the service private. ## Triggers - Cloudflare or DDoS-GUARD browser challenges - A site that requires cookie-preserving browser requests - FlareSolverr session management from an agent workflow ## Requirements Python 3.9+ and a running FlareSolverr service. No Python packages are required. -
SKILL.md 4.1 KB
--- name: flaresolverr description: >- Use the minimal FlareSolverr wrapper for a one-off health check or browser-backed GET/POST when ordinary retrieval is blocked by Cloudflare or DDoS-GUARD. Choose flaresolverr-cli instead for named session lifecycle, cookie-only returns, dry-run planning, or the full operational command surface. Do not use this skill for unrelated requests; route to the nearest named specialist. --- # FlareSolverr ## Quick Start ```sh python3 scripts/flaresolverr --server http://localhost:8191 health ``` Use this skill when ordinary HTTP retrieval is blocked by a browser challenge. FlareSolverr must already be running; this skill does not bypass authentication or authorize access to restricted content. ## When not to use Use [flaresolverr-cli](../flaresolverr-cli/SKILL.md) when the task names that CLI, requires creating/listing/destroying named sessions, needs cookie-only responses or dry-run planning, or needs the full operational command surface. Keep this skill for the smaller one-off health, GET, or POST path. ## Mutation Gate The health command is read-only discovery. GET and POST send traffic to an external target, and POST may change target state. > Confirm the target, scope, and rollback path before acting. Read-only discovery may proceed without confirmation. A POST or any request intended to change target state requires an explicit user directive. This skill does not authorize deletion, privilege changes, authentication bypass, or irreversible cleanup. ## CLI ```text python3 flaresolverr/scripts/flaresolverr --server http://localhost:8191 health python3 flaresolverr/scripts/flaresolverr --server http://localhost:8191 get https://example.com python3 flaresolverr/scripts/flaresolverr session create python3 flaresolverr/scripts/flaresolverr session list python3 flaresolverr/scripts/flaresolverr session destroy SESSION_ID ``` Every command emits JSON. `get` and `post` use FlareSolverr's `/v1` API and preserve the returned status, URL, headers, and response body. Use `--timeout` to bound a request and `--session` when a site needs cookie continuity. ## Setup Run FlareSolverr separately, commonly with Docker: ```yaml services: flaresolverr: image: ghcr.io/flaresolverr/flaresolverr:latest ports: ["8191:8191"] environment: LOG_LEVEL: info ``` Do not expose the service publicly. Prefer a pinned image tag in production and use the vendor's documentation for browser and platform compatibility. ## Available Scripts | Script | Purpose | Invocation | |---|---|---| | `scripts/flaresolverr` | Minimal JSON CLI for the FlareSolverr API: `health`, `get`, `post`, and `session` subcommands with `--server` and `--timeout` options. Run it for the one-off health check or challenge-solving GET/POST described above, and for short-lived session create/list/destroy when a site needs cookie continuity. | `python3 scripts/flaresolverr --server http://localhost:8191 get https://example.com` | | `scripts/test-flaresolverr.sh` | Shell smoke test: verifies `--help` output and byte-compiles the CLI. Run it after modifying `scripts/flaresolverr` or when auditing the bundled script; CI runs it via `scripts/check-skill-tests.py`. | `sh scripts/test-flaresolverr.sh` | ## Prerequisites - Python 3 with the standard library only; the CLI has no third-party dependencies. - A reachable FlareSolverr instance (commonly via Docker, per Setup above) — the CLI is a client and starts nothing itself. - Network access from the FlareSolverr instance to the target site; this skill does not bypass authentication or grant access to content you are not otherwise entitled to retrieve. ## Limitations - The wrapper covers only the one-off `health`, `get`, `post`, and `session` paths; named-session lifecycle management, cookie-only returns, and dry-run planning belong to `flaresolverr-cli` (see When not to use). - Every command emits JSON and reports what FlareSolverr returned; it does not parse, extract, or rank page content for you. - Solving a browser challenge is not a guarantee: sites may still block, captcha, or rate-limit the underlying browser, and `--timeout` bounds only the request, not the target's behavior.
Comments (0)
Sign in to join the conversation.
Reviews (0)
No reviews yet.
No comments yet.