yida-logout

Logout from OpenYida and clear the local .cache/cookies.json file.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

退出宜搭登录,清空本地 Cookie 缓存。适用于需要切换账号/组织或者清理登录态的场景,但不适用于仅需刷新 Cookie 的情况。

Core Features & Use Cases

  • 安全退出:退出后清空 .cache/cookies.json,确保后续命令需要重新扫码登录。
  • 适用场景:切换账号、切换组织、Cookie 失效且无法自动刷新时的登出流程。
  • 使用示例:用户在更换工作账户后使用本技能完成登出并重新认证。

Quick Start

直接运行 openyida logout,即可清空本地 Cookie 缓存,下一次调用将提示重新扫码登录。

Frequently Asked Questions about yida-logout

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

FAQPage Schema
How do I clear local cookies and log out of OpenYida from the CLI?

To clear local cookies and log out of OpenYida, run the `openyida logout` command. This empties the `.cache/cookies.json` file, resetting the login state and requiring a fresh scan-to-login for subsequent operations.

Why does my CLI session require a manual logout instead of auto-refreshing cookies?

A manual logout is required when cookies have expired and cannot auto-refresh. Running the logout command clears the invalid local session data, allowing you to reset the login state and authenticate again.

What is the best way to switch accounts or organizations in the OpenYida CLI?

The best way to switch accounts or organizations is to execute a logout to clear the current session. This removes the existing local cookies and prompts you to re-authenticate with the new account or organization credentials.

Does logging out of the CLI delete memory or other session data?

Logging out does not read or write memory. It exclusively clears the `.cache/cookies.json` file to reset the login state, ensuring no other local session data is modified during the account switching process.

When should I not use the logout command for my CLI session?

You should not use the logout command if you only need to refresh expired cookies. It is designed specifically for switching accounts or organizations, which requires completely clearing the local cookie cache and forcing a fresh login.