/vibe-coder:save-contextfrom Vibe Coder
Keeps Claude Code sessions small and efficient by enforcing context-saving habits: grep before reading, subagents for broad questions, diffs instead of full files, short answers, and session resets on task switches.
Ships in Vibe Coder. 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.
None: SKILL.md is the whole skill.
Context is a budget. Every file you read and every line you write stays in the session and makes later turns slower, costlier and less accurate. Spend it only on what the task needs.
offset/limit). Read a whole file only when it is short or you truly need all of it.git diff, never the full file. Do not read a file back after editing it to check./compact (keep this thread) or a new session (clean start), in one line.Saving context never beats correctness. Read what you need to make the change safely: callers, tests, config. If a short answer would hide a risk, say the risk.
Lessons from earlier runs live in two files: ~/.claude/skill-lessons/save-context.md (any repo) and .claude/skill-lessons/save-context.md at the repo root (this repo only).
- <YYYY-MM-DD>: <do or avoid X> because <Y>. (seen: 1). When a line already says the same thing, raise its seen count and date instead of adding one. Facts about this repo go in the repo file, everything else in the user file. Keep each file under 30 lines by merging or dropping stale lessons.seen: 3: if the ashish-claude-skills source repo is open, propose the edit to plugins/vibe-coder/skills/save-context/SKILL.md as a diff and wait for a yes, then delete the lesson once it lands; otherwise say Lesson ready to promote: <line> in the report.Learned: <the line written | nothing>.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
6 skills in this plugin
/bug-triagerUse when a bug, edge case, failing case or code-review finding turns up and you must decide whether to fix it now; when tempted to add handling for a rare or hypothetical case; or when the user asks to triage, prioritise or rate bugs. Scores each one on frequency and severity (1-10 each); a product below 5 becomes an issue and the code is left alone./launch-readyUse when a vibe-coded site or web app is about to go live, or when the user asks for a pre-launch, launch-readiness or ship check. Covers consistent design, mobile, every state, real-user flows and launch details. Five read-only subagents audit 20 checks, the user approves the issue list, then you fix everything in one pass and show before-and-after screenshots./launch-safeUse when a vibe-coded site or app is about to go live and the backend needs a pre-launch check, or when the user asks about leaked keys, billing abuse, payment webhooks, monitoring, backups or launch-day risks. Five read-only subagents audit 25 checks behind the pages (keys and payments at high effort); the user approves the issue list, then you fix the code in one pass and hand the user dashboard steps for the rest. Pairs with launch-ready, which covers the pages./state-machine-hunterUse when the user asks to find implicit state machines, impossible states, boolean soup, or status flags in their app; when a bug comes from two flags disagreeing (isLoading and error both set, a button that submits twice, a spinner that never stops); or before refactoring a flow with several isX/hasX/status fields. Finds every implicit state machine, ranks them, and makes them explicit one at a time without changing behaviour./tailscale-linksUse whenever you are about to give the user a link to something running on this computer (a dev server, preview, review page, dashboard, local report). Never send localhost, 127.0.0.1 or a LAN IP; publish it with tailscale serve, open the Tailscale link yourself to check it works, then send it.npx claudepluginhub ashishyd/ashish-claude-skills --plugin vibe-coder