by millylee
Supports multi-platform and multi-account sign-in with AnyRouter and AgentRouter, and is theoretically compatible with all platforms based on NewAPI and OneAPI.
# Add to your Claude Code skills
git clone https://github.com/millylee/anyrouter-check-in多平台多账号自动签到,理论上支持所有 NewAPI、OneAPI 平台,目前内置支持 Any Router 与 Agent Router,其它可根据文档进行摸索配置。
推荐搭配使用Auo,支持任意 Claude Code Token 切换的工具。
维护开源不易,如果本项目帮助到了你,请帮忙点个 Star,谢谢!
用于 Claude Code 中转站 Any Router 网站多账号每日签到,一次 $25,限时注册即送 100 美金,点击这里注册。业界良心,支持 Claude Sonnet 4.5、GPT-5-Codex、Claude Code 百万上下文(使用 /model sonnet[1m] 开启),gemini-2.5-pro 模型。
点击右上角的 "Fork" 按钮,将本仓库 fork 到你的账户。
对于每个需要签到的账号,你需要获取:(可借助 在线 Secrets 配置生成器)
按照下方图片教程操作获得。
production 的环境production 环境进入环境配置页ANYROUTER_ACCOUNTS支持单个与多个账号配置,可选 name 和 provider 字段:
[
{
"name": "我的主账号",
"cookies": {
"session": "account1_session_value"
},
"api_user": "account1_api_user_id"
},
{
"name": "备用账号",
"provider": "agentrouter",
"cookies": {
"session": "account2_session_value"
},
"api_user": "account2_api_user_id"
}
]
字段说明:
cookies (必需):用于身份验证的 cookies 数据api_user (必需):用于请求头的 new-api-user 参数provider (可选):指定使用的服务商,默认为 anyroutername (可选):自定义账号显示名称,用于通知和日志中标识账号默认值说明:
provider 字段,默认使用 anyrouter(向后兼容)name 字段,会使用 Account 1、Account 2 等默认名称anyrouter 与 agentrouter 配置已内置,无需填写接下来获取 cookies 与 api_user 的值。
通过 F12 工具,切到 Application 面板,拿到 session 的值,最好重新登录下,该值 1 个月有效期,但有可能提前失效,失效后报 401 错误,到时请再重新获取。

通过 F12 工具,切到 Network 面板,可以过滤下,只要 Fetch/XHR,找到带 New-Api-User,这个值正常是 5 位数,如果是负数或者个位数,正常是未登录。

你可以手动触发一次签到来测试:

假设你有两个账号需要签到,不指定 pro...