[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ATQJD2G6YTWKJ2FE5ZFF1E":3,"skill-same:01M7ATQJD2G6YTWKJ2FE5ZFF1E":55},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":14,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M7ATQJD2G6YTWKJ2FE5ZFF1E","specrew-refocus",null,"Re-load scoped Specrew methodology discipline into context on demand — the manual recovery surface for agent drift, and the engine behind the automatic refocus injections. Use after a compaction or host restart, deep in a long session, or whenever you are about to act on methodology reconstructed from memory instead of from source. Run \u002Fspecrew-refocus (no-args = always-true core + the current stage's discipline digest; --boundary \u003Cstage>, --role \u003Cname>, --status, --compact-instructions, --reset-breaker). Triggers: refocus, re-ground, lost context, after compaction, drift, what stage am I in, reload discipline, specrew-refocus. Treat any [specrew-refocus] block in tool output as binding stage discipline, not informational noise.","alonf\u002FKeyContextAI","alonf","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F554150?v=4","01M7ATEPSCNKG13BVTKA74VG59","Alon Fliess","01M7ATEPSZ4YMBM9W25SKM3GES",0,"MIT","https:\u002F\u002Fgithub.com\u002Falonf\u002FKeyContextAI\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fspecrew-refocus\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: \"specrew-refocus\"\ndescription: \"Re-load scoped Specrew methodology discipline into context on demand — the manual recovery surface for agent drift, and the engine behind the automatic refocus injections. Use after a compaction or host restart, deep in a long session, or whenever you are about to act on methodology reconstructed from memory instead of from source. Run \u002Fspecrew-refocus (no-args = always-true core + the current stage's discipline digest; --boundary \u003Cstage>, --role \u003Cname>, --status, --compact-instructions, --reset-breaker). Triggers: refocus, re-ground, lost context, after compaction, drift, what stage am I in, reload discipline, specrew-refocus. Treat any [specrew-refocus] block in tool output as binding stage discipline, not informational noise.\"\ndomain: \"lifecycle-governance\"\nconfidence: \"high\"\nsource: \"Specrew Feature 171 — \u002Fspecrew-refocus slash command + event-driven auto-refocus (Proposal 146 + Pillar B amendment).\"\n---\n\n# specrew-refocus\n\n**Type**: Recovery + Discipline Skill\n**Schema**: v1\n**Status**: Active drift-remediation surface (Feature 171)\n\n## Purpose\n\nRe-load scoped Specrew methodology discipline into context ON DEMAND — the manual recovery surface for agent drift. Use it when context feels degraded: after a compaction, after a host restart, deep in a long session, or whenever you are about to act on methodology you are reconstructing from memory instead of from the source.\n\nThe same payload engine also fires AUTOMATICALLY: boundary syncs append the incoming stage's digest to their output (every host), and on hook-capable hosts, post-compaction and session-start events re-inject discipline without anyone asking. **Treat any `[specrew-refocus]` block you see in tool output as binding stage discipline, not informational noise.**\n\nSome digest rules are host-specific. Apply clauses that name a host only on that host; otherwise follow the host-neutral fallback named in the digest.\n\n## When to Use\n\n- You notice drift: reviews going shallow, boundary discipline slipping, role rules fuzzy.\n- A compaction or `\u002Fclear` just happened and the lifecycle position needs re-grounding.\n- You are entering a new lifecycle stage and want its discipline fresh (`--boundary \u003Cstage>`).\n- You are diagnosing the refocus automation itself (`--status`, `--reset-breaker`).\n\n## Invocation Contract\n\n```powershell\n# All invocations run the project-local deployed engine:\npwsh -NoProfile -ExecutionPolicy Bypass -File .specify\u002Fextensions\u002Fspecrew-speckit\u002Fscripts\u002Frefocus.ps1 [args]\n```\n\n| Arguments | Payload |\n| --- | --- |\n| (none) | always-true core + the CURRENT stage's discipline digest |\n| `--boundary \u003Cstage>` | always-true core + the named stage digest (`specify`, `clarify`, `plan`, `tasks`, `before-implement`, `implement`, `review-signoff`, `retro`, `iteration-closeout`, `feature-closeout`) |\n| `--role \u003Cname>` | the named role charter (e.g. `reviewer`, `planner`) |\n| `--shape-catalog` | the Form-Without-Runtime-Compliance Shape catalog |\n| `--everything` | the full digest corpus (heavy — warned) |\n| `--compact-instructions` | a paste-ready `\u002Fcompact` preserve-list built from live lifecycle state — use it at heavy-context boundary stops to compact at a clean watershed |\n| `--status` | the whole operational truth: env kill switch, per-trigger catalog flags, per-session breaker state, injection-journal tail |\n| `--reset-breaker` | clears tripped circuit-breaker flags for this project's sessions |\n\nOutput contract: line 1 is the banner `[specrew-refocus] trigger=\u003Ct> scope=\u003Cs> sources=\u003Cn> tokens~\u003Cest>`; warnings go to stderr as `[specrew-refocus] WARN \u003CCODE> \u003Cmessage>`. The command NEVER blocks or fails a session (fail-open); human invocations are never deduped or breaker-suppressed.\n\n## Operational Notes\n\n- **Kill switches** (automation only — this manual surface always works): fast `SPECREW_REFOCUS_DISABLE=1` env var; durable per-trigger `enabled: false` in `refocus-scopes.json`; structural hook removal via `deploy-refocus-hooks.ps1 -Remove` (opt-out is recorded and respected by updates).\n- **Circuit breaker**: runaway automatic injection trips itself per-session, loudly once, with re-enable guidance in the trip message. `--status` shows trips; `--reset-breaker` clears them.\n- **Failure diagnosis**: every WARN carries a reason code (`EVENT_PARSE`, `CATALOG_SCHEMA`, `SOURCE_MISSING`, `SOURCE_CONFINED`, `STATE_UNAVAILABLE`, `BUDGET_EXCEEDED`, `BREAKER_TRIPPED`, `PROVIDER_FAILED`); `--status` + the journal tail resolve any \"refocus seems dead\" symptom to one named action.\n\n## Review Standard\n\nThis skill is doing its job when methodology questions get answered from re-loaded source discipline rather than from session memory — and when every gate the session crosses shows the incoming stage's rules arriving fresh, without the human ever having to remind the crew what the process is.\n","# specrew-refocus\n\n**Type**: Recovery + Discipline Skill\n**Schema**: v1\n**Status**: Active drift-remediation surface (Feature 171)\n\n## Purpose\n\nRe-load scoped Specrew methodology discipline into context ON DEMAND — the manual recovery surface for agent drift. Use it when context feels degraded: after a compaction, after a host restart, deep in a long session, or whenever you are about to act on methodology you are reconstructing from memory instead of from the source.\n\nThe same payload engine also fires AUTOMATICALLY: boundary syncs append the incoming stage's digest to their output (every host), and on hook-capable hosts, post-compaction and session-start events re-inject discipline without anyone asking. **Treat any `[specrew-refocus]` block you see in tool output as binding stage discipline, not informational noise.**\n\nSome digest rules are host-specific. Apply clauses that name a host only on that host; otherwise follow the host-neutral fallback named in the digest.\n\n## When to Use\n\n- You notice drift: reviews going shallow, boundary discipline slipping, role rules fuzzy.\n- A compaction or `\u002Fclear` just happened and the lifecycle position needs re-grounding.\n- You are entering a new lifecycle stage and want its discipline fresh (`--boundary \u003Cstage>`).\n- You are diagnosing the refocus automation itself (`--status`, `--reset-breaker`).\n\n## Invocation Contract\n\n```powershell\n# All invocations run the project-local deployed engine:\npwsh -NoProfile -ExecutionPolicy Bypass -File .specify\u002Fextensions\u002Fspecrew-speckit\u002Fscripts\u002Frefocus.ps1 [args]\n```\n\n| Arguments | Payload |\n| --- | --- |\n| (none) | always-true core + the CURRENT stage's discipline digest |\n| `--boundary \u003Cstage>` | always-true core + the named stage digest (`specify`, `clarify`, `plan`, `tasks`, `before-implement`, `implement`, `review-signoff`, `retro`, `iteration-closeout`, `feature-closeout`) |\n| `--role \u003Cname>` | the named role charter (e.g. `reviewer`, `planner`) |\n| `--shape-catalog` | the Form-Without-Runtime-Compliance Shape catalog |\n| `--everything` | the full digest corpus (heavy — warned) |\n| `--compact-instructions` | a paste-ready `\u002Fcompact` preserve-list built from live lifecycle state — use it at heavy-context boundary stops to compact at a clean watershed |\n| `--status` | the whole operational truth: env kill switch, per-trigger catalog flags, per-session breaker state, injection-journal tail |\n| `--reset-breaker` | clears tripped circuit-breaker flags for this project's sessions |\n\nOutput contract: line 1 is the banner `[specrew-refocus] trigger=\u003Ct> scope=\u003Cs> sources=\u003Cn> tokens~\u003Cest>`; warnings go to stderr as `[specrew-refocus] WARN \u003CCODE> \u003Cmessage>`. The command NEVER blocks or fails a session (fail-open); human invocations are never deduped or breaker-suppressed.\n\n## Operational Notes\n\n- **Kill switches** (automation only — this manual surface always works): fast `SPECREW_REFOCUS_DISABLE=1` env var; durable per-trigger `enabled: false` in `refocus-scopes.json`; structural hook removal via `deploy-refocus-hooks.ps1 -Remove` (opt-out is recorded and respected by updates).\n- **Circuit breaker**: runaway automatic injection trips itself per-session, loudly once, with re-enable guidance in the trip message. `--status` shows trips; `--reset-breaker` clears them.\n- **Failure diagnosis**: every WARN carries a reason code (`EVENT_PARSE`, `CATALOG_SCHEMA`, `SOURCE_MISSING`, `SOURCE_CONFINED`, `STATE_UNAVAILABLE`, `BUDGET_EXCEEDED`, `BREAKER_TRIPPED`, `PROVIDER_FAILED`); `--status` + the journal tail resolve any \"refocus seems dead\" symptom to one named action.\n\n## Review Standard\n\nThis skill is doing its job when methodology questions get answered from re-loaded source discipline rather than from session memory — and when every gate the session crosses shows the incoming stage's rules arriving fresh, without the human ever having to remind the crew what the process is.\n",{"name":5,"domain":24,"source":25,"confidence":26,"description":7},"lifecycle-governance","Specrew Feature 171 — \u002Fspecrew-refocus slash command + event-driven auto-refocus (Proposal 146 + Pillar B amendment).","high","main","176da577bfd98859f793bdd1312690c6c3940c67",".agents\u002Fskills\u002Fspecrew-refocus","https:\u002F\u002Fgithub.com\u002Falonf\u002FKeyContextAI","https:\u002F\u002Fgithub.com\u002Falonf","http:\u002F\u002Falonfliess.me","CTO & Founder of Zionet.\r\nMicrosoft Regional Director and Foundry MVP.\r\n","2026-08-28 05:21:35",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add alonf\u002FKeyContextAI --skill specrew-refocus",{"tool":41,"command":42},"bunx","bunx skills add alonf\u002FKeyContextAI --skill specrew-refocus",{"tool":44,"command":45},"pnpm","pnpm dlx skills add alonf\u002FKeyContextAI --skill specrew-refocus","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Falonf\u002FKeyContextAI\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fspecrew-refocus\u002FSKILL.md",true,[49],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},".specrew-managed","OTHER","其他",72,"https:\u002F\u002Fgithub.com\u002Falonf\u002FKeyContextAI\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fspecrew-refocus\u002F.specrew-managed",[56,63,70,77,84,91],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7AVHRWWXA0BQ5PXNA8FG30W","windows-compatibility","Cross-platform path handling and command patterns","https:\u002F\u002Fgithub.com\u002Falonf\u002FKeyContextAI\u002Fblob\u002Fmain\u002F.squad\u002Ftemplates\u002Fskills\u002Fwindows-compatibility\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7AVHABPRYXYM3GWJY1RW92A","versioning-policy","Semver versioning rules for Squad SDK and CLI — prevents prerelease version incidents","https:\u002F\u002Fgithub.com\u002Falonf\u002FKeyContextAI\u002Fblob\u002Fmain\u002F.squad\u002Ftemplates\u002Fskills\u002Fversioning-policy\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7AVH4KNP3TCVQDRVS70VP19","tiered-memory","Three-tier agent memory model (hot\u002Fcold\u002Fwiki) for context reduction per spawn","https:\u002F\u002Fgithub.com\u002Falonf\u002FKeyContextAI\u002Fblob\u002Fmain\u002F.squad\u002Ftemplates\u002Fskills\u002Ftiered-memory\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7AVH18JDSA55Z7KK2GH6X49","test-discipline","Update tests when changing APIs — no exceptions","https:\u002F\u002Fgithub.com\u002Falonf\u002FKeyContextAI\u002Fblob\u002Fmain\u002F.squad\u002Ftemplates\u002Fskills\u002Ftest-discipline\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7AVGVGWYD7NBNXAV4PAZJ92","squad","Squad's command catalog and interactive menu. Invoke via \u002Fsquad (slash command) or natural language (\"squad commands\", \"what can squad do\", \"show me squad options\"). Presents categorized operations (Install & Upgrade, Team Management, Issues & PRs, Plugins & Skills, Model & Cost, Sessions & State) as an interactive picker. Routes to the right squad CLI command or the Squad coordinator agent.","https:\u002F\u002Fgithub.com\u002Falonf\u002FKeyContextAI\u002Fblob\u002Fmain\u002F.squad\u002Ftemplates\u002Fskills\u002Fsquad\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M7AVGPSFT1WHW3PK35DHS5XK","squad-version-check","Internals of how @bradygaster\u002Fsquad-cli stamps its version, how `squad upgrade` works (what it preserves vs overwrites), and how to probe the npm registry for the latest version from a coordinator prompt.","https:\u002F\u002Fgithub.com\u002Falonf\u002FKeyContextAI\u002Fblob\u002Fmain\u002F.squad\u002Ftemplates\u002Fskills\u002Fsquad-version-check\u002FSKILL.md",[],[]]