← スキル一覧に戻る

staging-browser-localhost
by kentoje
⭐ 2🍴 1📅 2026年1月24日
SKILL.md
name: staging-browser-localhost description: Open a headless browser authenticated with Aircall staging credentials for localhost development
Staging Browser (Localhost)
Opens an agent-browser instance authenticated with staging credentials for localhost development.
Usage
Use this skill when you need to open a browser at http://localhost:<PORT> authenticated against the Aircall staging environment.
Steps to Execute
1. Get the Staging Token
Invoke the /staging-token skill to retrieve the JWT token. Extract idToken and refreshToken from the JSON response.
2. Navigate to SSO Callback with Tokens
Navigate directly to the SSO callback URL with tokens as query parameters:
agent-browser --session staging open "http://localhost:<PORT>/sso/callback?token=$ID_TOKEN&refresh_token=$REFRESH_TOKEN&redirect=$TARGET_PATH"
Where:
$ID_TOKEN- theidTokenfrom step 1$REFRESH_TOKEN- therefreshTokenfrom step 1$TARGET_PATH- the path to redirect to after auth (e.g.,/playground)
The app will read the tokens from query params, store them, and redirect to the target page authenticated.
3. Interact with Page
# Get accessibility snapshot for AI interaction
agent-browser --session staging snapshot -i -c
# Take screenshot if needed
agent-browser --session staging screenshot /tmp/staging-screenshot.png
Arguments
- URL (optional): The localhost URL to navigate to. If a path is provided (e.g.,
/playground), use it as theredirectparam.
Technical Details
- SSO Callback Route:
/sso/callback - Query Params:
token,refresh_token,redirect - Session Name:
staging - Browser Mode: Headless (default), use
--headedfor visible browser
Session Management
- Uses
--session stagingfor isolated browser context - Session persists until explicitly closed with
agent-browser --session staging close
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です