clay-conditional-gates
Write the run conditions that stop expensive Clay columns from firing on rows that will never qualify.
Skill by mambalabsdev
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/mambalabsdev-clay-conditional-gates
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: writing
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
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/clay-conditional-gates
What's inside
- Skill name
clay-conditional-gates- Description
- Write the run conditions that stop expensive Clay columns from firing on rows that will never qualify. Use when someone wants to skip enrichment for non ICP rows, gate a waterfall, add a run condition, or stop paying to enrich junk.
- License
- MIT
- Compatibility
- Claude Code, Claude Desktop, Codex CLI, Cursor, Gemini CLI, and other agents that read SKILL.md. Live data steps need only what the Requirements section of the skill lists.
- Metadata
- tags: clay_builds, clay_operator · title: Clay Conditional Gates · version: 2.1.0 · category: clay-builds · keywords: clay, add a run condition, skip enrichment for non icp rows, gate this column, only enrich rows that, stop paying to enrich junk · requirements: Needs a Clay workspace.
- Instructions
- 93 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (8)
- LICENSE
- SKILL.md
- cases.json · evals/
- listing.json · listing/
- logo.png · listing/
- logo.svg · listing/
- check-output.py · scripts/
- output-contract.json · scripts/
SKILL.md (first lines)
# Clay Conditional Gates ## What this does A run condition is the cheapest performance work in Clay and the most commonly skipped. This skill turns a qualification rule stated in plain language into the exact condition expression, placed on the right column, in the right order, with the pass rate estimated so the saving is known before the run. ## Requirements Check these before you run the skill. Nothing outside this table is needed. | Requirement | Needed | Used for | What it costs you | | --- | --- | --- | --- | | A Clay workspace | Required | The table being gated | Billed by Clay in credits on your own plan. | **Missing a required item?** Stop before the live steps and tell the user which item is missing and what it is for. Do not run the step without it and do not present an empty result as an answer. Keys are read from the environment at run time and are never written into a file, a prompt or the output. ## When to use it - add a run condition - skip enrichment for non ICP rows - gate this column - only enrich rows that - stop paying to enrich junk ## Inputs - **rule**: the qualification rule in plain language - **available**: which columns already exist and are cheap enough to gate on - **target**: the expensive column that should be gated ## Shared context this skill reads Before doing anything else, read whichever of these exist at the project root and use them instead of asking the user to repeat themselves: - `ICP.md` If none exist, do the work from what the user gives you, then offer to write the missing file so the next skill in the pack starts warmer. ## Tool connection This skill needs no live data tool. It works from the files, exports and answers you give it, so it runs the same in any agent with no setup. ## Method 1. Restate the rule as a boolean over columns that already exist. If it needs a column that does not exist yet, say so and place that column first in the order. 2. Prefer a deterministic cheap column over a model judgment for the gate. A gate that costs as much as the column it guards saves nothing. 3. Write the condition expression, and write the negative case explicitly so blank values do not silently pass. 4. Estimate the pass rate from the user's own data if they have any rows, from a stated assumption if they do not. 5. Order multiple gates so the highest rejection rate runs first. 6. State what happens to rejected rows: left blank, tagged, or moved. Blank is a choice, not a default. 7. Check the output with `scripts/check-output.py` before you return it. ## Approval stop This skill does not send email or write to a CRM. If the user asks it to, stop first: show what would be sent or written and wait for an explicit yes. ## Output The condition expression per column, the placement in the run order, the estimated pass rate, and the resulting cost change. ## Check the output before you return it Save the output to a file and run `python3 scripts/check-output.py <file>`. The contract it checks is `scripts/output-contract.json`. - Exit 0, `COMPLETE`: return the output. - Exit 2, `INCOMPLETE`: do not present the output as finished. Fill what you can, run the check again, and if parts stay missing, return the output under the heading `Incomplete` with every reason the check printed. ## Quality bar - Blank and null inputs are handled explicitly in every condition - No gate costs more per row than the column it guards - Gates are ordered by rejection rate - The fate of rejected rows is stated ## Related skills - `clay-cost-audit` - `clay-build-gate` - `clay-waterfall-designer` Ships in the **clay-operator** pack.
From mambalabsdev/mamba-labs-skills, MIT.
More from mambalabsdev/mamba-labs-skills
- 0.570score
agent-readability-audit
mambalabsdev
Check whether a website can be read and used by AI agents, and fix what blocks them.
SkillAFreshness: AClaude Code +9 - 0.570score
ai-adoption-signal-reader
mambalabsdev
Detect whether a company has shipped AI features or adopted AI vendors, and read that as a budget and priority signal.
SkillAFreshness: AClaude Code +9 - 0.570score
bounce-and-catchall-policy
mambalabsdev
Decide what to do with catch all domains, role addresses and soft bounces before they cost you a domain.
SkillAFreshness: AClaude Code +9 - 0.570score
cash-runway-snapshot
mambalabsdev
Work out how many months of cash are left and what actually changes it.
SkillAFreshness: AClaude Code +9 - 0.570score
clay-actor-column-wiring
mambalabsdev
Wire an external actor or API into a Clay column so the types survive the round trip.
SkillAFreshness: AClaude Code +9 - 0.570score
clay-cost-audit
mambalabsdev
Price a Clay table before it runs and find the columns that are burning credits for no return.
SkillAFreshness: AClaude Code +9 - 0.570score
clay-credit-forecast
mambalabsdev
Forecast how far a Clay credit balance goes across a month of planned builds, and say which build to cut when it does not reach.
SkillAFreshness: AClaude Code +9 - 0.570score
clay-dedupe-and-merge
mambalabsdev
Deduplicate and merge people or company rows across Clay tables without losing enrichment or double counting a person.
SkillAFreshness: AClaude Code +9 - 0.570score
clay-failure-triage
mambalabsdev
Diagnose a Clay column that returns null, zero rows, or the wrong shape, by symptom rather than by guesswork.
SkillAFreshness: AClaude Code +9 - 0.570score
company-identity-resolution
mambalabsdev
Resolve a messy company name to the right domain and canonical record, and say how confident the match is.
SkillAFreshness: AClaude Code +9 - 0.570score
comparison-page-builder
mambalabsdev
Write a comparison or alternatives page that a reader trusts and a competitor cannot get taken down.
SkillAFreshness: AClaude Code +9 - 0.570score
contact-classification
mambalabsdev
Classify contacts by department, seniority and role from their job title, and route them to the right persona.
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 12, 2026 (17 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 2.1.0
- License
- MIT
- Website
- mambabuilt.com/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from mambalabsdev
- 0.570score
ai-adoption-signal-reader
mambalabsdev
Detect whether a company has shipped AI features or adopted AI vendors, and read that as a budget and priority signal.
SkillAFreshness: AClaude Code +9 - 0.570score
bounce-and-catchall-policy
mambalabsdev
Decide what to do with catch all domains, role addresses and soft bounces before they cost you a domain.
SkillAFreshness: AClaude Code +9 - 0.570score
cash-runway-snapshot
mambalabsdev
Work out how many months of cash are left and what actually changes it.
SkillAFreshness: AClaude Code +9 - 0.570score
clay-actor-column-wiring
mambalabsdev
Wire an external actor or API into a Clay column so the types survive the round trip.
SkillAFreshness: AClaude Code +9 - 0.570score
clay-cost-audit
mambalabsdev
Price a Clay table before it runs and find the columns that are burning credits for no return.
SkillAFreshness: AClaude Code +9 - 0.570score
agent-readability-audit
mambalabsdev
Check whether a website can be read and used by AI agents, and fix what blocks them.
SkillAFreshness: AClaude Code +9
Cite this page
clay-conditional-gates skill. Agent Mart. https://agentmart.dev/skills/mambalabsdev-clay-conditional-gates (last updated 2026-10-24)