Chrome Login-Free Debug Browser
Paste the following prompt into your AI chat to install this skill:
Install @user_7850d9d3/chrome-debug-login according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem
Domestic platforms often rely on QR-code login, CAPTCHAs, and risk-control context, making stateless browser automation or raw API calls brittle. This skill treats login as a one-time human step: a dedicated Chrome profile signs in manually, and later agents reuse the persisted cookies through Chrome DevTools Protocol.
How It Works
- Isolated profile: uses
--user-data-dirto keep cookies, extensions, and history separate from the main Chrome profile. - Debug port: launches with
--remote-debugging-port=9222and--remote-allow-origins=*for local CDP WebSocket access on Chrome 128+. - Session reuse: after one manual login, the agent can open tabs, run JavaScript, click elements, fill forms, and read page content while staying logged in.
- Platform expansion: adding another platform only requires opening it in the debug browser and logging in once; no code or config changes are needed.
Boundaries
Best for local automation with occasional human intervention. The approach expects a real Chrome window because headless mode is more detectable. The debug port is typically bound to localhost, but any local process that can reach it can control the browser, so test accounts are safer. Cookies can expire, and migrating the profile to another machine does not guarantee that every platform will accept the session.
Use Cases
- Batch-extract articles or comments from logged-in Toutiao or Xiaohongshu pages into structured data.
- Drive logged-in admin pages with CDP to open tabs, click actions, and fill forms.
- Keep sessions for a multi-platform publishing workflow and add a new site by logging in once.
- Run several local agents against the same Chrome instance via port 9222 for page tasks.
Best For
- Agent engineers automating logged-in domestic platforms: want to drive real Chrome via CDP while keeping sessions.
- Operations engineers maintaining multi-platform publishing or data checks: want one manual login per new platform.
- Independent developers building local browser automation: want an isolated Chrome profile without touching the main browser.
- Automation QA engineers debugging session persistence: want to reuse cookies and reduce repeated QR codes or CAPTCHAs.
Related Skills
A renovation guide covering residents, functionality, budget, style, safety, and timeline to help plan home projects and avoid common mistakes.
A rule-based Six Lines Na Jia hexagram charting and reasoning assistant for cultural study and entertainment.
Fetches lottery history with the Python standard library and generates an entertainment-focused probability, health-check, and draw-verification report without promising wins.
Calculate Nanjing employee social security contributions and generate a clear itemized infographic.