credit-guard
Skill1 starsChanged 3 months agoMITView on GitHub
Always-on spend discipline for LeadMagic MCP — free helpers first, composites over chains, no duplicate lookups.
In this repository8 other files it gives its agents.
- account-researchSkill
- ads-researchSkill
- bulk-enrichmentSkill
- contact-lookupSkill
- decision-makersSkill
- get-startedSkill
- hiring-intentSkill
- market-searchSkill
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 213,895 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,get_job_search_catalogs,resolve_job_search_filters. - 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.
- Empty/not-found results are usually free — say so when reporting.
- Don't ask before single-record lookups or a sheet run of 5 credits or less (e.g. filling a few new rows) — they run directly. Bulk jobs, bigger sheet runs, imports, outbound pushes and deletes answer first with
needs_confirmation, a summary and aconfirmation_token— nothing has run. Show the summary; only after the user agrees, repeat the call with the token (the plugin hook prompts on that call). Single-record paid tools do not — before any call you expect to exceed ~25 credits (search_peoplewith limit > 25,find_company_employees,account_intelwith jobs), callpreview_costand ask.
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.

