arthur-ai/arthur-engine/arthur-onboard-platform-token

Claude Code and agent skill by arthur-ai/arthur-engine

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Arthur onboarding helper — Refresh Arthur Platform OAuth2 token using arthur_client. Reads CLIENT_ID/SECRET from .arthur-engine.env, writes ARTHUR_PLATFORM_TOKEN back to state.

Install

npx vskill@latest install arthur-ai/arthur-engine/arthur-onboard-platform-token

SKILL.md

Arthur Onboard — Platform Token Refresh

Goal: Write a fresh ARTHUR_PLATFORM_TOKEN to .arthur-engine.env using stored service account credentials.

bash
python3 -c "import arthur_client" 2>/dev/null || pip install arthur-client -q
bash
ARTHUR_PLATFORM_URL=$(grep '^ARTHUR_PLATFORM_URL=' .arthur-engine.env 2>/dev/null | cut -d= -f2-)
CLIENT_ID=$(grep '^ARTHUR_PLATFORM_CLIENT_ID=' .arthur-engine.env 2>/dev/null | cut -d= -f2-)
CLIENT_SECRET=$(grep '^ARTHUR_PLATFORM_CLIENT_SECRET=' .arthur-engine.env 2>/dev/null | cut -d= -f2-)
if [ -z "$CLIENT_SECRET" ]; then
echo "TOKEN_REFRESH=MISSING_CREDENTIALS"
else
export _AE_URL="$ARTHUR_PLATFORM_URL"
export _AE_CLIENT_ID="$CLIENT_ID"
export _AE_CLIENT_SECRET="$CLIENT_SECRET"
ARTHUR_PLATFORM_TOKEN=$(python3 - <<'PYEOF'
import sys, os
try:
from arthur_client.auth import ArthurClientCredentialsAPISession, ArthurOIDCMetadata
metadata = ArthurOIDCMetadata(os.environ["_AE_URL"])
session = ArthurClientCredentialsAPISession(
client_id=os.environ["_AE_CLIENT_ID"],
client_secret=os.environ["_AE_CLIENT_SECRET"],
metadata=metadata,
)
print(session.token()["access_token"])
except Exception as e:
print(f"ERROR: {e}", file=sys.stderr)
sys.exit(1)
PYEOF
)
if [ -n "$ARTHUR_PLATFORM_TOKEN" ]; then
grep -v '^ARTHUR_PLATFORM_TOKEN=' .arthur-engine.env > /tmp/ae_env_tmp && mv /tmp/ae_env_tmp .arthur-engine.env
echo "ARTHUR_PLATFORM_TOKEN=$ARTHUR_PLATFORM_TOKEN" >> .arthur-engine.env
echo "TOKEN_REFRESH=OK"
else
echo "TOKEN_REFRESH=FAILED"
fi
fi
  • TOKEN_REFRESH=OK → token acquired and saved to .arthur-engine.env; exit this skill
  • TOKEN_REFRESH=MISSING_CREDENTIALS → CLIENT_ID or CLIENT_SECRET not in state; caller must invoke arthur-onboard-platform-access first
  • TOKEN_REFRESH=FAILED → arthur_client raised an error (invalid credentials, network error, etc.); caller should re-invoke arthur-onboard-platform-access to re-authenticate

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
92
Repository forks
17
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/arthur-ai/arthur-engine/arthur-onboard-platform-token/badge)](https://verified-skill.com/skills/arthur-ai/arthur-engine/arthur-onboard-platform-token)

Something wrong with this skill or its page? Tell us.