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

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.

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

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, get_job_search_catalogs, resolve_job_search_filters.
  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. Empty/not-found results are usually free — say so when reporting.
  5. 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 a confirmation_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_people with limit > 25, find_company_employees, account_intel with jobs), call preview_cost and ask.

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.