{"slug":"peer-bench-med","title":"peer-bench-med","summary":"Med peer benchmarking: select actual biotech/pharma peers via the med universe (drug/indication overlap where possible) and compare med-relevant metrics — pipeline depth, catalyst density, cash position, margins, valuation multiples.","platform":"Claude","tags":[],"authorName":"LLM Mart","authorSlug":"llm-mart","score":0,"source":"github","price":null,"verified":false,"createdAt":"2026-09-15T18:28:52.522233Z","repo":{"url":"https://github.com/agentii-ai/agentii-investment-intelligence","stars":203,"forks":16,"license":"Apache-2.0","updatedAt":"2026-09-21T11:07:34Z"},"bodyHtml":"<hr>\n<p>name: peer-bench-med\ndescription: \"Med peer benchmarking: select actual biotech/pharma peers via the med universe (drug/indication overlap where possible) and compare med-relevant metrics — pipeline depth, catalyst density, cash position, margins, valuation multiples.\"\nsectors: [med.medicines_biotech, med.medical_devices]\nmulti_ticker_semantics: basket_v1_1\ntemporal_scope:\ndefault_quarters: 4\nmax_quarters: 12\ndescription: \"Benchmark window default 4 quarters; up to 12 for multi-year pipeline comparisons.\"\nallowed_tools:</p>\n<ul>\n<li>search_companies</li>\n<li>get_company_profile</li>\n<li>search_xbrl_facts</li>\n<li>get_financial_ratios</li>\n<li>get_peer_comparison</li>\n<li>get_company_drugs</li>\n<li>search_drugs_by_target</li>\n<li>search_drugs_by_indication</li>\n<li>search_investment_cases</li>\n<li>get_investment_case</li>\n<li>search_investment_strategies</li>\n<li>get_investment_strategy</li>\n<li>search_by_analogue</li>\n<li>search_knowledge_entries</li>\n<li>get_knowledge_entry\nretrieval_scope: structured_only\nmin_tool_diversity: 3\nparameter_free: false</li>\n</ul>\n<hr>\n<blockquote>\n<p>Methodology inspired by publicly taught peer-comparison frameworks; all text is an original paraphrase.</p>\n</blockquote>\n<h2>Defaults</h2>\n<table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Default Value</th>\n<th>Rationale</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>peer_count</td>\n<td>4-6</td>\n<td>Comparable-set size standard for comps</td>\n</tr>\n<tr>\n<td>peer_logic</td>\n<td>indication/drug overlap first</td>\n<td>Med peers are defined by science, not SIC codes</td>\n</tr>\n<tr>\n<td>include_med_metrics</td>\n<td>true</td>\n<td>Pipeline depth, catalyst density, cash runway</td>\n</tr>\n</tbody>\n</table>\n<h2>Preflight</h2>\n<p>Run canonical pre-flight per <code>contracts/preflight.md</code>. Propagate X-Agentii-Trace per <code>contracts/x-agentii-trace-header.md</code>.</p>\n<p>Never fabricate a peer metric when the data surface is absent — annotate <code>coverage_gap</code> instead (spec 055 FR-B02 discipline).</p>\n<h2>Triggers</h2>\n<ul>\n<li>\"Who are the closest peers to [biotech ticker]?\"</li>\n<li>\"Benchmark [ticker] against its biotech comp set.\"</li>\n<li>\"How does [ticker]'s valuation compare to peers?\"</li>\n<li>\"Which names compete with [ticker]'s pipeline?\"</li>\n<li>\"Build a peer table with pipeline depth and cash.\"</li>\n<li>\"Is [ticker] expensive relative to its med peers?\"</li>\n<li>\"Compare margins across the pharma peer group.\"</li>\n<li>\"What are the catalyst-dense names in this peer set?\"</li>\n<li>\"Peer analysis for [ticker] with indication overlap.\"</li>\n<li>\"Which peers have the strongest balance sheets?\"</li>\n<li>\"Which same-mechanism competitors matter for [ticker]'s pipeline?\"</li>\n</ul>\n<h2>Production Grounding</h2>\n<ul>\n<li>Med peers are science-defined: use <code>get_company_drugs</code> to find indication/therapy overlap before financial comparison.</li>\n<li>Launch-analog selection: for commercial-stage names, match same-class (mechanism/indication class) + same-channel (specialty/retail/hospital/device-rep/vaccine-procurement) analogs so launch trajectories compare like-for-like.</li>\n<li>Mechanism-overlap scoring: rank candidate peers by shared targets/indications via the drug-knowledge reverse lookups; where sources conflict, keep both values with provenance.</li>\n<li>Med-relevant metrics: pipeline assets by phase, catalyst density (PDUFA/AdCom/trial readouts), cash runway (quarters), R&amp;D productivity; generic margins only as secondary.</li>\n<li>Grounding frameworks: <code>references/knowledge-frameworks.md</code> (道/法 review knowledge + valuation lenses).</li>\n</ul>\n<h2>Data Source Priority</h2>\n<ol>\n<li><code>get_company_drugs</code> / <code>search_companies</code> — peer discovery by drug/indication overlap.</li>\n<li><code>search_drugs_by_target</code> / <code>search_drugs_by_indication</code> — mechanism competitor mapping + overlap scoring (054 silver reverse lookups).</li>\n<li><code>get_financial_ratios</code> / <code>search_xbrl_facts</code> — financial comparison data.</li>\n<li><code>get_peer_comparison</code> — platform pre-computed peer metrics.</li>\n<li>Knowledge layer: <code>search_investment_cases</code>/<code>search_by_analogue</code> for historical peer dynamics + launch analogs.</li>\n</ol>\n<h2>Methodology</h2>\n<h3>Retrieval Scope</h3>\n<p>structured_only</p>\n<h3>Retrieval Strategy</h3>\n<ol>\n<li>Resolve the target via <code>get_company_profile</code>; pull its drugs (<code>get_company_drugs</code>).</li>\n<li>Find peers by indication/therapy overlap + med industry membership (<code>search_companies</code>).</li>\n<li>Map mechanism competitors: <code>search_drugs_by_indication</code> / <code>search_drugs_by_target</code> per key indication/target; score peers by shared targets/indications (conflicting sources shown with provenance).</li>\n<li>Match launch analogs for commercial-stage names: same-class + same-channel; retrieve analog launch history via knowledge tools.</li>\n<li>Pull per-peer financials (<code>get_financial_ratios</code>) + valuation context.</li>\n<li>Ground with historical cases/analogues via knowledge tools.</li>\n</ol>\n<h3>Temporal Scope</h3>\n<p>See frontmatter temporal_scope block.</p>\n<h3>Tool Allowlist</h3>\n<p>See frontmatter allowed_tools.</p>\n<h3>Protocol</h3>\n<ol>\n<li>Target profile</li>\n<li>Science-based peer selection (indication/drug overlap)</li>\n<li>Mechanism-overlap scoring (reverse lookups)</li>\n<li>Launch-analog matching (same-class, same-channel)</li>\n<li>Med-metric comparison</li>\n<li>Valuation &amp; risk synthesis</li>\n</ol>\n<h2>Modes</h2>\n<ul>\n<li><strong>Science-based</strong> (default): indication/drug-overlap peers.</li>\n<li><strong>Launch-analog</strong> (commercial-stage): same-class, same-channel analog peers with launch-trajectory context.</li>\n<li><strong>Financial</strong>: margin/valuation peers within the same industry.</li>\n<li><strong>Catalyst</strong>: peers ranked by upcoming FDA events.</li>\n</ul>\n<h2>Tool Fallbacks</h2>\n<table>\n<thead>\n<tr>\n<th>Failure</th>\n<th>Fallback</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>get_company_drugs empty</td>\n<td>Fall back to industry peers via <code>search_companies</code>; annotate</td>\n</tr>\n<tr>\n<td>Reverse lookups empty</td>\n<td>Score overlap from <code>get_company_drugs</code> classes only; annotate mechanism mapping unavailable</td>\n</tr>\n<tr>\n<td>get_peer_comparison empty</td>\n<td>Build comparison manually from <code>get_financial_ratios</code></td>\n</tr>\n<tr>\n<td>Knowledge tools empty</td>\n<td>Proceed with structured data only</td>\n</tr>\n</tbody>\n</table>\n<h2>Output File</h2>\n<p><code>{ticker}/{YYYY-MM-DD_HHMM}_peer-bench-med_{affix}.md</code></p>\n<h2>Output Structure</h2>\n<ol>\n<li><strong>Executive Summary</strong> — relative standing in 2-3 sentences</li>\n<li><strong>Peer Selection</strong> — peers + selection logic (science overlap)</li>\n<li><strong>Mechanism Overlap</strong> — target/indication overlap matrix from reverse lookups, scored by shared mechanisms; conflicting source values shown with provenance</li>\n<li><strong>Launch-Analog Match</strong> — same-class, same-channel analogs (commercial-stage names)</li>\n<li><strong>Comparison Table</strong> — med metrics + financials + valuation</li>\n<li><strong>Historical Context</strong> — cases/analogues with /v/ citations</li>\n<li><strong>Risk Assessment</strong> — concentration/catalyst risks</li>\n<li><strong>Coverage Gaps</strong> — missing data flags</li>\n</ol>\n<h2>Error Handling</h2>\n<table>\n<thead>\n<tr>\n<th>Error</th>\n<th>Fallback</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>No indication overlap found</td>\n<td>Widen to same-industry peers; flag science-overlap unavailable</td>\n</tr>\n<tr>\n<td>Mechanism data missing</td>\n<td>Score from indication overlap only; flag reverse-lookup coverage gap</td>\n</tr>\n<tr>\n<td>Missing financials</td>\n<td>Mark N/A in table; do not fabricate</td>\n</tr>\n</tbody>\n</table>\n<h2>Memory Load</h2>\n<p>See <code>contracts/memory-load.md</code>.</p>\n<h2>Snapshot</h2>\n<p>See <code>contracts/snapshot-synthesis.md</code>.</p>\n<h2>Final Summary (TUI)</h2>\n<p>Include ### Key Citations block with 0-10 clickable /v/ URLs.</p>\n<h2>References</h2>\n<ul>\n<li><code>contracts/citation-and-memory.md</code></li>\n<li><code>contracts/output-frontmatter-schema.md</code></li>\n<li><code>contracts/memory-load.md</code></li>\n<li><code>contracts/snapshot-synthesis.md</code></li>\n<li><code>contracts/preflight.md</code></li>\n<li><code>references/knowledge-frameworks.md</code></li>\n</ul>\n","files":[{"path":"references/knowledge-frameworks.md","sizeBytes":2396,"isText":true},{"path":"references/modes.md","sizeBytes":1174,"isText":true},{"path":"SKILL.md","sizeBytes":6919,"isText":true}],"reviewScore":null,"reviewSummary":null,"trust":{"provenance":"trusted-source-unreviewed","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow.","bodySource":null},"bodyLocked":false,"purchaseUrl":null,"sourceUrl":null,"report":{"provenance":"trusted-source-unreviewed","screen":{"ran":true,"outcome":"clean","suspicious":0,"notes":0,"hiddenCharacters":false},"virusScan":{"engine":"clamav","status":"clean","scannedAt":"2026-09-15T18:30:05.76615Z","sha256":"6907D7C147FB0C2DCBF8F7729AB41444DF647ED15F3FE0C0457C0AEA05402B98","sizeBytes":4761},"review":null,"source":{"repositoryUrl":"https://github.com/agentii-ai/agentii-investment-intelligence","path":"plugins/vertical-plugins/bio-pharm/skills/agentii/peer-bench-med","license":"Apache-2.0","commit":"1a2d679a82960cb0033b30da7fc895b2674337a3","subtreeSha":"5A52407A17A6755B7869B46D0360A274B312CD6510CA010BF9B59D35DD63F69C","lastSyncedAt":"2026-09-21T13:50:39.960822Z"},"reviewedAt":"2026-09-15T18:40:52.388328Z","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow."},"install":[{"target":"skills-cli","command":"npx skills add https://github.com/agentii-ai/agentii-investment-intelligence/tree/main/plugins/vertical-plugins/bio-pharm/skills/agentii/peer-bench-med"},{"target":"claude-code","command":"claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install agentii-ai-agentii-investment-intelligence@llmmart"},{"target":"git","command":"git clone https://github.com/agentii-ai/agentii-investment-intelligence.git"}]}