本文へ移動
cccskills
無料GitHub で公開

long-short-construction

Long short portfolio construction, market neutral positioning, factor-balanced book, gross and net exposure management, pair selection, beta hedging, portfolio construction methodology

インストール方法を見る

含まれるファイル(4)

  • SKILL.md8.5 KB
  • references/construction-methodology.md10.0 KB
  • references/modes.md729 B
  • references/wsp-methodology.md8.8 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Methodology fused from institutional portfolio-construction and buy-side long/short frameworks; all text is an original paraphrase.

Defaults

ParameterDefault ValueRationale
lookback_quarters4Standard window for beta and correlation estimation
gross_exposure_target150%Mid-range of the 130-200% institutional band
net_exposure_band-20% to +60%Defines strategy identity; outside this is style drift
beta_net_deviation_max15ppGap between raw and beta-adjusted net above which the hedge is mis-specified
max_long_position5%Standard conviction sizing
max_short_position3%Halved for unbounded loss and adverse position drift
max_days_to_cover5Squeeze avoidance on any single short

Preflight

Run canonical pre-flight per contracts/preflight.md. Include the X-Agentii-Trace header on every tool call per contracts/x-agentii-trace-header.md — carry the _run_id from your first tool result and name yourself (and your parent, if you were spawned).

Data Source Priority

  1. Construction methodology — references/construction-methodology.md (bundled exposure framework)
  2. Strategy frameworks — search_investment_strategies(domain=fundamental, kind=position_sizing)
  3. Historical analogues — search_by_analogue(market_regime=...) for regime-specific exposure precedent
  4. Market data — ~~market_data placeholder for beta estimation and borrow/short-interest inputs

Methodology

Retrieval Scope

structured_only

Retrieval Strategy

Ownership & insider signals: search_institutional_holdings (top-10 holders + whale portfolios, direction=accumulating|reducing|new|exited) and search_insider_trades (Form-4 transactions with SEC URLs) are available as signal inputs.

Branch (a) Structured Data Query from contracts/retrieval.md. Retrieve construction frameworks via search_investment_strategies; retrieve regime precedent via search_by_analogue. Detailed methodology in references/construction-methodology.md.

Temporal Scope

See frontmatter temporal_scope block.

Tool Allowlist

See frontmatter allowed_tools.

Protocol

Gross and net exposure are two independent dials. Gross sets how much stock-specific opportunity the book harvests; net sets how much of the return is simply the market. Raising gross while holding net constant is the defining move of long/short construction — it is what separates the strategy from levered long-only. Full derivations, attribution worked examples, and book-level limit tables are in references/construction-methodology.md.

Foundational principle: return tracks net exposure, not gross. Adding equal-beta shorts to a long book halves the return without improving selection. A short book that exists only to damp beta is a pure drag — shorts must earn their own alpha, or index-level hedging is the cheaper and more honest instrument.

Steps

  1. Exposure Inventory: Compute long %, short %, gross (L+S), and raw net (L−S) against NAV. Record the starting point before any proposed change.

  2. Beta-Adjusted Net (the decision-grade measure): Compute (Long% x weighted long beta) - (Short% x weighted short beta). Raw net silently assumes both sides share market sensitivity. High-beta growth longs hedged with defensive low-beta shorts can carry more directional risk than raw net implies. If raw and beta-adjusted net diverge by more than beta_net_deviation_max, the hedge is mis-specified — re-select or re-size the short side rather than reporting raw net.

  3. Risk Decomposition: Confirm the book's residual is idiosyncratic. Market components offset across paired exposure, leaving long-side plus short-side company/industry risk. Note the failure mode explicitly: with beta removed there is no tailwind to carry weak selection.

  4. Short-Side Classification: Separate alpha shorts (held to earn a return on their own thesis) from index shorts (held to damp beta). These are not interchangeable — using alpha shorts as a beta hedge pays the analytical cost of the former for the return profile of the latter. Screen every alpha short against the seven structural constraints (market long bias, unbounded loss, timing, borrow availability, short interest and days-to-cover, volatility asymmetry, sizing).

  5. Position Drift Check: Short weights move adversely by construction — a losing short grows into the book while a losing long shrinks out of it. Schedule re-sizing rather than relying on stops alone. Flag any short exceeding max_short_position or max_days_to_cover.

  6. Pair Integrity (when expressing an explicit pair): same primary risk factor on both legs; beta-match rather than dollar-match; each leg must clear the research bar independently; name the divergence catalyst and its date range; size for the decoupled case, since correlated legs decouple precisely under the stress the pair was built to survive.

  7. Sensitivity Grid: Publish fund return across a −20% to +20% market range. The slope of the row is net exposure; the intercept is alpha. Diagnose both separately — a book can post a good return while its intercept is zero and its slope is merely large.

  8. Limit Reconciliation: Check gross, net band, sector net, and per-position sizes against Defaults. Recompute all three exposure measures after every position change; the two dials stay independent only if measured continuously, otherwise a series of individually reasonable trades silently converts a hedged book into a levered directional one.

  9. Output: Report both exposure measures, the attribution split (beta contribution vs alpha contribution per side), the sensitivity grid, and every limit breach.

Output File

{ticker}/{YYYY-MM-DD_HHMM}_long-short-construction_{affix}.md

Output Structure

  1. Executive Summary — current gross/net/beta-adjusted net and whether the book sits within its mandate band
  2. Exposure Table — long %, short %, gross, raw net, beta-adjusted net, with weighted betas per side
  3. Attribution Split — beta contribution vs alpha contribution for the long and short books separately
  4. Short-Side Review — alpha vs index classification, seven-constraint screen, days-to-cover and borrow status
  5. Pair Detail — per-pair legs, beta match, divergence catalyst and expected window
  6. Sensitivity Grid — fund return across −20% to +20% market range, with slope (net) and intercept (alpha) called out
  7. Limit Reconciliation — every Defaults threshold with pass/breach status
  8. Historical Analogues — regime-matched exposure precedent with /v/ citations
  9. Coverage Gaps — missing betas, unavailable borrow data, degraded-mode flags

Error Handling

ErrorFallback
No beta data for a holdingUse sector-median beta; flag the substitution and widen the reported beta-adjusted net as a range
Borrow / short-interest data unavailableReport the short as unverified for squeeze risk; do not clear it against max_days_to_cover
search_investment_strategies unreachableProceed with references/construction-methodology.md; annotate coverage_gap
search_by_analogue returns emptyContinue without regime precedent; flag reduced confidence on the exposure band

Memory Load

See contracts/memory-load.md.

Snapshot

See contracts/snapshot-synthesis.md.

Final Summary (TUI)

Include ### Key Citations block with 0-10 clickable /v/ URLs.

References

  • references/construction-methodology.md
  • contracts/citation-and-memory.md
  • contracts/retrieval.md
  • contracts/output-frontmatter-schema.md
  • contracts/memory-load.md
  • contracts/snapshot-synthesis.md
  • contracts/preflight.md

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

3-statement financial model, integrated IS BS CF, income statement projection, balance sheet forecast, cash flow statement, cross-statement balancing, financial model build, operating model, three statement model, integrated financial statements

日本語の概要は準備中です。原文の説明を表示しています。

agentii-ai/agentii-investment-intelligence2072026年9月29日 更新

Institutional-grade equity research skills for AI agents. 80 Claude-type skills across 14 verticals (equity-research-core, models-and-pitches, bio-pharm, scenarios, quantitative-analysis, idea-generation, options-derivatives, business-intelligence, industry-analysis, macro-strategy, portfolio-strategy, technical-analysis, risk-and-psychology, trading-as-business) powered by agentii.ai's agent-use-ready SEC filing data plane — SEC filings and 15K+ earnings call transcripts, 15.99M XBRL facts, and company profiles for 1,146+ US-public-equity tickers. Features the three-layer retrieval protocol (Document Discovery → Page Map → Deep Read, with deep-outline escalation) — measured, not asserted: 97.5% saved against a sequential read, and the page map itself is 10.0% of one (spec 062 T030, 2026-09-23) — server-side parallel multi-period search via search_cross_period, a full Excel/PPT generation pipeline with 3-tier office backend support, and the spec-046 governance layer (constitution, thesis and single-skill modes, mechanical gates, and a template-owned disclaimer on generated reports).

日本語の概要は準備中です。原文の説明を表示しています。

agentii-ai/agentii-investment-intelligence2072026年9月29日 更新

audit-xls

無料

Audit spreadsheet, formula error detection, hardcoded cell finder, cross-sheet reference audit, workbook auditor, Excel model audit, financial model QA, spreadsheet review, cell dependency trace, formula integrity check

日本語の概要は準備中です。原文の説明を表示しています。

agentii-ai/agentii-investment-intelligence2072026年9月29日 更新

Business model classification, business model analysis, structural analysis of how a company makes money, product offering decomposition, distribution channel analysis, customer segment analysis, revenue model identification, market sizing TAM SAM SOM, competitive positioning, business unit performance, management team & leadership analysis, what does the company sell, how does the company go to market, business model type platform service product, channel mix direct vs indirect, revenue concentration risk, CEO CFO executive backgrounds and changes

日本語の概要は準備中です。原文の説明を表示しています。

agentii-ai/agentii-investment-intelligence2072026年9月29日 更新

challenge

無料

Adversarial verification of research theses — cross-run/cross-thesis contradiction via the entity index, pre-mortem (Klarman/Kahneman: assume the loss already happened, reverse the path), inversion (Munger: invert, always invert), and wrong_if falsifiability review. ≈50-finding cap sorted by severity; content-derived finding IDs; incremental scoping with three backstops; lifecycle hooks at pillar-complete / thesis-complete / pre-reduction.

日本語の概要は準備中です。原文の説明を表示しています。

agentii-ai/agentii-investment-intelligence2072026年9月29日 更新

Chart pattern recognition, price action patterns, candlestick signal bars, pullback bar counting H1/H2/H3/H4, trend channels, micro channels, trading ranges, breakouts, major trend reversals 5-step sequence, wedges, double tops and bottoms, triangles, head and shoulders, climaxes, measured moves, support and resistance

日本語の概要は準備中です。原文の説明を表示しています。

agentii-ai/agentii-investment-intelligence2072026年9月29日 更新

agentii-ai のスキルをすべて見る

このスキルの問題を報告する