Communitygithub.com

個人微信(NeverSight/learn-skills.dev)

透過用戶自託管的 Wisdom 服務(BYOC)操作其個人微信帳號,包括檢查登入狀態、列出聯絡人/對話、讀取並總結歷史訊息、搜尋聯絡人、重新整理本地歷史資料庫,以及僅在用戶明確確認後才能傳送訊息。

learn-skills.dev) 是什麼?

此技能透過用戶自託管的 Wisdom 服務操作其個人微信帳號。Wisdom 運行在已登入微信桌面的 Windows 主機上,並提供 HTTP API 供調用。技能使用 `personalwechat` BYOC 連接器注入的憑證(包括伺服器基礎 URL 和 API 令牌)進行認證與操作。支援的讀取操作包括檢查連線狀態、取得帳號資訊、列出聯絡人與對話、讀取並總結聊天記錄(支援歷史資料庫查詢)以及搜尋聯絡人。寫入操作(如傳送訊息或檔案)預設為乾執行(dry-run),必須先向用戶展示預覽結果並獲得明確批准後,才能加上 `--confirm` 旗標實際執行。技能也支援在 AceDataCloud 排程任務中,若環境變數明確授權此技能為無人在場執行模式,則可使用 `--unattended-confirm` 旗標。此技能適用於需要自主操作個人微信的開發者或自動化場景,支援 Claude Code、Cursor 等 AI Agent 平台,並內建嚴格的安全規則,如不列印令牌、需用戶明確同意才能傳送訊息,以及避免呼叫登出/重啟等危險端點。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/NeverSight/learn-skills.dev/tree/HEAD/data/skills-md/acedatacloud/skills/personal-wechat

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

個人微信(Wisdom)

使用用戶自託管的 Wisdom 服務來操作他們的個人微信 帳號。Wisdom 在已登入微信桌面的 Windows 主機上運行,並 提供一個 HTTP API。

憑證由 personalwechat BYOC 連接器注入:

  • PERSONALWECHAT_BASE_URL — Wisdom 伺服器基礎 URL,例如 http://82.156.126.14:8000。
  • PERSONALWECHAT_API_TOKEN — Wisdom API_TOKEN。機密——切勿回顯、列印或記錄。

助手會將令牌作為 Authorization: Bearer ... 發送;它絕不會將令牌放在 URL 中。 對於排隊的 UI 操作(如搜尋和傳送),助手會提交任務並等待 /api/tasks/{id},然後 列印最終結果。

這是用戶的真實個人微信帳號。讀取操作可以直接執行。 傳送訊息或檔案必須先進行乾執行,然後僅在用戶明確批准確切的 目標和內容後才能執行。

CLI

此技能附帶一個僅使用標準庫的助手:

WX=$SKILL_DIR/scripts/personal_wechat.py

首先驗證連線

當用戶要求使用微信時,始終從狀態開始:

python3 $WX status

預期的健康狀態形狀:

{"auth":{"logged_in":true,"wechat_running":true,"page":"logged_in"}}

如果 logged_in=false,請告訴用戶打開 Wisdom 網頁 UI / RDP 並掃描 微信 QR 碼。如果 API 返回 401,請要求用戶重新連線個人微信 連接器並提供當前的 Wisdom API 令牌。

讀取工作流程

目前帳號

python3 $WX account

聯絡人

python3 $WX contacts --limit 50

最近的對話

首先使用普通的對話端點;它會優先使用微信資料庫(當準備就緒時), 並在必要時回退到 Wisdom 的應用程式資料庫。

python3 $WX conversations --limit 20

若要取得已解密的本地微信歷史記錄工作階段:

python3 $WX conversations --history --limit 20

對話中的訊息

首先列出對話,然後使用 id 作為 conversation_id:

python3 $WX messages "34642176898@chatroom" --limit 50 --order asc

歷史訊息

從 Wisdom 已解密的微信本地資料庫讀取:

python3 $WX history --limit 50
python3 $WX history --talker "34642176898@chatroom" --limit 50
python3 $WX history --limit 20 --offset 20

原始 SQL(僅限唯讀)

Wisdom 僅允許 SELECT 和 PRAGMA:

python3 $WX sql MicroMsg.db 'SELECT count(*) AS cnt FROM Session'

僅在診斷或針對性元資料查詢時使用原始 SQL。除非用戶明確要求, 否則不要傾倒大型訊息表格。

重新整理歷史資料庫

如果歷史記錄看起來過時,請重新整理已解密的資料庫快照:

python3 $WX refresh-history

搜尋

python3 $WX search "Alice"

搜尋會驅動微信 UI,因此可能比本地資料庫歷史記錄讀取慢。

傳送訊息 — 有門控

send 預設會進行乾執行。除非存在 --confirm, 或者除非 AceDataCloud 排程任務預先授權了此技能並且使用了 --unattended-confirm,否則它絕不會傳送。

python3 $WX send "Alice" "今晚 8 點開會嗎?"
# -> {"dry_run": true, ...}

向用戶展示乾執行輸出,並請求明確批准確切的 收件人和文字。然後才能執行:

python3 $WX send "Alice" "今晚 8 點開會嗎?" --confirm

不要在第一次嘗試時就加上 --confirm。不要從模糊的文字中推斷同意。 用戶必須明確批准傳送這條確切的訊息。

排程任務的無人在場確認

當在 AceDataCloud 排程任務中執行時,平台可能會預先授權 特定技能進行無人在場執行。如果以下所有條件都成立:

  • AICHAT_UNATTENDED_MODE=true
  • AICHAT_ACTIVE_SKILL 是 personal-wechat 或 acedatacloud/personal-wechat
  • AICHAT_ACTIVE_SKILL 出現在 AICHAT_UNATTENDED_ALLOWED_SKILLS 中

則表示用戶已為該排程任務預先授權了此技能。在這種情況下, 請使用:

python3 $WX send "Alice" "今晚 8 點開會嗎?" --unattended-confirm

如果助手返回 unattended_confirmation_denied,請不要用 --confirm 重試; 請報告乾執行結果,並說明該任務需要在它的無人在場授權設定中 選中此技能。

安全規則

  • 切勿列印 PERSONALWECHAT_API_TOKEN。
  • 將 PERSONALWECHAT_BASE_URL + API_TOKEN 視為對用戶微信的完整遠端控制。
  • 對於一般的聊天寫入/傳送操作:先乾執行,請求明確批准,然後重新使用 --confirm 執行。
  • 對於排程任務的無人在場寫入:僅當平台環境變數指示此技能已獲預先授權時,才使用 --unattended-confirm。
  • 除非用戶明確要求修復 Wisdom 服務,否則不要從技能呼叫登出/重新啟動端點。
  • 如果 Wisdom 返回 503(針對歷史記錄),請執行 python3 $WX refresh-history 一次,然後重試讀取。
  • 如果伺服器無法連線,請要求用戶檢查 Windows 主機 / 安全群組 / 連接埠 8000。

端點對映

助手包裝了以下 Wisdom 端點:

  • GET /api/status
  • GET /api/auth/status
  • GET /api/account
  • GET /api/contacts?version=2.0
  • GET /api/conversations
  • GET /api/conversations/history
  • GET /api/messages
  • GET /api/messages/history
  • POST /api/messages/history/query
  • POST /api/messages/history/refresh
  • POST /api/search
  • POST /api/messages/send(僅在 --confirm 或已驗證的 --unattended-confirm 之後)

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

NeverSight/learn-skills.dev

Use when generating or modifying Remotion video code, creating demo videos, or working with the demo-video/ directory

NeverSight/learn-skills.dev

Create AI avatar and talking head videos via inference.sh CLI. Recommended: P-Video-Avatar (fastest, cheapest, built-in TTS). Also: OmniHuman, Fabric, PixVerse. Audio: Inworld TTS-2 (100+ languages, emotion steering for characters), ElevenLabs, Kokoro. Capabilities: audio-driven avatars, text-to-avatar, lipsync videos, talking head generation, virtual presenters, UGC content. Use for: AI presenters, explainer videos, virtual influencers, dubbing, marketing videos, UGC ads, gaming avatars, NPC dialogue. Triggers: ai avatar, talking head, lipsync, avatar video, virtual presenter, ai spokesperson, audio driven video, heygen alternative, synthesia alternative, talking avatar, lip sync, video avatar, ai presenter, digital human, ugc, ugc video, ugc ad, avatar ugc

NeverSight/learn-skills.dev

Create AI marketing videos for ads, promos, product launches, and brand content. Models: Veo, Seedance, Wan, FLUX for visuals, Kokoro for voiceover. Types: product demos, testimonials, explainers, social ads, brand videos. Use for: Facebook ads, YouTube ads, product launches, brand awareness. Triggers: marketing video, ad video, promo video, commercial, brand video, product video, explainer video, ad creative, video ad, facebook ad video, youtube ad, instagram ad, tiktok ad, promotional video, launch video

NeverSight/learn-skills.dev

Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0, HappyHorse 1.0, Wan 2.5, Grok Imagine Video, OmniHuman, Fabric, HunyuanVideo. Capabilities: text-to-video, image-to-video, reference-to-video, video editing, lipsync, avatar animation, video upscaling, foley sound. Use for: social media videos, marketing content, explainer videos, product demos, AI avatars. Triggers: video generation, ai video, text to video, image to video, veo, animate image, video from image, ai animation, video generator, generate video, t2v, i2v, ai video maker, create video with ai, runway alternative, pika alternative, sora alternative, kling alternative, seedance, happyhorse

NeverSight/learn-skills.dev

ElevenLabs automatic dubbing - translate and dub audio/video into 29 languages while preserving speaker voice via inference.sh CLI. Capabilities: auto speaker detection, voice-preserving translation, video dubbing, audio localization. Use for: content localization, video translation, multilingual content, international distribution. Triggers: dubbing, dub video, translate audio, video translation, audio translation, localize content, elevenlabs dubbing, eleven labs dub, multilingual dub, voice translation, auto dub, language dub, content localization

NeverSight/learn-skills.dev

Explainer video production guide: scripting, voiceover, visuals, and assembly. Covers script formulas, pacing rules, scene planning, and multi-tool pipelines. Use for: product demos, how-it-works videos, onboarding videos, social explainers. Triggers: explainer video, how to make explainer, product video, demo video, video production, video script, animated explainer, product demo video, tutorial video, onboarding video, walkthrough video, video pipeline

NeverSight/learn-skills.dev

Still-to-video conversion guide: model selection, motion prompting, and camera movement. Covers Wan 2.5 i2v, Seedance, Fabric, Grok Video with when to use each. Use for: animating images, creating video from stills, adding motion, product animations. Triggers: image to video, i2v, animate image, still to video, add motion to image, image animation, photo to video, animate still, wan i2v, image2video, bring image to life, animate photo, motion from image

NeverSight/learn-skills.dev

Generate talking head avatar videos with Pruna P-Video-Avatar via inference.sh CLI. Turn a portrait image into a realistic speaking video with built-in TTS. 18x faster and 6x cheaper than competitors. Models: P-Video-Avatar, P-Image (for portrait generation). Capabilities: text-to-avatar, audio-driven avatars, 30 voices, 10 languages, 720p/1080p, built-in TTS, dynamic backgrounds, full-body control. Use for: AI presenters, product demos, explainer videos, virtual influencers, marketing, education, multilingual content, UGC, gaming avatars. Triggers: avatar video, talking head, ai avatar, p-video-avatar, pruna avatar, video avatar, ai presenter, digital human, virtual presenter, lipsync, talking avatar, ai spokesperson, heygen alternative, synthesia alternative, veed alternative, fabric alternative, omnihuman alternative

NeverSight/learn-skills.dev

Generate videos with Pruna P-Video and WAN models via inference.sh CLI. Models: P-Video, WAN-T2V, WAN-I2V. Capabilities: text-to-video, image-to-video, audio support, 720p/1080p, fast inference. Pruna optimizes models for speed without quality loss. Triggers: pruna video, p-video, pruna ai video, fast video generation, optimized video, wan t2v, wan i2v, economic video generation, cheap video generation, pruna text to video, pruna image to video

NeverSight/learn-skills.dev

Render videos from React/Remotion component code via inference.sh. Pass TSX code, get MP4. Supports all Remotion APIs: useCurrentFrame, useVideoConfig, spring, interpolate, AbsoluteFill, Sequence. Configurable resolution, FPS, duration, codec. Use for: programmatic video generation, animated graphics, motion design, data-driven videos, React animations to video. Triggers: remotion, render video from code, tsx to video, react video, programmatic video, remotion render, code to video, animated video, motion graphics code, react animation video

NeverSight/learn-skills.dev

Video ad creation with exact platform-specific specs for TikTok, Instagram, YouTube, Facebook, LinkedIn. Covers dimensions, duration limits, AIDA framework, and caption requirements. Use for: video ads, social media ads, paid media creative, video marketing, ad production. Triggers: video ad, social media ad, tiktok ad, instagram ad, youtube ad, facebook ad, linkedin ad, video creative, ad specs, paid media, video marketing, ad production, reels ad, stories ad, pre roll, bumper ad

NeverSight/learn-skills.dev

Best practices and techniques for writing effective AI video generation prompts. Covers: Veo, Seedance, Wan, Grok, Kling, Runway, Pika, Sora prompting strategies. Learn: shot types, camera movements, lighting, pacing, style keywords, negative prompts. Use for: improving video quality, getting consistent results, professional video prompts. Triggers: video prompt, how to prompt video, veo prompts, video generation tips, better ai video, video prompt engineering, video prompt guide, video prompt template, ai video tips, video prompt best practices, video prompt examples, cinematography prompts

NeverSight/learn-skills.dev

YouTube thumbnail design with specific dimensions, contrast rules, and mobile preview optimization. Covers safe zones, text placement, face expression psychology, and A/B testing. Use for: YouTube thumbnails, video cover images, click-through optimization. Triggers: youtube thumbnail, thumbnail design, video thumbnail, click through rate, ctr optimization, youtube cover, video cover image, thumbnail maker, thumbnail tips, youtube design, video preview image

NeverSight/learn-skills.dev

Landing page conversion optimization with layout rules, hero section design, and CTA psychology. Covers above-the-fold formula, social proof placement, mobile design, and F-pattern reading. Use for: startup landing pages, product pages, SaaS marketing, conversion optimization. Triggers: landing page, hero section, above the fold, conversion optimization, landing page design, cta button, hero image, landing page layout, saas landing page, product page design, conversion rate, landing page best practices

NeverSight/learn-skills.dev

Configure and use the hosted YouTube Data MCP end-to-end with minimal user input. Use when users want the agent to verify Node.js and `npx`, configure MCP server config (Windows/macOS, Cursor/Codex/OpenClaw/OpenCode), request API key at setup time, run post-install capability discovery (`tools/list` and `get_patch_notes`), and then strongly recommend helper skill and Python setup for full local document and spreadsheet workflows.

NeverSight/learn-skills.dev

Creates 120fps GPU-accelerated animations with Motion.dev (Framer Motion successor) for React, Next.js, Svelte, and Astro projects. Use when user requests animation, motion, scroll effects, parallax, hero animations, gestures, drag interactions, spring physics, whileHover effects, whileInView animations, animated UI, micro-interactions, page transitions, or layout animations. Generates production TypeScript/JSX code with accessibility (prefers-reduced-motion) and performance validation (≥60fps). Supports entrance animations, gesture interactions (hover/tap/drag), scroll-based reveals, and layout transitions using spring physics and natural timing. Do NOT use for CSS-only transitions (use native CSS), static sites without JavaScript, Vue animations (use motion-v variant instead), or SVG/Canvas complex animations (GSAP better suited).

NeverSight/learn-skills.dev

Static artifact craft skill for self-contained HTML/CSS/JS documents: docs, sheets, dashboards, explainers, slides, tools, and landing pages. Use when the user asks for a durable, openable, shareable web deliverable they'll keep or hand off — a report, a dashboard, a slide deck, a data table, a page. Local folder first, temporary public link via tunnel (localhost.run), optional durable publish to Surge, GitHub Pages, or Cloudflare. Not for quick look renders, inline snippets, or throwaway scratch. Not for SPA frameworks, backend APIs, database apps, or production product UI.

NeverSight/learn-skills.dev

FFmpeg commands for video/audio conversion, trimming, compression, and processing. Use when user mentions "ffmpeg", "convert video", "compress video", "extract audio", "trim video", "gif from video", "video codec", "transcode", "screen recording", "merge videos", "video to mp4", "reduce file size", or any media processing task.

NeverSight/learn-skills.dev

Vim keybindings, motions, text objects, and operators for efficient text editing. Use when user asks about "vim commands", "vim motions", "text objects", "vim keybindings", "vim cheat sheet", "learn vim", "vim in VS Code", or any Vim editing tasks.

NeverSight/learn-skills.dev

Grok Build ONLY. Turn a 2D character still into smooth animation sprites via image_gen/image_edit base → image_to_video (6s/10s run-in-place) → ffmpeg frames → magenta chroma-key → dense sampled sprites (strip/grid/GIF). Use when the user wants video-to-sprite, motion capture from generated video, smoother run/walk cycles from dense frames, or runs /video2dsprite. Do NOT use on Codex/Claude — only Grok Build has image_to_video. Prefer generate2dsprite for crisp pixel sheets without video.

相關技能