/us-stock-analysis:position-ladderfrom us-stock-analysis
Plans a staged position entry with share-count floor/ceiling, trim/re-add cycle for cost-basis reduction, lot accounting, wash-sale checks, total-return honesty, and a thesis-break exit gate.
Ships in us-stock-analysis. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Before running any analysis, always retrieve the latest market data for the ticker:
Data & Sources header (next section) so the origin, as-of date, retrieval path, and confidence of every figure are explicit at the top of the output.⚠️ Live data unavailable. The following analysis uses training-data estimates which may be significantly out of date. Verify all prices and metrics before making any decisions.
Never silently substitute training-data estimates for current prices. When in doubt, ask the user to paste the latest quote.
The first thing in the output is this provenance block, filled in — never left as placeholders. It is the standard documented on the Data & Accuracy page and the first thing result-validator looks for:
Data & Sources
As of: <date the figures represent, e.g. 2026-06-30>
Source: <primary docs — SEC EDGAR 10-K/10-Q, company IR, FRED, exchange data …>
Retrieval: <pasted by user | web/tool retrieval | model memory>
Confidence: <HIGH | MEDIUM | LOW>
Retrieval: model memory must be paired with Confidence: LOW — memory is a placeholder until confirmed against a primary source.pasted by user; do not upgrade its confidence beyond what the user's own source supports.--lang zh-TWEnglish is the default. With --lang zh-TW — or when the user writes in Traditional Chinese and asks for a Chinese answer — write the whole analysis in Traditional Chinese (繁體中文, Taiwan usage), keeping it machine-checkable:
Data & Sources field labels (As of, Source, Retrieval, Confidence — the Retrieval value may be written in Chinese, e.g. 使用者提供), and the Investment Signal box and JSON footer exactly as specified — field names and the BULLISH / NEUTRAL / BEARISH, HIGH / MEDIUM / LOW, BUY / HOLD / SELL, STRONG / MODERATE / WEAK values. Tools parse them.This framework is more prescriptive than the rest of the InvestSkill catalog: it outputs specific price levels and share counts. Every number it produces is a conditional plan under stated assumptions, not an instruction to trade.
Three honest claims must appear in every output:
State all three, then produce the plan. Never present the ladder as a way to guarantee a recovery.
Answer the question the rest of the catalog does not: "I own this — now what is my execution plan?"
The other frameworks decide what to own (stock-eval), what it is worth (stock-valuation), and when to enter (technical-analysis). None of them manages a position across its life. This one does. It takes a holding — or a planned holding — and produces:
This is distinct from portfolio-review, which operates across holdings (allocation, drift, concentration, tax-loss harvesting). This one operates inside a single holding. Use portfolio-review to decide how big the position may be; use this skill to decide how to get there and how to manage it once there.
Collect these before modeling. Ask for anything missing rather than assuming — the plan is only as good as the position cap.
| Input | Required | Default if unstated |
|---|---|---|
| Ticker | ✅ | — |
| Current shares held and average cost | ✅ (or 0 for a new position) | — |
| Live market price | ✅ | fetch, or ask |
| Ceiling: max shares or max % of portfolio or max dollars | ✅ | ask — never invent a cap |
| Floor: the core position never sold | — | 60% of ceiling |
| Portfolio size (for the concentration check) | — | ask; skip concentration scoring if withheld |
| Rung spacing method | — | 1.0 × ATR(14), rounded to a clean price |
| Number of rungs | — | 5 |
| Account type: taxable / IRA / 401(k) / non-US | — | taxable (the conservative assumption — full tax friction) |
| Lot-accounting method: FIFO / specific-ID / average | — | FIFO (most brokers' default) |
| Asset type: single stock / broad ETF / leveraged ETF | — | single stock (full thesis gate applies) |
| Time budget: how long you will let the ladder work | — | 2 quarters |
The bounds are set before the first share is bought, and they are the part of the plan that does not move.
Derive the ceiling — take the most restrictive of:
portfolio-review's flags).bear-case target, is the dollar loss survivable? If not, the ceiling is too high.Derive the floor — the share count you would still want if the stock did nothing for two years. Typically 50–70% of ceiling. The floor exists so the trim leg can never sell you out of a name you want to own.
The cap rule (state it verbatim in the output):
At the ceiling, adding stops. Further weakness is not a reason to add beyond the cap — it is a reason to re-run the thesis gate in Phase 6. Raising the ceiling mid-drawdown is the single most common way this plan fails.
| Method | Spacing | Best for |
|---|---|---|
| Volatility-scaled (default) | 1.0–1.5 × ATR(14) per rung | Any name — spacing adapts to how much the stock actually moves |
| Fixed percentage | 3–4% (mega-cap), 5–7% (mid-cap), 8–12% (high-beta) | Simple, mechanical, easy to place as resting orders |
| Support-based | Rungs at identified support / value-area levels | When technical-analysis has produced a clean support table — the highest-quality placement |
| Fixed dollar | Equal $ increments | Round-number psychology; only sensible for a narrow price band |
Rungs spaced tighter than ~0.5 × ATR will all fill on a single day's noise, which defeats the purpose. Rungs wider than ~2 × ATR rarely fill at all.
| Sizing | Mechanic | Effect on average cost |
|---|---|---|
| Equal shares | Same share count per rung | Simplest; average cost = simple mean of rung prices |
| Equal dollars (preferred) | Same dollar amount per rung | Mechanically buys more shares at lower prices → average cost is always ≤ equal-shares |
| Pyramid | Size increases at lower rungs (e.g. 1×, 1×, 1.5×, 2×, 2.5×) | Lowest average cost, but concentrates the most capital into the deepest drawdown — requires the strongest thesis conviction |
| Inverted (anti-)pyramid | Size decreases lower | Do not use for accumulation; it is a scaling-out pattern |
Always compute and show:
A ladder on a name in a durable uptrend never fills. The position ends at 10–20% of target and the analysis was wasted — a real cost, not a hypothetical one. Two mitigations, both stated as explicit choices:
Once the position is built, it oscillates inside the band.
Trim leg — when price trades above blended average cost:
Re-add leg — when price trades below the new blended average cost:
Cycle table — the primary deliverable of this phase:
| Step | Trigger price | Action | Shares Δ | Position | Blended avg cost | Cash Δ | Realized P&L |
|---|
Show at least one full cycle: build → trim to floor → re-add to ceiling. The end state of a completed cycle in a range-bound tape is the same share count at a lower average cost — that, and only that, is where the strategy's edge comes from.
This is the phase most retail versions of this strategy omit, and it is where real money leaks. Treat it as mandatory for any taxable US account.
"Sell the highest-cost lot" is a specific-identification instruction. Under a broker's default FIFO, the oldest lot is sold instead — which may be the lowest-cost lot, producing the opposite tax outcome and a different average cost than the plan modeled. Flag this explicitly:
⚠️ This plan assumes specific-lot identification. Confirm your broker is not defaulting to FIFO, and select lots at the time of sale. FIFO will produce different realized P&L and a different post-trim average cost than modeled here.
The trim leg can realize a loss (selling a high-cost lot below its cost). The re-add leg then buys the same security back at a lower price. If the repurchase happens within 30 days before or after the loss sale, the loss is disallowed under the US wash-sale rule and is instead added to the basis of the replacement shares.
The trim/re-add cycle is, by construction, a wash-sale generator. Handle it:
| Account | Tax friction | Guidance |
|---|---|---|
| Taxable | Full: short/long-term capital gains, wash sales apply | Model tax drag; prefer trims of lots held > 1 year; count the round-trip cost against the average-cost benefit |
| IRA / 401(k) | None on internal trades | The cleanest home for this strategy — cycle freely; note that realized losses are never deductible |
| Non-US | Varies | State that local rules were not modeled and must be checked |
Every trim resets the holding-period clock on any re-added shares. A strategy that cycles quarterly will hold mostly short-term lots — a real, quantifiable cost in a taxable account that a naive average-cost calculation hides entirely.
Mandatory section. Produce this table for the completed plan under three price paths:
| Metric | Buy-and-hold (same capital) | Ladder + trim/re-add |
|---|---|---|
| Shares held | ||
| Average cost | ||
| Realized P&L | ||
| Unrealized P&L | ||
| Total return ($ and %) | ||
| Est. tax drag |
Run it for: (a) price recovers to the original entry, (b) price rallies well above the top rung, (c) price stays below the bottom rung.
The expected pattern — state it plainly:
Also report opportunity cost: the capital parked waiting for lower rungs earned nothing (or T-bill yield) while committed to this plan.
A ladder is only legitimate on a name still worth owning. Without this gate, disciplined averaging down is a machine for concentrating capital into deteriorating businesses.
Hard stop — abandon the ladder and consider exiting, do not add — if any of these fire:
bear-case; a restatement, auditor change, or aggressive revenue recognition ends the ladder).Do-not-ladder list — asset types where this framework should refuse to produce a plan and say why:
Regime fit check — the strategy needs oscillation:
| Signal | Favorable (ladder works) | Unfavorable (ladder misfires) |
|---|---|---|
| ADX(14) | < 25 — no dominant trend | > 30 — strong trend; ladder underfills or catches a falling knife |
| Price vs. MA200 | Oscillating around it | Extended far above (underfill) or in confirmed breakdown below |
| ATR as % of price | 1.5–5% — enough movement to fill rungs | < 1% — rungs never fill; > 8% — spacing must widen materially |
| Recent behavior | Range-bound, repeated tests of support | One-directional, gap-driven |
Ladder Suitability Score (0–10) — the skill's headline number:
| Component | Points | What earns full marks |
|---|---|---|
| Thesis integrity | 0–3 | Would you buy this fresh today, at this price, knowing nothing of your entry? |
| Regime fit | 0–2 | Range-bound, mean-reverting, oscillating around a level |
| Volatility adequacy | 0–2 | ATR wide enough that rungs realistically fill inside the time budget |
| Position headroom | 0–2 | Full ceiling still fits inside the portfolio concentration cap |
| Account / tax fit | 0–1 | Tax-advantaged account, or trim levels sit in gain territory |
| Score | Reading |
|---|---|
| 8.0–10.0 | Ladder is appropriate — execute the plan as modeled |
| 6.0–7.9 | Workable with a reduced ceiling and wider rungs |
| 4.0–5.9 | Marginal — prefer a single sized entry over a ladder |
| 0.0–3.9 | Do not ladder — the thesis, regime, or concentration test failed |
Match the preset to the situation, state which was applied, and show the parameters used.
| Preset | Floor / Ceiling | Rung spacing | Sizing | Thesis gate | Notes |
|---|---|---|---|---|---|
| Core compounder | 60% / 100% | 3–4% or 1× ATR | Equal dollars | Full fundamental gate | Trim only above average cost; long holds favor tax-efficient trims |
| Broad-index ETF autopilot | 50% / 100% | 4–5% or 1× ATR | Equal dollars | None — no company thesis to break | Cleanest use case; regime and cap checks still apply |
| High-beta single stock | 40% / 100% | 8–12% or 1.5× ATR | Pyramid | Strict + hard stop | Smaller ceiling %, wider rungs, mandatory bear-case |
| Starter + ladder (anti-underfill) | 40% at market, ladder the rest | 1× ATR | Equal dollars | Full gate | For names that rarely pull back |
| Underwater rescue | Current holding / hard cap | Support-based | Equal dollars | Mandatory re-underwrite | Only proceed if the fresh-money test passes; otherwise this is an exit plan, not a ladder |
Position: 20 shares bought at $128. Price now $122. Target band: floor 60 shares, ceiling 100. Equal shares, $3 rungs, taxable account, specific-lot ID.
Ladder
| Rung | Price | Shares | Cost | Status |
|---|---|---|---|---|
| 1 | $128 | 20 | $2,560 | filled (the original entry) |
| 2 | $125 | 20 | $2,500 | fills now — above market |
| 3 | $122 | 20 | $2,440 | fills now — at market |
| 4 | $119 | 20 | $2,380 | pending |
| 5 | $116 | 20 | $2,320 | pending |
Full fill: 100 shares, $12,200 capital, blended average $122.00. Drawdown to full fill is −4.9% from today's $122 (116 ÷ 122 − 1) — that is the further decline the plan is signing up to sit through, and $4,700 of the $12,200 (rungs 4–5) is still uncommitted. Equal-dollar sizing of the same $12,200 would instead yield ~100.1 shares at $121.85 — mechanically lower, always.
Trim to floor — price recovers: sell the $128 lot at $125, then the $125 lot at $128.
Re-add to ceiling — price falls back; buy 20 at $117 and 20 at $115.
Reality check at three prices
| Price path | Buy-and-hold 100 @ $122 | Ladder + cycle |
|---|---|---|
| Back to $122 | $0 | +$420 — same 100 shares, $4.20 lower basis |
| Rallies to $140 (trimmed, never re-added) | +$1,800 | +$1,260 — $540 worse; 40 shares were sold into the rally |
| Stalls at $115 | −$700 | −$280 on 100 shares at $117.80 |
The middle row is the honest cost of the strategy: the lower average cost was purchased with forgone upside. The first row is the edge. Which row you get is decided by the tape, not by the discipline.
User: /position-ladder AVGO — I hold 20 shares at $128, now $122. Target 60–100 shares.
Claude builds the ladder, the trim/re-add cycle, and the total-return comparison.
User: /position-ladder MSFT — new position, max 5% of a $200k portfolio, ETF-style autopilot.
Claude derives the ceiling from the concentration cap and lays out the rungs.
User: /position-ladder — here are my holdings: [paste]. Which of these should I be laddering?
Claude scores each position's Ladder Suitability and produces a plan only for those that pass the gate.
Round share counts to whole shares (or state that fractional shares are assumed) and round rung prices to levels that can actually be entered as resting orders.
stock-eval first to establish the thesis, technical-analysis for the support levels that make the best rungs, bear-case for the gate in Phase 6, and portfolio-review for the concentration cap that sets the ceiling.After delivering the analysis signal, specify what would reverse it:
If signal is BULLISH — thesis breaks if:
If signal is BEARISH — thesis breaks if:
Re-run this analysis when:
This skill measures execution suitability, not price direction — so state the mapping explicitly. The Ladder Suitability Score drives the block: a high score means staged accumulation inside the band is appropriate and the plan should be executed as modeled; a low score means the thesis, regime, or concentration test failed and the correct action is to stop adding. Action: BUY here means "continue laddering within the stated cap" — never "buy without limit." Action: SELL means the gate failed, not that a short is warranted. Read the direction of the underlying stock from stock-eval or bear-case, not from this block.
All analysis concludes with this standardized block:
In the output, the box below is followed immediately by this machine-readable footer — the same values as the box, filled in (no placeholders, no comments), so tools can read the result without parsing the box:
{"investskill": "1", "skill": "position-ladder", "ticker": "<TICKER, or null for a portfolio / market-wide view>", "as_of": "<YYYY-MM-DD from Data & Sources>", "signal": "<BULLISH | NEUTRAL | BEARISH>", "confidence": "<HIGH | MEDIUM | LOW>", "horizon": "<SHORT-TERM | MEDIUM-TERM | LONG-TERM>", "score": 0.0, "action": "<BUY | HOLD | SELL>", "conviction": "<STRONG | MODERATE | WEAK>", "retrieval": "<pasted by user | web/tool retrieval | model memory>", "sources": ["<each primary source, dated>"]}
╔══════════════════════════════════════════════╗
║ INVESTMENT SIGNAL ║
╠══════════════════════════════════════════════╣
║ Signal: BULLISH / NEUTRAL / BEARISH ║
║ Confidence: HIGH / MEDIUM / LOW ║
║ Horizon: SHORT / MEDIUM / LONG-TERM ║
║ Score: X.X / 10 ║
╠══════════════════════════════════════════════╣
║ Action: BUY / HOLD / SELL ║
║ Conviction: STRONG / MODERATE / WEAK ║
╚══════════════════════════════════════════════╝
Score Guide: 8.0–10.0 Strongly Bullish | 6.0–7.9 Moderately Bullish | 4.0–5.9 Neutral | 2.0–3.9 Moderately Bearish | 0.0–1.9 Strongly Bearish Confidence: HIGH (strong data, clear signals) | MEDIUM (mixed signals) | LOW (limited data, conflicting signals) Horizon: SHORT-TERM (1 week–3 months) | MEDIUM-TERM (3 months–1 year) | LONG-TERM (1+ years)
Note: The Score above is the Ladder Suitability Score, mapped onto the standard scale for cross-skill comparability. It rates how appropriate staged accumulation is right now — not how attractive the stock is. Pair it with /stock-eval for the directional view.
Disclaimer: Educational analysis only. Not financial advice. All price levels and share counts are scenario models under stated assumptions, not trade instructions.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
position-ladder, cost-basis, staged-entry, wash-sale, lot-accounting
npx claudepluginhub yennanliu/investskill --plugin us-stock-analysis39 skills in this plugin
/10k-digest10-K Report DigestDeep-read a 10-K annual report and output a structured markdown digest — abstract, section summaries, key metrics, and sourced references. Output in English or Traditional Chinese. For an investment call on the filing (statement quality, red flags, a signal), use financial-report-analyst/basket-reportBasket ReportRun a 2–5 stock basket as one linked deliverable — a hub page that states the question and argues the pick, one report per ticker, all from a single shared as-of snapshot; orchestrates compare, full-report and industry-map, with stock-screener first to shortlist a longer list/Other plugins' skills for the same job