[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M72XP790C9SDSVFXX1R7RY37":3,"skill-same:01M72XP790C9SDSVFXX1R7RY37":57},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":35,"commitSha":36,"skillDirectory":5,"forksCount":37,"repositoryHtmlUrl":38,"repositoryHomepageUrl":6,"ownerHtmlUrl":39,"ownerBlogUrl":40,"ownerDescription":41,"updatedAt":42,"install":43,"resources":56},"01M72XP790C9SDSVFXX1R7RY37","managing-context-window",null,"Use when a conversation is getting long, drifting, juggling multiple tasks, re-pasting the same files, or showing stale\u002Fconfused context — and at the start of any new task. Triggers: long thread, context bloat, topic switch, repeated file uploads, 'why is it forgetting', degraded answers, finished one task and starting another.","jpoindexter\u002Ftheft-kit","jpoindexter","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F2729617?v=4","01M72VRRYY1CP7RPF3B7GHH0CR","01M72VRRZG461Q013PM800BVYK",1,"MIT","https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002Ftheft-kit\u002Fblob\u002Fmain\u002Fmanaging-context-window\u002FSKILL.md",[],[],"2026-11-10 22:39:42",false,"---\nname: managing-context-window\ndescription: \"Use when a conversation is getting long, drifting, juggling multiple tasks, re-pasting the same files, or showing stale\u002Fconfused context — and at the start of any new task. Triggers: long thread, context bloat, topic switch, repeated file uploads, 'why is it forgetting', degraded answers, finished one task and starting another.\"\nversion: 1.0.0\nauthor: Jason Poindexter\nlicense: MIT\nmetadata:\n  tags: [context, hygiene, sessions, tokens, productivity, jason]\n  related_skills: [bare-minimum-communication]\n---\n\n# Managing the Context Window\n\n## Overview\n\nA conversation is **working memory, not a workspace**. The longer a thread runs, the more stale, bloated, and drift-prone it gets — and the more it costs per message. The single biggest lever is starting fresh threads aggressively. Persistent context belongs in files (CLAUDE.md, Projects), not in scrollback.\n\n**Core rule:** When a thread has done its job, stop adding to it. New task → new thread.\n\n## When to Use\n\nThis is **always-on**. Apply it without being asked. Trigger on:\n\n- A thread that's run long or is drifting from its original task\n- Switching to a new, unrelated task in an existing thread\n- The same files\u002Fcodebase being re-pasted across messages\n- Answers degrading, \"forgetting\" earlier facts, or contradicting themselves\n- Finishing one task and about to start another\n- Jason starting a big \"working session\" thread instead of scoped tasks\n\nDo NOT use it to refuse a genuinely continuous task that needs its full history.\n\n## The Playbook (in order of impact)\n\n1. **Start new conversations aggressively** — the main lever. Once a thread finishes its job, don't keep piling on. New thread = clean context. When a task completes or the topic shifts, say so: *\"This is a new task — recommend `\u002Fclear` and a fresh thread.\"*\n\n2. **Externalize persistent context to files** — CLAUDE.md (global + per-project) and Projects custom instructions carry context into every new thread without inheriting message history. If Jason keeps re-explaining the same thing, the fix is a file edit, not a longer thread. Offer to write it.\n\n3. **Summarize before continuing** — if a long thread genuinely must continue, produce a compact state block (decisions, current state, next steps), then `\u002Fclear` and paste just that into a fresh thread. Strips the bloat, keeps the signal.\n\n4. **`\u002Fcompact` for long coding sessions** — in Claude Code, run `\u002Fcompact` periodically to compress history in-place before context blows out. Suggest it proactively on long sessions.\n\n5. **Scope conversations tightly** — one task per thread. \"Fix this bug\" → done → new thread for the next thing. Push back when a single thread is becoming a catch-all.\n\n6. **Don't re-upload the same files** — if the same files appear every message, they're being re-tokenized each time. Move them into a Project (or a referenced path) so they load once.\n\n## Quick Reference\n\n| Symptom | Action |\n|---|---|\n| Task finished, new one starting | Recommend `\u002Fclear` + fresh thread |\n| Repeated context re-explanation | Offer to write it to CLAUDE.md \u002F Project |\n| Must continue a long thread | Emit compact state block → `\u002Fclear` → paste |\n| Long Claude Code coding session | Suggest `\u002Fcompact` |\n| One thread = many tasks | Flag it, propose splitting |\n| Same files every message | Move to Project \u002F reference path |\n\n## Enforcement — no rationalizing\n\nThis skill is enforced **100%**. The default pull is to keep answering in the current thread because it's there. Resist it.\n\n| Excuse | Reality |\n|---|---|\n| \"The thread still works fine\" | Cost and drift rise silently before they're visible. Flag early. |\n| \"Starting fresh is annoying\" | A 10-second `\u002Fclear` beats a 50-message degraded thread. |\n| \"I'll mention it later\" | Later = more bloat. Flag at the moment the task completes or shifts. |\n| \"It's basically the same topic\" | 'Basically the same' is how working sessions sprawl. Scope tight. |\n| \"Re-pasting files is easier\" | Re-tokenizing every message is the expensive part. Externalize once. |\n\n**Letter vs spirit:** keeping a thread alive \"just for this one more thing\" is the exact drift this skill prevents. One more thing → new thread.\n\n## Red Flags — STOP and act\n\n- Just finished a task and the next message is a different task → recommend fresh thread\n- About to re-explain context already given earlier → externalize to a file instead\n- Same files pasted 2+ times → move to Project\n- Noticeably worse \u002F contradictory answers → context is stale, recommend `\u002Fclear` + summary handoff\n\nAll of these mean: **don't silently continue. Surface the hygiene action in one line, then proceed.**\n","# Managing the Context Window\n\n## Overview\n\nA conversation is **working memory, not a workspace**. The longer a thread runs, the more stale, bloated, and drift-prone it gets — and the more it costs per message. The single biggest lever is starting fresh threads aggressively. Persistent context belongs in files (CLAUDE.md, Projects), not in scrollback.\n\n**Core rule:** When a thread has done its job, stop adding to it. New task → new thread.\n\n## When to Use\n\nThis is **always-on**. Apply it without being asked. Trigger on:\n\n- A thread that's run long or is drifting from its original task\n- Switching to a new, unrelated task in an existing thread\n- The same files\u002Fcodebase being re-pasted across messages\n- Answers degrading, \"forgetting\" earlier facts, or contradicting themselves\n- Finishing one task and about to start another\n- Jason starting a big \"working session\" thread instead of scoped tasks\n\nDo NOT use it to refuse a genuinely continuous task that needs its full history.\n\n## The Playbook (in order of impact)\n\n1. **Start new conversations aggressively** — the main lever. Once a thread finishes its job, don't keep piling on. New thread = clean context. When a task completes or the topic shifts, say so: *\"This is a new task — recommend `\u002Fclear` and a fresh thread.\"*\n\n2. **Externalize persistent context to files** — CLAUDE.md (global + per-project) and Projects custom instructions carry context into every new thread without inheriting message history. If Jason keeps re-explaining the same thing, the fix is a file edit, not a longer thread. Offer to write it.\n\n3. **Summarize before continuing** — if a long thread genuinely must continue, produce a compact state block (decisions, current state, next steps), then `\u002Fclear` and paste just that into a fresh thread. Strips the bloat, keeps the signal.\n\n4. **`\u002Fcompact` for long coding sessions** — in Claude Code, run `\u002Fcompact` periodically to compress history in-place before context blows out. Suggest it proactively on long sessions.\n\n5. **Scope conversations tightly** — one task per thread. \"Fix this bug\" → done → new thread for the next thing. Push back when a single thread is becoming a catch-all.\n\n6. **Don't re-upload the same files** — if the same files appear every message, they're being re-tokenized each time. Move them into a Project (or a referenced path) so they load once.\n\n## Quick Reference\n\n| Symptom | Action |\n|---|---|\n| Task finished, new one starting | Recommend `\u002Fclear` + fresh thread |\n| Repeated context re-explanation | Offer to write it to CLAUDE.md \u002F Project |\n| Must continue a long thread | Emit compact state block → `\u002Fclear` → paste |\n| Long Claude Code coding session | Suggest `\u002Fcompact` |\n| One thread = many tasks | Flag it, propose splitting |\n| Same files every message | Move to Project \u002F reference path |\n\n## Enforcement — no rationalizing\n\nThis skill is enforced **100%**. The default pull is to keep answering in the current thread because it's there. Resist it.\n\n| Excuse | Reality |\n|---|---|\n| \"The thread still works fine\" | Cost and drift rise silently before they're visible. Flag early. |\n| \"Starting fresh is annoying\" | A 10-second `\u002Fclear` beats a 50-message degraded thread. |\n| \"I'll mention it later\" | Later = more bloat. Flag at the moment the task completes or shifts. |\n| \"It's basically the same topic\" | 'Basically the same' is how working sessions sprawl. Scope tight. |\n| \"Re-pasting files is easier\" | Re-tokenizing every message is the expensive part. Externalize once. |\n\n**Letter vs spirit:** keeping a thread alive \"just for this one more thing\" is the exact drift this skill prevents. One more thing → new thread.\n\n## Red Flags — STOP and act\n\n- Just finished a task and the next message is a different task → recommend fresh thread\n- About to re-explain context already given earlier → externalize to a file instead\n- Same files pasted 2+ times → move to Project\n- Noticeably worse \u002F contradictory answers → context is stale, recommend `\u002Fclear` + summary handoff\n\nAll of these mean: **don't silently continue. Surface the hygiene action in one line, then proceed.**\n",{"name":5,"author":23,"license":14,"version":24,"metadata":25,"description":7},"Jason Poindexter","1.0.0",{"tags":26,"related_skills":33},[27,28,29,30,31,32],"context","hygiene","sessions","tokens","productivity","jason",[34],"bare-minimum-communication","main","6d67dce7942a631fe64f708c761284f84c4dd88c",0,"https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002Ftheft-kit","https:\u002F\u002Fgithub.com\u002Fjpoindexter","jason.theft.studio","Just some guy trying to build stuff","2026-08-26 18:23:33",{"source":8,"skillName":5,"commands":44,"prompt":54,"zipAvailable":55},[45,48,51],{"tool":46,"command":47},"npx","npx skills add jpoindexter\u002Ftheft-kit --skill managing-context-window",{"tool":49,"command":50},"bunx","bunx skills add jpoindexter\u002Ftheft-kit --skill managing-context-window",{"tool":52,"command":53},"pnpm","pnpm dlx skills add jpoindexter\u002Ftheft-kit --skill managing-context-window","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002Ftheft-kit\u002Fblob\u002Fmain\u002Fmanaging-context-window\u002FSKILL.md",true,[],[58,66,73,81,88,95],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":65},"01M72YW2F1W2JNREY6NKPSFFMF","vertical-grid","Enforce Swiss-Industrial 4px baseline vertical grid for consistent rhythm","https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002Ftheft-kit\u002Fblob\u002Fmain\u002Fvertical-grid\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":65},"01M72YVSWAGTZ6SKDHSQYD7MNP","vercel-react-best-practices","React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React\u002FNext.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.","https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002Ftheft-kit\u002Fblob\u002Fmain\u002Fvercel-react-best-practices\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":77,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":65},"01M72YSFWQBR5JYW36VJAHXF6X","valid-skill","A complete test skill with all optional directories.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002Ftheft-kit\u002Fblob\u002Fmain\u002Fvalid-skill\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":65},"01M72YMFMFBA64ZJSXR7ARBPG1","table-patterns","Create and enhance data tables with proper patterns, design tokens, and features","https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002Ftheft-kit\u002Fblob\u002Fmain\u002Ftable-patterns\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":65},"01M72YM1HNX0XN88BDWT613V8X","swiss-design","Enforce Swiss design principles - reduce visual noise, remove harsh borders","https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002Ftheft-kit\u002Fblob\u002Fmain\u002Fswiss-design\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":65},"01M72YK90R9N69YZQ9SQ5Q23ZK","supabase-postgres-best-practices","Postgres performance optimization and best practices from Supabase. Use this skill when writing, reviewing, or optimizing Postgres queries, schema designs, or database configurations.","https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002Ftheft-kit\u002Fblob\u002Fmain\u002Fsupabase-postgres-best-practices\u002FSKILL.md",[],[]]