getaero-io/gtm-eng-skills / skills/deepline-gtm
deepline-gtm
UnverifiedGTM leads, enrichment, outreach, Plays, developer signals/Reo.dev. Providers: adyntel,affinity,ai_ark,akta,allegrow,amplemarket,apify,attention,attio,aviato,bettercontact,bigquery,bluesky,bounceban,brave,browserbase,builtwith,buyercaddy,cbinsights,clay,clickhouse,close,cloudflare,contactout,contextdev,crunchbase,crustdata-v3,customer_db,databricks,dataforseo,datagma,dealroom,deepline_ip_to_company,deepline_native,deeplineagent,deepseek,discolike,dnb,edges,emailbison,emailguard,enformion,enigma,exa,findymail,firecrawl,fireflies,firmable,forager,fullenrich,fundable,generic_http,getleads,gong,google_ads_audiences,google_workspace,govfiles,grain,hackernews,harvestapi,heyreach,hubspot,hunter,icypeas,instantly,intercom,ipqs,kaspr,kernel,kickbox,leadmagic,lemlist,limadata,linkedin_ads_audiences,luma,lusha,meerapi,meta_audiences,millionverifier,nooks,notion,openmart,opensosdata,openwebninja,outreach,parallel,particle,peopledatalabs,pitchbook,podscan,polymarket,postgres,predictleads,prospeo,quickenrich,rapidapi,….
references/monitor-sdk.md
View on GitHub# Monitor SDK example
Use the SDK when monitor lifecycle belongs in a script, agent loop, or play
repository. The CLI and SDK are two surfaces over the same product model.
The agent setup recipe pulls a small history sample first: it sizes the first
window to the signal's expected volume (1 day, 3 days, 30 days or 180 days),
waits 3 minutes for very high and high signals and 2 minutes otherwise, and
widens along that tier, to at most 7 or 30 days for busy signals and two years
for the rest. This is not an
SDK/API default: omission of `updates_since` remains future-only. Respect an
explicit time boundary, and do not add history to billing recovery.
`defineMonitor` gives the authoring shape type checking; it does not remove the
approval, dry-run, or durable read-back requirements.
```ts
import { DeeplineClient, defineMonitor } from 'deepline';
const client = new DeeplineClient();
// Read the live job-opening variant before authoring a definition.
await client.getTool('deepline_native.company_job_openings');
function storedPayload(
detail: Record<string, unknown>,
): Record<string, unknown> {
const definition = detail.definition;
if (!definition || typeof definition !== 'object') {
throw new Error('Monitor read-back did not include a definition.');
}
const payload = (definition as { payload?: unknown }).payload;
if (!payload || typeof payload !== 'object' || Array.isArray(payload)) {
throw new Error('Monitor read-back did not include a payload.');
}
return payload as Record<string, unknown>;
}
const monitor = defineMonitor({
key: 'company-job-openings',
tool: 'deepline_native.company_radar',
name: 'Company job openings',
payload: {
domain: 'stripe.com',
radar_type: 'company_job_openings',
job_titles: '"Chief Financial Officer"',
updates_since: new Date(Date.now() - 180 * 86400000).toISOString(),
},
});
// Safe preflight.
await client.monitors.check(monitor);
await client.monitors.deploy(monitor, { dryRun: true });
// Obtain approval before this write, then prove the stored filter.
await client.monitors.deploy(monitor);
const stored = await client.monitors.get('company-job-openings');
if (storedPayload(stored).job_titles !== '"Chief Financial Officer"') {
throw new Error(
'Monitor deploy did not persist the requested job-title filter.',
);
}
// The lifecycle verbs mirror the CLI. Read before changing or deleting.
await client.monitors.update('company-job-openings', {
payload: { job_titles: '"Chief Financial Officer" OR "VP Finance"' },
});
const updated = await client.monitors.get('company-job-openings');
if (
storedPayload(updated).job_titles !==
'"Chief Financial Officer" OR "VP Finance"'
) {
throw new Error(
'Monitor update did not persist the requested job-title filter.',
);
}
await client.monitors.delete('company-job-openings', { dryRun: true });
```
Read-only calls (`getTool`, `status`, `available`, `check`, `list`, `get`,
`dependents`, and a `{ dryRun: true }` mutation preview) are safe before
approval. `deploy`, `update`, `reactivate`, and `delete` change workspace or
provider state and can spend Deepline credits. Use the CLI recipe's approval
summary and verify the stored definition after every approved mutation.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| deprecation-and-migrationaddyosmani/agent-skillsManages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset existing code. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| performance-optimizationaddyosmani/agent-skillsOptimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |
| agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |