yida-logout SKILL.md skillA
yida-logout from openyida/openyida is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add openyida/openyida/yida-logout@git:20260817.d6a876bPins git:20260817.d6a876b in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- openyida/openyida
- Path
yida-skills/skills/yida-logout/SKILL.md- Versions recorded
- 5
- Latest version
- git:20260817.d6a876b, committed Aug 17, 2026
- First version recorded
- Apr 1, 2026
- Size
- 3,765 bytes
- Repository stars
- 231
- License
- MIT
退出宜搭登录或解绑当前项目登录态。默认只解绑当前项目 profile pointer;显式传 --profile 或 --all 才删除共享登录 profile。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 退出登录 ## 严格禁止 (NEVER DO) - 不要把默认 `openyida logout` 当成删除共享登录态;它只解绑当前项目 profile pointer,并清当前项目 legacy token - 不要在目标 profile 已存在时要求用户重新 OAuth 登录;应先执行 `openyida auth profile switch <auth_profile>` - 不要手动删除或编辑 `.cache/auth-token-<env>.json`、`.cache/openyida/auth-profile-<env>.json` 或用户 auth profile 文件 - 运行环境注入 token 模式下,不要尝试写入或删除本地 user profile ## 严格要求 (MUST DO) - 默认退出后如需继续使用,先执行 `openyida auth status` / `openyida auth profiles`,优先切换已有 profile - 只有目标 profile 不存在时,才执行 `openyida login` 新增登录态 - 删除共享 profile 必须显式使用 `openyida auth logout --profile <auth_profile>` 或 `openyida auth logout --all` - **本技能不读写 memory**:退出操作仅清空当前环境的 token session,不依赖跨会话的 memory 状态 ## 适用场景 | 用户意图 | 触发条件 | |---------|---------| | 解绑当前项目 | "退出登录"、当前项目绑定了错误 profile | | 切换账号 | "切换账号"、"换个账号登录",且已有目标 profile 可切换 | | 切换组织 | "切换组织"、当前 token 绑定了错误组织,且已有目标 profile 可切换 | | 重置登录态 | refresh token 缺失、过期或服务端拒绝刷新 | | 删除共享 profile | 用户明确要求删除某个 profile 或清空全部本地共享登录态 | ## 触发条件 **正向触发**: - "切换账号"、"换个账号登录"、"退出登录" - "切换组织"、"换个组织" - refresh token 失效且无法自动刷新,需要重置登录态 **不适用场景(不要触发)**: - 仅需刷新 access token(优先 `openyida auth refresh`) - 登录态正常但命令失败(先排查其他原因) --- ## 命令 ```bash openyida logout openyida auth profiles …
Read the whole file at its exact version.
How to install
mdr add openyida/openyida/yida-logout@sha256:66aad60d2e4064c2The line at the top of this page pins the label git:20260817.d6a876b, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_tldc4tjp3opkvnbd)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Apr 1, 2026 and Aug 17, 2026, about one every 34 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260817.d6a876b latest | 2026-08-17 | d6a876b | 3,765 B | A | view · diff |
| git:20260714.4e52634 | 2026-07-14 | 4e52634 | 2,497 B | A | view · diff |
| git:20260702.ac3bada | 2026-07-02 | ac3bada | 2,295 B | A | view · diff |
| git:20260407.21dc6f2 | 2026-04-07 | 21dc6f2 | 2,374 B | A | view · diff |
| git:20260401.a36e002 | 2026-04-01 | a36e002 | 870 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (3765 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
openyida/openyida · 231 stars · license MIT · pushed 2026-11-06 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_tldc4tjp3opkvnbd GET https://markdownregistry.com/api/v1/resolve?ref=openyida/openyida/yida-logout GET https://markdownregistry.com/api/v1/blob/66aad60d2e4064c22966b650d29c213720abcdc9e61763d78bfae878152ca377
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.