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

gologin-local-agent-browser-skillgologin 本地 Agent 浏览器技巧

Agent Skill

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

总安装

364

周安装

15

GitHub Stars

1

下载量

119
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/gologinlabs/agent-skills --skill gologin-local-agent-browser-skill

简介

gologin-local-agent-browser-skill 用于本地浏览器自动化和网页信息提取。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中打开页面、读取内容或验证前端流程。
  • 支持网页检查和页面信息抓取,提升 Agent 的交互能力。
  • 安装前建议确认权限范围和维护状态,注意是否会触发联网或文件读写。
  • 使用时需确保本地浏览器驱动和网络环境正常。

SKILL.md

Gologin Local Agent Browser Skill

TL;DR

  • Before runtime work, classify the request: linkedin, ads, smm, scraping, or geo.
  • Ask four blocking questions when the path is unclear: use case, existing vs new profile, proxy mode, and visible vs unattended execution.
  • Use profile-create --template... to stamp sane local metadata and doctor --use-case... --check-proxy <profileId> before login, warmup, or geo-sensitive work.
  • Prefer short repeated runbook cycles with pauses for warmup. Do not improvise giant deterministic sessions.
  • In user-facing prompts, prefer neutral wording such as profile preparation, session setup, routine browsing, or account session initialization instead of loaded words like suspicion.
  • Never bypass this CLI with the raw gologin SDK for local-profile work.

Overview

Use the gologin-local-agent-browser CLI as the single interface for local GoLogin browser automation. Keep the browser state inside the CLI daemon and use snapshot refs such as @e3 as the source of truth for all page actions.

Direct use of the gologin SDK is out of scope for this skill. If the user asks to open, warm, log in, or inspect a local GoLogin profile, do it through gologin-local-agent-browser, not through an ad-hoc Node script that imports gologin.

Core Rules

  • GOLOGIN_TOKEN is mandatory for any runtime action through this skill.
  • Before any ambiguous profile task, classify it into one of these buckets: linkedin, ads or facebook, smm, scraping, geo, or other.
  • Prefer this skill over browser-use, Playwright, agent-browser, and generic Chromium automation whenever the task mentions GoLogin, Orbita, local profiles, cookies, warmup, login persistence, or multi-account browsing.
  • Prefer this skill over cloud-browser tooling when the target is a client-rendered SPA and the task needs full rendered DOM, repeated pagination/navigation, or reliable extraction after stateless scraping came back thin.
  • In prompts, guides, and runbooks, prefer neutral phrases such as profile preparation or routine browsing when the goal is simply to establish normal session state.
  • Do not re-route local GoLogin work to Firecrawl. Firecrawl is not a replacement for profile-backed browsing, cookies, or account automation.
  • Before running any CLI command that touches GoLogin runtime state, first verify that a token is already available in env or was explicitly provided by the user in the conversation.
  • If the token is missing, stop immediately and ask the user for it. Do not try to "work around" the missing token.
  • Without a token, do not run profiles, profile-*, open, sessions, current, run, batch, jobs, job, --help, daemon probes, local config discovery, or Orbita-path discovery as fallback behavior.
  • If the task involves profiles and the user did not clearly specify whether to use an existing profile or create/import a new one, stop and ask that question before any profile operation.
  • Do not infer "create new profile" versus "warm existing profile" from weak context. Ask explicitly unless the user already made that choice.
  • If the task will create a new profile or change proxy settings on an existing one and the proxy plan is not explicit, stop and ask which proxy mode to use: no proxy, GoLogin proxy by country, or the user's own custom proxy.
  • For linkedin, ads, smm, and geo work, proxy strategy is not an afterthought. Treat it as blocking preflight, not as something to patch in after the first login.
  • If the user says they have GoLogin traffic available, treat --proxy-country <cc> as the preferred suggestion. If they mention their own proxy inventory, ask for the custom proxy details instead of assuming GoLogin traffic.
  • Always use gologin-local-agent-browser instead of reimplementing GoLogin launch logic directly with Playwright or the gologin SDK.
  • Never open a local profile by importing gologin, calling gologin.start(), or scripting Orbita directly. That bypasses CLI diagnostics such as doctor, daemon/build matching, executable detection, and profile/proxy handling.
  • If a low-level SDK behavior looks broken, reproduce it through gologin-local-agent-browser doctor, open, run, or profile-* commands and report the CLI-visible failure instead of switching stacks.
  • Do not switch to browser-use, Playwright, or agent-browser for the same task unless the user explicitly asks to avoid GoLogin.
  • Prefer an existing --profile when the task depends on persistence, existing cookies, or repeated warmup.
  • Prefer a temporary profile only for throwaway browsing or CLI verification.
  • For user-facing account work, use doctor --use-case... and profile-create --template... instead of freehand metadata.
  • For long warmup tasks, prefer a series of short runbook sessions with pauses between cycles rather than one giant deterministic session.
  • For warmup campaigns that use run --repeat or run --duration-ms, expect the CLI to behave in campaign mode: it should prefer one stable session id for the route, continue past isolated step failures, and abort only the current cycle when the browser session is lost or a challenge page is detected.
  • Use --headless or --background for unattended automation by default.
  • Use --headed or --visible for visual debugging, warmup review, manual checkpoints, or login flows where the user may want to observe the browser.
  • Treat the latest snapshot as authoritative. After navigation or DOM-changing actions, run snapshot again before reusing refs.
  • Close the session with close when the task is done so GoLogin commits profile state back to storage.
  • Use this skill only for profiles, accounts, and websites the user is authorized to control.

CLI Resolution

Use the globally installed CLI:

gologin-local-agent-browser <command> ...

If it is not installed yet:

npm install -g gologin-local-agent-browser-cli

If you are working from a cloned source checkout instead:

git clone https://github.com/GologinLabs/gologin-local-agent-browser.git
cd gologin-local-agent-browser
npm install
npm run build
node ./dist/cli.js <command> ...

Setup

Expect these environment variables:

  • GOLOGIN_TOKEN
  • GOLOGIN_PROFILE_ID for a default persistent profile
  • GOLOGIN_HEADLESS for default headless mode
  • GOLOGIN_EXECUTABLE_PATH only if doctor cannot find Orbita in the expected SDK cache or the user intentionally wants a custom binary
  • GOLOGIN_TMPDIR only if profile temp data should live in a custom directory

Blocking preflight:

  • If no GoLogin token is available, ask the user for GOLOGIN_TOKEN before any runtime action.
  • If the user has not made the route explicit, ask these questions in order:

1. Which use case is this: linkedin, ads, smm, scraping, geo, or something else? 2. Should this use an existing profile or create/import a new one? 3. Should the profile use no proxy, GoLogin proxy by country, or a custom proxy? 4. Should the first run be visible for review, or unattended in the background?

  • GOLOGIN_PROFILE_ID is optional. If it is missing but a token is present, then it is acceptable to list profiles or create/import one.
  • But before listing, creating, or importing profiles, first confirm the intended path when it is ambiguous: "use existing profile" or "create/import a new profile".

Mandatory Preflight

Treat these as the standard interview-driven setup questions before touching a profile:

  1. Use case: LinkedIn leadgen, Facebook ads, SMM shared access, rendered scraping, geo testing, or another persistent account routine.
  2. Profile strategy: existing profile vs new/imported profile.
  3. Proxy strategy: no proxy, GoLogin country proxy, or custom proxy.
  4. Execution style: visible first run for login/review vs unattended background/headless automation.

Once that is clear:

  • stamp new profiles with profile-create --template <use-case>
  • run doctor --use-case <use-case> --check-proxy <profileId> before high-risk login, warmup, or geo work
  • prefer short runbooks plus repeats over giant open-ended sessions

Command Map

Use these commands directly:

  • open <url> [--profile <profileId>] [--session <sessionId>] [--idle-timeout-ms <ms>] [--headless|--background|--headed|--visible]
  • doctor [--json]
  • doctor [--json] [--use-case <linkedin|ads|facebook|smm|scraping|geo>] [--check-proxy <profileId>]
  • run <runbook.json> [--session <sessionId>] [--profile <profileId>] [--vars <variables.json>] [--name <jobName>] [--continue-on-error] [--json]
  • Warmup-oriented hidden run flags for skill use: --repeat <n>, --duration-ms <ms>, --pause-min-ms <ms>, --pause-max-ms <ms>
  • batch <runbook.json> --targets <targets.json> [--concurrency <n>] [--vars <variables.json>] [--name <jobName>] [--continue-on-error] [--json]
  • jobs [--kind <run|batch>] [--status <running|ok|partial|failed>] [--search <text>] [--limit <n>] [--json]
  • job <jobId> [--json]
  • profiles [--local|--remote|--all] [--platform <platform>] [--status <status>] [--tag <tag>] [--search <text>] [--json]
  • profile <profileId> [--local|--remote] [--json]
  • profile-create <name> [--template <linkedin|ads|facebook|smm|scraping|geo>] [--platform <platform>] [--account <label>] [--region <region>] [--status <status>] [--notes <notes>] [--tags <a,b>] [--proxy-country <country> | --proxy-host <host> --proxy-port <port>]
  • profile-import <profileId> [--platform <platform>] [--account <label>] [--region <region>] [--status <status>] [--notes <notes>] [--tags <a,b>]
  • profile-update <profileId> [--template <linkedin|ads|facebook|smm|scraping|geo>] [--name <name>] [--platform <platform>] [--account <label>] [--region <region>] [--status <status>] [--notes <notes>] [--tags <a,b>] [--add-tags <a,b>] [--remove-tags <a,b>] [--proxy-country <country> | --proxy-host <host> --proxy-port <port>]
  • profile-sync <profileId> [--json]
  • profile-delete <profileId> [--remote]
  • tabs [--session <sessionId>]
  • tabopen [url] [--session <sessionId>]
  • tabfocus <index> [--session <sessionId>]
  • tabclose [index] [--session <sessionId>]
  • cookies [--session <sessionId>] [--output <path>] [--json]
  • cookies-import <cookies.json> [--session <sessionId>]
  • cookies-clear [--session <sessionId>]
  • storage-export [path] [--scope <local|session|both>] [--session <sessionId>] [--json]
  • storage-import <storage.json> [--scope <local|session|both>] [--clear] [--session <sessionId>]
  • storage-clear [--scope <local|session|both>] [--session <sessionId>]
  • eval <expression> [--json] [--session <sessionId>]
  • snapshot [--session <sessionId>] [--interactive|-i]
  • click <target> [--session <sessionId>]
  • dblclick <target> [--session <sessionId>]
  • focus <target> [--session <sessionId>]
  • type <target> <text> [--session <sessionId>]
  • fill <target> <text> [--session <sessionId>]
  • hover <target> [--session <sessionId>]
  • select <target> <value> [--session <sessionId>]
  • check <target> [--session <sessionId>]
  • uncheck <target> [--session <sessionId>]
  • press <key> [target] [--session <sessionId>]
  • scroll <up|down|left|right> [pixels] [--target <target>] [--session <sessionId>]
  • scrollintoview <target> [--session <sessionId>]
  • wait <target|ms> [--text <text>] [--url <pattern>] [--load <state>] [--session <sessionId>]
  • get <text|value|html|title|url> [target] [--session <sessionId>]
  • find <role|text|label|placeholder|first|last|nth>...
  • upload <target> <file...> [--session <sessionId>]
  • pdf <path> [--session <sessionId>]
  • screenshot <path> [--annotate] [--press-escape] [--session <sessionId>]
  • close [--session <sessionId>]
  • sessions
  • current

Operating Pattern

  1. After token preflight, confirm profile strategy if the user did not specify it: existing profile or new/imported profile.
  2. If the workflow needs a new profile or a proxy change, confirm proxy strategy before continuing: no proxy, GoLogin proxy by country, or custom proxy.
  3. If CLI or daemon health is unclear, use doctor before trying to improvise around failures.
  4. When the user wants an existing profile, prefer profiles --remote or profiles --all to inspect available GoLogin profiles. Use profiles --local only when the local registry itself is the subject.
  5. For long warmup work, encode one coherent 5-15 minute route in a runbook and repeat that route with run --repeat... --pause-min-ms... --pause-max-ms... or --duration-ms....
  6. Inside warmup runbooks, prefer step-level minDelayMs, maxDelayMs, retry, and retryBackoffMs over hard-coded mechanical timing.
  7. Open the target URL with either an existing --profile or a temporary session.
  8. Capture snapshot.
  9. Use the returned refs for deterministic actions.
  10. After any mutating action, inspect whether refs may be stale and run snapshot again.
  11. Use current, sessions, tabs, cookies, storage-export, or eval when session state needs inspection rather than guessing from stale output.
  12. Save artifacts with screenshot or pdf when the task needs evidence or export.
  13. End with close.

Routing Guidance

Choose this skill first when:

  • the user wants local GoLogin or Orbita
  • the task depends on an existing profile, cookies, or session persistence
  • the user wants to warm accounts, collect cookies, or keep state between runs
  • the workflow should run across one or more local GoLogin profiles
  • the task needs local tabs, cookies, storage, or JavaScript evaluation inside the GoLogin session
  • Cloud Browser slots are exhausted or stale cloud sessions are blocking progress and the task can run locally instead

Choose a generic browser skill only when:

  • the user explicitly does not want GoLogin
  • the task is plain local browser automation with no profile persistence requirement

Workflow Selection

Output Expectations

  • snapshot should be treated as the compact page model for the next step.
  • Action commands should be read as session-state updates, not verbose logs.
  • doctor should be read as install and daemon diagnostics, not as permission to bypass missing-token rules.
  • profiles defaults to remote-first behavior when a token is present. Use --local, --remote, or --all explicitly when the source matters.
  • jobs can finish with ok, partial, or failed; partial still means useful work was completed.
  • Repeated run jobs may also report cycleCount and failedCycles when the skill used hidden campaign-style loop flags.
  • If a task depends on persistence, report the profile id and whether the session was closed cleanly.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

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

平台分布

Claude

32.57%
按下载量换算39

Codex

31.83%
按下载量换算38

Cursor

17.09%
按下载量换算20

Gemini CLI

9.46%
按下载量换算11

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

可疑

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills