Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add weiyi88/cc-code --skill login_autogit clone --depth 1 https://github.com/weiyi88/cc-codeWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/weiyi88/cc-code/login_auto)<a href="https://agentmods.dev/skills/weiyi88/cc-code/login_auto"><img src="https://agentmods.dev/badge/skills/weiyi88/cc-code/login_auto/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/weiyi88/cc-code/login_auto"><img src="https://agentmods.dev/badge/skills/weiyi88/cc-code/login_auto.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Privilege Escalation · line 63 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00020 | $0.08060 |
| Opus 5.5 | $0.00008 | $0.03224 |
| Sonnet 5.5 | $0.00004 | $0.01612 |
| Haiku 4.5 | $0.00002 | $0.00806 |
Grade A, and why
login_auto scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 27d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 790 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Supabase Auth 通用登录系统实现指南
本 skill 是与项目无关的通用登录逻辑指南,适用于任意 Next.js + Supabase 项目。不绑定特定 i18n 框架、不绑定特定语言组合、不绑定特定 UI 库。三大场景全覆盖:
- 登录:邮箱密码 + OAuth (Google/GitHub)
- 注册:邮箱 + 验证码 + 密码 + 确认密码
- 修改密码(忘记密码/未登录):邮箱 + 验证码 + 新密码
邮件通道:验证码邮件由 Supabase Auth 触发,经 Supabase 自定义 SMTP 接入 Resend 投递(不在代码里调 Resend API,不自造验证码存储)。
Skill 启动流程(显式触发时按此走)
Step 1 整理项目当前登录逻辑
读项目 auth 相关代码(auth-modal/回调路由/profile/middleware)
→ 画「项目现状登录逻辑」ASCII 图
Step 2 对比 skill 标准逻辑 vs 项目现状
逐链路差异表: ✅一致 / ⚠️偏离 / ❌缺失
(标准逻辑见下方「三大场景」与 Phase 1-3)
Step 3 环境盘点 + 询问 key
检查: 依赖 / Supabase(URL+anon key, service_role可选)
/ Resend(API Key+发件域名) / OAuth(Client ID+Secret)
/ Dashboard(Confirm email关闭? SMTP配Resend? Redirect URLs? Providers?)
缺什么列清单 → 询问主人提供
Step 4 整理改动清单
输出表: 文件 | 现状 | 目标 | 动作
Step 5 把改动清单交主人, 由主人走 cc-code 工作流落地
/cc-code:plan-feature (先 pm 后 architect 规划, 主人批准)
→ /cc-code:agent-feature (dev 一次完整实现)
(本 skill 只整理方案, 不写代码, 不派 agent)
本 skill 主体是「标准逻辑 + 实现指南」,供 Step 2 对比、Step 4 改动参考。Step 5 不在本 skill 内写代码,交由上述 cc-code 工作流。
实现指南流程
以下 Phase 是给 dev 的实现指南(经
/cc-code:plan-feature→/cc-code:agent-feature由dev执行)。本 skill 的主控只整理方案,⛔ 不亲自创建 / 修改任何源码、配置或.cc-code/active/文件。
Phase 0 → Phase 1 → Phase 2 → Phase 3 → Phase 4
环境检查 后端实现 前端UI 回调路由 构建验证
Phase 0: 环境检查
0.1 检查已有 Supabase 配置
扫描:
├── package.json → @supabase/supabase-js 存在?
├── package.json → @supabase/ssr 存在?
├── lib/supabase/client.ts 存在?
├── lib/supabase/server.ts 存在?
├── middleware.ts (或 Next.js 16 的 proxy.ts) → 包含 supabase session 刷新?
├── .env.local → NEXT_PUBLIC_SUPABASE_URL + ANON_KEY 存在?
└── app/auth/callback/route.ts 存在?
若项目使用 i18n,额外检查其 Auth 命名空间是否已含本 skill 所需的错误消息 key(见文末「错误消息键名清单」)。i18n 框架与语言组合由项目自定,本 skill 不强制。
0.2 若缺失,先安装依赖
用项目现有的包管理器安装:@supabase/supabase-js、@supabase/ssr。
0.3 若缺失,先创建基础设施文件
按下面的模板创建缺失文件,已有的跳过。
Phase 1: 后端实现
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 27d ago Changed · -1 lines 524a8e7d89a9
- 1mo ago Changed 33a70a26fd67
- 1mo ago Changed · +5 lines 78a7d11014a5
- 1mo ago Changed · -1 lines 6b65494f9ff9
- 2mo ago Changed · -62 tokens per session 4c84df15bb8e
- 3mo ago First seen · 787 lines · 82 tokens per session scan A 868054985a5d
login_auto is a skill published in the GitHub repository weiyi88/cc-code (5 stars, last pushed 27d ago), licensed MIT. It adds 20 tokens to every session and 8,060 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
login_auto compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| login_autoweiyi88/cc-code | Skill | 5 | 27d ago | MIT | A | 20 | Claude Code, Codex |
| fastapi-scaffoldtae0y/python-project-template | Skill | 15 | 3mo ago | none | A | 50 | Claude Code |
| openapi-to-application-codetae0y/python-project-template | Skill | 15 | 3mo ago | none | A | 39 | Claude Code |
| python-mcp-server-generatortae0y/python-project-template | Skill | 15 | 3mo ago | none | A | 34 | Claude Code |
| openapi-to-applicationtae0y/python-project-template | Skill | 15 | 3mo ago | none | A | 34 | Claude Code |
| api-architecttae0y/python-project-template | Skill | 15 | 3mo ago | none | A | 55 | Claude Code |
| tao-run-inference-serviceNVIDIA/skills | Skill | 4.2k | today | Apache-2.0 | A | 92 | Claude Code |