starchild-auth skillC
starchild-auth is agent-read markdown (skill) from starchild-ai-agent/official-skills: Starchild Auth SDK: add OAuth login to any web app with one SDK. Use when integrating Starchild login into a project (e.g. add Starchild sign-in to my React app, set up OAuth with iamstarchild.com, implement login/logout with Starchild Auth SDK). Also use for local OAuth/CORS testing guidance (localhost:6066 web, third-party localhost origins, browser vs Node)..
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# 🔑 Starchild Auth SDK — 完整开发指南
Integrate Starchild OAuth login into any web application. The SDK handles OAuth popup flow, token refresh, unified `StarchildAuthError`, namespaced helpers (`auth.chat` / `auth.credit` …), and 60+ API methods for full Agent access.
### 版本策略
| 产物 | 当前版本 | 何时 bump |
|------|---------|-----------|
| npm `starchild-auth-sdk` | **0.4.1** | 代码 / 公开 API 变更 |
| 本 Skill `starchild-auth` | **1.11.0** | 集成指南 / 场景文档变更(可与 package 独立) |
两套 semver **互不绑定**:只改文档可只升 skill;只改实现必须升 package(skill 通常同步升 minor/patch 说明新能力)。
---
## 架构概览
```
第三方网站 (your-app.com)
│
├─ StarchildAuth SDK (starchild-auth-sdk)
│ ├─ auth.login() → 弹出 starchild-web 授权页面
│ ├─ auth.logout() → go-api POST /v1/oauth/logout
│ ├─ auth.bindAccount() → 跳转主站 Linked accounts 绑定正式账号
│ └─ token refresh → go-api POST /v1/oauth/refresh
│
├─ API 调用 (chat scope)
│ ├─ chat/stream → clawd (SSE 流式响应)
│ ├─ /api/clawd/* → ai-agent (线程/消息)
│ ├─ /api/cloud/* → ai-agent (容器管理)
│ └─ WebSocket → clawd (文件同步/终端/指标)
│
├─ Credits API (credit:read / credit:write)
│ └─ https://credit.iamstarchild.com
…Read the whole file at its exact version.
How to install
mdr add starchild-ai-agent/official-skills/starchild-auth@v1.11.0mdr add starchild-ai-agent/official-skills/starchild-auth@sha256:3856b079d9fb8540Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_5hwyd5ngmttenzrp)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v1.11.0 latest | 2026-08-21 | 193db05 | 70,423 B | C | view · diff |
| v1.10.1 | 2026-08-13 | d506a3c | 49,631 B | C | view · diff |
| v1.10.0 | 2026-08-13 | 0e94c65 | 49,528 B | C | view · diff |
| v1.9.0 | 2026-08-12 | 12e192f | 49,031 B | C | view · diff |
| v1.4.0 | 2026-06-18 | d518719 | 18,607 B | F | view |
Audit of the latest version
- fail: No link to a raw IP address (matched: http://127.0.0.1:8000)
- fail: No script tag (matched: <script)
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (70423 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
Source
starchild-ai-agent/official-skills · 28 stars · license none · pushed 2026-09-18 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_5hwyd5ngmttenzrp GET https://markdownregistry.com/api/v1/resolve?ref=starchild-ai-agent/official-skills/starchild-auth GET https://markdownregistry.com/api/v1/blob/3856b079d9fb854094930747348dae89c9ad3b9f8fe6ae8af2b3fb52de8f5a18
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.