Where data lives
Yardmaster keeps its own state in two folders, reads what your agents keep on disk without changing it, and writes outside its own folders in four places only. This page lists each one. There is no account, no telemetry, and no cloud copy.
The config file
Section titled “The config file”One file holds your labels, pins, hidden ports, extra protected process names, and every app setting (the CLI yardmaster settings and the app’s Settings edit the same file). There are no per-client preference files.
| OS | Path |
|---|---|
| macOS | ~/Library/Application Support/yardmaster/config.json |
| Linux | $XDG_CONFIG_HOME/yardmaster/config.json (default ~/.config/yardmaster/config.json) |
| Windows | %APPDATA%\yardmaster\config.json |
Set YARDMASTER_CONFIG_DIR to use another folder (the tests do). A missing file means defaults. A file that exists but cannot be parsed is reported and left alone, never silently replaced. yardmaster settings prints the path and contents.
Before the name Yardmaster, the folder was called portkit. The first time Yardmaster starts without its own config and finds the old portkit one next to it, it loads that file and saves a copy under the new name. The old file stays where it is.
The data folder
Section titled “The data folder”Larger and local-only data lives in a second folder that does not roam between machines.
| OS | Path |
|---|---|
| macOS | ~/Library/Application Support/yardmaster/ |
| Linux | $XDG_DATA_HOME/yardmaster/ (default ~/.local/share/yardmaster/) |
| Windows | %LOCALAPPDATA%\yardmaster\ |
Set YARDMASTER_DATA_DIR to use another folder. Inside it:
| Path | What it holds |
|---|---|
reclaim/trash.jsonl |
The journal of everything Yardmaster moved to the system Trash, so it can be restored. |
reclaim/history.jsonl |
Disk size history for the Reclaim growth view. |
archive/ |
The archive from before the Trash existed. Still listed, restorable, and purgeable. The only place Yardmaster ever hard-deletes. |
limits/ |
The last plan limit readings: claude.json, cursor.json, gemini.json, codex-resets.json. Percentages, counts, and dates only. |
secrets/ |
Cookies you pasted: claude-session-key, cursor-session-cookie, gemini-cookie. Each file is readable by you alone (mode 0600), written atomically, sent only to its own vendor, and never shown back in the app. |
hygiene/scans.json |
The record of past credential scans: fingerprint, kind, confidence, label, and counts. Never a value, preview, key name, or path. |
rule-backups/ |
A backup of a rule file (CLAUDE.md, AGENTS.md, GEMINI.md) before an edit, and of ~/.claude/settings.json before the status line change. |
skill-sources.json, skill-backups/ |
Where a skill was installed from, and the old folder of a skill after an update (a move, never a delete). |
claude-probe/, gemini-probe/ |
Working folders for the Claude Code /usage probe and the agy probe (see Usage and limits). |
logs/app.log |
The tray app’s log. It carries no secrets. |
Deleting this folder resets Yardmaster’s memory of limits, scans, and Reclaim history. It does not touch your agents’ files or anything in the Trash.
What Yardmaster reads
Section titled “What Yardmaster reads”Yardmaster reads each agent’s own files to list sessions, count tokens, search history, and show what the agent loads. Reading never changes them. Each folder follows the agent’s own override variable where it has one.
| Agent | Default folder | Override |
|---|---|---|
| Claude Code | ~/.claude |
CLAUDE_CONFIG_DIR (or Claude Code folder in Settings) |
| Codex | ~/.codex |
CODEX_HOME |
| Gemini CLI | ~/.gemini |
GEMINI_CLI_HOME |
| OpenCode | ~/.local/share/opencode, config in ~/.config/opencode |
XDG_DATA_HOME, XDG_CONFIG_HOME |
| Cursor | ~/.cursor |
none |
| Antigravity | ~/.gemini/antigravity |
none |
| Pi | ~/.pi/agent |
PI_CODING_AGENT_DIR |
| Qwen Code | ~/.qwen |
QWEN_HOME |
| Kimi Code | ~/.kimi-code |
KIMI_CODE_HOME |
On Windows ~ is your user folder (%USERPROFILE%). Transcripts can contain secrets, so Yardmaster never edits them, and the Hygiene scan shows a credential as a kind, a fingerprint, and a masked preview, never the value.
What Yardmaster writes outside its own folders
Section titled “What Yardmaster writes outside its own folders”Only these, and each one is a dry run or a preview first:
- The system Trash. Every removal (agent data, dev caches, leftover worktrees) is a move into the Trash and is recorded in the journal above. Yardmaster never hard-deletes anything you or a tool made. The Trash is
~/.Trash(and<volume>/.Trashes/<uid>) on macOS, the freedesktop Trash on Linux, and the Recycle Bin on Windows. - Vendor CLIs. A change to what an agent loads (copying an MCP server, connecting or disconnecting Yardmaster’s own MCP server) runs the agent’s own command, such as
claude mcp add. Yardmaster never edits~/.claude.json,config.toml,settings.json, oropencode.jsonitself. - One value in
~/.claude/settings.json. The Claude Code status line setup editsstatusLine.commandonly when you click Set up or Undo setup, with a diff, a backup, an atomic rename, and a read-back. ~/.agents/skills. Skills are shared as symlinks into this folder (never copies, never replacing a real folder), and a skill installed from GitHub is written to~/.agents/skills/<name>only when nothing is there. Rule files change only after a diff preview, with a backup.