handoff
Generate a smart bootstrap prompt to continue the current conversation in a fresh session. Use when (1) approaching context limits, (2) user says "handoff", "bootstrap", "continue later", "save session", or similar, (3) before closing a session with unfinished work, (4) user wants to resume in a different environment. Outputs a clipboard-ready prompt capturing essential context while minimizing tokens.
What this skill does
# Handoff Generate a bootstrap prompt that enables seamless conversation continuity in a new session. ## Process ### 1. Analyze Current Session Identify and categorize: - **Goal state**: What is the user trying to accomplish? What's the end state? - **Current progress**: What's been done? What's working? - **Blockers/open questions**: What's unresolved? What decisions are pending? - **Key artifacts**: Files modified, commands run, errors encountered - **Critical context**: Domain knowledge, constraints, or preferences established ### 2. Apply Token Efficiency Heuristics **Include:** - Specific file paths, function names, error messages (hard to rediscover) - Decisions made and their rationale (prevents re-discussion) - Current hypothesis or approach being tested - Exact reproduction steps for bugs **Exclude:** - General knowledge Claude already has - Verbose explanations of standard concepts - Full file contents (use paths + line numbers instead) - Conversation pleasantries or meta-discussion **Compress:** - Use bullet points over prose - Reference files by path, not content - Summarize long error traces to key lines - Use "established: X" for agreed-upon decisions ### 3. Structure the Bootstrap Prompt ```markdown ## Context [1-2 sentence goal statement] ## Progress - [Completed item with outcome] - [Completed item with outcome] ## Current State [What's happening right now - the exact point to resume from] ## Key Files - `path/to/file.ext` - [role/status] ## Open Items - [ ] [Next immediate action] - [ ] [Subsequent action] ## Constraints/Decisions - [Established constraint or decision] ``` ### 4. Output Copy the bootstrap prompt to clipboard using: ```bash echo "PROMPT_CONTENT" | pbcopy # macOS ``` Confirm with: "Bootstrap prompt copied to clipboard. Paste it to start a new session." ## Adaptive Sizing **Simple tasks** (bug fix, small feature): 100-200 tokens - Goal, current file, error/behavior, next step **Medium tasks** (feature implementation, refactor): 200-400 tokens - Goal, progress list, current state, key files, next steps **Complex tasks** (architecture, multi-system): 400-800 tokens - Full structure above, plus constraints and decision rationale ## Example Output ```markdown ## Context Adding OAuth login to the Express app, Google provider first. ## Progress - Installed passport, passport-google-oauth20 - Created `src/auth/google.ts` with strategy config - Added `/auth/google` and `/auth/google/callback` routes ## Current State Callback route returns "Failed to serialize user into session" - need to implement serializeUser/deserializeUser in passport config. ## Key Files - `src/auth/google.ts` - strategy setup (working) - `src/routes/auth.ts:45` - callback handler (error here) - `src/app.ts` - passport.initialize() added, missing session serialize ## Open Items - [ ] Add serialize/deserialize to passport config - [ ] Test full OAuth flow - [ ] Add session persistence (currently memory store) ## Constraints - Using express-session with default memory store for now - Google OAuth credentials in .env (GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET) ```
Related in AI Agents
skill-development
IncludedComprehensive meta-skill for creating, managing, validating, auditing, and distributing Claude Code skills and slash commands (unified in v2.1.3+). Provides skill templates, creation workflows, validation patterns, audit checklists, naming conventions, YAML frontmatter guidance, progressive disclosure examples, and best practices lookup. Use when creating new skills, validating existing skills, auditing skill quality, understanding skill architecture, needing skill templates, learning about YAML frontmatter requirements, progressive disclosure patterns, tool restrictions (allowed-tools), skill composition, skill naming conventions, troubleshooting skill activation issues, creating custom slash commands, configuring command frontmatter, using command arguments ($ARGUMENTS, $1, $2), bash execution in commands, file references in commands, command namespacing, plugin commands, MCP slash commands, Skill tool configuration, or deciding between skills vs slash commands. Delegates to docs-management skill for official documentation.
reprompter
IncludedTransform messy prompts into well-structured, effective prompts — single or multi-agent. Use when: "reprompt", "reprompt this", "clean up this prompt", "structure my prompt", rough text needing XML tags and best practices, "reprompter teams", "repromptception", "run with quality", "smart run", "smart agents", multi-agent tasks, audits, parallel work, anything going to agent teams. Don't use when: simple Q&A, pure chat, immediate execution-only tasks. See "Don't Use When" section for details. Outputs: Structured XML/Markdown prompt, quality score (before/after), optional team brief + per-agent sub-prompts, agent team output files. Success criteria: Single mode quality score ≥ 7/10; Repromptception per-agent prompt quality score 8+/10; all required sections present, actionable and specific.
adaptive-compaction
IncludedAdaptive add-on policy and recovery layer that decides WHEN to compact, prune, snapshot, or fork -- replacing fixed-percent auto-compaction across Claude Code, Codex, and MCP-capable hosts. Trigger on auto-compact timing or damage: "when should I compact", "is it safe to compact now or start a fresh session", "auto-compact fires too early/mid-task", "switching to an unrelated task but the window still has space", "context rot", "answers get worse the longer the session runs", "the agent forgot the plan or my decisions after it summarized", "add a layer on top that manages context without changing the agent", raising autoCompactWindow to give the policy room, or installing/tuning a cross-tool compaction policy or PreCompact hook -- even when "compaction" is never said but the problem is context-window pressure or post-summarization memory loss. Do NOT use to summarize a conversation, build RAG, write a summarization prompt (decides WHEN not HOW), or answer max-context-length trivia.
agent-skill-creator
IncludedCreate cross-platform agent skills from workflow descriptions. Activates when users ask to create an agent, automate a repetitive workflow, create a custom skill, or need advanced agent creation. Triggers on phrases like create agent for, automate workflow, create skill for, every day I have to, daily I need to, turn process into agent, need to automate, create a cross-platform skill, validate this skill, export this skill, migrate this skill. Supports single skills, multi-agent suites, transcript processing, template-based creation, interactive configuration, cross-platform export, and spec validation.
llm-wiki
IncludedUse when building or maintaining a persistent personal knowledge base (second brain) in Obsidian where an LLM incrementally ingests sources, updates entity/concept pages, maintains cross-references, and keeps a synthesis current. Triggers include "second brain", "Obsidian wiki", "personal knowledge management", "ingest this paper/article/book", "build a research wiki", "compound knowledge", "Memex", or whenever the user wants knowledge to accumulate across sessions instead of being re-derived by RAG on every query.
skill-master
IncludedAgent Skills authoring, evaluation, and optimization. Create, edit, validate, benchmark, and improve skills following the agentskills.io specification. Use when designing SKILL.md files, structuring skill folders (references, scripts, assets), ingesting external documentation into skills, running trigger evals, benchmarking skill quality, optimizing descriptions, or performing blind A/B comparisons. Keywords: agentskills.io, SKILL.md, skill authoring, eval, benchmark, trigger optimization.