[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EANCDKATYKHADGK75MMKEW":3,"skill-same:01M6EANCDKATYKHADGK75MMKEW":56},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M6EANCDKATYKHADGK75MMKEW","instantly-autoreply",null,"ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FHarmeet10000\u002Fskills\u002Finstantly-autoreply\u002FSKILL.md",[],[18],"instantly autoreply","2026-11-10 10:12:30",false,"# Instantly Autoreply\n\n## Purpose\nAutomatically generate and send intelligent replies to incoming emails from Instantly campaigns, using campaign-specific knowledge bases and web research.\n\n## Inputs\nThe webhook receives this payload from Instantly (reply event):\n- `timestamp`: ISO timestamp when the event occurred\n- `event_type`: Type of event (e.g., \"reply\")\n- `campaign_id`: UUID of the campaign\n- `campaign_name`: Name of the campaign (format: \"CAMPAIGN_ID | Campaign Name\")\n- `lead_email`: The prospect's email address\n- `email_account`: The sending account (eaccount)\n- `email_id`: UUID of the email to reply to (use as reply_to_uuid)\n- `reply_subject`: Subject line of the incoming reply\n- `reply_text`: Full plain text content of the incoming reply\n- `reply_html`: Full HTML content of the incoming reply\n- `reply_text_snippet`: Short preview of the reply content\n- Additional lead data fields may be present\n\n## Process\n\n### Step 1: Parse Incoming Reply\nThe incoming email content is already in the payload:\n- `reply_text` or `reply_html`: The full content of their reply\n- `reply_subject`: Their subject line\nUse this directly - no need to fetch.\n\n### Step 2: Get Full Conversation History (Optional)\nIf more context is needed, call `instantly_get_emails` with the lead_email to retrieve prior emails (limit 10).\n\n### Step 3: Extract Campaign ID\nParse the campaign_name to get the ID (everything before the \"|\"). Or use `campaign_id` directly if available.\n\n### Step 4: Lookup Knowledge Base\nCall `read_sheet` on spreadsheet `1QS7MYDm6RUTzzTWoMfX-0G9NzT5EoE2KiCE7iR1DBLM` to find the row where column \"ID\" matches the campaign ID. Extract:\n- `Knowledge Base`: Campaign-specific context and talking points\n- `Reply Examples`: Example replies to match tone\n\n### Step 5: Skip if No Knowledge Base\nIf no knowledge base found for this campaign, skip processing and return empty.\n\n### Step 6: Generate Reply\nUsing extended thinking, generate a reply following these rules:\n\n**Role & Tone:**\n- Write as the email_account (first person: 'I', 'we')\n- Concise, confident, friendly, non-corporate, outcome-focused\n- No em dashes (—), no over-explaining, no hype, no filler\n- If followup: be light but persistent, illustrate value props\n\n**Research (use web_search tool):**\n- Research the sender and their company\u002Fclinic thoroughly\n- Look up any products, tools, locations, acronyms you don't recognize\n- Use research to tailor the reply (don't mention you searched)\n\n**When to Return Empty (no reply):**\n- If additional email would be needless (they confirmed call, logistics done)\n- If explicitly negative: \"DO NOT EMAIL\", \"UNSUBSCRIBE\", \"remove me from list\"\n- If no knowledge base found\n\n**Output Format:**\n- 3-8 sentences unless thread requires more\n- HTML with `\u003Cbr>` for line breaks, `\u003Cbr>\u003Cbr>` between paragraphs\n- No `\u003Chtml>`, `\u003Cbody>`, `\u003Cp>` tags\n- Sign off with first name from email_account\n\n### Step 7: Filter Empty Replies\nIf the generated reply is empty or just whitespace, do NOT send. Return success with `skipped: true`.\n\n### Step 8: Send Reply\nCall `instantly_send_reply` with:\n- `eaccount`: The email_account from input\n- `reply_to_uuid`: The email_id from input\n- `subject`: The reply_subject from input\n- `html_body`: The generated reply\n\n## Output\nReturn:\n- `status`: \"success\" or \"error\"\n- `skipped`: true if reply was intentionally empty\n- `reply_sent`: true if reply was actually sent\n- `message_id`: ID from Instantly if sent\n\n## Error Handling\n- If Instantly API fails: Log error, return error status\n- If knowledge base lookup fails: Skip this email (no KB = no reply)\n- If AI generation fails: Log error, do not send partial reply\n\n## Knowledge Base Sheet Structure\nSpreadsheet ID: `1QS7MYDm6RUTzzTWoMfX-0G9NzT5EoE2KiCE7iR1DBLM`\n\n| ID | Campaign Name | Knowledge Base | Reply Examples |\n|----|---------------|----------------|----------------|\n| abc123 | Dental Outreach | [context...] | [examples...] |\n",{},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002FHarmeet10000\u002Fskills\u002Finstantly-autoreply",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":7,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill instantly-autoreply",{"tool":38,"command":39},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill instantly-autoreply",{"tool":41,"command":42},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill instantly-autoreply","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FHarmeet10000\u002Fskills\u002Finstantly-autoreply\u002FSKILL.md",true,[46,52],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"evals\u002Fevals.json","REFERENCE","参考文档",2012,"https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fexcel-variance-analyzer\u002Fevals\u002Fevals.json",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"references\u002FREFERENCE.md",4649,"https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fexcel-variance-analyzer\u002Freferences\u002FREFERENCE.md",[57,66,75,84,90,96],{"skillNo":58,"name":59,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[63,64,65],"model","model hierarchy","model hierarchy skill",{"skillNo":67,"name":68,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[72,73,74],"MCP","zoom","zoom mcp",{"skillNo":76,"name":77,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[81,82,83,73],"sdk","zoom apps sdk","apps",{"skillNo":85,"name":86,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[86],{"skillNo":91,"name":92,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[92],{"skillNo":97,"name":98,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[98]]