[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M748S2PS9BQFFKCJR8J1104A":3,"skill-same:01M748S2PS9BQFFKCJR8J1104A":56},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":15,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M748S2PS9BQFFKCJR8J1104A","trader-rebalance",null,"Rebalancer. Brings the portfolio back to its target weights when it drifts: values every holding at current prices, works out each stock's drift from its target in percentage points, trades only the stocks outside a band (default 5 points), keeps the cash buffer and the per-stock cap, skips tiny trades, lists sells before buys, and writes the trades to trader\u002Forders.json as proposals. Use when the user says \"rebalance\", \"my portfolio drifted\", \"bring it back to the targets\", \"I added money\", \"the new 13F changed the weights\", \"am I overweight\", or on a schedule (monthly or quarterly) after \u002Ftrader-copycat updates the targets.","surfingalien\u002FFinSurfing","surfingalien","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F138259559?v=4","01M71XACCFHNXK70BHYFHFT657","01M71XACDJSV4YA5NZ191F1C8C",1,"MIT","https:\u002F\u002Fgithub.com\u002Fsurfingalien\u002FFinSurfing\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftrader-rebalance\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fsurfingalien\u002FFinSurfing\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftrader-rebalance\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: trader-rebalance\ndescription: >-\n  Rebalancer. Brings the portfolio back to its target weights when it\n  drifts: values every holding at current prices, works out each stock's\n  drift from its target in percentage points, trades only the stocks outside\n  a band (default 5 points), keeps the cash buffer and the per-stock cap,\n  skips tiny trades, lists sells before buys, and writes the trades to\n  trader\u002Forders.json as proposals. Use when the user says \"rebalance\",\n  \"my portfolio drifted\", \"bring it back to the targets\", \"I added money\",\n  \"the new 13F changed the weights\", \"am I overweight\", or on a schedule\n  (monthly or quarterly) after \u002Ftrader-copycat updates the targets.\nargument-hint: \"[band in points]\"\n---\n\n# trader-rebalance\n\nThe Rebalancer keeps the portfolio looking like the plan. Prices move, new\nmoney arrives and a new 13F changes the weights; this skill finds the stocks\nthat drifted too far and proposes the trades that bring them back. It writes\nproposals only: trader-risk checks them and trader-broker asks the user yes\nor no for each one.\n\n`${CLAUDE_SKILL_DIR}` below is this skill's folder (where this SKILL.md lives).\n\n```bash\npython3 \"${CLAUDE_SKILL_DIR}\u002Frebalance.py\"                    # the drift table, no files written\npython3 \"${CLAUDE_SKILL_DIR}\u002Frebalance.py\" --band 5 --write   # proposals -> trader\u002Forders.json\npython3 \"${CLAUDE_SKILL_DIR}\u002Frebalance.py\" --sell-untracked   # also sell holdings not in the targets\npython3 \"${CLAUDE_SKILL_DIR}\u002Frebalance.py\" --json\n```\n\n## What it reads and writes\n\n| file | what |\n| --- | --- |\n| `trader\u002Fportfolio.json` | cash and positions (shares); same shape as trader-tax's `portfolio.example.json` |\n| `trader\u002Fprices.json` | a price for every holding and every target (trader-alerts writes it) |\n| `trader\u002Ftargets.json` | the target weights (trader-copycat writes it) |\n| `trader\u002Fconfig.json` | cash buffer, cap, min and max order, `rebalance_band_pct` |\n| `trader\u002Forders.json` | the proposals it writes with `--write`, sells first |\n\n## How it decides\n\n- **Account value** = cash + every holding at its price.\n- **Targets**: the weights renormalised over the stock sleeve (account minus\n  the cash buffer), with no stock above `max_position_pct` of the account. The\n  excess is shared out, the same way trader-budget does it, so a capped stock\n  is not bought back over the cap every month.\n- **Drift** = current percent of the account minus target percent.\n- **Band**: only stocks drifting MORE than the band trade (default 5 points).\n  A trade takes the stock all the way back to its target. A small band means\n  more trades; a wide band means fewer.\n- **Sells first**, then buys. Buys only spend cash above the buffer; if there\n  is not enough, all buys are scaled down by the same share.\n- Trades under `min_order_usd` are skipped. A trade over `max_order_usd` is\n  cut to the max with a note to run again after it fills.\n- **Untracked** holdings (not in the targets) are left alone and listed,\n  unless the user asks to sell them with `--sell-untracked`.\n\n## Steps\n\n1. Refresh prices: trader-alerts `alerts.py quote --holdings --write`.\n2. Run `rebalance.py` and show the drift table in plain words: which stocks\n   are over or under, by how many points, and what it would trade.\n3. Before any sell, run trader-tax (`lots.py sell TICKER SHARES`) and show\n   what the sale would realize. Selling a winner can mean a tax bill.\n4. If the user wants the trades: `rebalance.py --write`, then `\u002Ftrader-risk`,\n   then `\u002Ftrader-broker`, one yes per order.\n\n## Example: the reel's portfolio\n\nThe copy portfolio bought on 2026-10-13 (AAPL $1,250 capped, AXP $1,119,\nGOOGL $823, KO $708, BAC $600, $500 cash), valued at that day's closes, sits\non its targets: every drift is under 0.1 point, so `rebalance.py` says\n\"Nothing is outside the band\" and exits 1. If the user adds $2,000 of cash,\nthe account is $7,000 and the cap becomes $1,750. AAPL is now 7.1 points under\nits target and AXP 6.4, both outside the 5-point band, so it proposes buying\n$499 of AAPL and $446 of AXP. GOOGL, KO and BAC are under target too, but\ninside the band, so they wait. Add $5,000 instead and all five are outside\nthe band: five buys that leave the $1,000 buffer in cash.\n\n## What it never does\n\nIt never places an order, never trades inside the band to chase small\ndifferences, never sells holdings outside the targets unless asked, and\nnever says a rebalance will improve returns.\n\n## Safety\n\n- Education and tooling, not financial advice. A rebalance follows the user's own targets, not a forecast.\n- Paper trading by default (`\"paper\": true`). Going live is the user's own decision, in their own config.\n- Nothing in this pack places an order except trader-broker, and only when all three hold: trader-risk\n  passed that exact order today, the user typed an explicit yes for that one order in the chat, and the\n  user clicked Allow once on Claude's own card because the order tool is set to \"Needs approval\"\n  (Customize > Connectors > tool permissions). Never set an order tool to \"Always allow\".\n- No options, margin, short selling or leverage unless the config allows it and the user confirms.\n- Broker keys live in environment variables or the Claude Desktop config, never in the chat.\n","# trader-rebalance\n\nThe Rebalancer keeps the portfolio looking like the plan. Prices move, new\nmoney arrives and a new 13F changes the weights; this skill finds the stocks\nthat drifted too far and proposes the trades that bring them back. It writes\nproposals only: trader-risk checks them and trader-broker asks the user yes\nor no for each one.\n\n`${CLAUDE_SKILL_DIR}` below is this skill's folder (where this SKILL.md lives).\n\n```bash\npython3 \"${CLAUDE_SKILL_DIR}\u002Frebalance.py\"                    # the drift table, no files written\npython3 \"${CLAUDE_SKILL_DIR}\u002Frebalance.py\" --band 5 --write   # proposals -> trader\u002Forders.json\npython3 \"${CLAUDE_SKILL_DIR}\u002Frebalance.py\" --sell-untracked   # also sell holdings not in the targets\npython3 \"${CLAUDE_SKILL_DIR}\u002Frebalance.py\" --json\n```\n\n## What it reads and writes\n\n| file | what |\n| --- | --- |\n| `trader\u002Fportfolio.json` | cash and positions (shares); same shape as trader-tax's `portfolio.example.json` |\n| `trader\u002Fprices.json` | a price for every holding and every target (trader-alerts writes it) |\n| `trader\u002Ftargets.json` | the target weights (trader-copycat writes it) |\n| `trader\u002Fconfig.json` | cash buffer, cap, min and max order, `rebalance_band_pct` |\n| `trader\u002Forders.json` | the proposals it writes with `--write`, sells first |\n\n## How it decides\n\n- **Account value** = cash + every holding at its price.\n- **Targets**: the weights renormalised over the stock sleeve (account minus\n  the cash buffer), with no stock above `max_position_pct` of the account. The\n  excess is shared out, the same way trader-budget does it, so a capped stock\n  is not bought back over the cap every month.\n- **Drift** = current percent of the account minus target percent.\n- **Band**: only stocks drifting MORE than the band trade (default 5 points).\n  A trade takes the stock all the way back to its target. A small band means\n  more trades; a wide band means fewer.\n- **Sells first**, then buys. Buys only spend cash above the buffer; if there\n  is not enough, all buys are scaled down by the same share.\n- Trades under `min_order_usd` are skipped. A trade over `max_order_usd` is\n  cut to the max with a note to run again after it fills.\n- **Untracked** holdings (not in the targets) are left alone and listed,\n  unless the user asks to sell them with `--sell-untracked`.\n\n## Steps\n\n1. Refresh prices: trader-alerts `alerts.py quote --holdings --write`.\n2. Run `rebalance.py` and show the drift table in plain words: which stocks\n   are over or under, by how many points, and what it would trade.\n3. Before any sell, run trader-tax (`lots.py sell TICKER SHARES`) and show\n   what the sale would realize. Selling a winner can mean a tax bill.\n4. If the user wants the trades: `rebalance.py --write`, then `\u002Ftrader-risk`,\n   then `\u002Ftrader-broker`, one yes per order.\n\n## Example: the reel's portfolio\n\nThe copy portfolio bought on 2026-10-13 (AAPL $1,250 capped, AXP $1,119,\nGOOGL $823, KO $708, BAC $600, $500 cash), valued at that day's closes, sits\non its targets: every drift is under 0.1 point, so `rebalance.py` says\n\"Nothing is outside the band\" and exits 1. If the user adds $2,000 of cash,\nthe account is $7,000 and the cap becomes $1,750. AAPL is now 7.1 points under\nits target and AXP 6.4, both outside the 5-point band, so it proposes buying\n$499 of AAPL and $446 of AXP. GOOGL, KO and BAC are under target too, but\ninside the band, so they wait. Add $5,000 instead and all five are outside\nthe band: five buys that leave the $1,000 buffer in cash.\n\n## What it never does\n\nIt never places an order, never trades inside the band to chase small\ndifferences, never sells holdings outside the targets unless asked, and\nnever says a rebalance will improve returns.\n\n## Safety\n\n- Education and tooling, not financial advice. A rebalance follows the user's own targets, not a forecast.\n- Paper trading by default (`\"paper\": true`). Going live is the user's own decision, in their own config.\n- Nothing in this pack places an order except trader-broker, and only when all three hold: trader-risk\n  passed that exact order today, the user typed an explicit yes for that one order in the chat, and the\n  user clicked Allow once on Claude's own card because the order tool is set to \"Needs approval\"\n  (Customize > Connectors > tool permissions). Never set an order tool to \"Always allow\".\n- No options, margin, short selling or leverage unless the config allows it and the user confirms.\n- Broker keys live in environment variables or the Claude Desktop config, never in the chat.\n",{"name":5,"description":7,"argument-hint":24},"[band in points]","main","351d6f0a5dac78be33208c688fdbb820b9053685",".claude\u002Fskills\u002Ftrader-rebalance",0,"https:\u002F\u002Fgithub.com\u002Fsurfingalien\u002FFinSurfing","https:\u002F\u002Fgithub.com\u002Fsurfingalien","2026-11-14 00:29:40",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add surfingalien\u002FFinSurfing --skill trader-rebalance",{"tool":38,"command":39},"bunx","bunx skills add surfingalien\u002FFinSurfing --skill trader-rebalance",{"tool":41,"command":42},"pnpm","pnpm dlx skills add surfingalien\u002FFinSurfing --skill trader-rebalance","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsurfingalien\u002FFinSurfing\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftrader-rebalance\u002FSKILL.md",true,[46,50],{"path":47,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":15},"LICENSE","许可证",1073,{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"rebalance.py","SCRIPT","脚本",14541,"https:\u002F\u002Fgithub.com\u002Fsurfingalien\u002FFinSurfing\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftrader-rebalance\u002Frebalance.py",[57,63,69,76,83,90],{"skillNo":58,"name":59,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7490VYNX3NCT8R0PPSYHTXP","portfolio-management","https:\u002F\u002Fgithub.com\u002Fsurfingalien\u002FFinSurfing\u002Fblob\u002Fmain\u002Fskills\u002Fportfolio-management\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7490SNSG32QP06X1P1EVK7N","financial-analysis","https:\u002F\u002Fgithub.com\u002Fsurfingalien\u002FFinSurfing\u002Fblob\u002Fmain\u002Fskills\u002Ffinancial-analysis\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7490MKJ5QCVWWXC8HK57EVQ","tradingview-mcp","AI Trading Intelligence — live prices, 30+ technical indicators, backtesting (6 strategies), walk-forward overfitting detection, trade logs, equity curves, Reddit sentiment, news, and multi-market screener. Supports stocks, crypto, ETFs, indices, Turkish (BIST), and Egyptian (EGX) markets.","https:\u002F\u002Fgithub.com\u002Fsurfingalien\u002FFinSurfing\u002Fblob\u002Fmain\u002Fopenclaw\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7490FHXRPVEPQMZ4KHFD161","sales-engineer","Analyzes RFP\u002FRFI responses for coverage gaps, builds competitive feature comparison matrices, and plans proof-of-concept (POC) engagements for pre-sales engineering. Use when responding to RFPs, bids, or proposal requests; comparing product features against competitors; planning or scoring a customer POC or sales demo; preparing a technical proposal; or performing win\u002Floss competitor analysis. Handles tasks described as 'RFP response', 'bid response', 'proposal response', 'competitor comparison', 'feature matrix', 'POC planning', 'sales demo prep', or 'pre-sales engineering'.","https:\u002F\u002Fgithub.com\u002Fsurfingalien\u002FFinSurfing\u002Fblob\u002Fmain\u002Fbusiness-growth\u002Fskills\u002Fsales-engineer\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7490C91D8F7CM7AXFZK8SQE","revenue-operations","Analyzes sales pipeline health, revenue forecasting accuracy, and go-to-market efficiency metrics for SaaS revenue optimization. Use when analyzing sales pipeline coverage, forecasting revenue, evaluating go-to-market performance, reviewing sales metrics, assessing pipeline analysis, tracking forecast accuracy with MAPE, calculating GTM efficiency, or measuring sales efficiency and unit economics for SaaS teams.","https:\u002F\u002Fgithub.com\u002Fsurfingalien\u002FFinSurfing\u002Fblob\u002Fmain\u002Fbusiness-growth\u002Fskills\u002Frevenue-operations\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M74907FEV2YRKSYPNG649HGF","customer-success-manager","Monitors customer health, predicts churn risk, and identifies expansion opportunities using weighted scoring models for SaaS customer success. Use when analyzing customer accounts, reviewing retention metrics, scoring at-risk customers, or when the user mentions churn, customer health scores, upsell opportunities, expansion revenue, retention analysis, or customer analytics. Runs three Python CLI tools to produce deterministic health scores, churn risk tiers, and prioritized expansion recommendations across Enterprise, Mid-Market, and SMB segments.","https:\u002F\u002Fgithub.com\u002Fsurfingalien\u002FFinSurfing\u002Fblob\u002Fmain\u002Fbusiness-growth\u002Fskills\u002Fcustomer-success-manager\u002FSKILL.md",[],[]]