Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Frontal-so/outbound-skills --skill conditional-logicgit clone --depth 1 https://github.com/Frontal-so/outbound-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/frontal-so/outbound-skills/conditional-logic)<a href="https://agentmods.dev/skills/frontal-so/outbound-skills/conditional-logic"><img src="https://agentmods.dev/badge/skills/frontal-so/outbound-skills/conditional-logic/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/frontal-so/outbound-skills/conditional-logic"><img src="https://agentmods.dev/badge/skills/frontal-so/outbound-skills/conditional-logic.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00128 | $0.01141 |
| Opus 5 | $0.00064 | $0.00571 |
| Sonnet 5 | $0.00026 | $0.00228 |
| Haiku 4.5 | $0.00013 | $0.00114 |
Grade A, and why
conditional-logic scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Conditional Logic & Clayscript
You help users write Clayscript formulas, set up conditional runs, and build credit-saving logic in Clay.
References
- Read
{SKILL_BASE}/resources/formulas/clayscript-guide.mdfor syntax, libraries, and AI formula generator. - Read
{SKILL_BASE}/resources/formulas/copy-paste-formulas.mdfor ready-to-use formulas (name cleaning, domain extraction, email waterfall, seniority check, employee buckets, table layout). - Read
{SKILL_BASE}/resources/expert-tips-eric-noski.mdfor Rule 1 (conditionals on all paid integrations) and Rule 5 (formulas over AI).
Core Rule: Formulas Cost 0 Credits
Formulas are FREE. Always prefer formulas over AI columns for:
- Cleaning/formatting data
- Combining fields (first + last name)
- If/then logic and scoring
- Abbreviations (New Jersey --> NJ)
- Extracting domain from email
- Any standard JavaScript operation
Syntax
- Describe mode: Use
/field_nameto reference columns - Raw mode: Use
{{FieldName}} - Libraries available: Lodash (
_), Moment.js (moment), FormulaJS (VLOOKUP, IF, SUM) - Null safety: Always add
|| ""to avoid errors on empty cells
Essential Conditional Run Formulas
// Only run if field is empty (most common)
/email is empty
// Only run if previous enrichment completed but returned nothing
Clay.getCellStatus(#{{field_id}}) == "completed" AND {{previous_column}} == ""
// Only run on high-value leads
/lead_score > 70 AND /industry equals "SaaS"
// Only run if email is valid
/email_validation equals "valid" OR /email_validation equals "catchall valid"
// Skip already-enriched rows
/revenue is empty AND /domain is not empty
// Combined: CRM push only if ready
/email is not empty AND /email_validation equals "valid" AND /lead_score > 50
Common Data Manipulation Formulas
// Extract domain from email
{{email}}.split("@")[1] || ""
// Combine first + last name
({{first_name}} || "") + " " + ({{last_name}} || "")
// Capitalize first letter
({{name}} || "").charAt(0).toUpperCase() + ({{name}} || "").slice(1).toLowerCase()
// Bucket company size
{{employee_count}} > 1000 ? "Enterprise" : {{employee_count}} > 200 ? "Mid-Market" : {{employee_count}} > 50 ? "SMB" : "Startup"
// Clean LinkedIn URL
({{linkedin_url}} || "").replace(/\/$/, "").split("?")[0]
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago First seen · 108 lines · 128 tokens per session scan A ce59956de502
conditional-logic is a skill published in the GitHub repository Frontal-so/outbound-skills (5 stars, last pushed 1mo ago), licensed MIT. It adds 128 tokens to every session and 1,141 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
audience-icp-filter
Filter an existing audience or lead list against your ICP and split it into ready-to-sequence segments. Use when someone already has a list of people — an audience in their sales tool, a CSV or CRM export, event or webinar attendees, registrants, a Sales Navigator import, a newsletter or community export — and wants…
team-performance-dashboard
Generate your Team Performance Dashboard from your La Growth Machine data: a head-of-sales cockpit that ranks each sender (rep) on reply rate, your success event (signups/meetings/deals) and conversion, surfaces hot leads going cold, and turns your best reps' campaigns into a coaching playbook for the rest. Pulls only…
weekly-performance-advisor
Generate your Weekly Performance Advisor dashboard from your La Growth Machine data: a two-tab cockpit (To do + Weekly performance) that flags campaigns to fix, sorts replies by urgency, and tracks reply volume week over week. It pulls only YOUR live LGM data, scores each running campaign against baked 3-zone…
objection-analyzer
Find out which objections your outbound gets, how well your team handled them, and what to say next time. Use whenever the user wants to analyze the objections in their replies, rank the most frequent ones, know how to handle a specific objection, coach reps on their objection answers, build an objection playbook or…
sales-nav-search-builder
Generate a precise LinkedIn Sales Navigator search URL from a natural-language ICP description — for sales prospecting, outbound outreach, lead generation, and B2B targeting. Use whenever the user asks for a Sales Nav URL, a LinkedIn search URL, an outbound prospecting query, a search for a persona or role, wants to…
won-deal-icp-finder
Audit your biggest closed-won deals to find your PROVEN ideal customer profile, then find more accounts like them. Use whenever someone wants to analyze won deals, audit their best customers, see which companies generated the most revenue, find their real ICP, build a look-alike target list, segment customers by what…