Token导航 LogoToken导航TokenDH.com
待分类敏感数据github未标认证来源可访问许可证需确认审计提醒

crawl4ai-openroutercrawl4ai OpenRouter 浏览器

Agent Skill

crawl4ai-openrouter 用于处理浏览器自动化、网页检查和页面信息提取,适合在 Codex、Claude、Cursor、Gemini CLI 中需要让 Agent 打开页面、读取网页或验证前端流程时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

188

周安装

8

GitHub Stars

2

下载量

66
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:crawl4ai-openrouter(crawl4ai OpenRouter 浏览器)
来源仓库:https://github.com/jarmen423/skills
仓库路径:skills/crawl4ai-openrouter
安装命令:
npx skills add https://github.com/jarmen423/skills --skill crawl4ai-openrouter
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/jarmen423/skills --skill crawl4ai-openrouter

简介

crawl4ai-openrouter 使用 Crawl4AI 抓取网页并结合 OpenRouter LLM 进行内容提取。

  • 适用于需要真实浏览器渲染后再做语义解析或摘要生成的复杂页面分析任务。
  • 默认调用 Nemotron 模型,支持多种提取模式包括纯文本、CSS 定位与 LLM 增强抽取。
  • 需设置 OPENROUTER_API_KEY 环境变量,注意 API 调用成本与内容合规边界。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Crawl4AI OpenRouter

Use Crawl4AI when the user explicitly wants Crawl4AI or when a real browser crawl plus optional LLM extraction is the right fit.

Load only the reference file you need:

  • Open references/setup.md before first use on a machine or when the environment is failing.
  • Open references/recipes.md when you need a concrete pattern for plain markdown crawl, CSS-based extraction, or LLM-based extraction.

Default Operating Assumptions

  • Default LLM provider: openrouter/nvidia/nemotron-3-super-120b-a12b:free
  • Default API key env var: OPENROUTER_API_KEY
  • Default OpenRouter base URL: https://openrouter.ai/api/v1
  • Prefer LLMConfig plus LLMExtractionStrategy for schema-based extraction.
  • Prefer passing the API token via environment variable, not inline in source.
  • Prefer headless=True unless the task requires visual debugging.
  • Prefer CacheMode.BYPASS when the user wants fresh content.

Workflow

  1. Confirm whether the task is:

- plain crawl to markdown/text - structured extraction with a schema - dynamic page crawl that may need waits, JS, or browser tuning

  1. Read references/setup.md if you have not already verified Python, package install, and browser setup.
  2. For repeated or non-trivial extraction, use scripts/crawl4ai_extract.py instead of rewriting the integration from scratch.
  3. Set these env vars in the current shell when needed:

- OPENROUTER_API_KEY - optionally CRAWL4AI_OPENROUTER_MODEL - optionally CRAWL4AI_OPENROUTER_BASE_URL

  1. If the user provides a target JSON shape, save it as a schema file and pass it to the helper script with an extraction instruction.
  2. Return the extracted JSON or the crawl markdown, and call out any crawl limitations such as auth walls, robots constraints, or weak page structure.

Helper Script

Use the helper for the common case:

<python> .\scripts\crawl4ai_extract.py `
  --url "https://example.com" `
  --instruction "Extract the pricing plans and limits." `
  --schema-file ".\schema.json"

Important flags:

  • --url: target page
  • --instruction: the extraction instruction for the LLM
  • --schema-file: JSON schema file for structured output
  • --css-selector: optional content narrowing before extraction
  • --wait-for: optional CSS selector to wait for on dynamic pages
  • --headless false: opt out of headless mode for debugging
  • --cache-mode enabled|bypass|read_only|write_only|disabled
  • --max-input-tokens: optional budget guardrail for large pages

Notes

  • Use OpenRouter by passing a provider string and a custom base_url through LLMConfig.
  • The provider prefix openrouter/ is an inference from Crawl4AI's LiteLLM-style provider naming plus OpenRouter's OpenAI-compatible endpoint. If that stops working in a future version, switch the provider string while keeping the same base URL and API key flow.
  • Keep the skill focused on Crawl4AI. If the user needs generic scraping without Crawl4AI, use a more appropriate web-scraping workflow instead.

适合场景

01

调用多模型

02

代码和文本生成

03

Agent 推理流程

04

OpenRouter 模型接入

能力概览

能力 1

统一调用多种 LLM

能力 2

支持 Claude、Gemini、Kimi 等模型

能力 3

适合聊天、代码和推理任务

能力 4

可作为 Agent 模型调用入口

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.57%
按下载量换算23

Claude

28.68%
按下载量换算19

Cursor

18.88%
按下载量换算12

Gemini CLI

10.16%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills