Agent skill · Audited from source
Apollo Common Errors
skill · jeremylongshore/claude-code-plugins-plus-skillsMIT licenceAudited 8 Oct 2026 · source 4f83675ca38a
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 4f83675ca38a and found no filesystem, network or shell access and no hard-coded secrets. What it does: Diagnose and fix common Apollo.io API errors.
Cite
Cite this page
ModelsAtlas. “Apollo Common Errors (jeremylongshore/claude-code-plugins-plus-skills)”. Retrieved 8 Oct 2026. https://modelsatlas.com/skills/jeremylongshore/apollo-common-errors
Trust audit
Audit 0.4.1 · source read 8 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | PASS | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 1 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (1)
LOWPrompt injectionprompt.authority_framing · SKILL.md:90
Master API key: full access (contacts, sequences, deals, tasks)
- Why
- No further detail recorded for this rule.
- Fix
- —
Audit 0.4.1 · source sha 4f83675ca38a · 8 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publisherjeremylongshore GitHub userOwner of the repository this skill is read from
- Source folderjeremylongshore/claude-code-plugins-plus-skills/plugins/saas-packs/apollo-pack/skills/apollo-common-errorsThe exact folder we audited
- LicenceMITAs the repository states it
- Commit pinned for this verdict4f83675ca38aA new audit runs when the source changes
- Repository statusNot archivedPushed today
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Diagnose and fix common Apollo.io API errors.
--- name: apollo-common-errors description: 'Diagnose and fix common Apollo.io API errors. Use when encountering Apollo API errors, debugging integration issues, or troubleshooting failed requests. Trigger with phrases like "apollo error", "apollo api error", "debug apollo", "apollo 401", "apollo 429", "apollo troubleshoot". ' allowed-tools: Read, Grep, Bash(curl:*) version: 1.13.0 license: MIT author: Jeremy Longshore <[email protected]> tags: - saas - apollo - api - debugging compatibility: Designed for Claude Code --- # Apollo Common Errors ## Overview Comprehensive guide to diagnosing and fixing Apollo.io API errors. Apollo uses `x-api-key` header authentication and the base URL `https://api.apollo.io/api/v1/`. Apollo distinguishes between **master** and **standard** API keys — many endpoints require master keys. ## Prerequisites - Valid Apollo.io API credentials - Node.js 18+ or Python 3.10+ ## Instructions ### Step 1: Identify the Error Category ```typescript // src/apollo/error-handler.ts import { AxiosError } from 'axios'; type ErrorCategory = 'auth' | 'permission' | 'rate_limit' | 'validation' | 'server' | 'network'; function categorizeError(err: AxiosError): ErrorCategory { if (!err.response) return 'network'; switch (err.response.status) { case 401: return 'auth'; case 403: return 'permission'; case 429: return 'rate_limit'; case 400: case 422: return 'validation'; default: return err.response.status >= 500 ? 'server' : 'validation'; } } ``` ### Step 2: Handle 401 — Invalid API Key ```typescript // Most common cause: missing x-api-key header or wrong key format async function diagnoseAuth() { try { const response = await fetch('https://api.apollo.io/api/v1/auth/health', { headers: { 'x-api-key': process.env.APOLLO_API_KEY! }, }); const data = await response.json(); if (data.is_logged_in) { console.log('API key is valid'); } else { console.error('API key is invalid or expired'); console.error(' Generate a new one at: Apollo > Settings > Integrations > API Keys'); } } catch (err: any) { console.error('Cannot reach Apollo API:', err.message); } } ``` **Common 401 causes:** 1. Using `api_key` query parameter instead of `x-api-key` header 2. Key was revoked or regenerated in the dashboard 3. Key has trailing whitespace (check with `echo -n "$APOLLO_API_KEY" | wc -c`) ### Step 3: Handle 403 — Wrong Key Type ``` Standard API key: search + enrichment only Master API key: full access (contacts, sequences, deals, tasks) ``` Endpoints that **require a master key**: - `POST /contacts` (create/update) - `POST /emailer_campaigns/search` (sequences) - `POST /emailer_campaigns/{id}/add_contact_ids` - `POST /opportunities` (deals) - `POST /tasks` (tasks) - `DELETE /contacts/{id}` ```typescript // Diagnose: test a master-key-only endpoint async function diagnoseMasterKey() { try { await client.post('/contacts/search', { per_page: 1 }); console.log('Master API key confirmed'); } catch (err: any) { if (err.response?.status === 403) { console.error('Your API key is a standard key. Master key required.'); console.error(' Go to Apollo > Settings > Integrations > API Keys'); console.error(' Generate a new key with "Master Key" type'); } } } ``` ### Step 4: Handle 429 — Rate Limiting Apollo uses fixed-window rate limiting per endpoint category: ``` Endpoint Category | Limit | Window | Burst --------------------------+------------+---------+------ People Search | 100/min | 1 min | 10/sec People Enrichment | 100/min | 1 min | 10/sec Bulk People Enrichment | 10/min | 1 min | 2/sec Organization Enrichment | 100/min | 1 min | 10/sec Contacts (CRUD) | 100/min | 1 min | 10/sec Sequences | 100/min | 1 min | 10/sec ``` ```typescript // Respect Retry-After header async function handleRateLimit<T>(fn: () => Promise<T>): Promise<T> { try { return await fn(); } catch (err: any) { if (err.response?.status === 429) { const retryAfter = parseInt(err.response.headers['retry-after'] ?? '60', 10); console.warn(`Rate limited. Waiting ${retryAfter}s...`); await new Promise((r) => setTimeout(r, retryAfter * 1000)); return fn(); } throw err; } } ``` ### Step 5: Handle 422 — Validation Errors ```typescript // Common 422 causes: // - per_page > 100 on search endpoints // - Missing required fields on /contacts POST (first_name, last_name) // - Invalid email format on /people/match // - page > 500 on /mixed_people/api_search (50,000 record limit) function logValidationError(err: AxiosError) { const body = err.response?.data as any; console.error('Validation error:', { status: err.response?.status, message: body?.message ?? body?.error, errors: body?.errors, url: err.config?.url, body: typeof err.config?.data === 'string' ? JSON.parse(err.config.data) : err.config?.data, }); } ``` ### Step 6: Build Comprehensive Error Middleware ```typescript // src/apollo/error-middleware.ts import { AxiosError, AxiosInstance } from 'axios'; export function attachErrorHandler(client: AxiosInstance) { client.interceptors.response.use( (response) => response, (err: AxiosError) => { const status = err.response?.status; const body = err.response?.data as any; const endpoint = err.config?.url ?? 'unknown'; const info = { status, endpoint, message: body?.message ?? err.message, timestamp: new Date().toISOString(), }; switch (categorizeError(err)) { case 'auth': console.error('[APOLLO AUTH] Invalid x-api-key header', info); break; case 'permission': console.error('[APOLLO PERMISSION] Master key required for this endpoint', info); break; case 'rate_limit':
Excerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 4f83675
git clone https://github.com/jeremylongshore/claude-code-plugins-plus-skills git -C claude-code-plugins-plus-skills checkout 4f83675ca38a
The author documents no install command, so this uses the repository directly. Our verdict covers commit 4f83675ca38a only.
Works in which agents?
What its own text says, not a test
| Agent | Status | More |
|---|---|---|
| Claude Code | Mentioned in its text, not tested | Skills for Claude Code · About Claude Code |
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
4f83675ca38a
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/jeremylongshore/apollo-common-errors/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.
jeremylongshore/claude-code-plugins-plus
Deploy and orchestrate Vertex AI ADK agents using A2A protocol. Manages
Add this badge to your README
[](https://modelsatlas.com/skills/jeremylongshore/apollo-common-errors/)
<a href="https://modelsatlas.com/skills/jeremylongshore/apollo-common-errors/"><img src="https://modelsatlas.com/skills/jeremylongshore/apollo-common-errors/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Apollo Common Errors
What does the Apollo Common Errors skill do?
Is Apollo Common Errors safe to install?
What can Apollo Common Errors access on my machine?
Which assistants does Apollo Common Errors work with?
How current is this page?
Sources
- github.com/jeremylongshore/claude-code-plugins-plus-skills/tree/ — the audited source at commit 4f83675ca38a and every finding aboveObserved · 8 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Apollo Common Errors skill do?
- Is Apollo Common Errors safe to install?
- What can Apollo Common Errors access on my machine?