Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Install and configure Hootsuite SDK/CLI authentication. Use when setting up a new Hootsuite integration, configuring API keys, or initializing Hootsuite in your project. Trigger with phrases like "install hootsuite", "setup hootsuite", "hootsuite auth", "configure hootsuite API key".
.claude/skills/jeremylongshore-hootsuite-install-auth/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 5% | 0% |
| case-03 | ✗→✓ | ▲ Improved | -2% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 84% | 0% |
| case-15 | ✗→✓ | ▲ Improved | 23% | 0% |
| case-20 | ✗→✓ | ▲ Improved | 16% | 0% |
Configure Hootsuite REST API OAuth 2.0 authentication. Hootsuite uses OAuth 2.0 with Bearer tokens. You register an app in the Hootsuite Developer Portal, get client credentials, and exchange authorization codes for access tokens.
https://your-app.com/callbackbash# .env (NEVER commit) HOOTSUITE_CLIENT_ID=your_client_id HOOTSUITE_CLIENT_SECRET=your_client_secret HOOTSUITE_REDIRECT_URI=https://your-app.com/callback HOOTSUITE_ACCESS_TOKEN= # Populated after OAuth flow # .gitignore .env .env.local
typescript// auth.ts — OAuth 2.0 authorization code flow import 'dotenv/config'; const { HOOTSUITE_CLIENT_ID, HOOTSUITE_CLIENT_SECRET, HOOTSUITE_REDIRECT_URI } = process.env; // Step 1: Redirect user to authorize function getAuthUrl(): string { const params = new URLSearchParams({ response_type: 'code', client_id: HOOTSUITE_CLIENT_ID!, redirect_uri: HOOTSUITE_REDIRECT_URI!, scope: 'offline', }); return `https://platform.hootsuite.com/oauth2/auth?${params}`; } // Step 2: Exchange authorization code for tokens async function exchangeCode(code: string) { const response = await fetch('https://platform.hootsuite.com/oauth2/token', { method: 'POST', headers: { 'Content-Type': 'application/x-www-form-urlencoded', 'Authorization': `Basic ${Buffer.from(`${HOOTSUITE_CLIENT_ID}:${HOOTSUITE_CLIENT_SECRET}`).toString('base64')}`, }, body: new URLSearchParams({ grant_type: 'authorization_code', code, redirect_uri: HOOTSUITE_REDIRECT_URI!, }), }); const tokens = await response.json(); console.log('Access Token:', tokens.access_token); console.log('Refresh Token:', tokens.refresh_token); console.log('Expires In:', tokens.expires_in, 'seconds'); return tokens; } // Step 3: Refresh expired token async function refreshToken(refreshToken: string) { const response = await fetch('https://platform.hootsuite.com/oauth2/token', { method: 'POST', headers: { 'Content-Type': 'application/x-www-form-urlencoded', 'Authorization': `Basic ${Buffer.from(`${HOOTSUITE_CLIENT_ID}:${HOOTSUITE_CLIENT_SECRET}`).toString('base64')}`, }, body: new URLSearchParams({ grant_type: 'refresh_token', refresh_token: refreshToken, }), }); return response.json(); }
typescriptasync function verifyConnection(accessToken: string) { const response = await fetch('https://platform.hootsuite.com/v1/me', { headers: { 'Authorization': `Bearer ${accessToken}` }, }); const user = await response.json(); console.log('Connected as:', user.data.fullName); console.log('Organization:', user.data.organizationName); return user; }
| Error | Cause | Solution | |-------|-------|----------| | 401 Unauthorized | Invalid or expired token | Refresh token or re-authorize | | invalid_client | Wrong client ID/secret | Check app credentials | | invalid_grant | Authorization code expired | Codes expire in 30s; re-authorize | | redirect_uri_mismatch | URI doesn't match | Must exactly match app registration |
After auth, proceed to hootsuite-hello-world for your first API call.
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→pass | 23,482 | 17,820 | -24% | 1 | 1 | 0% | 3,676 | 3,851 | +5% | 0 | 0 | — |
case-02 | fail→fail | 28,497 | 17,210 | -40% | 1 | 1 | 0% | 5,212 | 3,846 | -26% | 0 | 0 | — |
case-03 | fail→pass | 17,617 | 4,944 | -72% | 1 | 1 | 0% | 2,083 | 2,045 | -2% | 0 | 0 | — |
case-04 | pass→pass | 14,431 | 5,582 | -61% | 1 | 1 | 0% | 2,395 | 2,093 | -13% | 0 | 0 | — |
case-05 | fail→pass | 17,780 | 8,721 | -51% | 1 | 1 | 0% | 1,066 | 1,963 | +84% | 0 | 0 | — |
case-23 | pass→pass | 18,671 | 19,434 | +4% | 1 | 1 | 0% | 2,561 | 4,125 | +61% | 0 | 0 | — |
case-06 | pass→pass | 9,028 | 7,867 | -13% | 1 | 1 | 0% | 695 | 1,638 | +136% | 0 | 0 | — |
case-07 | pass→pass | 13,017 | 8,647 | -34% | 1 | 1 | 0% | 1,409 | 2,617 | +86% | 0 | 0 | — |
case-08 | pass→pass | 9,601 | 22,245 | +132% | 1 | 1 | 0% | 839 | 1,490 | +78% | 0 | 0 | — |
case-09 | pass→pass | 8,469 | 3,338 | -61% | 1 | 1 | 0% | 1,376 | 1,765 | +28% | 0 | 0 | — |
case-10 | pass→pass | 25,897 | 6,965 | -73% | 1 | 1 | 0% | 739 | 1,487 | +101% | 0 | 0 | — |
case-11 | pass→pass | 5,954 | 12,228 | +105% | 1 | 1 | 0% | 1,083 | 2,030 | +87% | 0 | 0 | — |
case-12 | pass→pass | 15,488 | 5,634 | -64% | 1 | 1 | 0% | 1,044 | 1,817 | +74% | 0 | 0 | — |
case-13 | pass→pass | 8,215 | 7,530 | -8% | 1 | 1 | 0% | 556 | 1,594 | +187% | 0 | 0 | — |
case-14 | pass→pass | 9,337 | 6,749 | -28% | 1 | 1 | 0% | 1,721 | 1,444 | -16% | 0 | 0 | — |
case-15 | fail→pass | 12,720 | 7,472 | -41% | 1 | 1 | 0% | 1,234 | 1,519 | +23% | 0 | 0 | — |
case-16 | pass→pass | 11,619 | 8,566 | -26% | 1 | 1 | 0% | 1,191 | 1,807 | +52% | 0 | 0 | — |
case-17 | pass→pass | 16,445 | 10,368 | -37% | 1 | 1 | 0% | 1,648 | 1,988 | +21% | 0 | 0 | — |
case-18 | pass→pass | 13,380 | 13,640 | +2% | 1 | 1 | 0% | 1,454 | 2,150 | +48% | 0 | 0 | — |
case-19 | pass→pass | 16,336 | 8,222 | -50% | 1 | 1 | 0% | 1,648 | 1,744 | +6% | 0 | 0 | — |
case-20 | fail→pass | 12,348 | 6,801 | -45% | 1 | 1 | 0% | 1,215 | 1,412 | +16% | 0 | 0 | — |
case-21 | pass→pass | 17,510 | 18,984 | +8% | 1 | 1 | 0% | 2,496 | 4,137 | +66% | 0 | 0 | — |
case-22 | pass→pass | 13,294 | 6,815 | -49% | 1 | 1 | 0% | 1,589 | 2,634 | +66% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 23 cases were attempted. The headline lift of +22 percentage points is the difference between those two pass rates over the 23 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.