[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-30d9b5bc-6e0c-47cc-bdab-bc75824bd589":3,"$fNpFazm8kNW8l4unLUR2ETrPuVAHkMK-VyvL1lI9XlW4":42},{"id":4,"title":5,"description":6,"categoryId":7,"moduleId":8,"tags":9,"prompt":10,"icon":11,"source":12,"sourceUrl":13,"authorId":14,"authorName":15,"isPublic":16,"stars":17,"runs":18,"createdAt":19,"updatedAt":19,"module":20,"category":27,"packages":33},"30d9b5bc-6e0c-47cc-bdab-bc75824bd589","context-engine","加载和管理公司上下文，适用于所有C级顾问技能。读取~\u002F.claude\u002Fcompany-context.md，检测过时上下文（>90天），在对话中丰富上下文，并在外部API调用前执行隐私\u002F匿名化规则。","cat_coding_backend","mod_coding","alirezarezvani,coding","---\nname: \"context-engine\"\ndescription: \"Loads and manages company context for all C-suite advisor skills. Reads ~\u002F.claude\u002Fcompany-context.md, detects stale context (>90 days), enriches context during conversations, and enforces privacy\u002Fanonymization rules before external API calls.\"\nlicense: MIT\nmetadata:\n  version: 1.0.0\n  author: Alireza Rezvani\n  category: c-level\n  domain: orchestration\n  updated: 2026-03-05\n  frameworks: context-loading, anonymization, context-enrichment\n---\n\n# Company Context Engine\n\nThe memory layer for C-suite advisors. Every advisor skill loads this first. Context is what turns generic advice into specific insight.\n\n## Keywords\ncompany context, context loading, context engine, company profile, advisor context, stale context, context refresh, privacy, anonymization\n\n---\n\n## Load Protocol (Run at Start of Every C-Suite Session)\n\n**Step 1 — Check for context file:** `~\u002F.claude\u002Fcompany-context.md`\n- Exists → proceed to Step 2\n- Missing → prompt: *\"Run \u002Fcs:setup to build your company context — it makes every advisor conversation significantly more useful.\"*\n\n**Step 2 — Check staleness:** Read `Last updated` field.\n- **\u003C 90 days:** Load and proceed.\n- **≥ 90 days:** Prompt: *\"Your context is [N] days old. Quick 15-min refresh (\u002Fcs:update), or continue with what I have?\"*\n  - If continue: load with `[STALE — last updated DATE]` noted internally.\n\n**Step 3 — Parse into working memory.** Always active:\n- Company stage (pre-PMF \u002F scaling \u002F optimizing)\n- Founder archetype (product \u002F sales \u002F technical \u002F operator)\n- Current #1 challenge\n- Runway (as risk signal — never share externally)\n- Team size\n- Unfair advantage\n- 12-month target\n\n---\n\n## Context Quality Signals\n\n| Condition | Confidence | Action |\n|-----------|-----------|--------|\n| \u003C 30 days, full interview | High | Use directly |\n| 30–90 days, update done | Medium | Use, flag what may have changed |\n| > 90 days | Low | Flag stale, prompt refresh |\n| Key fields missing | Low | Ask in-session |\n| No file | None | Prompt \u002Fcs:setup |\n\nIf Low: *\"My context is [stale\u002Fincomplete] — I'm assuming [X]. Correct me if I'm wrong.\"*\n\n---\n\n## Context Enrichment\n\nDuring conversations, you'll learn things not in the file. Capture them.\n\n**Triggers:** New number or timeline revealed, key person mentioned, priority shift, constraint surfaces.\n\n**Protocol:**\n1. Note internally: `[CONTEXT UPDATE: {what was learned}]`\n2. At session end: *\"I picked up a few things to add to your context. Want me to update the file?\"*\n3. If yes: append to the relevant dimension, update timestamp.\n\n**Never silently overwrite.** Always confirm before modifying the context file.\n\n---\n\n## Privacy Rules\n\n### Never send externally\n- Specific revenue or burn figures\n- Customer names\n- Employee names (unless publicly known)\n- Investor names (unless public)\n- Specific runway months\n- Watch List contents\n\n### Safe to use externally (with anonymization)\n- Stage label\n- Team size ranges (1–10, 10–50, 50–200+)\n- Industry vertical\n- Challenge category\n- Market position descriptor\n\n### Before any external API call or web search\nApply `references\u002Fanonymization-protocol.md`:\n- Numbers → ranges or stage-relative descriptors\n- Names → roles\n- Revenue → percentages or stage labels\n- Customers → \"Customer A, B, C\"\n\n---\n\n## Missing or Partial Context\n\nHandle gracefully — never block the conversation.\n\n- **Missing stage:** \"Just to calibrate — are you still finding PMF or scaling what works?\"\n- **Missing financials:** Use stage + team size to infer. Note the gap.\n- **Missing founder profile:** Infer from conversation style. Mark as inferred.\n- **Multiple founders:** Context reflects the interviewee. Note co-founder perspective may differ.\n\n---\n\n## Required Context Fields\n\n```\nRequired:\n  - Last updated (date)\n  - Company Identity → What we do\n  - Stage & Scale → Stage\n  - Founder Profile → Founder archetype\n  - Current Challenges → Priority #1\n  - Goals & Ambition → 12-month target\n\nHigh-value optional:\n  - Unfair advantage\n  - Kill-shot risk\n  - Avoided decision\n  - Watch list\n```\n\nMissing required fields: note gaps, work around in session, ask in-session only when critical.\n\n---\n\n## References\n- `references\u002Fanonymization-protocol.md` — detailed rules for stripping sensitive data before external calls\n","","imported","https:\u002F\u002Fgithub.com\u002Falirezarezvani\u002Fclaude-skills","user_system_seed","SkillOPIC",true,153,619,"2026-05-16 13:51:20",{"id":8,"name":21,"slug":22,"icon":23,"description":24,"sort":25,"createdAt":26},"编程开发","coding","mdi-code-braces","代码生成、调试、审查，提升开发效率",2,"2026-05-16 12:53:40",{"id":7,"name":28,"slug":29,"icon":30,"description":31,"moduleId":8,"sort":25,"skillCount":32,"createdAt":26},"后端开发","backend","mdi-server","API、数据库、服务端架构",296,[34],{"id":35,"skillId":4,"version":36,"fileName":37,"fileSize":38,"filePath":39,"fileHash":40,"manifest":41,"createdAt":19},"b0c2e024-2681-4658-a91b-369ce229938c","1.0.0","context-engine.zip",4789,"uploads\u002Fskills\u002F30d9b5bc-6e0c-47cc-bdab-bc75824bd589\u002Fcontext-engine.zip","0e9cd9e56abc0a902bd6ac0dc64fd300c08e7e49b3d27a7429291db843c17586","[{\"path\":\"SKILL.md\",\"isDirectory\":false,\"size\":4344},{\"path\":\"references\u002Fanonymization-protocol.md\",\"isDirectory\":false,\"size\":5766}]",{"code":43,"message":44,"data":45},200,"success",{"items":46,"stats":47,"page":50},[],{"averageRating":48,"totalRatings":48,"ratingCounts":49},0,[48,48,48,48,48],{"limit":51,"offset":48,"hasMore":52,"nextOffset":51,"ratedOnly":16},15,false]