corezoid-logout — Claude Code skill: sign out from Corezoid
The corezoid-logout skill removes saved Corezoid credentials from ~/.corezoid/config.json for the current working directory. Use it to end your Corezoid session or switch to another account.
MIT ★ 74 updated 2026-10-29
/plugin marketplace add corezoid/corezoid-ai-plugin
/plugin install corezoid@corezoidWhat corezoid-logout does
corezoid-logout calls the MCP tool logout, which finds the entry matching your working directory in ~/.corezoid/config.json and removes it along with the OAuth access token, expiry time, API credentials, account URL, workspace ID, and cached project ID. The stage marker file (<stage_id>_<name>.stage.json) on disk stays intact—it lives in your repo and is not deleted.
Other folders in the config file remain untouched. On success, the skill reports a message with an important note: your browser may still hold an active SSO session at the account site, so the next login could fail with an expired token unless you log out there first.
To reconnect later, run the corezoid-init skill or ask the agent to "log in" and start a fresh authentication flow.
What it helps with
- remove saved Corezoid credentials from the config
- end the current Corezoid session
- disconnect from a Corezoid account for this directory
- clear access tokens and API keys
Example prompts for the agent
- Log out from Corezoid
- Clear my Corezoid token for this project
- Disconnect from the Corezoid account
How to install corezoid-logout
1Plugin marketplace
/plugin marketplace add corezoid/corezoid-ai-plugin/plugin install corezoid@corezoidThis installs the whole corezoid plugin with all its skills
2Skills CLI (Vercel)
npx skills add corezoid/corezoid-ai-plugin --skill corezoid-logout -a claude-code3Manually: put the files in place
~/.claude/skills/corezoid-logout/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/corezoid-logout/
1Skills CLI (Vercel)
npx skills add corezoid/corezoid-ai-plugin --skill corezoid-logout -a codex2Manually: put the files in place
.agents/skills/corezoid-logout/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add corezoid/corezoid-ai-plugin --skill corezoid-logout -a cursor2Manually: put the files in place
.cursor/skills/corezoid-logout/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install corezoid/corezoid-ai-plugin plugins/corezoid/skills/corezoid-logout2Manually: put the files in place
.github/skills/corezoid-logout/SKILL.md1Skills CLI (Vercel)
npx skills add corezoid/corezoid-ai-plugin --skill corezoid-logout -a gemini-cli2Platform CLI
gemini skills install https://github.com/corezoid/corezoid-ai-plugin --path plugins/corezoid/skills/corezoid-logoutManually: put the files in place
.devin/skills/corezoid-logout/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about corezoid-logout
How do I install corezoid-logout in Claude Code?
Run these commands in order: /plugin marketplace add corezoid/corezoid-ai-plugin, then /plugin install corezoid@corezoid, then npx skills add corezoid/corezoid-ai-plugin --skill corezoid-logout -a claude-code, and open ~/.claude/skills/corezoid-logout/SKILL.md.
What does corezoid-logout do?
It removes credentials (tokens, API keys, URLs) for your current working directory from ~/.corezoid/config.json, but leaves the stage marker file untouched. Config files for other directories are not affected.
What if the next login still fails after I log out?
Log out in your browser at the Corezoid account site—the SSO cookie may interfere. The logout message includes the <account_url>. Then run corezoid-init again.
Source text
SKILL.md · MIT
--- name: corezoid-logout description: > Log out of Corezoid: remove saved credentials for the current workspace from `~/.corezoid/config.json`. Activate when the user says "logout", "log out", "sign out", "disconnect", "выйти", "разлогинься", "разлогиниться", "отключись от corezoid", "убери токен", "clear credentials", "remove credentials", "forget account", or otherwise asks to end the Corezoid session for this working directory. --- # Corezoid Logout Skill You help the user disconnect from Corezoid by removing saved credentials for the current workspace. ## What logout does Calling the `logout` MCP tool removes the Folder entry that matches the current working directory from `~/.corezoid/config.json`. That clears: - OAuth `access_token` / `expires_at` - `api_login` / `api_secret` (if API-key auth was used) - `account_url`, `corezoid_url`, `workspace_id`, cached `project_id` - `git_url` / `git_stage_path` The on-disk stage marker (`<stage_id>_<name>.stage.json` in the workspace) is **not** touched — it's checked into the workspace repo and stays. Other Folders in `~/.corezoid/config.json` (for other working directories) are left untouched. ## Step 1 — Call `logout` Call MCP tool **`logout`** with no arguments. ## Step 2 — Report the result On success the tool returns a message like: ``` Logged out. Folder entry removed from ~/.corezoid/config.json. Important: your browser may still have an active SSO session at <account_url>. If a subsequent login produces an already-expired token, you must also log out of that site in your browser before calling login again. ``` Relay the SSO warning to the user in the same language they used — especially the part about the browser session, because a stale SSO cookie is the most common cause of "logged out but next login still fails" reports. On error, show the error message and suggest the user check that `~/.corezoid/config.json` is writable. ## After logout To reconnect, the user should invoke the `corezoid-init` skill (or say "login" / "setup") and start a fresh authentication flow.
© Corezoid · MIT · corezoid/corezoid-ai-plugin