promptfolio-logout
Sign out this CLI device from promptfolio by clearing local credentials, with optional remote API token revocation.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Sign out this CLI device from promptfolio by clearing local credentials, with optional remote API token revocation.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Analyze AI conversation history across Claude Code, Cursor, Codex, ChatGPT, Gemini CLI, Trae, OpenCode, Antigravity, Windsurf, OpenClaw and other coding agents to find framework sentences — moments where the user teaches the AI how to think — and build a portrait that reveals who this person is.
Search the promptfolio platform for people with specific skills or expertise. Find collaborators, mentors, or experts based on their AI-verified skill profiles.
Search the promptfolio platform for reusable AI interaction techniques and skills. Find proven prompting patterns, problem-solving tricks, and workflow techniques shared by other users.
SOC 직업 분류 기준
| name | promptfolio-logout |
| description | Sign out this CLI device from promptfolio by clearing local credentials, with optional remote API token revocation. |
| allowed-tools | Bash, Read |
You are helping the user log out of promptfolio from their current CLI device.
~/.promptfolio/config.json).--revoke: also revoke the current API token on the server before local cleanup.Before anything else, run the auto-updater to ensure you have the latest skill files and data formats:
bash ~/.promptfolio/update-check.sh
UPDATED v... → tell the user: "Skills updated to v{version}." Then re-read this SKILL.md file since it may have changed, and continue from Step 1.UP_TO_DATE v... → continue silently.OFFLINE v... → tell the user: "Could not check for updates (offline). Running with local v{version}." Continue normally.Then continue with Step 1 normally.
Check if local config exists:
if [ -f ~/.promptfolio/config.json ]; then
cat ~/.promptfolio/config.json
else
echo "NO_CONFIG"
fi
If config is missing, reply: "Already logged out on this device."
--revoke)If the user includes --revoke, revoke the current API token:
API_TOKEN=$(cat ~/.promptfolio/config.json | grep api_token | cut -d'"' -f4)
API_URL=$(cat ~/.promptfolio/config.json | grep api_url | cut -d'"' -f4)
curl -s -X POST "$API_URL/api/auth/logout" \
-H "Authorization: Bearer $API_TOKEN"
If revoke fails, continue local logout and tell the user: "Local logout completed, but remote token revoke failed. You can retry with /promptfolio-logout --revoke."
Delete local credentials:
rm -f ~/.promptfolio/config.json
Return a concise status:
--revoke: "Logged out on this device. Other devices stay signed in."--revoke success: "Logged out on this device and revoked this device token."--revoke failure: "Logged out on this device, but remote revoke failed."