raw-drop 手机投递

SKILL运维和基础设施
运维和基础设施 未标注权限 许可证不明确
安装这个技能

部署、配置、诊断 raw-drop——把手机记录自动投递到本地 Obsidian 知识库的工具。当用户说「装一下 raw-drop」「手机记录传到电脑」「给这台电脑配置一下」「生成配对二维码」「手机连不上电脑」「扫不出来」「raw/inbox 收件箱」「换个知识库」「记录传到哪里了」,或需要在某台电脑上部署这个投递服务时使用。本技能是自包含安装包,装上即可用。 Deploy, configure and troubleshoot raw-drop — a tool that delivers notes captured on a phone straight into a local Obsidian vault. Use when the user says "install raw-drop", "send my phone notes to my computer", "set up this PC", "generate a pairing QR code", "phone can't connect", "can't scan the code", "raw/inbox", "switch knowledge base", "where did my notes go", or otherwise wants this delivery service deployed on a machine. Self-contained: everything needed is bundled.

一句话选型结论

按资料字段整理

raw-drop 手机投递是运维和基础设施类的 Agent Skill,安装方式未标注,权限级别未标注,许可证不明确,有可直接复制的安装命令。技能本质是给模型读的说明书,效果取决于模型与客户端;装完先用一个小任务验证,再放进正式流程。

分类运维和基础设施 安装方式未标注 权限级别未标注权限 许可证许可证不明确
累计安装 未标注 本周 未标注
GitHub 星标 未标注 仓库 未标注
下载量 未标注 技能市场下载数
权限级别 未标注权限 安装前请确认风险范围
许可证 许可证不明确 未说明

安装

未标注
在支持 Skills 的客户端里执行,装完问一句「你有哪些技能」验证
skillhub install user_2a9df368/raw-drop
  1. 1
    确认客户端支持

    确认你的客户端支持 Skills(Claude、Codex、Cursor 等),并升级到较新的版本。

  2. 2
    拿到技能文件

    执行上面的命令安装;也可以把仓库里的 SKILL.md 手动放进客户端的 skills 目录。

  3. 3
    刷新技能列表

    重新打开客户端,或刷新技能列表,让新放进来的技能被加载。

  4. 4
    验证是否生效

    问一句「你有哪些技能」,确认列表里出现它,再拿一个小任务试跑。

技能档案

运维和基础设施
字段来自技能仓库与公开索引,中文说明由本站标注
作者 / 维护方user_2a9df368仓库 未标注 · 版本 未标注
宿主客户端未标注技能可被这些客户端加载
安装方式未标注安装包 community
权限级别未标注权限安装前请确认风险范围
许可证未说明许可证不明确,商用前请自行确认条款
仓库可用性available技能仓库当前是否可访问
最近核验未标注上游最后核验时间 · 数据更新 1791701203
正文体量17.1 KBSKILL.md 原文大小,越大说明说明书写得越细

典型使用场景

3 类
按分类整理的常见用法,具体以 SKILL.md 为准
查服务与日志

按现象定位服务状态与日志线索。

写部署与巡检脚本

把重复的部署、巡检写成脚本。

故障排查

按步骤排查网络、依赖与配置。

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 有可直接复制的安装命令,不用自己翻文档找入口。

先想清楚的地方

  • 没有标注权限级别,实际能做什么要装好后确认。
  • 许可证不明确,商用或二次分发前先到仓库确认条款。
  • 没有做站内核验,内容以作者仓库为准。
  • 技能只是说明书,实际效果取决于模型与客户端,装完先用小任务试一遍。

更适合

  • 需要在运维和基础设施场景里给模型补一套做法的人。
  • 愿意先读一遍 SKILL.md、确认它会让模型做什么的人。

不太适合

  • 对许可证要求很严、必须明确可商用的人。
  • 只想装完就自动变强、不打算看说明书的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
技能权限级别安装方式累计安装宿主客户端安装命令
raw-drop 手机投递当前 未标注权限 未标注 未标注 未标注 有
Azure 部署 调用外部服务 GitHub 仓库 664.2 万 Codex、Claude、Cursor 有
Azure diagnostics 问题管理 调用外部服务 GitHub 仓库 657.6 万 Codex、Claude、Cursor 有
Azure aigateway 部署 调用外部服务 GitHub 仓库 655.3 万 Codex、Claude、Cursor 有
Azure AI 搜索 调用外部服务 GitHub 仓库 651.4 万 Codex、Claude、Cursor 有
Azure Cloud migrate 部署 调用外部服务 GitHub 仓库 650.7 万 Codex、Claude、Cursor 有

SKILL.md 全文

17.1 KB
模型实际读到的说明书原文,来自技能仓库

raw-drop 部署助手 / raw-drop Setup Assistant

手机随手记(文字 / 截图 / 语音),记录先存手机本地,回到电脑前点一次「上传全部」,内容落进本地 Obsidian 知识库的 raw/inbox/。

Capture notes on your phone (text, screenshots, voice). They queue locally, then one tap uploads them into your local Obsidian vault's raw/inbox/ folder.

本技能是完整安装包,内置全部程序。用户说「帮我装 raw-drop」时,直接执行部署流程即可,不需要再去别处下载。

This skill is a self-contained installer. When a user asks to set up raw-drop, run the deployment flow below — no external downloads required.


一、用户第一次说「装一下」,你要做什么

第 1 步:检查 Obsidian 是否安装

python -c "import os,pathlib;print(pathlib.Path.home()/'AppData/Roaming/obsidian/obsidian.json').exists()"

若返回 False:

告诉用户 / Tell the user:

> 没有检测到 Obsidian。这个工具需要 Obsidian 作为笔记软件。
> 请先到官网下载安装:https://obsidian.md/download
> 装好之后跟我说一声,我继续帮你配置。

> Obsidian was not detected. This tool requires Obsidian as the note app.
> Please download and install it from https://obsidian.md/download
> Let me know once it's done and I'll continue the setup.

然后就此停下。不要代用户安装软件。

Then stop. Never install software on the user's behalf.

第 2 步:探测已有知识库

python -c "
import json,pathlib
reg=pathlib.Path.home()/'AppData/Roaming/obsidian/obsidian.json'
d=json.loads(reg.read_text(encoding='utf-8'))
for v in d.get('vaults',{}).values():
    p=v.get('path')
    if p and (pathlib.Path(p)/'.obsidian').is_dir(): print(p)
"

有结果就把候选列给用户挑,例如:

> 找到这些知识库:
> 1. D:\我的笔记
> 2. E:\obsidian\第二大脑
> 用哪个?

> Found these vaults:
> 1. D:\我的笔记
> 2. E:\obsidian\第二大脑
> Which one should I use?

不要自己替用户选。

Never pick for them.

第 3 步:部署

python <技能目录>/scripts/deploy.py --target <安装目录> --vault <库路径>

省略参数则进入交互式问答,用户自己选。

Installs to C:\Users\<用户名>\raw-drop by default.

第 4 步:把配对信息告诉用户

脚本会输出 / The script prints:

配对页:http://127.0.0.1:8787/pair/page
手机访问:http://192.168.x.x:8787/setup?t=<token>

要明确告诉用户这三件事 / Tell the user these three things:

  1. 浏览器打开配对页(二维码在这里)
    Open the pairing page in a browser — the QR code is there
  2. 手机要连同一个 WiFi
    The phone must be on the same WiFi as the computer
  3. 手机连不上时,运行 python 解决手机连不上.py(会自动弹 UAC 放行防火墙)
    If the phone can't connect, run python 解决手机连不上.py (it requests admin rights to unblock the firewall)

第 5 步:告诉用户怎么在手机上用

服务自带网页端,扫码即用,不需要装任何 App:

  • 浏览器打开配对页会自动填好令牌
  • Chrome 菜单 →「添加到主屏幕」,桌面出现图标,跟原生 App 一样
  • 若用户问「有没有更方便的入口」,可以提一句:存在微信小程序版本,但它需要单独发布,本技能不含小程序源码

The bundled web page works like an app — no installation needed. Open it in a browser, then use Chrome's "Add to Home screen".

Phone-side capabilities: text notes (with OS dictation), images, voice recording. Items queue locally; tap "upload all" when you're back at the computer. Uploaded items stay for 7 days, then auto-delete.


二、手机连不上时的排查顺序

先诊断,再动手。 绝大多数「连不上」不是代码问题。

python <技能目录>/scripts/check.py --deep

它会报出服务状态、库路径、局域网地址、收件箱数量、依赖情况和目录结构。

Diagnose first, then act. Most connection failures are not code bugs. The script reports service state, vault path, LAN address, inbox count, dependencies and directory structure.

按现象处理 / Handle by symptom:

现象 / Symptom 根因 / Cause 处理 / Fix
服务起不来 / Won't start 端口被占 / Port in use netstat -ano \| grep 8787 找 PID,taskkill //PID x //F
本机能开、手机开不了 / Local OK, phone fails 防火墙(最常见)/ Firewall (most common) 让用户运行 python 解决手机连不上.py,它会自动申请管理员权限
二维码扫不出来 / Can't scan 显示过小 / 被遮挡 / Too small or obstructed 用系统相机或微信扫一扫对准大图;或手动输入配对页下方那行网址
二维码能扫、手机仍连不上 / Scans but won't connect 网络不通 / Network issue 走下面四条
IP 换了就失效 / IP changed 换网络导致 / New network 重新打开配对页,用新码扫

网络四条(按序,不要跳)/ Four checks, in order:

  1. 手机和电脑连的是同一个路由器 WiFi吗?
    Is the phone and computer on the same router WiFi?
    - 特别注意:电脑若连的是手机热点,很多手机会隔离热点上的设备
    - Note: if the computer is on a phone hotspot, many phones isolate hotspot clients
  2. 防火墙放行了吗?/ Is the firewall rule in place?
  3. 电脑上开着 VPN / 加速器 / 代理吗?临时关掉
    Is a VPN / accelerator / proxy running? Turn it off temporarily
  4. 服务黑窗口还在吗?/ Is the console window still open?

关于 IP 的坑:若 ifconfig.me 返回公网地址(如 111.x.x.x),那是运营商 NAT 出口,不代表局域网不通,不要据此误判网络类型。

IP caveat: a public address from ifconfig.me is the ISP's NAT egress. It does not mean the LAN is unreachable — don't misdiagnose from it.


三、改配置

配置文件在安装目录下的 config.json:

Config lives at config.json inside the install directory:

字段 / Field 说明 / Meaning
vault 知识库绝对路径,用正斜杠/ Vault path, use forward slashes
inbox 投递目录,默认 raw/inbox / Inbox folder, default raw/inbox
assets 附件目录,默认 raw/assets / Assets folder, default raw/assets
port 服务端口,默认 8787 / Service port, default 8787
token 访问令牌,24 位随机码 / Access token, 24-char random string
max_upload_mb 单请求上限,默认 40 / Per-request limit in MB, default 40

改完必须重启服务。

Restart the service after editing.

换库最省事的做法是直接重新部署 / Easiest way to switch vaults:

python scripts/deploy.py --target <安装目录> --vault <新库路径>

四、知识库结构

如果用户的库还没有分层,建议用这个结构:

If the user's vault has no structure yet, suggest this layout:

<库根>/<vault root>/
├── raw/                事实源,只读不改 / Source of truth, write-once
│   ├── inbox/手机投递落在这里 / Phone captures land here
│   ├── sources/        登记过的来源 / Registered sources
│   └── assets/         图片、录音 / Images and audio
├── wiki/               结构化知识 / Structured knowledge
│   ├── concepts/ topics/ entities/
│   └── analyses/ comparisons/ questions/
├── outputs/            派生产物 / Derived artifacts
└── AGENTS.md           维护规则 / Maintenance rules

raw 层铁律:只读,不改写,不重命名,不删除。新资料先进 raw/inbox/,处理后才登记到 raw/sources/。

raw layer rule: append only — never rewrite, rename or delete. New material goes to raw/inbox/ first, gets registered into raw/sources/ only after processing.

投进来的笔记自带元数据:

Delivered notes carry metadata:

---
source: wechat
captured_at: 2026-10-09T21:50:22+08:00
drop_id: 312f99b9
batch_id: m1a2b3
status: inbox
tags: [inbox, raw-capture]
---

五、检查收到了什么

ls -lt "<vault>/raw/inbox/" | head -10
curl -s http://127.0.0.1:8787/health

六、安全边界(不得越界)

这个工具的设计刻意保守,任何改动都不能破坏这些性质:

The design is deliberately conservative. No change may break these properties:

  • 不代用户安装软件 —— 遇到未装 Obsidian / Python,只给官网地址,让用户自己装
    Never install software for the user — if Obsidian or Python is missing, give the official URL and let them install it
  • 不伪造第三方目录 —— 不自动创建 .obsidian
    Never fabricate third-party directories — never auto-create .obsidian
  • 只写 raw/ —— 绝不读取、改写、重命名、删除用户既有笔记
    Write only inside raw/ — never read, rewrite, rename or delete existing notes
  • 不暴露公网 —— 默认只监听局域网
    Never expose to the internet — LAN only by default
  • 附件格式白名单 —— 仅放行图片与音频,拒绝可执行文件
    Extension allowlist — images and audio only; executables rejected
  • 目录穿越防护 —— 落盘前校验目标路径必须在库内
    Path traversal guard — targets are validated to stay inside the vault
  • 不把配对令牌发给第三方 —— 二维码本地生成;第三方扫码 API 默认关闭
    Never leak the pairing token to third parties — QR is generated locally; the third-party QR API is off by default

只创建 raw/inbox、raw/assets 这类本工具自身的目录是允许的。

Creating raw/inbox and raw/assets is fine — those belong to this tool.

网络访问与权限声明 / Network access and permissions

审核与用户都需要知道这个包会碰什么:

项目 / Item 说明 / Detail
监听端口 默认 8787,绑定 0.0.0.0(仅局域网,不映射公网)/ Port 8787 on 0.0.0.0, LAN only
外发请求 默认零外发。仅当用户显式设置 RAWDROP_ALLOW_QR_API=1 时,才会把配对网址(含令牌)发往 api.qrserver.com / No outbound requests by default; only when RAWDROP_ALLOW_QR_API=1 is explicitly set does it send the pairing URL (token included) to api.qrserver.com
写入范围 仅 <vault>/raw/inbox/ 与 <vault>/raw/assets/ / Writes only under <vault>/raw/
文件系统读取 只读 Obsidian 的 obsidian.json 以探测已有库;不读取笔记内容 / Reads only Obsidian's obsidian.json to discover vaults; never reads note contents
可执行文件 包内仅含 .py(无 .bat/.exe)。解决手机连不上.py 调用 netsh 增删防火墙规则(需提权),并通过 ShellExecuteW("runas") 自我提权 / Contains only .py (no .bat/.exe); 解决手机连不上.py runs netsh firewall rules (needs elevation) and self-elevates via ShellExecuteW("runas")

提权说明 / Elevation: 只有 解决手机连不上.py 需要管理员权限,用途单一——放行 8787 端口入站。不修改注册表、不安装服务、不写系统目录。

Only 解决手机连不上.py needs admin rights, for one purpose: allowing inbound TCP 8787. It does not touch the registry, install services, or write to system directories.


七、安装前的准备 / Before you install

部署脚本会尝试自动安装二维码库(qrcode),以便本地生成二维码。若你的环境无法联网或不允许自动装包,加 --no-deps 跳过:

The deploy script tries to auto-install the QR library (qrcode) so codes are generated locally. If your environment is offline or disallows automatic installs, pass --no-deps:

python scripts/deploy.py --no-deps

跳过后二维码回退到随包静态兜底图,其余功能不受影响。手动安装:

python -m pip install qrcode

特别提醒用户:任何拿到配对码的人都能往那台电脑的库里写东西(只能新增,不能改已有文件)。库里放敏感资料时要注意。

Warn users: anyone with the pairing code can write to that computer's vault (append-only, cannot modify existing files). Relevant if sensitive material is stored.


八、踩坑记录(勿重蹈)

自研标准算法前必须想清楚怎么验证。

本项目曾自研 QR 编码器,结构自检全过(定位图案、定时图案、PNG CRC 均正确),但微信扫一扫识别不出来。事后做「反向回读校验」——把数据区比特读回来与源数据比对,发现第 0 位就不一致。

> 结构自检通过 ≠ 结果正确。 涉及编码、加密、压缩这类必须与外部标准严格一致的实现,必须用现成库(现用 qrcode),或配解码器做往返验证。

Never hand-roll a standard algorithm without a plan for verification.

This project once shipped a hand-written QR encoder. Every structural self-check passed — finder patterns, timing patterns, PNG CRC — yet WeChat's scanner couldn't read it. A reverse read-back test showed bit 0 already wrong.

> Structural checks passing ≠ correct output. For anything that must match an external spec exactly (encoding, crypto, compression), use a battle-tested library (we now use qrcode) or round-trip it through a real decoder.

其他 / Others:

  • 改 HTML 模板后要实际请求一次页面,字符串替换可能没命中写死的属性
    After editing an HTML template, actually request the page — string replacement can miss hard-coded attributes
  • 服务改了代码要重启;若行为异常,先确认端口上跑的是不是新进程
    Restart after code changes; if behaviour is odd, first check whether the process on the port is actually the new one (netstat -ano | grep <port>)
  • PowerShell 的 Get-NetFirewallProfile 在非管理员下返回空,改用 netsh 验证更可靠
    Get-NetFirewallProfile returns nothing without admin rights; netsh is more reliable here

九、目录结构 / Layout

raw-drop/                    本技能 / This skill (self-contained)
├── SKILL.md                 本文件 / This file
├── app/内置服务端            Bundled server (copied to the user's PC on deploy)
│   ├── raw_drop.py          主服务 / Main service
│   ├── qr_provider.py       二维码生成 / QR generation
│   ├── 设置向导.py            交互式配置 / Interactive setup wizard
│   ├── config.json          配置模板(vault 留空)/ Config template (vault blank)
│   ├── web/                 捕获页与配对页 / Capture page and pairing page
│   └── *.py                 启动/设置/防火墙 / Launch, setup, firewall
└── scripts/
    ├── deploy.py            一键部署 / One-command deployment
    └── check.py             状态诊断 / Status diagnosis

不包含小程序源码。 小程序体积大、且需单独发布审核,不适合打进技能包。需要小程序的用户请另行获取。

No mini program source is included. It's large and requires separate review before publishing, so it doesn't belong in this package. Point users elsewhere if they need it.

服务端只依赖 Python 3.13+ 标准库;另建议装 qrcode 用于本地生成二维码(缺失时回退静态兜底图):

The server depends only on the Python 3.13+ standard library. Installing qrcode is recommended so QR codes are generated locally (falls back to a bundled static image if absent):

python -m pip install qrcode

deploy.py 会尝试自动安装它;用 --no-deps 可跳过。

deploy.py tries to install it automatically; pass --no-deps to skip.

常见问题

5 问
答案由本站依据条目字段整理
raw-drop 手机投递怎么安装?

在支持 Skills 的客户端里执行:skillhub install user_2a9df368/raw-drop。安装方式为未标注。装完刷新技能列表或重开客户端。

raw-drop 手机投递支持哪些客户端?

资料没有标注宿主客户端,但只要客户端支持 Skills(Claude、Codex、Cursor 等),一般都能加载。

raw-drop 手机投递权限高吗,安全吗?

权限级别为未标注权限。安装前先看它会读取或写入哪些内容。

raw-drop 手机投递收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于技能本身和所用的模型或客户端,正式使用前按作者说明确认。

raw-drop 手机投递用什么许可证?

许可证标注为 未说明(许可证不明确)。商用或二次分发前请到仓库确认条款原文。

热门专题

按场景挑技能
全部专题 →

技能内容以作者仓库为准;分类、权限级别与许可证状态的中文说明为中文整理,最近核验 未标注。