Chalk Labs
Need help deploying apollo-cost-tuning?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/niels-kwg-apollo-cost-tuning
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/apollo-cost-tuning
Tools it pre-approves 5
From allowed-tools in SKILL.md: the agent may use these without asking you each time.
Read,Write,Edit,Bash(gh:*),Bash(curl:*)
What's inside
- Skill name
apollo-cost-tuning- Description
- Optimize Apollo.io costs and credit usage. Use when managing Apollo credits, reducing API costs, or optimizing subscription usage. Trigger with phrases like "apollo cost", "apollo credits", "apollo billing", "reduce apollo costs", "apollo usage".
- License
- MIT
- Allowed tools
- Read,, Write,, Edit,, Bash(gh:*),, Bash(curl:*)
- Instructions
- 385 lines in SKILL.md · view on GitHub
Before installing
- Pre-approves some shell commands
Files (1)
- SKILL.md
SKILL.md (first lines)
# Apollo Cost Tuning
## Overview
Optimize Apollo.io costs through efficient credit usage, smart caching, deduplication, and usage monitoring.
## Apollo Pricing Model
| Feature | Credit Cost | Notes |
|---------|-------------|-------|
| People Search | 1 credit/result | Paginated results |
| Email Reveal | 1 credit/email | First reveal only |
| Person Enrichment | 1 credit/person | Fresh data |
| Org Enrichment | 1 credit/org | Company data |
| Sequence Emails | Included | Plan limits apply |
| Export | Varies | Bulk operations |
## Cost Reduction Strategies
### 1. Aggressive Caching
```typescript
// src/lib/apollo/cost-aware-cache.ts
import { LRUCache } from 'lru-cache';
interface CachedContact {
data: any;
fetchedAt: Date;
creditCost: number;
}
class CostAwareCache {
private cache: LRUCache<string, CachedContact>;
private creditsSaved = 0;
constructor() {
this.cache = new LRUCache({
max: 10000,
ttl: 7 * 24 * 60 * 60 * 1000, // 7 days for contact data
});
}
getContact(email: string): CachedContact | null {
const cached = this.cache.get(email);
if (cached) {
this.creditsSaved++;
console.log(`Cache hit for ${email}. Total credits saved: ${this.creditsSaved}`);
}
return cached || null;
}
setContact(email: string, data: any, creditCost: number = 1): void {
this.cache.set(email, {
data,
fetchedAt: new Date(),
creditCost,
});
}
getStats() {
return {
entriesCount: this.cache.size,
creditsSaved: this.creditsSaved,
estimatedSavings: this.creditsSaved * 0.01, // Assuming $0.01/credit
};
}
}
export const costAwareCache = new CostAwareCache();
```
### 2. Deduplication
```typescript
// src/lib/apollo/deduplication.ts
class DeduplicationService {
private seenEmails = new Set<string>();
private seenDomains = new Set<string>();
async enrichContactSafe(email: string): Promise<any> {
// Check if already enriched
if (this.seenEmails.has(email)) {
return costAwareCache.getContact(email);
}
// Check cache first
const cached = costAwareCache.getContact(email);
if (cached) {
return cached.data;
}
// Fetch and cache
const result = await apollo.enrichPerson({ email });
costAwareCache.setContact(email, result, 1);
this.seenEmails.add(email);
return result;
}
async enrichOrgSafe(domain: string): Promise<any> {
const normalizedDomain = domain.toLowerCase().replace(/^www\./, '');
if (this.seenDomains.has(normalizedDomain)) {
return costAwareCache.getContact(`org:${normalizedDomain}`);
}
const cached = costAwareCache.getContact(`org:${normalizedDomain}`);
if (cached) {
return cached.data;
}
const result = await apollo.enrichOrganization(normalizedDomain);
costAwareCache.setContact(`org:${normalizedDomain}`, result, 1);
this.seenDomains.add(normalizedDomain);
return result;
}
}
export const dedup = new DeduplicationService();From niels-kwg/toolkit, MIT.
More from niels-kwg/toolkit
- 0.409score
apollo-hello-world
niels-kwg
Create a minimal working Apollo.io example.
SkillDFreshness: DClaude Code +9 - 0.409score
apollo-common-errors
niels-kwg
Diagnose and fix common Apollo.io API errors.
SkillDFreshness: DClaude Code +9 - 0.409score
apollo-core-workflow-a
niels-kwg
Implement Apollo.io lead search and enrichment workflow.
SkillDFreshness: DClaude Code +9 - 0.409score
apollo-data-handling
niels-kwg
Apollo.io data management and compliance.
SkillDFreshness: DClaude Code +9 - 0.409score
apollo-debug-bundle
niels-kwg
Collect Apollo.io debug evidence for support.
SkillDFreshness: DClaude Code +9 - 0.409score
apollo-deploy-integration
niels-kwg
Deploy Apollo.io integrations to production.
SkillDFreshness: DClaude Code +9 - 0.409score
apollo-enterprise-rbac
niels-kwg
Enterprise role-based access control for Apollo.io.
SkillDFreshness: DClaude Code +9 - 0.409score
apollo-core-workflow-b
niels-kwg
Implement Apollo.io email sequences and outreach workflow.
SkillDFreshness: DClaude Code +9 - 0.409score
apollo-ci-integration
niels-kwg
Configure Apollo.io CI/CD integration.
SkillDFreshness: DClaude Code +9 - 0.401score
3-statements
niels-kwg
Complete, populate and fill out 3-statement financial model templates (Income Statement, Balance Sheet, Cash Flow Statement) .
SkillDFreshness: DClaude Code +9 - 0.225score
algorithmic-art
niels-kwg
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration.
SkillDFreshness: DClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Mar 18, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/niels-kwg/toolkit
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from niels-kwg
- 0.409score
apollo-hello-world
niels-kwg
Create a minimal working Apollo.io example.
SkillDFreshness: DClaude Code +9 - 0.409score
apollo-common-errors
niels-kwg
Diagnose and fix common Apollo.io API errors.
SkillDFreshness: DClaude Code +9 - 0.409score
apollo-core-workflow-a
niels-kwg
Implement Apollo.io lead search and enrichment workflow.
SkillDFreshness: DClaude Code +9 - 0.409score
apollo-data-handling
niels-kwg
Apollo.io data management and compliance.
SkillDFreshness: DClaude Code +9 - 0.409score
apollo-debug-bundle
niels-kwg
Collect Apollo.io debug evidence for support.
SkillDFreshness: DClaude Code +9 - 0.409score
apollo-deploy-integration
niels-kwg
Deploy Apollo.io integrations to production.
SkillDFreshness: DClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get apollo-cost-tuning running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
apollo-cost-tuning skill. Agent Mart. https://agentmart.dev/skills/niels-kwg-apollo-cost-tuning (last updated 2026-10-24)