company-analyzer
投資判断や競合分析、AI技術の優位性評価など、上場企業を様々な視点から分析し、投資戦略の立案を支援するSkill。
📜 元の英語説明(参考)
Investment research and company analysis using 8 specialized frameworks. Use when the user wants to analyze a public company for investment purposes, research competitive positioning, evaluate AI moats, assess business models, or generate investment theses. Trigger on commands like "/analyze", requests to analyze tickers like "AAPL", "analyze company X", or any investment research queries.
🇯🇵 日本人クリエイター向け解説
投資判断や競合分析、AI技術の優位性評価など、上場企業を様々な視点から分析し、投資戦略の立案を支援するSkill。
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o company-analyzer.zip https://jpskill.com/download/8330.zip && unzip -o company-analyzer.zip && rm company-analyzer.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/8330.zip -OutFile "$d\company-analyzer.zip"; Expand-Archive "$d\company-analyzer.zip" -DestinationPath $d -Force; ri "$d\company-analyzer.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
company-analyzer.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
company-analyzerフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
CRITICAL: 実行方法
フルパイプライン (8つのフレームワーク全て + 合成): ユーザーが "<TICKER> を分析" または "フル分析を実行" と尋ねた場合 (「のみ」というステップ指定がない場合):
cd skills/company-analyzer && ./scripts/analyze-pipeline.sh <TICKER> --live
単一ステップのみ (例: "02-metrics のみ" または "01-phase のみ生成"): --live は使用しないでください。以下を実行します:
cd skills/company-analyzer && ./scripts/run-single-step.sh <TICKER> <FW_ID>
例: KVYO の 02-metrics のみ → ./scripts/run-single-step.sh KVYO 02-metrics。スクリプト完了後、assets/outputs/<TICKER>_<FW_ID>.md に出力が表示されます。スクリプト実行前にそのファイルを読まないでください。
サブエージェントを生成しないでください。sessions_spawn を使用しないでください。直接スクリプト実行のみ。
Company Analyzer
レスポンスキャッシュとコスト管理を備えた8つの専門的な分析フレームワークを使用して、公開企業に対する包括的な投資調査を実行します。
クイックコマンド
ユーザーが /analyze <TICKER> と入力した場合、以下を実行します:
cd skills/company-analyzer && ./scripts/analyze.sh <TICKER> --live
ドライラン (コストなし) の場合:
cd skills/company-analyzer && ./scripts/analyze.sh <TICKER>
特徴
| 特徴 | 利点 |
|---|---|
| 並列実行 | 8つのフレームワークが同時に実行されます (~4-6秒 vs ~20秒の逐次実行) |
| レスポンスキャッシュ | 同じティッカーを再分析するとキャッシュを使用 = ~50-80% のコスト削減 |
| コスト追跡 | 可視化のために支出をログに記録 (強制的な制限はありません) |
| Alpha Vantage | OpenClaw 認証プロファイルで設定されている場合、価格データ (P/E、時価総額) を取得 |
| リトライロジック | API エラー時に指数バックオフで3回リトライ |
フレームワーク
| # | 名前 | 焦点 |
|---|---|---|
| 1 | Phase Classification | スタートアップ/成長/成熟/衰退 |
| 2 | Key Metrics Scorecard | 財務健全性ダッシュボード |
| 3 | AI Moat Viability | AIネイティブの競争優位性 |
| 4 | Strategic Moat | 競争の持続性分析 |
| 5 | Price & Sentiment | バリュエーション + 市場センチメント |
| 6 | Growth Drivers | 新規 vs 既存顧客の構成 |
| 7 | Business Model | ユニットエコノミクス & デリバリー |
| 8 | Risk Analysis | 主要な脅威 & シナリオ |
使い方
フル分析 (Telegram/コマンド経由)
ユーザーが入力: /analyze AAPL
実行: cd skills/company-analyzer && ./scripts/analyze-pipeline.sh AAPL --live
8つのフレームワーク全てを並行して実行します。コスト: ~$0.03 (またはキャッシュされている場合は $0)。
データ取得
分析の前に、企業データを取得します:
cd skills/company-analyzer && ./scripts/fetch_data.sh AAPL
これにより、以下が取得されます:
- SEC EDGAR からの財務指標
- Alpha Vantage からの価格データ (APIキーが設定されている場合)
1つのフレームワークのみを実行 (パイプラインなし、合成なし)
ユーザーが "02-metrics のみ" または "01-phase のみ生成" を要求した場合、単一のステップを実行します。ここでは --live を使用しないでください (このフラグはフルパイプライン専用です)。
cd skills/company-analyzer && ./scripts/run-single-step.sh <TICKER> <FW_ID>
例:
- 02-metrics のみ:
./scripts/run-single-step.sh KVYO 02-metrics - 01-phase のみ:
./scripts/run-single-step.sh KVYO 01-phase
有効な FW_ID の値: 01-phase, 02-metrics, 03-ai-moat, 04-strategic-moat, 05-sentiment, 06-growth, 07-business, 08-risk。
出力は assets/outputs/<TICKER>_<FW_ID>.md (例: KVYO_02-metrics.md) に書き込まれます。スクリプトが完了するまで、そのファイルを読まないでください。ティッカーには Klaviyo の KVYO を使用してください (KYVO ではありません)。
アーキテクチャ
スクリプト
analyze-parallel.sh- メインオーケストレーター (並列実行)run-framework.sh- キャッシュを備えた単一フレームワークランナー。必要な終了マーカーの出力を検証します (切り捨てられたレスポンスはキャッシュしません。新しいレスポンスを取得するためにステップを再実行します)fetch_data.sh- データ取得 (SEC + Alpha Vantage)lib/cache.sh- レスポンスキャッシュユーティリティlib/cost-tracker.sh- 予算管理lib/api-client.sh- LLM API クライアント (OpenClaw で構成されたモデルと認証)。一時的なエラーに対するリトライロジック
切り捨て処理
- 各フレームワークのレスポンス後、スクリプトは必要な終了マーカー (例: 01-phase:
Avoid:, 02-metrics:SUMMARY:) をチェックします。見つからない場合、出力は保存されますがキャッシュされず、ステップはコード 1 で終了します。 - 診断: 切り捨てが発生した場合、トレースログは
finishReason、出力トークン数、および制限を記録します。stderr は原因を説明します:- MAX_TOKENS → レスポンスがトークン制限に達しました。そのフレームワークの制限を増やすか、プロンプトを短くしてください。
- STOP → モデルが途中で停止しました。プロンプトには、より強力な "[終了マーカー] まで完了する必要がある" という指示が必要な場合があります (例: 01-phase を参照)。
- 新しいレスポンスを取得するには、そのステップ (またはフルパイプライン) を再実行します。
キャッシュ
- 場所:
skills/company-analyzer/.cache/llm-responses/(スキルディレクトリ)。スキルディレクトリが読み取り専用の場合は、~/.openclaw/cache/company-analyzer/llm-responses/にフォールバックします。 - TTL: 7日間
- キー:
TICKER_FWID_PROMPT_HASH - キャッシュされたレスポンスには以下が表示されます:
💰 framework: $0.0000 (cached)
コスト追跡 (強制的な制限なし)
- コストは可視化のためにログに記録されます
- 支出制限は強制されません
- 必要に応じて何度でも分析を実行できます
構成
Alpha Vantage (FCF、revenue_q_yoy のフォールバック)
Yahoo/SEC が fcf または revenue_q_yoy を N/A のままにした場合、fetch_data.sh は Alpha Vantage が構成されている場合に使用します。Alpha Vantage プロファイルを OpenClaw 認証プロファイルに追加します (例: キーを持つ alpha-vantage:default)。
{
"profiles": {
"alpha-vantage:default": {
"key": "YOUR_API_KEY"
}
}
}
使用: INCOME_STATEMENT (YoY の四半期収益)、CASH_FLOW (FCF)。無料ティア: 1日あたり 25 API 呼び出し。スクリプトはティッカーあたり最大 2 回の呼び出しを使用し、2 秒の遅延があります。
LLM / API
モデルと API キーは、OpenClaw 構成 (プライマリモデルと {provider}:default 認証プロファイル) から読み取られます。ハードコードされたプロバイダーまたはキーはありません。コスト追跡のために、モデルの価格を scripts/lib/prices.json に追加します。
出力
すべての分析は assets/outputs/ に保存されます:
TICKER_01-phase.mdからTICKER_08-risk.mdまで
(コスト効率のために合成フェーズは削除されました)
パフォーマンス
| モード | 時間 | コスト |
|---|
(原文はここで切り詰められています)
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
CRITICAL: Execution Method
Full pipeline (all 8 frameworks + synthesis): when user asks to "analyze <TICKER>" or "run full analysis" (no "only" one step):
cd skills/company-analyzer && ./scripts/analyze-pipeline.sh <TICKER> --live
Single step only (e.g. "only 02-metrics" or "only produce 01-phase"): do NOT use --live. Run:
cd skills/company-analyzer && ./scripts/run-single-step.sh <TICKER> <FW_ID>
Example: only 02-metrics for KVYO → ./scripts/run-single-step.sh KVYO 02-metrics. Output appears at assets/outputs/<TICKER>_<FW_ID>.md after the script completes. Do not read that file before running the script.
DO NOT spawn subagents. DO NOT use sessions_spawn. Direct script execution only.
Company Analyzer
Perform comprehensive investment research on public companies using 8 specialized analysis frameworks with response caching and cost controls.
Quick Commands
When user types /analyze <TICKER>, execute:
cd skills/company-analyzer && ./scripts/analyze.sh <TICKER> --live
For dry run (no cost):
cd skills/company-analyzer && ./scripts/analyze.sh <TICKER>
Features
| Feature | Benefit |
|---|---|
| Parallel Execution | 8 frameworks run simultaneously (~4-6s vs ~20s sequential) |
| Response Caching | Re-analyzing same ticker uses cache = ~50-80% cost savings |
| Cost Tracking | Logs spending for visibility (no enforced limits) |
| Alpha Vantage | Price data (P/E, market cap) when configured in OpenClaw auth profiles |
| Retry Logic | 3 retries with exponential backoff on API failures |
Frameworks
| # | Name | Focus |
|---|---|---|
| 1 | Phase Classification | Startup/Growth/Maturity/Decline |
| 2 | Key Metrics Scorecard | Financial health dashboard |
| 3 | AI Moat Viability | AI-native competitive advantage |
| 4 | Strategic Moat | Competitive durability analysis |
| 5 | Price & Sentiment | Valuation + market sentiment |
| 6 | Growth Drivers | New vs existing customer mix |
| 7 | Business Model | Unit economics & delivery |
| 8 | Risk Analysis | Key threats & scenarios |
Usage
Full Analysis (via Telegram/command)
User types: /analyze AAPL
You execute: cd skills/company-analyzer && ./scripts/analyze-pipeline.sh AAPL --live
Runs all 8 frameworks in parallel. Cost: ~$0.03 (or $0 if cached).
Data Fetching
Before analysis, fetch company data:
cd skills/company-analyzer && ./scripts/fetch_data.sh AAPL
This pulls:
- Financial metrics from SEC EDGAR
- Price data from Alpha Vantage (if API key configured)
Run only one framework (no pipeline, no synthesis)
When the user asks for "only 02-metrics" or "only produce 01-phase", run a single step. Do not use --live here (that flag is only for the full pipeline).
cd skills/company-analyzer && ./scripts/run-single-step.sh <TICKER> <FW_ID>
Examples:
- Only 02-metrics:
./scripts/run-single-step.sh KVYO 02-metrics - Only 01-phase:
./scripts/run-single-step.sh KVYO 01-phase
Valid FW_ID values: 01-phase, 02-metrics, 03-ai-moat, 04-strategic-moat, 05-sentiment, 06-growth, 07-business, 08-risk.
Output is written to assets/outputs/<TICKER>_<FW_ID>.md (e.g. KVYO_02-metrics.md). Wait for the script to finish before reading that file. Use ticker KVYO for Klaviyo (not KYVO).
Architecture
Scripts
analyze-parallel.sh- Main orchestrator (parallel execution)run-framework.sh- Single framework runner with caching; validates output for required end-markers (does not cache truncated responses; re-run step to get a fresh response)fetch_data.sh- Data acquisition (SEC + Alpha Vantage)lib/cache.sh- Response caching utilitieslib/cost-tracker.sh- Budget managementlib/api-client.sh- LLM API client (OpenClaw-configured model and auth); retry logic for transient errors
Truncation handling
- After each framework response, the script checks for a required end-marker (e.g. 01-phase:
Avoid:, 02-metrics:SUMMARY:). If missing, the output is still saved but not cached, and the step exits with code 1. - Diagnostics: On truncation, the trace logs
finishReason, output token count, and limit; stderr explains the cause:- MAX_TOKENS → Response hit the token limit; increase that framework’s limit or shorten the prompt.
- STOP → Model stopped early; the prompt may need a stronger “must complete through [end-marker]” instruction (see 01-phase for an example).
- Re-run that step (or the full pipeline) to get a fresh response.
Caching
- Location:
skills/company-analyzer/.cache/llm-responses/(skill dir); falls back to~/.openclaw/cache/company-analyzer/llm-responses/if skill dir is read-only - TTL: 7 days
- Key:
TICKER_FWID_PROMPT_HASH - Cached responses show:
💰 framework: $0.0000 (cached)
Cost Tracking (No enforced limits)
- Costs are logged for visibility
- No spending limit enforced
- Run as many analyses as needed
Configuration
Alpha Vantage (fallback for FCF, revenue_q_yoy)
When Yahoo/SEC leave fcf or revenue_q_yoy as N/A, fetch_data.sh uses Alpha Vantage if configured. Add the Alpha Vantage profile to OpenClaw auth profiles (e.g. alpha-vantage:default with your key).
{
"profiles": {
"alpha-vantage:default": {
"key": "YOUR_API_KEY"
}
}
}
Uses: INCOME_STATEMENT (quarterly revenue for YoY), CASH_FLOW (FCF). Free tier: 25 API calls/day; script uses up to 2 calls per ticker with 2s delay between.
LLM / API
Model and API key are read from OpenClaw config (primary model and {provider}:default auth profile). No hardcoded provider or keys. Add your model's pricing to scripts/lib/prices.json for cost tracking.
Output
All analyses saved to assets/outputs/:
TICKER_01-phase.mdthroughTICKER_08-risk.md
(Synthesis phase removed for cost efficiency)
Performance
| Mode | Time | Cost |
|---|---|---|
| Sequential (old) | ~20s | $0.04 |
| Parallel (8 frameworks, unlimited) | ~4s | ~$0.045 |
| Configured LLM | ~5–20s | Depends on model and pricing |
| Cached | ~1s | $0.00 |
Cost tracking:
- No reasoning overhead - all tokens go to content
- Built-in rate limiting from OpenClaw config. Cost per analysis depends on your LLM; add rates to
scripts/lib/prices.json.
Troubleshooting
"Alpha Vantage rate limit":
- Free tier = 25 calls/day
- Price data falls back to N/A, analysis continues with SEC data only
"API key has run out of credits" / "insufficient balance" / rate limit:
- Caused by billing or rate limits on your configured LLM provider. The pipeline uses a 45s cooldown between steps to reduce spikes.
- Fix: Top up or switch the API key in OpenClaw auth profiles for your provider. Avoid running many analyses back-to-back; space runs by at least a few minutes.
"Analysis failed (code 1)" / Heartbeat alert after 01-phase or 02-metrics:
- Often HTTP 503 (Service Unavailable) or billing/quota (402, 403). The pipeline continues after a failed step and still builds a partial report.
- Fix: For 503, re-run later. For billing, top up or switch key (see above). Run from the skill directory:
cd skills/company-analyzer && ./scripts/analyze-pipeline.sh <TICKER> --live.
Framework failures:
- Failed steps are listed at the end; partial outputs remain in
assets/outputs/. Checkassets/traces/<TICKER>_<date>.tracefor which step failed and why.