Skip to content

anbeime/skill / my-skills/07-微信自动化/wechat-auto-sender

wechat-auto-sender

Verified

微信定时自动发送图片(早安/晚安等)的 Windows 自动化技能。基于界面模拟操作已登录的微信客户端,支持多目标、图片校验、标题比对防错发、失败现场取证、定时任务无人值守。当用户提到「微信自动发送」「定时发早安/晚安图」「微信批量发图」「微信定时群发」或需要让微信每天定点自动发图片时调用。

FileKindSize
.gitignoreother733 B
README.mdmarkdown10.6 KB
SKILL.mdskill md6.5 KB
config.example.jsonconfig3.0 KB
docs/排错手册.mdmarkdown6.6 KB
refs/.gitkeepother0 B
refs/README.mdmarkdown767 B
requirements.txtmanifest292 B
scripts/run_send.cmdscript820 B
scripts/send_daily.pyscript35.3 KB

config.example.json

View on GitHub
{
  "_说明": "微信每日定时发送早安/晚安图片 —— 配置模板(已脱敏,请复制为 config.json 后修改)",
  "_使用": "改完直接生效,下一次运行自动读取新配置。以下划线 _ 开头的键仅为注释,程序会忽略。",

  "图片文件夹": "D:\\你的图片目录\\早安晚安图",
  "_图片文件夹": "图片所在目录的绝对路径",
  "文件名格式": "{m}-{d}{kind}.jpg",
  "_文件名格式": "{m}=月、{d}=日、{kind}=类别;例如 9-18早安.jpg",
  "发送类别": ["早安", "晚安"],

  "发送对象": [
    {
      "备注名": "示例群聊",
      "搜索关键词": "示例群聊",
      "标题参考图": "refs/示例群聊_title.png"
    }
  ],
  "_发送对象": "每项:备注名 / 搜索关键词 / 标题参考图(可选 结果行Y)。参考图用 --calibrate 生成",

  "测试对象": [
    {
      "备注名": "文件传输助手",
      "搜索关键词": "文件传输助手",
      "结果行Y": 332,
      "标题参考图": "refs/文件传输助手_title.png"
    }
  ],
  "_测试对象": "--test 时使用的对象,建议保留「文件传输助手」自测",

  "_日期口径": "today=用当天日期(如 9-19 凌晨发 9-19 的图);yesterday=用前一天日期",
  "日期口径": "today",
  "_缺图处理": "skip=缺图就跳过不发送并记日志;latest=用文件夹里最新的一套补齐",
  "缺图处理": "skip",

  "微信程序": "C:\\Program Files\\Tencent\\Weixin\\Weixin.exe",
  "_微信程序": "你的微信可执行文件完整路径",
  "启动等待秒数": 180,
  "_启动等待秒数": "等待微信主窗口出现的最长时间。冷启动+自动登录可能要 1-2 分钟,给足时间避免误判",
  "窗口位置": { "x": 470, "y": 22, "w": 980, "h": 1035 },
  "_窗口位置": "运行时把微信窗口临时移动到这里,发送完成后恢复原位,保证点击坐标稳定",

  "界面坐标": {
    "搜索框": [170, 55],
    "搜索框裁剪区": [100, 42, 260, 70],
    "搜索结果第一条": [170, 131],
    "聊天输入框": [620, 950],
    "标题裁剪区": [310, 38, 640, 76],
    "输入框裁剪区": [320, 703, 660, 762]
  },
  "_界面坐标": "坐标以「窗口位置」的左上角为原点;换电脑/分辨率/窗口尺寸后必须重新校准",

  "输入框空参考图": "refs/输入框空参考图.png",
  "_输入框空参考图": "发送前用它比对,确认输入框没有残留草稿,防止把旧内容一起发出去",

  "默认候选行Y": [131, 165, 199, 233, 267, 301, 335, 369, 403],
  "_默认候选行Y": "微信搜索结果的行位置会漂移,程序会逐行点、逐行比对标题,直到命中目标",

  "发送间隔毫秒": 1800,
  "搜索等待毫秒": 2200,
  "验证标题": true,
  "_验证标题": "强烈建议保持 true。关闭它会显著增加发错人的风险",
  "标题相似度阈值": 0.88,
  "输入框相似度阈值": 0.8,
  "运行后恢复窗口": true,
  "同一目标同一天只发一次": true
}
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 197kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall