dot_claude/skills/equity-decision/SKILL.md
Generate a 1-page purchase memo for a US or JP individual stock (ETF support in v1.1). Walks 5 phases — business, fundamentals, valuation, risks, verdict — and ends with deep-dive options. Use when (1) the user asks "should I buy <TICKER>?", (2) the user wants a fundamental review of a specific company, (3) the user pastes a 10-K / 有報 / IR URL and asks for an analysis. Skip for ETF / index / dividend-focused questions in v1.
npx skillsauth add paveg/dots equity-decisionInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
equity-decision skillProduces a structured purchase memo for an individual stock (US or JP). Adapted from anthropics/financial-services (Apache 2.0); modified for retail use without paid data sources.
⚠️ Not investment advice. Outputs are research summaries based on public filings and market data. Verify numbers against primary sources; the final decision is the user's.
| Form | Example | Routing |
|---|---|---|
| US ticker | NVDA, AAPL | ^[A-Z]{1,5}$ → EDGAR + Yahoo Finance |
| JP code | 7203, 9984 | ^\d{4}$ → EDINET + Yahoo Finance (Japan) |
| URL | https://www.sec.gov/.../10-K.htm | Read page; infer symbol; route per above |
| Mixed | NVDA "DC growth slowing" | Use the extra string as a hypothesis to test in Phase 5 |
| Flag | --ja 9434 | Force JP routing for ambiguous 4-digit |
| Flag | --no-cache NVDA | Skip 24h cache, refetch |
A single markdown memo of 100–200 lines, matching references/equity-workflow.md exactly. After the memo, always append:
深掘りする?
1. valuation を変数いじって再計算 (WACC / terminal / 売上 CAGR)
2. risks #N をフィリングから根拠引用つきで再構成
3. 競合 X 社との指標横並び比較
4. 直近 3 四半期の earnings call 言及トピック差分
5. KPI モニタを 5 つに絞り込む
references/equity-workflow.md to load the 5-phase template.scripts/ (Phase B+ only). For Phase A: ask the user for numbers, or have them paste a 10-K URL.references/dcf-rubric.md, references/growth-stock-checks.md, references/risk-taxonomy.md.references/order-execution.md and produce a rule-based buy plan (指値 / 期限 / 株数 / 余力% / 撤退), grounded on the Phase 3 fair-value bands and Phase 5 invalidation KPIs.Run these from ~/.claude/skills/equity-decision/scripts/ via uv run:
| When | Command | Returns |
|---|---|---|
| US ticker → price + multiples | uv run scripts/fetch_yahoo.py NVDA | quote, PE/PSR, market cap, TTM revenue/FCF |
| US ticker → recent filings | uv run scripts/fetch_edgar.py NVDA | latest 10-K, 10-Q, 5 × 8-K (with URLs) |
| JP ticker → price + multiples | uv run scripts/fetch_yahoo.py 7203 | same shape, auto .T suffix |
| JP code → EDINET filings | uv run scripts/fetch_edinet.py 7203 | latest 有報 + 半期報告書 (with URLs) |
| JP 有報本文 → 訴訟・監査 | uv run scripts/fetch_edinet.py --sections {docID} | sections.audit(監査の状況本文)+ sections.litigation.matches(訴訟/係争/損害賠償スニペット) |
Each script outputs JSON to stdout. On failure, exit code is non-zero and stderr contains 数字取得失敗: ... — propagate that text into the memo, do not invent numbers.
fetch_edinet.py needs a Subscription-Key. Set EDINET_SUBSCRIPTION_KEY, or store it in 1Password at op://Personal/EDINET/credential (override path via EDINET_OP_REF).
EDINET が通る場合: まず
fetch_edinet.py {code}で有報 docID を取得し、続けてfetch_edinet.py --sections {docID}で Phase 4 の ⚖️訴訟・📚監査 を一次情報から埋める(Phase 4 の手動補完は不要)。
EDINET API is occasionally down, key activation can be delayed, and the portal has had outages. When fetch_edinet.py exits non-zero for a JP ticker:
fetch_yahoo.py {code} only (it auto-suffixes .T and covers price + PE/PSR + market cap + TTM revenue / operating income / FCF).数字取得失敗 — EDINET unavailable. Paste 有報 / 短信 URL to enable. Then ask the user: 「有報か短信の URL があれば貼ってください。なければこのまま Yahoo の数字で進めます」This keeps JP coverage usable even when EDINET is offline.
references/dcf-rubric.md guardrails or explicitly flagged.fetch_yahoo.py is reliable for price / marketCap / PER (when profitable) / PSR / beta, but the following are frequently wrong — cross-check against IR BANK / 決算短信 actuals and state which you adopted:
operatingIncome_ttm (JP) is often off by a large margin (wrong period, non-consolidated, or stale). Always prefer the company's disclosed 営業利益 (IR BANK /results, 決算短信). If Yahoo and the filing diverge, adopt the filing and note "Yahoo営業益は不採用".* and read off forward/core earnings instead.revenue_ttm can be understated/lagged for some JP tickers, which then distorts PSR. If revenue conflicts with the latest 通期 actual, recompute PSR on the filing revenue and flag it (※)..O/foreign quote is returned instead of .T, the quote is suspect — verify via 日経 / IR BANK before using.This skill produces research summaries, not investment advice. Verify all numbers against primary filings before acting.
development
Iteratively improve agent-facing text instructions (skills, slash commands, task prompts, CLAUDE.md sections, code-generation prompts) by having a bias-free executor run them and evaluating from both sides (executor self-report + caller-side metrics). Repeat until improvement plateaus. Use immediately after creating or significantly revising a skill/prompt, or when unexpected agent behavior is suspected to stem from ambiguous instructions.
development
UI design quality standards and principles for frontend implementation and code review. Use when (1) implementing UI from design specs or mockups, (2) reviewing frontend/UI code, (3) creating new UI components, (4) building user interfaces for web or mobile apps. Complements frontend-design skills with quality enforcement.
development
Pre-submission review for iOS App Store. Scans the codebase for common rejection reasons and generates a pass/fail report with fixes. Use this skill when the user mentions App Store submission, review, release, 審査, 提出, or phrases like "ready to submit", "before submitting to Apple", "submission review", "rejection check". Also trigger when the user is preparing a TestFlight build for external review or discussing App Store rejection issues. Supports Swift/SwiftUI, UIKit, and React Native projects with Apple IAP and RevenueCat.
data-ai
Delegate an interrupt task to a background agent in an isolated worktree. The main session continues uninterrupted. The agent implements, commits, pushes, and creates a PR. Use when a quick fix or small task needs to happen without losing current context.