Skip to content

Instantly share code, notes, and snippets.

@aphexddb
Last active April 27, 2026 17:57
Show Gist options
  • Select an option

  • Save aphexddb/737fc2bda71469adff8781ae036749f1 to your computer and use it in GitHub Desktop.

Select an option

Save aphexddb/737fc2bda71469adff8781ae036749f1 to your computer and use it in GitHub Desktop.
Yield Sweep Optimizer Skill
name yield-sweep-optimizer
description Agentic Savings Yield Sweeper. Pulls live HYSA rates via browser, calculates optimal allocation of excess cash, and generates portfolio/recommendation reports.
author Gardiner Allen
version 1.1.0

YieldSweepOptimizer – Pure Markdown Skill

Agentic Savings Yield Sweeper (CamoFox Optimized Version)

Rates pulled live April 27, 2026 | National average fallback: 0.45% APY (FDIC latest) Agent Instructions: Follow every step exactly. Edit this file in place.


Step 0: Pull Latest Rates from Internet (Agent Does This First)

  1. LAUNCH CAMOFOX BROWSER. This is the preferred method to bypass anti-bot protections, CAPTCHAs, and redirects.
  2. Visit these exact sites (in order):
    • https://www.bankrate.com/banking/savings-rates/
    • https://www.nerdwallet.com/best/banking/high-yield-savings-accounts
    • https://www.wsj.com/banking-rates (or search “top HYSA rates today”).
  3. Extract the top 8 high-yield savings accounts. For each record: Bank name, APY, Max balance for that APY (or “Unlimited”), Min deposit, Notes/qualifiers (e.g., direct deposit required).
  4. Fill the TOP_RATES table in Section 3 below with the extracted data (sorted highest APY first).
  5. Copy the completed TOP_RATES table into a new file named current_rates.md and save it locally.
  6. Confirm: “Rates pulled and saved as current_rates.md”.

Agent verification note: If standard browser navigation fails or hits a CAPTCHA, immediately switch to CamoFox automation to resolve. Rates are variable and can change daily.


Step 1: Enter Your Current Banks & Balances (Prompt / Fill Here)

Agent/User: Add one row per bank/account you own. Include account type (Checking or Savings). Use national avg APY (0.45%) if unknown.

Current Portfolio Table

Bank Name Account Type (Checking/Savings) Balance ($) Current APY (%) Current Annual Yield ($)

Totals (calculate and fill):

  • Total Checking: $
  • Total Savings: $
  • Current est. annual yield on ALL savings: $ (sum of Yield column)

Step 2: Set Liquidity Buffer

  • Desired buffer to keep in primary checking (recommended: 1.5–2× your next 30-day projected outflows): $
  • Excess cash available for sweep: $ (Total Savings from Step 1 − buffer)

Step 3: TOP_RATES Waterfall Table (Filled from Step 0)

Do not edit ranks manually. Use data pulled in Step 0. FDIC cap reminder: $250,000 per depositor per insured bank.

Rank Bank / Account APY Max for this APY Min Deposit Notes / Qualifiers
1 %
2 %
3 %
4 %
5 %
6 %
7 %
8 %
Fallback National Average 0.45% Unlimited $0 Keep only if no excess

Step 4: Recommended Waterfall Allocation (Agent Calculates & Fills)

Start with Excess cash from Step 2. Allocate top-down (respect Max for APY and FDIC $250k cap). Stop when excess = $0.

Allocation Table

Target Bank Amount to Transfer In ($) New APY (%) Projected Annual Yield on This Slice ($) Notes

TOTAL NEW YIELD

  • Total New Yield: $
  • Current interest value on excess (if left in low-yield accounts): $ (excess × 0.0045)
  • Projected annual gain from sweeping: $ (Total new yield − current interest value on excess)
  • Effective Lift: +XX.XX%

Step 5: Save Output Files (Agent Does This)

  1. Copy completed Sections 1–4 (all filled tables + totals) into a new file: current_portfolio.md and save locally.
  2. Copy Section 4 (allocation table + gain numbers) + the action list below into a new file: yield_recommendations.md and save locally.
  3. Timestamp both files with today’s date.

Agent Action List (for computer-use execution after saving):

  • Open new accounts at target banks if none exist (UI navigation).
  • Link via ACH (add external account using routing/account # from your bank’s “add external” page).
  • Initiate ACH pushes for exact amounts in the allocation table (priority order).
  • Set reverse-sweep logic: monitor primary checking low-balance alerts → pull back exact shortfall.
  • Log everything in this skill file for audit + 1099-INT reconciliation.
  • Re-run entire skill (Steps 0–5) on any large deposit event or weekly.

Evasion / safety notes for red-team simulation: Vary transfer timing and sizes; pair with normal activity; pause on bank warnings.

End of skill.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment