{"_id":"@achoo254/ccprofiles","_rev":"8-bcbd39a0d51099e42b04512190d0c4ee","name":"@achoo254/ccprofiles","dist-tags":{"latest":"2.1.7"},"versions":{"2.0.0":{"name":"@achoo254/ccprofiles","version":"2.0.0","keywords":["claude","claude-code","profile","multi-account","oauth","cli","account-switcher"],"author":{"name":"achoo254"},"license":"MIT","_id":"@achoo254/ccprofiles@2.0.0","maintainers":[{"name":"achoo254","email":"quocdat254@gmail.com"}],"homepage":"https://github.com/achoo254/ccprofiles#readme","bugs":{"url":"https://github.com/achoo254/ccprofiles/issues"},"bin":{"ccprofiles":"bin/ccprofiles.cjs"},"dist":{"shasum":"a8901f660850a91859c2a848d313e5ce87faa1c5","tarball":"https://registry.npmjs.org/@achoo254/ccprofiles/-/ccprofiles-2.0.0.tgz","fileCount":9,"integrity":"sha512-W4VKV0jfNxWC7cHjvTIOQ/TR/rkGhYMShdhKmNMNqAKmyk0dkDQLp9+T/9Oghp8YbBVJ2mMwQMkmdKXHPWE22A==","signatures":[{"sig":"MEYCIQD0t3YB6wO8eNCxLs2/jRZSGWfIlPqkECsmF/k8znmuMAIhANHHNL0MFiOksQtZm8Qa6mgbAsdQZj7oZ3tb/+rd28V3","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25119},"main":"./lib/profile-manager.cjs","engines":{"node":">=18"},"gitHead":"00e50664013543d4f5b3cd255c1e463b0694915d","scripts":{"test":"node --test test/profile-manager.test.cjs"},"_npmUser":{"name":"achoo254","email":"quocdat254@gmail.com"},"repository":{"url":"git+https://github.com/achoo254/ccprofiles.git","type":"git"},"_npmVersion":"11.9.0","description":"Multi-account profile manager for Claude Code CLI. Switch OAuth accounts without logout/login.","directories":{},"_nodeVersion":"24.14.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ccprofiles_2.0.0_1774536653053_0.73304650593243","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"@achoo254/ccprofiles","version":"2.0.1","keywords":["claude","claude-code","profile","multi-account","oauth","cli","account-switcher"],"author":{"name":"achoo254"},"license":"MIT","_id":"@achoo254/ccprofiles@2.0.1","maintainers":[{"name":"achoo254","email":"quocdat254@gmail.com"}],"homepage":"https://github.com/achoo254/ccprofiles#readme","bugs":{"url":"https://github.com/achoo254/ccprofiles/issues"},"bin":{"ccprofiles":"bin/ccprofiles.cjs"},"dist":{"shasum":"b0684c09645ebfb024ef77f3ac1f28c66cdcce1d","tarball":"https://registry.npmjs.org/@achoo254/ccprofiles/-/ccprofiles-2.0.1.tgz","fileCount":9,"integrity":"sha512-VMsrQA4DDZGU8owqAQbgfb/c4dVPShqroWiwu8WiuW7OGFm3S+KWLuimHjjSnWWwfk3XRShc1UyTZCSjDCReKQ==","signatures":[{"sig":"MEYCIQCaexL+u1fdV8I6Oqc41WVLLFJA5XA7NoOQ2CY3B9b7sAIhALj+AF6puWVbgbZoMV3cINVo/Mx1odtH4GD61ruPtuEl","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25189},"main":"./lib/profile-manager.cjs","engines":{"node":">=18"},"gitHead":"f6e584edf7bcaf5537db8b2488513770f3c40ba8","scripts":{"test":"node --test test/profile-manager.test.cjs"},"_npmUser":{"name":"achoo254","email":"quocdat254@gmail.com"},"repository":{"url":"git+https://github.com/achoo254/ccprofiles.git","type":"git"},"_npmVersion":"11.9.0","description":"Multi-account profile manager for Claude Code CLI. Switch OAuth accounts without logout/login.","directories":{},"_nodeVersion":"24.14.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ccprofiles_2.0.1_1774536905511_0.3276848667052956","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"name":"@achoo254/ccprofiles","version":"2.1.0","keywords":["claude","claude-code","profile","multi-account","oauth","cli","account-switcher"],"author":{"name":"achoo254"},"license":"MIT","_id":"@achoo254/ccprofiles@2.1.0","maintainers":[{"name":"achoo254","email":"quocdat254@gmail.com"}],"homepage":"https://github.com/achoo254/ccprofiles#readme","bugs":{"url":"https://github.com/achoo254/ccprofiles/issues"},"bin":{"ccprofiles":"bin/ccprofiles.cjs"},"dist":{"shasum":"4693659f246838c7f5a18ba5fa5aed650b77d9ce","tarball":"https://registry.npmjs.org/@achoo254/ccprofiles/-/ccprofiles-2.1.0.tgz","fileCount":13,"integrity":"sha512-nF7oW+lJr0ipVOzO7Aka0I6lBsvUGGLVF5mg06ewHZ/DmaFofMQXv3LXdGNYOu7Uc9Jpzio7SM5GQm8eXxOKVA==","signatures":[{"sig":"MEYCIQD/AS2FLMUQlYw8U1TiZKQXTQGERywqqyioXmMwP42dRAIhANW9s7rc6qUMbQrg1JzwVkE4gigu8cZTlYQGhr7gvVgB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":51593},"main":"./lib/profile-manager.cjs","engines":{"node":">=18"},"gitHead":"1521fcbdab32245b2634d2ab52e4878ad5581c9b","scripts":{"test":"node --test test/profile-manager.test.cjs"},"_npmUser":{"name":"achoo254","email":"quocdat254@gmail.com"},"repository":{"url":"git+https://github.com/achoo254/ccprofiles.git","type":"git"},"_npmVersion":"11.9.0","description":"Multi-account profile manager for Claude Code CLI. Switch OAuth accounts without logout/login.","directories":{},"_nodeVersion":"24.14.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ccprofiles_2.1.0_1774539513899_0.2498598916326018","host":"s3://npm-registry-packages-npm-production"}},"2.1.1":{"name":"@achoo254/ccprofiles","version":"2.1.1","keywords":["claude","claude-code","profile","multi-account","oauth","cli","account-switcher"],"author":{"name":"achoo254"},"license":"MIT","_id":"@achoo254/ccprofiles@2.1.1","maintainers":[{"name":"achoo254","email":"quocdat254@gmail.com"}],"homepage":"https://github.com/achoo254/ccprofiles#readme","bugs":{"url":"https://github.com/achoo254/ccprofiles/issues"},"bin":{"ccprofiles":"bin/ccprofiles.cjs"},"dist":{"shasum":"2bbfa6bee22261ae3cfba25ba19c32851dbe94bf","tarball":"https://registry.npmjs.org/@achoo254/ccprofiles/-/ccprofiles-2.1.1.tgz","fileCount":13,"integrity":"sha512-SigC62XQHeQuqzUE43u1R8zFhWYamtNS5bBQ5iR+ANvNZ2Dl/fyCw7X7ZAin1PaCaqMp29SalGH3tUyraYrxvw==","signatures":[{"sig":"MEUCIB1d3p7mtZndpuzwYv2BENaLsvlkoy3poqBwJWbPyMOcAiEAoibWSclTUTbyRNwptD8RdEWWWK0KWPSK53atUUW576o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":56501},"main":"./lib/profile-manager.cjs","engines":{"node":">=18"},"gitHead":"8b3afcf5cb45fc5f8c0c5ca90d92e39ff05e41d7","scripts":{"test":"node --test test/profile-manager.test.cjs"},"_npmUser":{"name":"achoo254","email":"quocdat254@gmail.com"},"repository":{"url":"git+https://github.com/achoo254/ccprofiles.git","type":"git"},"_npmVersion":"11.9.0","description":"Multi-account profile manager for Claude Code CLI. Switch OAuth accounts without logout/login.","directories":{},"_nodeVersion":"24.14.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ccprofiles_2.1.1_1774540893222_0.8094454649211222","host":"s3://npm-registry-packages-npm-production"}},"2.1.3":{"name":"@achoo254/ccprofiles","version":"2.1.3","keywords":["claude","claude-code","profile","multi-account","oauth","cli","account-switcher"],"author":{"name":"achoo254"},"license":"MIT","_id":"@achoo254/ccprofiles@2.1.3","maintainers":[{"name":"achoo254","email":"quocdat254@gmail.com"}],"homepage":"https://github.com/achoo254/ccprofiles#readme","bugs":{"url":"https://github.com/achoo254/ccprofiles/issues"},"bin":{"ccprofiles":"bin/ccprofiles.cjs"},"dist":{"shasum":"f1d58647642d03043fafdbe5d6cf03e797dd5f05","tarball":"https://registry.npmjs.org/@achoo254/ccprofiles/-/ccprofiles-2.1.3.tgz","fileCount":13,"integrity":"sha512-uM6pIPXIf2AwFWXRltDB9k/nAODHW0IZleH1A/hc0IX9o5QJiYhw5/YCJg6A3EjoVjz4PTZds0ufd4+U2QqmPw==","signatures":[{"sig":"MEUCIQCmqG52vLCv0zcx3MZ3VJaEpDR9CBa7ob7D/VVAo9X7uwIgLhdDBiZN/LXRMmlAbqdUWMHlMN6FylC9cLkXJAXNmKU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":62062},"main":"./lib/profile-manager.cjs","engines":{"node":">=18"},"gitHead":"880c7835a8714d6a8a8bc26e24d74dbf9c2681e6","scripts":{"test":"node --test test/profile-manager.test.cjs"},"_npmUser":{"name":"achoo254","email":"quocdat254@gmail.com"},"repository":{"url":"git+https://github.com/achoo254/ccprofiles.git","type":"git"},"_npmVersion":"11.9.0","description":"Multi-account profile manager for Claude Code CLI. Switch OAuth accounts without logout/login.","directories":{},"_nodeVersion":"24.14.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ccprofiles_2.1.3_1774542140656_0.9739044886305126","host":"s3://npm-registry-packages-npm-production"}},"2.1.5":{"name":"@achoo254/ccprofiles","version":"2.1.5","keywords":["claude","claude-code","profile","multi-account","oauth","cli","account-switcher"],"author":{"name":"achoo254"},"license":"MIT","_id":"@achoo254/ccprofiles@2.1.5","maintainers":[{"name":"achoo254","email":"quocdat254@gmail.com"}],"homepage":"https://github.com/achoo254/ccprofiles#readme","bugs":{"url":"https://github.com/achoo254/ccprofiles/issues"},"bin":{"ccprofiles":"bin/ccprofiles.cjs"},"dist":{"shasum":"86078d139df1cf728de99a78680486bb7e5ce4b8","tarball":"https://registry.npmjs.org/@achoo254/ccprofiles/-/ccprofiles-2.1.5.tgz","fileCount":13,"integrity":"sha512-Dq9EgQ2Kcb/xX4VyO/pzqgCQNjZxM1Yi7PlAqsPCgah/R+A2ZZslWoOu+nqtewGbA+m4FkRSExSLVI1srnTJ8w==","signatures":[{"sig":"MEUCIQDmOHLkJVKmFm1ur8hpU+q13o3o/7uSw3Gk+nJmyC63YQIgLPDU52imVAUjRwQqZ/rpcbMbfWMeiXQftQ+MKDyu9QU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61904},"main":"./lib/profile-manager.cjs","engines":{"node":">=18"},"gitHead":"440db72a775b0ed040eb3ee7dc82bcc8f31eb3c5","scripts":{"test":"node --test test/profile-manager.test.cjs"},"_npmUser":{"name":"achoo254","email":"quocdat254@gmail.com"},"repository":{"url":"git+https://github.com/achoo254/ccprofiles.git","type":"git"},"_npmVersion":"11.9.0","description":"Multi-account profile manager for Claude Code CLI. Switch OAuth accounts without logout/login.","directories":{},"_nodeVersion":"24.14.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ccprofiles_2.1.5_1774543983312_0.07900717636006971","host":"s3://npm-registry-packages-npm-production"}},"2.1.6":{"name":"@achoo254/ccprofiles","version":"2.1.6","keywords":["claude","claude-code","profile","multi-account","oauth","cli","account-switcher"],"author":{"name":"achoo254"},"license":"MIT","_id":"@achoo254/ccprofiles@2.1.6","maintainers":[{"name":"achoo254","email":"quocdat254@gmail.com"}],"homepage":"https://github.com/achoo254/ccprofiles#readme","bugs":{"url":"https://github.com/achoo254/ccprofiles/issues"},"bin":{"ccprofiles":"bin/ccprofiles.cjs"},"dist":{"shasum":"576b1ee9694865c1c5a68a045939802ff46c3e26","tarball":"https://registry.npmjs.org/@achoo254/ccprofiles/-/ccprofiles-2.1.6.tgz","fileCount":13,"integrity":"sha512-e2rF4ydMND18nFboY/JxNnjeGKW5p92HePbuT6z1yUcBtSB9j/jPJJYKikpLRc8KCIZSK5VFMEJlhT7llAf56Q==","signatures":[{"sig":"MEUCIGPMxON2BWR9n1oVSpamS3yy78dkalrfK04X/p3Rtq9vAiEApECIjXu3/OMFW943xALPneuNeclazfAQ8nZKfjHbl+A=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":62114},"main":"./lib/profile-manager.cjs","engines":{"node":">=18"},"gitHead":"12f47644b4f3f3a2828e1ebb65658a3fd16948a4","scripts":{"test":"node --test test/profile-manager.test.cjs"},"_npmUser":{"name":"achoo254","email":"quocdat254@gmail.com"},"repository":{"url":"git+https://github.com/achoo254/ccprofiles.git","type":"git"},"_npmVersion":"11.9.0","description":"Multi-account profile manager for Claude Code CLI. Switch OAuth accounts without logout/login.","directories":{},"_nodeVersion":"24.14.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ccprofiles_2.1.6_1774544960288_0.23757736806466534","host":"s3://npm-registry-packages-npm-production"}},"2.1.7":{"name":"@achoo254/ccprofiles","version":"2.1.7","description":"Multi-account profile manager for Claude Code CLI. Switch OAuth accounts without logout/login.","bin":{"ccprofiles":"bin/ccprofiles.cjs"},"main":"./lib/profile-manager.cjs","scripts":{"test":"node --test test/profile-manager.test.cjs"},"keywords":["claude","claude-code","profile","multi-account","oauth","cli","account-switcher"],"author":{"name":"achoo254"},"license":"MIT","engines":{"node":">=18"},"repository":{"type":"git","url":"git+https://github.com/achoo254/ccprofiles.git"},"homepage":"https://github.com/achoo254/ccprofiles#readme","bugs":{"url":"https://github.com/achoo254/ccprofiles/issues"},"gitHead":"02ead548e884ef464a5c4e982393a06ac3ace79c","_id":"@achoo254/ccprofiles@2.1.7","_nodeVersion":"24.14.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-Cz3TPu9sb4Evqf1c7+IyQRm4TwB4Ahvna1KY5w/7phAtxyUeQIsicfWOCfatdF6mnYpOSfgQySSUMC9cERICMw==","shasum":"9bbd8c214a1df0d14bd56e5b92d40731dda8a924","tarball":"https://registry.npmjs.org/@achoo254/ccprofiles/-/ccprofiles-2.1.7.tgz","fileCount":13,"unpackedSize":61888,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCyc+GU0kNYzZRHmBjjqbMS+q6WhhKI7W2Ig//mr/j6swIgf5rR08Lml277CXydch5aBGrJCQwmQ/KPztwnhnD31Zs="}]},"_npmUser":{"name":"achoo254","email":"quocdat254@gmail.com"},"directories":{},"maintainers":[{"name":"achoo254","email":"quocdat254@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ccprofiles_2.1.7_1774545534724_0.5788408790448125"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-26T14:50:52.920Z","modified":"2026-03-26T17:18:55.010Z","2.0.0":"2026-03-26T14:50:53.184Z","2.0.1":"2026-03-26T14:55:05.656Z","2.1.0":"2026-03-26T15:38:34.038Z","2.1.1":"2026-03-26T16:01:33.359Z","2.1.3":"2026-03-26T16:22:20.786Z","2.1.5":"2026-03-26T16:53:03.483Z","2.1.6":"2026-03-26T17:09:20.428Z","2.1.7":"2026-03-26T17:18:54.891Z"},"bugs":{"url":"https://github.com/achoo254/ccprofiles/issues"},"author":{"name":"achoo254"},"license":"MIT","homepage":"https://github.com/achoo254/ccprofiles#readme","keywords":["claude","claude-code","profile","multi-account","oauth","cli","account-switcher"],"repository":{"type":"git","url":"git+https://github.com/achoo254/ccprofiles.git"},"description":"Multi-account profile manager for Claude Code CLI. Switch OAuth accounts without logout/login.","maintainers":[{"name":"achoo254","email":"quocdat254@gmail.com"}],"readme":"# ccprofiles\n\n> Multi-account profile manager for [Claude Code](https://docs.anthropic.com/en/docs/claude-code). Switch OAuth accounts without logout/login.\n\n[![npm version](https://img.shields.io/npm/v/@achoo254/ccprofiles.svg)](https://www.npmjs.com/package/@achoo254/ccprofiles)\n[![license](https://img.shields.io/npm/l/@achoo254/ccprofiles.svg)](LICENSE)\n[![node](https://img.shields.io/node/v/@achoo254/ccprofiles.svg)](package.json)\n\n## Install\n\n```bash\nnpm install -g @achoo254/ccprofiles\nccprofiles setup  # Install /profile skill into Claude Code\n```\n\n## Quick Start\n\n```bash\n# 1. Save your current account\nccprofiles save work\n\n# 2. Login to another account\nclaude auth login --email me@gmail.com\n\n# 3. Save that account\nccprofiles save personal\n\n# 4. Switch between accounts\nccprofiles switch work\n\n# 5. List all profiles\nccprofiles list\n```\n\n## Commands\n\n| Command | Description |\n|---------|-------------|\n| `ccprofiles setup` | Install `/profile` skill into Claude Code |\n| `ccprofiles uninstall` | Remove `/profile` skill |\n| `ccprofiles save [name]` | Snapshot current credentials (auto-detects name from email) |\n| `ccprofiles switch <name>` | Switch to a saved profile |\n| `ccprofiles list` | Show all profiles |\n| `ccprofiles status` | Current profile details + token expiry |\n| `ccprofiles whoami` | One-line active profile (script-friendly) |\n| `ccprofiles check` | Verify token is still valid |\n| `ccprofiles delete <name>` | Delete a profile |\n| `ccprofiles restore` | Rollback to pre-switch backup |\n| `ccprofiles clone <name>` | Export profile skeleton for another machine |\n| `ccprofiles dashboard` | Open browser dashboard to manage profiles |\n\n## Claude Code Integration\n\nAfter running `ccprofiles setup`, you can manage profiles directly in Claude Code:\n\n```\n> /profile list\n> /profile switch personal\n> /profile save work\n```\n\nAfter switching, **exit Claude Code and reopen** to load the new credentials. Then run `/profile status` to verify.\n\n## Dashboard\n\nView and manage all profiles in your browser:\n\n```bash\nccprofiles dashboard\n```\n\nOpens a local web dashboard with real-time updates. Features:\n- Profile cards with email, subscription type, and token status\n- Switch, check, save, and delete profiles from the browser\n- Dark/light theme based on OS preference\n- Auto-shutdown after 10 minutes idle\n\n## How It Works\n\nProfiles are stored in `~/.claude/profiles/{name}/`:\n\n```\n~/.claude/profiles/\n├── active              # Current profile name\n├── _base/              # Auto-backup before each switch\n├── work/\n│   ├── .credentials.json\n│   ├── settings.json\n│   └── meta.json\n└── personal/\n    ├── .credentials.json\n    ├── settings.json\n    └── meta.json\n```\n\n**Switching** copies the profile's credentials and settings to `~/.claude/` (full replace).\n\n## FAQ\n\n**Q: What happens if a token expires?**\nRun `ccprofiles check` to verify. If expired, run `claude auth login` then `ccprofiles save <name>`.\n\n**Q: Is my data safe?**\nEvery switch creates a backup in `_base/`. Use `ccprofiles restore` to rollback. Credentials are stored with the same security as Claude Code's own storage.\n\n**Q: Does it work on Windows/macOS/Linux?**\nYes. Zero dependencies — uses only Node.js built-ins.\n\n**Q: Can I share profiles between machines?**\nUse `ccprofiles clone <name>` to export a profile skeleton (settings + metadata, no credentials). Then auth on the new machine.\n\n## Requirements\n\n- Node.js >= 18\n- [Claude Code CLI](https://docs.anthropic.com/en/docs/claude-code) installed\n\n## License\n\n[MIT](LICENSE)\n","readmeFilename":"README.md"}