Token导航 LogoToken导航

Agent Skill · 开发

website-login(网站登录)

website-login 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

website-login 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证信息还不明确,第三方扫描有未通过项,按安装量在开发类的 21,746 个 Skill 里排第 17,485。

总安装 408周安装 17GitHub Stars 136下载 136核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/lakr233/cookey --skill website-login

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

website-login 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。

安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。当前顶部介绍为空,底部简介无内容。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/website-login

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/lakr233/cookey --skill website-login;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

website-login 怎么安装?

在终端执行 npx skills add https://github.com/lakr233/cookey --skill website-login。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

website-login 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

website-login 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

website-login 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

website-login 用的人多吗?

公开数据是累计安装 408 次,近一周安装 17 次,下载 136 次,GitHub 136 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

website-login 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
website-login

网站登录 · 本页

408136操作浏览器未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Website login

You run the Cookey CLI in your current environment. The user completes the actual website login on their iPhone inside the Cookey app’s in-app browser—never on a browser you control remotely.

How it works

Cookey splits “where login happens” from “where automation runs”:

  1. Local environment (cookey CLI + local daemon) — You run commands here. The CLI creates a short-lived login request, agrees cryptographic keys with the phone, and waits for an encrypted payload. After delivery, you export Playwright-compatible storageState JSON (cookies + origins / localStorage) for local scripts.
  2. User’s iPhone (Cookey app) — The user scans the QR or taps the HTTPS jump link. The jump page opens the cookey:// deep link into the app. The app opens the target URL in its embedded browser. The user signs in like a normal mobile session (password, OTP, authenticator app, passkeys, etc.). The app reads cookies and storage, encrypts them, and uploads ciphertext to the relay.
  3. Relay server — Only moves opaque encrypted blobs and request metadata. It is not trusted with plaintext cookies or credentials; design assumes zero-knowledge transport.
  4. Result — The CLI decrypts locally and writes session material under ~/.cookey/. cookey session export strips Cookey-only metadata and outputs the same shape Playwright expects for browser.newContext({storageState}).

Why use this: Many real sites are easier or only possible to log into on a phone (MFA apps, SMS, mobile-only UI). Cookey turns that authenticated mobile browser state into something local Playwright can load.

Install

npm install -g @cookey/cli
# or
pip install cookey

Alternatively, download prebuilt binaries:

What you export

cookey session export writes standard Playwright storageState JSON:

  • cookies
  • origins

Cookey keeps extra local metadata under ~/.cookey/; session export strips that and emits only what Playwright consumes.

Quick workflow (you and the user)

  1. You start a login request in your local environment: cookey request start https://example.com/login --json --qr
  2. The user scans the QR (or opens the link) on their iPhone with the Cookey app, then finishes login in the app’s browser.
  3. You export after the session is delivered: cookey session export --latest --out storageState.json --pretty
  4. You (or the user’s code) load it in Playwright:
import { chromium } from "@playwright/test";

const browser = await chromium.launch();
const context = await browser.newContext({
  storageState: "storageState.json",
});
const page = await context.newPage();
await page.goto("https://example.com/account");

You can also pipe to a file:

cookey session export r_xxxxxxxxxxxxxxxxxxxxxx > storageState.json

Required execution order

When you start or refresh a request for the user, follow this order:

  1. Run cookey request start... --json --qr or cookey request refresh... --json --qr without --attach.
  2. Immediately reply to the user with the pair key, fingerprint, and QR code from the command output.
  3. Only after that reply is sent, wait for completion with cookey request status <rid> --watch or poll until the request is ready.
  4. Export the session with cookey session export.

If you skip step 2 and start waiting first, the user may never see the pair key in tool-call environments where terminal output is hidden.

What you must show the user

When you start or refresh a Cookey request for the user, paste the required values from the CLI into your reply before you wait for completion. Do not only mention that a login request was started.

  • Always include the pair key as plain text.
  • Always include the CLI fingerprint / verification string when the CLI prints it.
  • Always include the CLI-provided jump_link as a clickable HTTPS link.
  • If you render the QR code using --qr or --json --qr, always wrap the ASCII QR code in a text... code block to prevent Markdown from destroying the line breaks. If using --json, the QR code is in the qr_text field with \n characters.
  • Do not rely on a bare cookey:// deep link as the primary user action; many chat surfaces will not expose it as a tappable link.
  • The CLI-provided jump_link is not enough by itself; still include the pair key and fingerprint alongside it.
  • If using --json, copy pair_key, cli_public_key_fingerprint, jump_link, and qr_text from the JSON output exactly.

The Cookey app on the user’s iPhone may ask them to type the pair key and confirm the fingerprint matches the terminal.

Use a reply shape like this:

  • Pair key: ABCD-1234
  • Fingerprint: xxxxxx
  • Jump link: https://...
  • QR code:
<ascii qr code>

Important warning about --attach

Unless your tool-call environment keeps a detached process alive (e.g. nohup or similar), do not use --attach. If the parent exits, verification can expire.

Default is detached: cookey request start / cookey request refresh spawns a background daemon and returns once the local descriptor exists. --attach blocks in the foreground until the session arrives.

For agent or tool-call environments where the user cannot directly inspect stdout, treat --attach as unsafe by default even if it technically works. It makes it too easy to block before you have echoed the pair key and fingerprint back to the user.

Command Reference

cookey request start <target_url>

Create a new login request for target_url, register it with the relay, print the pair key / jump link, and start a local waiter process.

Flags:

  • --server URL override the relay server; must be https://
  • --timeout SECONDS request lifetime in seconds; default 300, capped at 1800
  • --qr render the cookey:// deep link as a terminal QR code
  • --json emit machine-readable JSON instead of human-readable output
  • --attach wait inline instead of launching a detached daemon
  • --help print command usage

Examples:

  • cookey request start https://example.com/login
  • cookey request start https://example.com/login --qr
  • cookey request start https://example.com/login --json --qr
  • cookey request start https://example.com/login --timeout 900 --server https://api.cookey.sh
  • cookey request start https://example.com/login --json

Notes:

  • On success, the command prints a request ID (rid), pair key, jump link, and daemon PID. It also prints the CLI fingerprint / verification string when available.
  • Without --attach, the command exits as soon as the detached daemon is ready to wait for the encrypted session.
  • In agent workflows, prefer --json --qr, send the returned pair key / fingerprint / QR code to the user immediately, then watch status in a separate step.

cookey request refresh <target_url>

Create a refresh request for target_url using the latest local session for the same target as seed state.

Flags:

  • Same flags as cookey request start

Examples:

  • cookey request refresh https://example.com/login
  • cookey request refresh https://example.com/login --qr
  • cookey request refresh https://example.com/login --json --qr
  • cookey request refresh https://example.com/login --attach

Notes:

  • A previous local session for the same target is required. If none exists, Cookey returns: no previous session found for this target; run cookey request start first
  • If the stored session contains device info, Cookey includes APNs metadata so the mobile app can be nudged directly.
  • Refresh merges new cookies and local storage over the previously stored state, preserving missing values from the older session when needed.
  • If the previous session does not contain device info, refresh still works, but the user must complete the flow from QR / pair key instead of push-assisted delivery.

cookey request status [rid]

Inspect local request state. If there is no local record for the requested rid, Cookey falls back to relay status using the configured default server.

Flags:

  • --latest inspect the most recently updated local request or session
  • --watch poll once per second until a terminal state is reached
  • --json emit machine-readable JSON
  • --help print command usage

Examples:

  • cookey request status
  • cookey request status r_xxxxxxxxxxxxxxxxxxxxxx
  • cookey request status --latest
  • cookey request status --latest --watch
  • cookey request status r_xxxxxxxxxxxxxxxxxxxxxx --json

Status values:

  • waiting daemon is alive and waiting for the encrypted session
  • receiving session arrived and is being decrypted / written locally
  • ready session file exists and is exportable
  • expired request lifetime ended before a usable session was written
  • orphaned daemon descriptor says the request was active, but the daemon process is gone
  • error the daemon failed while waiting, decrypting, or writing
  • missing no local or remote record was found

Notes:

  • cookey request status with no rid and no --latest returns a summary of the latest daemon and latest session.
  • --watch requires either an explicit rid or --latest.

cookey session export [rid]

Export a local session as Playwright storageState JSON.

Flags:

  • --latest export the newest local session
  • --out FILE write to FILE instead of stdout
  • --pretty pretty-print JSON with indentation
  • --help print command usage

Examples:

  • cookey session export --latest > storageState.json
  • cookey session export --latest --out storageState.json --pretty
  • cookey session export r_xxxxxxxxxxxxxxxxxxxxxx

Notes:

  • If --out is relative, it is resolved against the current working directory.
  • If the session file is missing but a daemon descriptor exists, Cookey reports the descriptor status so you can tell expired from error.
  • The exported file is suitable for Playwright's browser.newContext({storageState}).

cookey session list

List all locally known request IDs, newest first, using the newest timestamp from either the daemon descriptor or the exported session file.

Flags:

  • --json emit machine-readable JSON
  • --help print command usage

Examples:

  • cookey session list
  • cookey session list --json

cookey session delete <rid>

Delete the local session file and daemon descriptor for rid.

Flags:

  • --json emit machine-readable JSON
  • --help print command usage

Examples:

  • cookey session delete r_xxxxxxxxxxxxxxxxxxxxxx
  • cookey session delete r_xxxxxxxxxxxxxxxxxxxxxx --json

Notes:

  • Cookey refuses to delete an active request whose daemon is still in waiting or receiving state.

cookey session clean

Delete all inactive local request/session pairs.

Flags:

  • --json emit machine-readable JSON
  • --help print command usage

Examples:

  • cookey session clean
  • cookey session clean --json

Notes:

  • Active requests are skipped instead of force-killed.

cookey config get [key]

Read configured defaults from ~/.cookey/config.json.

Supported keys:

  • default-server
  • timeout-seconds
  • session-retention-days

Aliases:

  • server -> default-server
  • timeout -> timeout-seconds
  • retention-days -> session-retention-days

Flags:

  • --json emit machine-readable JSON
  • --help print command usage

Examples:

  • cookey config get
  • cookey config get default-server
  • cookey config get timeout --json

cookey config set <key> <value>

Persist configured defaults in ~/.cookey/config.json.

Flags:

  • --json emit machine-readable JSON
  • --help print command usage

Examples:

  • cookey config set default-server https://api.cookey.sh
  • cookey config set timeout-seconds 900
  • cookey config set retention-days 30 --json

Notes:

  • default-server must parse as a relay base URL and must use https.
  • timeout-seconds must be a positive integer.
  • session-retention-days is stored in config today, but the current CLI does not automatically delete sessions based on that value. Use session clean for explicit cleanup.

Additional Behavior Details

  • Every CLI entry point bootstraps ~/.cookey/, ensures the keypair exists, ensures device ID exists, and cleans up stale daemon descriptors.
  • Request/session JSON under ~/.cookey/ is written atomically.
  • User-facing commands return exit code 0 on success and 1 on CLI/validation errors.
  • Inline daemon execution used by --attach can also return:

- 3 when the request expires before session delivery - 5 when the daemon encounters a relay, decrypt, or local write failure

Suggested automation patterns (you)

Detached start + watch:

cookey request start https://example.com/login --qr
cookey request status --latest --watch
cookey session export --latest --out storageState.json --pretty

JSON-first scripting (Note: If you need to show the QR code to the user while using JSON output, use --json --qr and extract the qr_text field, formatting it carefully inside a ```text block):

cookey request start https://github.com/login --json --qr
cookey request status --latest --json
cookey session export --latest --out storageState.json

*(Tip: When testing the login flow, avoid stateless domains like example.com which will yield an empty session. Use a real site like github.com/login or x.com/login to verify cookies and localStorage are captured correctly.)*

Playwright usage:

import { chromium } from "@playwright/test";

const browser = await chromium.launch();
const context = await browser.newContext({
  storageState: "storageState.json",
});

平台分布

Codex

36.79%
按下载量换算50

Claude

27.96%
按下载量换算38

Cursor

19.2%
按下载量换算26

Gemini CLI

8.84%
按下载量换算12

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills