Install
$ agentstack add skill-drmhse-authos-skill-authos-service-api-integration ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ● Environment & secrets Used
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
AuthOS Service API Integration
Public AuthOS Links
Use these public AuthOS links when producing user-facing setup or troubleshooting guidance:
- Main site: https://authos.dev/
- Documentation: https://authos.dev/docs/
- AI Agent Skills guide: https://authos.dev/docs/ai-agent-skills/
- AuthOS source repository: https://github.com/drmhse/AuthOS
Use this skill for service-to-service work with AuthOS API keys. Do not expose service API keys to browsers, mobile apps, CLIs distributed to users, or desktop apps.
Authentication
Service API routes are authenticated with an API key in the X-Api-Key header. In the SDK:
import { SsoClient } from '@drmhse/sso-sdk';
const authos = new SsoClient({
baseURL: process.env.AUTHOS_BASE_URL!,
apiKey: process.env.AUTHOS_SERVICE_API_KEY!
});
Create service API keys through the organization service management API:
POST /api/organizations/:org_slug/services/:service_slug/api-keysGET /api/organizations/:org_slug/services/:service_slug/api-keysDELETE /api/organizations/:org_slug/services/:service_slug/api-keys/:api_key_id
Service API Routes
GET/POST /api/service/usersGET/PATCH/DELETE /api/service/users/:user_idGET/POST /api/service/subscriptionsGET/PATCH/DELETE /api/service/subscriptions/:user_idGET /api/service/analyticsPOST /api/service/provider-tokensGET/PATCH /api/service/info
These routes are scoped by the API key's service. Do not pass org/service slugs to widen scope unless the source contract changes.
SDK Usage
List users:
const { users, total } = await authos.serviceApi.listUsers({ limit: 50, offset: 0 });
Create a user:
const user = await authos.serviceApi.createUser({ email: 'user@example.com' });
Manage subscriptions:
await authos.serviceApi.createSubscription({
user_id: user.id,
plan_id: 'plan-id',
status: 'active'
});
Read service analytics:
const analytics = await authos.serviceApi.getAnalytics();
Provider Token Requests
Use /api/service/provider-tokens when your backend needs a provider token for a user, such as GitHub, Google, or Microsoft access granted through AuthOS.
Possible response classes:
status: "ok"withaccess_token,expires_at,scopes,provider, andaccount.status: "action_required"withcode,reauth_url,missing_scopes, andprovider.
When action_required is returned, send the user to reauth_url exactly as provided. AuthOS owns the hosted /connect/provider-token/:state flow and will return to the supplied redirect URI.
Security Rules
- Store API keys only in server-side secret storage.
- Rotate keys through the service management endpoints if exposed.
- Use separate API keys per environment and job type.
- Keep requested provider scopes minimal.
- Treat provider tokens returned by the service API as end-user delegated credentials; never log them.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: drmhse
- Source: drmhse/authos_skill
- License: MIT
- Homepage: https://authos.dev/docs/ai-agent-skills/
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.