agentleFS
LeadMagicLeadMagic/leadmagic-claude-plugin/skills/credit-guard/SKILL.md

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.

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
  1. Distinctive:

    Use whenever enrichment may spend credits, before bulk jobs, or when the user asks about cost/usage.

    line 9
  2. Very specific:

    Prefer composites (account_intel, enrich_contact, find_decision_makers) over long primitive chains.

    line 13
  3. Distinctive:

    Do not repeat the same lookup for identical inputs in one session.

    line 14

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Credit guard

Trigger

Use whenever enrichment may spend credits, before bulk jobs, or when the user asks about cost/usage.

Rules

  1. Free first: check_credit_balance, preview_cost, get_account_analytics. Narrow job searches with search_jobs filters and a small limit rather than broad pulls.
  2. Prefer composites (account_intel, enrich_contact, find_decision_makers) over long primitive chains.
  3. Do not repeat the same lookup for identical inputs in one session.
  4. More than 5 rows → a sheet run (sheets skill) or a bulk job (bulk-enrichment skill). Never loop single-record tools per row.
  5. Empty/not-found results are usually free — say so when reporting.
  6. 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 a confirmation_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_people with limit > 25 on a metered plan, find_company_employees, account_intel with jobs), call preview_cost and ask.
  7. Browse search (search_people, search_companies, search_jobs) is credit-free only on qualifying plans and within a fair-use cap; see the market-search skill and pricing.

Output

  • Credits remaining / estimated cost when known
  • Recommended cheapest path
  • Clear stop if balance is insufficient (402)

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.