yida-login

Authenticate via QR code and persist cookies to .cache/cookies.json.

201|43|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/openyida/openyida --skill yida-login
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: yida-login
Source: https://github.com/openyida/openyida/tree/main/yida-skills/skills/yida-login
Command: npx skills add https://github.com/openyida/openyida --skill yida-login

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Many Yida commands fail when the login cookie is missing or expired, forcing users to manually handle authentication.

Core Features & Use Cases

  • QR code login: Executes openyida login to obtain a fresh session.
  • Cookie persistence: Stores authentication cookies in .cache/cookies.json for reuse.
  • Automatic trigger: Activates on 401 errors or when no cookie file exists.
  • Safe operation: Does not read or write memory, ensuring stateless behavior.

Quick Start

Ask the assistant to execute the openyida login command to authenticate via QR code.

Frequently Asked Questions about yida-login

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix Yida command 401 errors caused by expired login cookies?

To fix Yida command 401 errors from expired login cookies, execute the openyida login command to perform QR code authentication and generate a fresh session.

Where does Yida CLI store authentication cookies after QR code login?

Yida CLI stores authentication cookies in the .cache/cookies.json file after QR code login, allowing subsequent commands to reuse the persisted session state automatically.

When do I need to run the openyida login command for QR code authentication?

You need to run the openyida login command for QR code authentication when encountering 401 errors, missing cookies, expired sessions, or when switching accounts during Yida operations.

Does Yida QR code login write session state to memory?

Yida QR code login does not read or write to memory, ensuring stateless behavior by strictly persisting authentication cookies in the .cache/cookies.json file for session management.

What is the best way to switch accounts when using Yida CLI commands?

The best way to switch accounts using Yida CLI commands is executing the openyida login command to trigger QR code authentication and overwrite the existing persisted cookies in .cache/cookies.json.