Cookie 静默刷新技能

Community

Keep NotebookLM cookies always fresh.

Authorcrimes342
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents NotebookLM authentication failures by automatically refreshing and persisting the Google cookie used by notebooklm-py, so the API remains usable without manual re-login.

Core Features & Use Cases

  • Three-layer refresh reliability: refreshes on a fixed cron schedule, refreshes on-demand when a 401 occurs, and persists login state via the CloakBrowser profile to act as a final fallback.
  • Cookie-to-API seamless data flow: pulls cookies from CloakBrowser (CDP) and bridges them into Playwright storage_state used by notebooklm-py.
  • Operational controls & verification: supports scheduled execution, an environment-variable trigger, and monitoring/validation steps (including an auth test and log inspection).

Use case: You run NotebookLM in a long-lived environment and want to avoid daily manual cookie renewal when Google sessions expire.

Quick Start

Tell your Hermes assistant to refresh cookies (for example by saying "刷新 Cookie" or "Cookie 过期了") and then confirm the result with an auth test.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Cookie 静默刷新技能
Download link: https://github.com/crimes342/skills/archive/main.zip#cookie

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.