
vardoger
io.github.dstrupl由 GitHub 账号 dstrupl 发布v0.4.0更新于 Oct 27, 2026
Personalize AI coding assistants by analyzing local conversation history. Runs on your machine.
概览
本地 Python 工具,读取 AI 编程助手的对话历史,并为其生成个性化规则文件。
- 可以做什么
- 读取受支持助手(Cursor、Claude Code、Codex、OpenClaw、Copilot CLI、Devin、Windsurf、Cline)的本地对话历史并提取行为模式
- 生成个性化系统提示补充内容,并写入该平台原生的规则文件
- 检查个性化内容是否最新或已过期,并比较个性化前后的对话质量指标
- 记录对上一次生成结果的接受或拒绝反馈,拒绝时会回退到上一版本
- 列出已保存的生成结果,将选中的结果编译为可移植的 AGENTS.md 配置,并在显式应用前预览差异
- 适用场景
- 适合希望助手根据你已有的会话适应你的沟通风格、技术栈和工作流程的用户,前提是愿意让宿主模型读取这些本地对话记录。适用于使用受支持编程助手、并希望个性化步骤可重复、可审查的场景。
- 运行要求
- 作为本地进程从 PyPI 安装(推荐 pipx);需要 Python 3.11+ 以及存在本地历史文件的受支持宿主助手。可选环境变量 VARDOGER_MCP_PLATFORM 可覆盖检测到的宿主平台。无需账号、API 密钥或后端服务。
安装
在 SourceWeft 中
- 打开 控制台中的 vardoger,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
vardoger
A cross-platform plugin for AI coding assistants (Cursor, Claude Code, OpenAI Codex, OpenClaw, GitHub Copilot CLI, Devin Local, legacy Windsurf, and Cline) that reads supported local conversation-history formats, extracts behavioral patterns, and generates personalized system prompt additions — making the assistant progressively better suited to how you work. Current format limitations are called out per platform below rather than silently reading undocumented stores.
History discovery, parsing, checkpoints, and generated rules stay on your machine. Analysis is performed by the host assistant you invoke, so selected conversation excerpts follow that assistant and model provider's data policy. Vardoger operates no backend and sends no telemetry.
Prerequisites
Python 3.11+
pipx
Recommended for installing vardoger as an isolated CLI tool. Full instructions at pipx.pypa.io/stable/installation.
Quick Start
Then tell your assistant: "Personalize my assistant."
Looking for the in-app plugin listings? Track review status for each marketplace (PyPI, Cursor, Claude Code, Codex, Copilot CLI, Devin Desktop, Cline, ClawHub) in
MARKETPLACE_STATUS.md. Vardoger is currently live on PyPI, the Claude Code community catalog, self-hosted Codex and Copilot marketplaces, McpMux, and the Official MCP Registry. The former Cursor listing is currently unavailable. ClawHub has regressed to 0.3.1 and is intentionally frozen because its mandatory MIT-0 terms conflict with this Apache-2.0 project. Current OpenClaw history has a live-accepted, opt-in full-read Gateway CLI path through the direct install.
Previous pre-releases.
pipx install vardogernow resolves to the stable0.4.0release. The beta install paths below stay here for anyone still pinning an earlier release; new installs should not need them.
CLI Commands
How It Works
- Read — Parses supported conversation files already stored on disk, including opted-in Devin ATIF exports
- Analyze — The host AI model identifies patterns in your communication style, tech stack, workflow, and preferences
- Generate — Produces a system prompt addition tailored to you
- Deliver — Writes the addition to the platform's native config (
.cursor/rules/,.claude/rules/,AGENTS.md, etc.)
First run vs. incremental runs. By default vardoger does not apply a time window — the first run reads your full local history (that is when the signal is richest and a windowed default would silently drop older sessions you never get a second chance to feed in). After that, a per-conversation checkpoint store at
~/.vardoger/state.jsonensures every subsequent run only reprocesses new or changed conversations, so refreshes stay fast. If you have very large local history and want to cap the first-run cost, pass--since DAYS(e.g.vardoger prepare --platform cursor --since 90); use--fullto force a full re-crawl that bypasses the checkpoint.
Cross-host profile compiler
The profile compiler combines only existing Vardoger generations that you
select; it does not silently reopen raw transcripts. Generation indexes are
one-based, while latest resolves to the newest saved generation for that
platform:
The normalized JSON audit is available with profile preview --json. It
records source platform, generation, output hash/path, observation time,
recency, confidence, conflicts, supersession, and exclusions. Opposing rules
such as “Prefer tabs” and “Avoid tabs” are withheld from active instructions
until reviewed. Writes preserve everything outside
<!-- vardoger-profile:start --> and <!-- vardoger-profile:end -->.
Supported Platforms
Development
Requires uv (Python package manager):
Project Layout
- Platform-agnostic logic lives under
src/vardoger/. - Platform-specific integration (manifests, skills, install scripts) lives under
plugins/<platform>/. - Tests live in
tests/, mirroring the source tree.
See AGENTS.md for full coding standards and quality checks.
Quality gates
CI enforces a combined quality bar on every push and pull request:
ruff check/ruff format --check— lint (incl. complexity, pylint, return, pathlib, tryceratops rules) and formatting.mypy src/— strict type checking.pytest --cov=vardoger --cov-fail-under=80— tests across Python 3.11–3.13 with a combined 80% coverage floor.- A parallel security job runs
bandit -r src/andpip-audit --skip-editableto catch common code smells and dependency CVEs.
Run the full bundle locally before pushing:
Contributing
Contributions are welcome. Short version:
- Fork
dstrupl/vardogeron GitHub and clone your fork. uv syncand create a topic branch.- Make your changes with tests and run the quality-gate one-liner above.
- Push to your fork and open a PR against
main.
CI (test on Python 3.11/3.12/3.13 plus a security job) will run automatically on the PR. First-time contributors may need a maintainer to click Approve and run before the first workflow execution.
See CONTRIBUTING.md for the full walkthrough and AGENTS.md for coding standards and commit-message conventions.
Releasing to PyPI
CI runs automatically on every push and PR (lint, type check, tests across Python 3.11–3.13). To publish a new version:
- Bump the package, generated setup manifests, platform manifests, and registry
metadata together; close the matching section in
CHANGELOG.md. - Run the complete quality, security, plugin-validation, and build checks.
- Commit and push to
main, then wait for all required checks. - Create an annotated
vX.Y.Ztag and publish the matching GitHub release.
The publish.yml workflow builds the package and uploads it to PyPI via trusted publishers (no API tokens needed). Once complete, pipx install vardoger will pull the new version.
Status
Public beta. Version 0.4.0 is published on PyPI and tagged on GitHub; this
source tree tracks that released version.
See MARKETPLACE_STATUS.md for live listings and
the remaining official-directory submissions.
See MANUAL_SUBMISSION_RUNBOOK.md for the
owner-only submission, review, and publication steps.
See PRD.md for the full product requirements document.
Privacy and security
- PRIVACY.md — what vardoger reads, writes, and (importantly) does not send anywhere.
- SECURITY.md — how to report a vulnerability privately.
License
Licensed under the Apache License, Version 2.0. See also the public Privacy Policy and Terms of Use.
来源:README.md,提交 b20a0a1
工具
0版本历史
2- v0.4.0最新Sep 27, 2026
- v0.3.2Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分