[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F57KZYSXDT663KJP0EPT0K":3,"skill-same:01M7F57KZYSXDT663KJP0EPT0K":45},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7F57KZYSXDT663KJP0EPT0K","embedding-model-evaluation",null,"Compares embedding models (domain-specific vs general, fine-tuning ROI, multilingual performance) on labelled FST domain questions; measures vector quality, cost, and inference latency.","cwik-tech\u002Foctopus","cwik-tech","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F54542292?v=4","01M7F42E123GEHVK6RWC5MSWJ9","Tomasz Cwik","01M7F42E1PD4P54MTG8PG32VCV",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fcwik-tech\u002Foctopus\u002Fblob\u002Fmain\u002Fagents\u002Ftooling-evaluator\u002Fskills\u002Fembedding-model-evaluation\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: embedding-model-evaluation\ndescription: Compares embedding models (domain-specific vs general, fine-tuning ROI, multilingual performance) on labelled FST domain questions; measures vector quality, cost, and inference latency.\n---\n\n# Embedding Model Evaluation\n\n## Purpose\n\nDetermine whether a domain-specific or fine-tuned embedding model is justified for an FST knowledge base, or whether general-purpose embeddings (OpenAI text-embedding-3, Cohere, open-source alternatives) are sufficient. Ground the decision in measured retrieval quality on domain terminology and cost-per-embedding at projected volume.\n\n## Methodology\n\n### 1. Prepare the evaluation corpus\n\n- Extract 30–50 representative FST domain questions from early conversations or priority use cases.\n- For each question, identify the correct passage(s) in the parsed Markdown corpus.\n- Document the FST-specific terminology that the question relies on (product model numbers, process step names, technical parameter names, abbreviations). This is the signal that domain-specific embeddings might outperform general models.\n- Aim for diversity: questions that require navigating process steps, product specifications, multilingual retrieval, and technical diagrams.\n\n### 2. Embed and rank\n\n- Generate embeddings using candidate models (e.g., OpenAI text-embedding-3-small, text-embedding-3-large, Cohere embed-english-v3.0, domain-specific fine-tune, open-source alternatives like bge-base-en).\n- For each model, rank the top-k passages for each query (typically k=5, 10).\n- Measure Recall@1, Recall@5, Recall@10 for each model on the evaluation set.\n- Record inference latency (cold start, warm, batch) and per-embedding cost from the provider's pricing.\n\n### 3. Analyze the gap\n\n- For questions where domain models outperform general models, identify the FST terminology at play. Quantify the gap: is it 5% or 50%?\n- For questions where both perform equally, confirm that general models capture the intent.\n- Calculate cost-benefit: at your baseline query volume, what's the annual cost delta between models? At 2x and 10x volume?\n- Document the cost threshold at which the more expensive model becomes economical (e.g., \"domain-specific model pays for itself at 100K queries\u002Fmonth\").\n\n### 4. Multilingual considerations\n\n- If the FST corpus includes non-English content (e.g., Spanish, German), test embedding quality on multilingual question-passage pairs.\n- Measure cross-lingual retrieval: query in English, retrieve passages in Spanish, and vice versa.\n- Identify any language-pair gaps (many \"multilingual\" models excel at high-resource pairs like English-Spanish, fail on low-resource or domain-specific multilingual terminology).\n\n### 5. Recommendation\n\n- Recommend a primary model (e.g., \"text-embedding-3-small\" or \"fine-tuned-fst-domain-v1\").\n- Document the decision rule: use general model Y unless domain terminology causes >10% quality loss, in which case invest in fine-tuning X.\n- State the threshold volume at which a more expensive model becomes cost-justified (e.g., \"fine-tune at 500K+ queries\u002Fmonth\").\n- Document the cost and latency impact of that recommendation on overall retrieval performance.\n\n## Failure modes\n\n- **Vendor claims of 2–3% retrieval improvement** based on generic benchmarks (STS, MTEB) that do not reflect FST domain terminology. Generic benchmarks are not predictive of domain-specific performance.\n- **Fine-tuning cost and training latency underestimated.** Fine-tuning requires labelled data (100–1000+ examples), training time (hours to days on GPU), and ongoing retraining as terminology evolves. Amortize over realistic query volume.\n- **Multilingual support overstated.** Many \"multilingual\" models perform well on high-resource languages (English, Spanish, Mandarin) but degrade significantly on domain + low-resource pairs or non-Latin scripts.\n- **Inference latency ignored in cost model.** Embeddings must be fast for real-time retrieval. A model that is 10% cheaper but 50% slower may be unacceptable.\n- **Lock-in cost underestimated.** Fine-tuning a model locks you into that model's ecosystem (training data, version management, retraining pipelines). Switching costs are high.\n\n## Output\n\n- **Ranking table:** Model name, Recall@1\u002F5\u002F10 on pilot corpus, cost per 1M embeddings, inference latency (p50ms), multilingual gap (if applicable).\n- **Decision:** Use general model Y, or invest in fine-tuning\u002Fdomain-specific model X. At what query volume does cost-benefit flip?\n- **Cost model:** Annual cost at baseline (e.g., 100K\u002Fmonth), at 2x, and at 10x volume. Include fine-tuning costs if applicable.\n- **Multilingual summary:** Cross-lingual quality gaps, languages where general models underperform.\n- **Monitoring:** Which metrics to track post-launch (Recall@5, inference latency, cost per query).\n","# Embedding Model Evaluation\n\n## Purpose\n\nDetermine whether a domain-specific or fine-tuned embedding model is justified for an FST knowledge base, or whether general-purpose embeddings (OpenAI text-embedding-3, Cohere, open-source alternatives) are sufficient. Ground the decision in measured retrieval quality on domain terminology and cost-per-embedding at projected volume.\n\n## Methodology\n\n### 1. Prepare the evaluation corpus\n\n- Extract 30–50 representative FST domain questions from early conversations or priority use cases.\n- For each question, identify the correct passage(s) in the parsed Markdown corpus.\n- Document the FST-specific terminology that the question relies on (product model numbers, process step names, technical parameter names, abbreviations). This is the signal that domain-specific embeddings might outperform general models.\n- Aim for diversity: questions that require navigating process steps, product specifications, multilingual retrieval, and technical diagrams.\n\n### 2. Embed and rank\n\n- Generate embeddings using candidate models (e.g., OpenAI text-embedding-3-small, text-embedding-3-large, Cohere embed-english-v3.0, domain-specific fine-tune, open-source alternatives like bge-base-en).\n- For each model, rank the top-k passages for each query (typically k=5, 10).\n- Measure Recall@1, Recall@5, Recall@10 for each model on the evaluation set.\n- Record inference latency (cold start, warm, batch) and per-embedding cost from the provider's pricing.\n\n### 3. Analyze the gap\n\n- For questions where domain models outperform general models, identify the FST terminology at play. Quantify the gap: is it 5% or 50%?\n- For questions where both perform equally, confirm that general models capture the intent.\n- Calculate cost-benefit: at your baseline query volume, what's the annual cost delta between models? At 2x and 10x volume?\n- Document the cost threshold at which the more expensive model becomes economical (e.g., \"domain-specific model pays for itself at 100K queries\u002Fmonth\").\n\n### 4. Multilingual considerations\n\n- If the FST corpus includes non-English content (e.g., Spanish, German), test embedding quality on multilingual question-passage pairs.\n- Measure cross-lingual retrieval: query in English, retrieve passages in Spanish, and vice versa.\n- Identify any language-pair gaps (many \"multilingual\" models excel at high-resource pairs like English-Spanish, fail on low-resource or domain-specific multilingual terminology).\n\n### 5. Recommendation\n\n- Recommend a primary model (e.g., \"text-embedding-3-small\" or \"fine-tuned-fst-domain-v1\").\n- Document the decision rule: use general model Y unless domain terminology causes >10% quality loss, in which case invest in fine-tuning X.\n- State the threshold volume at which a more expensive model becomes cost-justified (e.g., \"fine-tune at 500K+ queries\u002Fmonth\").\n- Document the cost and latency impact of that recommendation on overall retrieval performance.\n\n## Failure modes\n\n- **Vendor claims of 2–3% retrieval improvement** based on generic benchmarks (STS, MTEB) that do not reflect FST domain terminology. Generic benchmarks are not predictive of domain-specific performance.\n- **Fine-tuning cost and training latency underestimated.** Fine-tuning requires labelled data (100–1000+ examples), training time (hours to days on GPU), and ongoing retraining as terminology evolves. Amortize over realistic query volume.\n- **Multilingual support overstated.** Many \"multilingual\" models perform well on high-resource languages (English, Spanish, Mandarin) but degrade significantly on domain + low-resource pairs or non-Latin scripts.\n- **Inference latency ignored in cost model.** Embeddings must be fast for real-time retrieval. A model that is 10% cheaper but 50% slower may be unacceptable.\n- **Lock-in cost underestimated.** Fine-tuning a model locks you into that model's ecosystem (training data, version management, retraining pipelines). Switching costs are high.\n\n## Output\n\n- **Ranking table:** Model name, Recall@1\u002F5\u002F10 on pilot corpus, cost per 1M embeddings, inference latency (p50ms), multilingual gap (if applicable).\n- **Decision:** Use general model Y, or invest in fine-tuning\u002Fdomain-specific model X. At what query volume does cost-benefit flip?\n- **Cost model:** Annual cost at baseline (e.g., 100K\u002Fmonth), at 2x, and at 10x volume. Include fine-tuning costs if applicable.\n- **Multilingual summary:** Cross-lingual quality gaps, languages where general models underperform.\n- **Monitoring:** Which metrics to track post-launch (Recall@5, inference latency, cost per query).\n",{"name":5,"description":7},"main","f0f0efe1d4c64b51a51f44427ad147750d29154e","agents\u002Ftooling-evaluator\u002Fskills\u002Fembedding-model-evaluation","https:\u002F\u002Fgithub.com\u002Fcwik-tech\u002Foctopus","www.cuteoctopus.site","https:\u002F\u002Fgithub.com\u002Fcwik-tech","2026-10-27 06:12:19",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add cwik-tech\u002Foctopus --skill embedding-model-evaluation",{"tool":37,"command":38},"bunx","bunx skills add cwik-tech\u002Foctopus --skill embedding-model-evaluation",{"tool":40,"command":41},"pnpm","pnpm dlx skills add cwik-tech\u002Foctopus --skill embedding-model-evaluation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcwik-tech\u002Foctopus\u002Fblob\u002Fmain\u002Fagents\u002Ftooling-evaluator\u002Fskills\u002Fembedding-model-evaluation\u002FSKILL.md",true,[],[46,53,60,67,74,81],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":19},"01M7F5MQVQ3CHGM77Q51M4B1AC","twenty-year-land-plan","Apply the Bren discipline of evaluating every land and development decision on a twenty-year horizon, with a comprehensive plan for how the land, the community, and the surrounding public infrastructure evolve together. Deals optimized for a five-year exit are structurally different from deals that compound across generations; insist on knowing which kind you are making. Use when evaluating land, entitlements, master-planned development, or phasing decisions, and when separating five-year exit deals from generational holds.","https:\u002F\u002Fgithub.com\u002Fcwik-tech\u002Foctopus\u002Fblob\u002Fmain\u002Fskills\u002Ftwenty-year-land-plan\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M7F5MGQ8JSV27SFDQVVGFQE3","thematic-gut-check","Apply the Gray discipline of identifying the structural theme behind every real estate deal, testing where that theme sits in its capital-flow lifecycle, and insisting that deals without a named theme — or deals late in a crowded theme — clear a higher bar. A mediocre deal in a strong theme usually beats a clever deal in a weak one. Use when naming the structural thesis behind a deal, judging whether that theme is early or crowded, and setting the bar the deal must clear.","https:\u002F\u002Fgithub.com\u002Fcwik-tech\u002Foctopus\u002Fblob\u002Fmain\u002Fskills\u002Fthematic-gut-check\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M7F5M8V64Y0ZD8PTPWEJQXJ9","supply-pipeline-gut-check","Apply the Zell discipline of grounding every real estate thesis in the local supply pipeline. Demand counts over adjectives — units under construction, units permitted, units proposed — and convert them into a forward absorption schedule. A deal that ignores the pipeline is a bet on a market you have not actually studied. Use when validating a market thesis, forecasting absorption and rent growth, or counting units under construction, permitted, and proposed.","https:\u002F\u002Fgithub.com\u002Fcwik-tech\u002Foctopus\u002Fblob\u002Fmain\u002Fskills\u002Fsupply-pipeline-gut-check\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M7F5M3J2Q146BJC13TD3YCXF","ruin-scenario-mapping","Apply the Taleb discipline of identifying, for every real estate deal, the specific chain of events that produces ruin — permanent, unrecoverable capital loss — and verifying that no single such chain has non-trivial probability. Deals with any plausible ruin path must be restructured or abandoned. Use when sizing leverage, testing refinancing, covenant, and liquidity risk, or checking whether any single failure chain can permanently wipe out the position.","https:\u002F\u002Fgithub.com\u002Fcwik-tech\u002Foctopus\u002Fblob\u002Fmain\u002Fskills\u002Fruin-scenario-mapping\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7F5KZDS0DYD172P6HS0WXEM","revenue-cost-architecture","Design a venture's revenue streams, pricing logic, cost structure, and unit economics so the business model has a coherent theory of value capture, not just value creation. Use after the value proposition and customer segment are set and before financial projections, when choosing a pricing model, calculating contribution margin or CAC payback, or checking whether the unit economics hold at scale.","https:\u002F\u002Fgithub.com\u002Fcwik-tech\u002Foctopus\u002Fblob\u002Fmain\u002Fskills\u002Frevenue-cost-architecture\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7F5KP1CNQMYAVCDTV4EEW3J","replacement-cost-stress-test","Apply the Buffett discipline of pricing every real estate asset against the cost to rebuild it from scratch. The ratio of purchase price to replacement cost sets a ceiling on long-run downside: below replacement cost, new supply cannot profitably undercut you; at or above it, you are buying a liability disguised as an asset. Use when setting a purchase price, judging downside protection, or testing how exposed an asset is to newly built competing supply.","https:\u002F\u002Fgithub.com\u002Fcwik-tech\u002Foctopus\u002Fblob\u002Fmain\u002Fskills\u002Freplacement-cost-stress-test\u002FSKILL.md",[],[]]