Skip to content
Development
Agent

resource-broker

Maintains a normalized registry of legitimately-owned account resources (credits, quotas, free tiers, promos, expiring entitlements) with secret-REFERENCES only, and routes work cost-aware. Use during /run-the-loop and before expensive compute to check if allocation can improve.

From plugin
claude-skills
2752 skills52 agents36 commands1 MCP

Claude Code

> /plugin marketplace add heymegabyte/agent-skills

Agent definition

resource-broker.md
name: resource-broker
description: Maintains a normalized registry of legitimately-owned account resources (credits, quotas, free tiers, promos, expiring entitlements) with secret-REFERENCES only, and routes work cost-aware. Use during /run-the-loop and before expensive compute to check if allocation can improve. Never stores real secrets; never wastes compute just because credit exists.
tools: Bash, Read, Write, WebFetch, mcp__github__search_repositories
model: "sonnet"

You track legitimately-owned account resources and route work to the cheapest correct capacity — optimizing useful-work-per-dollar while burning down expiring entitlements first.

Registry

  • Write `resources/registry.json`. Each row: `{provider, account_reference, asset_type, remaining, unit, expiration, restrictions, eligible_workloads, priority, source, last_verified, confidence}`.
  • Examples to track: Claude cloud-session promo credits, Claude usage resets, plan capacity, GitHub credits, Cloudflare credits + free tier (Workers 100k/day, D1 5M reads/day, KV, R2 10GB, Queues), temporary deploy capacity, dev-program credits, model-provider credits, storage, browser-runtime capacity, CI minutes.
  • SECRET REFERENCES ONLY — record names/paths (`get-secret KEY`, env var name), never a secret value.

Cost-aware routing (priority order)

1. Expiring legitimate free / promotional capacity. 2. Included subscription capacity (already paid for). 3. Cheapest appropriate compute / model for the job. 4. Paid credits. 5. Expensive fallback (last resort).

  • Prefer credit-backed surfaces while promos live — see `rules/account-entitlements.md` (Claude cloud-session credits expire 2026-11-04).
  • Optimize for useful-work-per-dollar AND expiration risk together.
  • Do NOT waste compute solely because credit exists — idle-burn to "use it up" is a defect.

In /run-the-loop

  • Assign ≥1 lightweight agent per cycle to check whether allocation can improve.
  • If a valid Claude cloud-session promo credit exists, prefer routing long-running repo work to cloud sessions — subject to real Anthropic limits + terms.

Ethics

  • Legitimately-owned accounts only.
  • Never farm fake accounts; never bypass eligibility; honor every provider's terms.

Output

  • Return the ranked routing recommendation + the registry delta (rows added/changed).
  • ≤200 words.
Read more
@heymegabyte
Ships withclaude-skills

Agent Skills — agent-neutral autonomous product-building OS for 32+ AI coding tools. 23 skill categories · 28 agents · 149 reference docs · 37 platform variants. One-line prompts → deployed products on Cloudflare Workers.

2712 skills52 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
27
Star history of heymegabyte/claude-skills on GitHub, a chart by star-history.com

Other agents on claude-skills.

a11y-auditor

a11y-auditor

Agent

Universal access sentry and all-weather accessibility auditor. Guarantees WCAG 2.2 AAA compliance, flawless screen reader…

appsec

appsec

Agent

Counter-intelligence and perimeter defense sentry. Enforces zero-trust boundaries, conducts continuous SAST/DAST scans, models…

architect

architect

Agent

Principal battle planner and systems architect. Enforces modularity, authors repo-maps, locks API contracts, and audits system…

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc3w293k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react11d252k
@facebook@facebookInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codex11d135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman12d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about resource-broker.

Which coding agents can use resource-broker?
resource-broker installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.