/steward:chat-history-cleanupfrom steward
Catalogs claude.ai chat history into a CSV, matches artifacts against Git repos, and proposes delete/archive/review actions. Run scan, then apply approved changes.
Ships in steward. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
claude.ai keeps every chat and every in-chat artifact, with no date filter, no bulk action and no way to tell which ones are already safe in a repo. This skill turns that history into one catalog the user owns, then keeps the history small: what is saved elsewhere goes, quick answers are archived (their links still open from the catalog), and the few chats with unsaved work are decided one by one.
It has three modes. Scan catalogs and proposes, and changes nothing in claude.ai. Apply archives or deletes only the buckets the user approves. Review goes through the chats with unsaved artifacts with the user, one at a time. Run scan, then apply and review, in one sitting or later.
conversations.json), but apply cannot.node ${CLAUDE_SKILL_DIR}/scripts/chc.js
(below, chc). Run it on the machine that holds the catalog and the repos.claude-chats-through-YYYY-MM-DD.csv, named for the last date it covers);steward command is on PATH, steward config shows [chat_history] catalog_dir and [projects] roots:
offer those as the defaults.Keep working files in ~/.cache/chat-history-cleanup/<cutoff>/ (below, $W). The catalog is the only file written
in the user's folder.
Follow ${CLAUDE_SKILL_DIR}/runbook.md, section "Scan", step by step. In short:
chc ledger status --catalog-dir <dir>: the current catalog and its through-date. The scan covers the day after
it to the cutoff (for a first run, everything up to the cutoff).chc snippet orgs, run in the tab), then list the chats in range that aren't in the
catalog (chc snippet list). Read them in batches of ten (chc snippet read); save each result to $W.chc catalog, chc match, chc plan. Read the drafted rows: fix a summary, category or topic that the chat's
content shows is wrong (titles mislead: read the first messages).chc ledger add: the rows go on top of the catalog, which is renamed to the new through-date.Only after the user names the buckets (empty, archive, in a repo). Runbook section "Apply":
chc items for the approved buckets. Show the counts and say that deletes cannot be undone.chc snippet act on a one-item file), check its read-back, then the rest in batches of 25.chc ledger record with every batch's results. Report what was verified, and anything that was not, by name.For each chat proposed for review, one at a time: summarize what it holds and what was searched for in the repos, then offer the outcomes in runbook section "Review" (archive, delete, rebuild the work somewhere lasting and then delete, or add a researched update and then archive). Do what the user picks, verify it, record it, and append a note saying what was done and where the work went.
Offer, once, at the end of a first run: a scan-only scheduled task for the first week of January.
chc schedule --catalog-dir <dir> --tz <zone> prints its name, schedule and prompt. If this session can create
scheduled tasks, create it with exactly that schedule and prompt, on the user's computer; otherwise give the user the
text. It never applies anything: the next live session approves its proposals.
runbook.md (opens in a new tab)scripts/chc.js (opens in a new tab)scripts/lib/catalog.js (opens in a new tab)scripts/lib/csv.js (opens in a new tab)scripts/lib/dates.js (opens in a new tab)scripts/lib/ledger.js (opens in a new tab)scripts/lib/match.js (opens in a new tab)scripts/lib/normalize.js (opens in a new tab)scripts/lib/plan.js (opens in a new tab)scripts/lib/snippets.js (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
Generated from the plugin's indexed repository (pacphi/workstation-steward) — no native marketplace selected
npx claudepluginhub p/pacphi-steward8 skills in this plugin
/ai-toolingKeeps this machine's AI tooling consistent with policy: Ruflo and AgentDB, the shared patched AQE runtime and CLI, RuvNet Brain, RuVector, the shared Ruflo launcher, the auto-update and daemon guards, and each project's AI launchers and hook shims. Reports drift read-only (steward ai drift), tracks upstream AQE releases and watched issues, and walks the qualification recipe for a new AQE or Ruflo version with backups and receipts. Respects each project's own tool choice: not every project uses ruflo, AQE or Brain. Use when asked "is the AI tooling OK", "check drift", "a new agentic-qe release is out", "upgrade ruflo", "why does this project use npx ruflo@latest", or "qualify AQE 3.15.x".
/fixTurns what the steward found into done work. Works the steward's work list (`steward brief --plan`, or the items of a `steward review --json`) top down through `steward fix`: runs the steps the user's [autonomy] level lets run unattended, asks the user for each step that needs a yes, hands over the steps only the user can take (merges, sudo, trust stores, anything by hand) as exact commands, stops at the first failure with its rollback, and ends with one summary. Independent items (a fleet repo's bot PRs, a sandbox qualification) can go to sub-agents. Use when the user says "fix it", "do what's next", "work the list", "handle what the review found", or when a `<steward-brief>` names this skill.
/pr-consolidationConsolidates open Dependabot and/or Renovate dependency PRs in one GitHub repo, in any ecosystem (Rust, Node/pnpm/npm, Go, Java/Maven/Gradle, Python, .NET, PHP, Ruby, GitHub Actions, Docker), into one verified PR on a fresh branch. Applies the bumps at manifest level within the current major, regenerates locks once, fixes upgrade-caused and pre-existing CI failures, makes every CI audit job pass, enforces the release-age gate (3 days by default), and writes a PR body that justifies every override, ignore and exception. Use when asked to "consolidate the Dependabot PRs", "combine the Renovate PRs", "roll the dependency PRs into one", "clear the security audit and the bot PRs", or to run a dependency-hygiene pass on a repo or across a fleet of repos.
/project-files-cleanupScans the files a Claude project has piled up (project cloud folder, Cowork or connected folders, or a Code repo's working tree), groups them into keep, delete and move buckets, and applies only the buckets the user approves./projectsDiscovers projects under the project roots set in steward.toml (Git repos, worktrees, submodules, and marked non-Git folders), surfaces new and vanished ones, and records the user's decision for each (onboarded with its chosen AI tools, ignored, or deferred) in the config folder's projects/registry.toml. Presents each new project with its evidence and options, says exactly what would happen if applied, and asks before acting. Not every project uses ruflo, AQE or Brain; the default is none. Use when `steward` reports new projects, or when asked "what new projects are there", "scan for projects", "onboard this repo", "ignore that folder", "which tools does this project use", or "confirm the project registry".
/skill-auditAudits every skill the AI tools on this machine can load (Claude Code, the Claude desktop app, Codex, Gemini CLI, GitHub Copilot, Grok Build (formerly Cursor), Hermes Agent) and publishes it as a claude.ai page you can filter by tool, plugin, source and verdict, then sets up a weekly scheduled task to keep it fresh. Use when asked to "audit my skills", "what skills do I have", "refresh the skill library audit", "which skills overlap", or to set up the audit's scheduled refresh.