Home / starchild-ai-agent / official-skills · starchild-auth/SKILL.md · GitHub

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

Latest version
mdr add starchild-ai-agent/official-skills/starchild-auth@v1.11.0
Exact content
mdr add starchild-ai-agent/official-skills/starchild-auth@sha256:3856b079d9fb8540

Pin 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_5hwyd5ngmttenzrp.svg)](https://markdownregistry.com/a/art_5hwyd5ngmttenzrp)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
v1.11.0 latest2026-08-21 193db05 70,423 BC view · diff
v1.10.12026-08-13 d506a3c 49,631 BC view · diff
v1.10.02026-08-13 0e94c65 49,528 BC view · diff
v1.9.02026-08-12 12e192f 49,031 BC view · diff
v1.4.02026-06-18 d518719 18,607 BF view

Audit of the latest version

C  15 of 17 checks passed. Deterministic, no model, same answer every run.
  • 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

GitHub

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.

More from starchild-ai-agent/official-skills

1inch skill
starchild-ai-agent/official-skills · 1inch/SKILL.md · 1inch DEX aggregator: same-chain EVM swaps, SOL↔EVM cross-chain, limit orders. Use when swapping tokens with best…
v2.3.0 · audit B · 28 stars
PANews skill
starchild-ai-agent/official-skills · PANews/SKILL.md · PANews crypto news: headlines, articles, columns, events, smart money boards. Use when reading PANews coverage or…
v1.0.1 · audit A · 28 stars
shopify skill
starchild-ai-agent/official-skills · Shopify/SKILL.md · Shopify development skills: Admin GraphQL, Storefront, Hydrogen, Liquid, Polaris, Functions, POS, and more. Use when…
v1.0.0 · audit A · 28 stars
shopify-admin skill
starchild-ai-agent/official-skills · Shopify/shopify-admin/SKILL.md
git:20260606.5f3d89c · audit C · 28 stars
shopify-custom-data skill
starchild-ai-agent/official-skills · Shopify/shopify-custom-data/SKILL.md
git:20260606.5f3d89c · audit C · 28 stars
shopify-customer skill
starchild-ai-agent/official-skills · Shopify/shopify-customer/SKILL.md
git:20260606.5f3d89c · audit C · 28 stars
shopify-dev skill
starchild-ai-agent/official-skills · Shopify/shopify-dev/SKILL.md
git:20260606.5f3d89c · audit C · 28 stars
shopify-functions skill
starchild-ai-agent/official-skills · Shopify/shopify-functions/SKILL.md
git:20260606.5f3d89c · audit C · 28 stars
shopify-hydrogen skill
starchild-ai-agent/official-skills · Shopify/shopify-hydrogen/SKILL.md
git:20260914.5098bda · audit C · 28 stars
shopify-liquid skill
starchild-ai-agent/official-skills · Shopify/shopify-liquid/SKILL.md
git:20260606.5f3d89c · audit C · 28 stars
shopify-partner skill
starchild-ai-agent/official-skills · Shopify/shopify-partner/SKILL.md
git:20260606.5f3d89c · audit C · 28 stars
shopify-payments-apps skill
starchild-ai-agent/official-skills · Shopify/shopify-payments-apps/SKILL.md
git:20260606.5f3d89c · audit C · 28 stars

Every file in starchild-ai-agent/official-skills

Browse by kind, by grade C, or by owner.