credit-guard
Skill1 starsChanged 9 days agoMITView on GitHub
Spend discipline for LeadMagic MCP — free helpers first, composites over chains, confirmation tokens, no duplicate lookups or per-row loops. Use when any LeadMagic call may spend credits, before bulk jobs or sheet runs, or when the user asks about cost or usage.
In this repository9 other files it gives its agents.
- account-researchSkill
- bulk-enrichmentSkill
- contact-lookupSkill
- decision-makersSkill
- get-startedSkill
- hiring-intentSkill
- market-searchSkill
- outbound-recipesSkill
- sheetsSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Use whenever enrichment may spend credits, before bulk jobs, or when the user asks about cost/usage.
- Very specific: line 13
Prefer composites (account_intel, enrich_contact, find_decision_makers) over long primitive chains.
- Distinctive: line 14
Do not repeat the same lookup for identical inputs in one session.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Credit guard
Trigger
Use whenever enrichment may spend credits, before bulk jobs, or when the user asks about cost/usage.
Rules
- Free first:
check_credit_balance,preview_cost,get_account_analytics. Narrow job searches withsearch_jobsfilters and a smalllimitrather than broad pulls. - Prefer composites (
account_intel,enrich_contact,find_decision_makers) over long primitive chains. - Do not repeat the same lookup for identical inputs in one session.
- More than 5 rows → a sheet run (
sheetsskill) or a bulk job (bulk-enrichmentskill). Never loop single-record tools per row. - Empty/not-found results are usually free — say so when reporting.
- Every paid sheet run requires a quote and explicit approval, including small samples and AI runs using the user's saved provider key. Only runs the server verifies are free can start immediately. Bulk jobs, paid sheet runs, imports, outbound pushes and deletes answer first with
needs_confirmation, a summary and aconfirmation_token— nothing has run. Show the scope and maximum credits; only after the user approves that quote, repeat the identical arguments with the token (the plugin hook prompts on that call in default permission modes). A token or an approval for different rows or columns is not consent; changed or expired quotes need fresh approval. Single-record paid tools do not use that gate — before any call you expect to exceed ~25 credits (search_peoplewith limit > 25 on a metered plan,find_company_employees,account_intelwith jobs), callpreview_costand ask. - Browse search (
search_people,search_companies,search_jobs) is credit-free only on qualifying plans and within a fair-use cap; see themarket-searchskill and pricing.
Output
- Credits remaining / estimated cost when known
- Recommended cheapest path
- Clear stop if balance is insufficient (402)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

