hn.today

Claudecookie – convert, check, and mint Claude Code credentials from a cookie

claudecookie.com4 points0 comments
Screenshot of Claudecookie – convert, check, and mint Claude Code credentials from a cookie

Claudecookie is a browser-based toolkit for converting, validating, and minting Claude Code credentials from cookie data. It converts between Netscape cookies.txt, several JSON formats (Cookie-Editor, Puppeteer), key-value pairs and Cookie headers, with drag-and-drop or paste input and local in-browser processing for the converter. Complementary tools let users check a Claude session to verify validity and view plan and usage limits, and to create a .credentials.json from a valid session. A public JSON API (POST /api/v1/convert, /api/v1/check, /api/v1/credential) supports scriptable workflows without an API key; human-facing docs and an OpenAPI file are provided.

Practical details and caveats are documented: the Netscape format uses seven tab-separated fields per cookie, curl marks http-only cookies with a #HTTPONLY_ prefix, and expiry values 0 or -1 denote session cookies. Key-value and header formats intentionally drop domain, path, expiry, secure and http-only attributes so they cannot be losslessly round-tripped without extra context. Converter input remains on the device, while the session-check and credential features encrypt pasted data in the browser before sending it to the backend and to Anthropic. Anonymous usage metrics are collected via Yandex Metrika. The service is not affiliated with Anthropic.

Read on claudecookie.com0 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Web

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.