wendao10136 downloadsMask real names as aliases before sending notes to any AI, restore in one click. Fully local, deterministic, privacy-first — your mapping table never leaves the device.
A fully local Obsidian plugin that deterministically masks sensitive names in your notes with custom aliases before you send the text to any public AI — whether an in-Obsidian assistant (Copilot, Editing Toolbar, etc.) or an external tool such as Codex, Claude Code, Doubao, DeepSeek, etc. — then restores them on the AI's reply.
PROJ_01).[[PROJ_01]]) locally, so you only ever feed the AI placeholder aliases; when the AI's reply comes back, the same mapping table restores the real names.data.json on your machine and is never sent to the AI. Replacement is deterministic — it does not rely on the AI to do the substitution (which would be lossy and error-prone)..obsidian/plugins/ai-alias/ (manifest.json + main.js).[[ and ]]. If you don't want Obsidian to render it as a (broken) link, change to 【 】 or « ».[[alias]].[[alias]] inside. Copy it back into your note, select it, right-click → AI Alias: Alias → Real name (or Command palette decrypt) to restore real names.AI Alias: Convert real names to aliases (selection or whole note) — also in the editor right-click menuAI Alias: Convert aliases to real names (selection or whole note) — also in the editor right-click menuAI Alias: Copy AI prompt prefix (safe, no real names).obsidian/plugins/ai-alias/data.json. Your git repo is private, so committing it is fine; if the repo ever goes public, exclude that file or use "Export mappings" to keep it yourself.一个纯本地的 Obsidian 插件,用于在与任何公网 AI 协作时——无论是 Obsidian 内的助手(Copilot、Editing Toolbar 等),还是 Codex、Claude Code、豆包、DeepSeek 等外部工具——对笔记里的敏感名称做确定性加/解密替换:提交给 AI 前把真实名称换成你自定义的代号,AI 回复回来后再还原。
PROJ_01)也能还原。[[PROJ_01]]),AI 只看到占位代号;回复回来后用同一映射表还原真名。data.json,绝不上传 AI。替换是确定性的,不依赖 AI 去做(AI 替换会漏、会猜错)。.obsidian/plugins/ai-alias/(manifest.json + main.js)。[[ 和 ]]。不想被 Obsidian 渲染成链接,可改为 【 】 或 « »。[[代号]]。[[代号]])复制回笔记并选中 → 右键 AI Alias:代号 → 真实名(或命令面板解密)还原真名。AI Alias:真实名转代号(选中/全文) —— 同时出现在编辑器右键菜单AI Alias:代号转真实名(选中/全文) —— 同时出现在编辑器右键菜单AI Alias:复制 AI 提示词前缀(安全,无真实名称).obsidian/plugins/ai-alias/data.json。git 仓库为 private,随提交无碍;若仓库变公开,请排除该文件或用"导出映射"自行保管。