openapi-auth skill
Authenticate with the Openapi marketplace (oauth.openapi.com). Use when you need to create, inspect, renew or delete Bearer tokens, list available scopes, check wallet credit, subscriptions, or API usage stats. Required by every other openapi-* skill.
- GitHub 스타
- 16
- 파일
- 1
- 마지막 커밋
- 2026년 9월 15일
- 라이선스
- MIT
- 허용된 도구
- —
openapi-auth skill은 무엇을 하나요?
openapi-auth은(는) agent skill입니다. Authenticate with the Openapi marketplace (oauth.openapi.com). Use when you need to create, inspect, renew or delete Bearer tokens, list available scopes, check wallet credit, subscriptions, or API usage stats. Required by every other openapi-* skill.
openapi-auth skill 설치 방법
각 명령은 skill 폴더를 클라이언트의 skills 디렉터리에 복사합니다. 클라이언트를 재시작하거나 새 세션을 시작하여 로드하세요.플러그인에 openapi-auth skill 설치
/plugin marketplace add openapi/openapi-skills /plugin install openapi-skills@openapi
Claude Code에 openapi-auth skill 설치
~/.claude/skills/openapi-auth/SKILL.md
$ npx degit openapi/openapi-skills/skills/openapi-auth ~/.claude/skills/openapi-authClaude Code (project)에 openapi-auth skill 설치
.claude/skills/openapi-auth/SKILL.md
$ npx degit openapi/openapi-skills/skills/openapi-auth .claude/skills/openapi-authCodex에 openapi-auth skill 설치
~/.agents/skills/openapi-auth/SKILL.md
$ npx degit openapi/openapi-skills/skills/openapi-auth ~/.agents/skills/openapi-authGemini CLI에 openapi-auth skill 설치
~/.gemini/skills/openapi-auth/SKILL.md
$ npx degit openapi/openapi-skills/skills/openapi-auth ~/.gemini/skills/openapi-authClaude.ai에 openapi-auth skill 설치
npx degit openapi/openapi-skills/skills/openapi-auth openapi-auth && zip -r openapi-auth.zip openapi-auth # claude.ai → Customize → Skills → + → Create skill → Upload a skill → openapi-auth.zip
SKILL.md
GitHub에서 보기Openapi authentication (OAuth v2)
All Openapi services require a Bearer token created through OAuth v2. This skill manages that token lifecycle.
Credentials
Two layers — never confuse them:
- Account credentials (email + API key) → used only against
https://oauth.openapi.com, as HTTP Basic auth (username = email,password = API key). - Bearer token (created here, with scopes) → used against every service API as
Authorization: Bearer <token>.
Expect credentials in the environment as OPENAPI_EMAIL, OPENAPI_API_KEY (and optionally a ready-made OPENAPI_TOKEN). Never print or commit them.
Create a token
curl -s -u "$OPENAPI_EMAIL:$OPENAPI_API_KEY" https://oauth.openapi.com/tokens \
-H 'Content-Type: application/json' \
-d '{
"scopes": ["GET:company.openapi.com/IT-start"],
"name": "agent token",
"ttl": 86400
}'
- Scope format:
METHOD:host/path-prefix(e.g.POST:sms.openapi.com/IT-messages). Request only the scopes the task needs, with a shortttl(max 1 year). - Discover valid scopes:
GET https://oauth.openapi.com/scopes(Basic auth). - Optional
limitsobject restricts token usage further. - A refresh token can renew a token:
PATCH /tokens/{id}with the refresh token as Bearer. - Tokens can also be created from the console UI (Authentication → "+New Token") at https://console.openapi.com.
Management endpoints (Basic auth)
| Endpoint | Purpose |
|---|---|
GET /tokens, GET|PATCH|DELETE /tokens/{token} |
Token lifecycle |
GET /scopes, GET /scopes/{id} |
Available scopes |
GET /wallet, GET /wallet/transactions |
Credit balance — check before expensive paid calls |
GET /subscriptions, GET /subscriptions/{id} |
Active plans and remaining requests |
GET /stats, GET /stats/apis, GET /stats/apis/{domain}, GET /stats/ips |
Usage analytics |
GET /errors, GET /callbacks |
Error log and callback monitoring |
Billing model (affects every service)
- Requests are paid from the wallet (per request) or from a subscription (monthly: 30 days no rollover; annual: 365 days, any pace). Both can coexist; the wallet is the fallback when subscription requests run out.
- Some APIs have free daily/monthly tiers; rate limits, when present, are stated in each API's description.
- Sandbox: free test requests, but "sandbox credit" must be enabled in the console first; responses are illustrative.
Notes
- OAuth v1 (
oauth.openapi.it) is deprecated — always useoauth.openapi.com. - Service health: https://openapi-com.statuspage.io
- Full spec: https://console.openapi.com/oas/en/oauthv2.openapi.json
이 스킬의 파일
1openapi-auth skill 질문
Claude Code에 openapi-auth skill을 어떻게 설치하나요?
npx degit openapi/openapi-skills/skills/openapi-auth ~/.claude/skills/openapi-auth를 실행합니다. Claude Code는 ~/.claude/skills(모든 프로젝트) 또는 .claude/skills(한 프로젝트)에서 skills를 로드하며, 설명이 작업과 일치할 때 skill을 사용합니다.
openapi-auth skill을 사용할 수 있는 클라이언트는 무엇인가요?
Agent Skills 형식을 읽는 모든 클라이언트(Claude Code, Codex, Gemini CLI, claude.ai(ZIP으로 업로드))가 사용할 수 있습니다. skill 내 스크립트는 클라이언트가 코드 실행을 허용하는 경우에만 실행됩니다.