vardoger

v0.4.0
io.github.dstrupl/vardoger Checked 4 days ago Published 2 months ago

Personalize AI coding assistants by analyzing local conversation history.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

vardoger_status

Check whether the personalization for a platform is up to date. Args: platform: One of cursor, claude-code, codex, openclaw, copilot, windsurf, cline, devin. Empty uses the server default (env var ``VARDOGER_MCP_PLATFORM`` or ``cursor``). Returns: JSON ``StalenessReport`` indicating whether the personalization needs refreshing, how many days since the last update, and how many new or changed conversations exist.

ParameterTypeDescription
platformstring

vardoger_personalize

Personalize the AI assistant from its conversation history. Call this tool when the user asks to personalize their assistant, to analyze their conversation history, or mentions "vardoger". Returns step-by-step instructions for the calling model to follow using the other vardoger tools. Args: platform: One of cursor, claude-code, codex, openclaw, copilot, windsurf, cline, devin. Empty uses the server default (env var ``VARDOGER_MCP_PLATFORM`` or ``cursor``). Returns: A markdown walkthrough of the remaining vardoger calls.

ParameterTypeDescription
platformstring

vardoger_prepare

Prepare conversation history for analysis. Call without ``batch`` (or with ``batch=0``) to get metadata about how many batches are available. Then call with ``batch=1``, ``batch=2``, etc. to get each batch of conversations along with the summarization prompt. Args: batch: Batch number (1-based). 0 or omitted returns metadata only. platform: One of cursor, claude-code, codex, openclaw, copilot, windsurf, cline, devin. Empty uses the server default. Returns: JSON metadata for ``batch=0``, otherwise the summarize prompt concat…

ParameterTypeDescription
batchinteger
platformstring

vardoger_synthesize_prompt

Get the synthesis prompt for combining batch summaries. Call this after you have summarized all batches. Use the returned prompt to guide the synthesis of those batch summaries into a final personalization. If the user has previously edited the generated rules, a feedback-context block is prepended so the synthesis respects those edits. Args: platform: One of cursor, claude-code, codex, openclaw, copilot, windsurf, cline, devin. Empty uses the server default. Returns: The synthesis prompt text (optionally prefixed with feedback…

ParameterTypeDescription
platformstring

vardoger_write

Deliver the final personalization — copy-paste by default, file opt-in. Call this after synthesizing all batch summaries. If ``content`` begins with a YAML frontmatter block (as produced by the synthesis prompt), low-confidence rules are annotated with "(tentative)" before delivery. Delivery modes (Cursor): - ``project_path`` empty → default, **no disk write**. Returns a copy-paste block the user pastes into *Cursor Settings → Rules → User Rules*. This is the correct default because vardoger's output is derived from global conversation hi…

ParameterTypeDescription
content *string
platformstring
project_pathstring
scopestring

vardoger_preview

Show a unified diff between a proposed personalization and the current file. Applies the same frontmatter parsing + tentative annotation as ``vardoger_write`` so the preview matches what would be written. Does not modify any files. Args: content: The proposed personalization (with optional YAML frontmatter). platform: One of cursor, claude-code, codex, openclaw, copilot, windsurf, cline, devin. Empty uses the server default. scope: "global" or "project". Empty selects the platform's default. project_path: Optional project directory.…

ParameterTypeDescription
content *string
platformstring
project_pathstring
scopestring

vardoger_feedback

Record accept/reject feedback for the latest personalization. - ``accept`` simply records that the user confirmed the generation. - ``reject`` also auto-reverts the rules file to the previous generation, or clears it entirely when no prior generation exists. Args: kind: "accept" or "reject". platform: One of cursor, claude-code, codex, openclaw, copilot, windsurf, cline, devin. Empty uses the server default. reason: Optional free-text reason recorded on the feedback event. scope: "global" or "project". Empty selects the platform's…

ParameterTypeDescription
kind *string
platformstring
project_pathstring
reasonstring
scopestring

vardoger_import

Look for existing Cursor vardoger rule files in given workspaces. vardoger's output is derived from *global* conversation history, so a user with multiple Cursor projects may already have a curated ``vardoger.mdc`` in one of them that's worth reusing (perhaps with edits) instead of regenerating from scratch. The pre-0.4.0 ``vardoger.md`` filename is accepted as a read-only fallback. This tool gives the orchestrating model a way to look one up without blindly scanning the filesystem. The caller (the agent) is expected to supply a short list of candidate…

ParameterTypeDescription
paths *array

vardoger_compare

Compare conversation quality before vs. after the latest personalization. Metrics are heuristic signals (correction rate, pushback length, satisfaction tokens, restart rate, emoji rate) bucketed around the most recent generation's timestamp. Args: window_days: Optional symmetric window in days around the cutoff. Use 0 (default) to include all history. platform: One of cursor, claude-code, codex, openclaw, copilot, windsurf, cline, devin. Empty uses the server default. Returns: ``QualityComparison.model_dump_json()`` — a J…

ParameterTypeDescription
platformstring
window_daysinteger