[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79RV68NDNBRMC42F6WTC0PH":3,"skill-same:01M79RV68NDNBRMC42F6WTC0PH":62},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M79RV68NDNBRMC42F6WTC0PH","tk-studio-activate",null,"Studio activation front door — health\u002Fdrift check proving the BMad base, the studio plugin, the per-user store, and the vault window are current. Read-only, loud, guided fixes. Use when the user says \"activate the studio\", \"tk activate\", \"studio status\", or \"check for drift\".","thkennedy\u002Ftk-studio","thkennedy","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F4164502?v=4","01M79QZ8DMP5FF2HC6GS3S6FDF","Tim Kennedy","01M79QZ8EM9JBWJ15R5JNC4PW3",0,"MIT","https:\u002F\u002Fgithub.com\u002Fthkennedy\u002Ftk-studio\u002Fblob\u002Fmain\u002Fplugins\u002Ftk-studio\u002Fskills\u002Ftk-studio-activate\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: tk-studio-activate\ndescription: Studio activation front door — health\u002Fdrift check proving the BMad base, the studio plugin, the per-user store, and the vault window are current. Read-only, loud, guided fixes. Use when the user says \"activate the studio\", \"tk activate\", \"studio status\", or \"check for drift\".\n---\n\n# tk-studio-activate\n\nActivation cross-checks six planes — base, plugin (the skills-dir folder\nagainst the roster), store, vault, tracking, sandbox-login (AD-13) — and reports; it never\nmutates anything. Version skew is caught here, at the front door, instead of\ndebugged later as ghosts.\n\n## Behavior (both modes)\n\n1. Run the drift check through the plugin root:\n\n   ```bash\n   uv run \"${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Ftk-studio-activate\u002Fscripts\u002Fdrift_check.py\" --directory \u003Cproject-root>\n   ```\n\n   `--directory` walks up to the nearest folder holding\n   `.tk-studio\u002Fconfig.yaml` (driver contract 0.1.22), so from inside a nested\n   studio project (`apps\u002Fsupervisor` in tk-studio) the nested root wins. The\n   JSON carries `project_root`, `studio_root` (the outer repository root, the\n   plugin's home: `$TK_STUDIO_ROOT`, else the nearest folder holding\n   `plugins\u002Ftk-studio\u002F`; `null` when neither), `nested` and `project_id`.\n\n   Add `--guided` only when running as part of guided onboarding — it\n   additionally emits `onboarding-funnel` timing events per plane.\n\n2. The script checks six planes and emits its own measurement events\n   (`drift-detection` on clean or drift; `activation-failure` if a check step\n   itself fails):\n\n   | Plane | Compares | Guided fix on drift |\n   | --- | --- | --- |\n   | `bmad-base` | installed `_bmad\u002F_config\u002Fmanifest.yaml` vs `bmad.lock` pins | `tk install` |\n   | `plugin` | the skills-dir folder `\u003Chome>\u002Fskills\u002Ftk-studio\u002F`'s `plugin.json` vs the configured channel's roster `plugin` entry (`--channel`, default `stable`; `tools\u002Finstaller\u002Frosters\u002F\u003Cchannel>.json` in the project) and, in a developer checkout only (a marketplace catalog listing `tk-studio`; a catalog without that entry is skipped), the marketplace catalog; `case` names `ok`, `stale`, `missing` or `shadowed` (a marketplace copy is installed). `installed_plugins.json` is read only to find marketplace copies, never for the version (AD-13, AD-21) | stale: `tk-studio update` (plus `--channel \u003Cchannel>` off the default `stable`); missing: `tk-studio install`; shadowed: `claude plugin uninstall tk-studio@\u003Cm> --scope user` (plus `claude plugin marketplace remove tk-studio` when the marketplace is known) |\n   | `store` | `~\u002F.tk-studio` skeleton + config keys | `uv run \u003Cplugin>\u002Flib\u002Fstore.py standup` |\n   | `vault` | vault window links for this project (when registered) | `uv run \u003Cplugin>\u002Flib\u002Fvault.py link --project-id \u003Cid>` |\n   | `tracking` | the Atlassian sync-back (Story 31.4): when the last tick ran and whether the binding was reachable, read from `.tk-studio\u002Fconfig.yaml` and `_bmad-output\u002Ftracking\u002Fsync-state.json` only — never a network call; `case` names `not-bound` (no `planning.jira` binding, ok), `never-run`, `ok` (last tick `complete` or `partial` within 30 minutes), `stale`, `token-missing`, `unreachable`, `deactivated` or `auth` — each its own state, never \"no changes\"; `last_run` carries the tick's record | never-run: `plansync.py sync-back --directory \u003Croot>` and declare the `atlassian-sync-back` job; stale: check the job is declared and bound; token-missing: set the named variable; unreachable: the network path; deactivated: the owner's sign-in (kb\u002Fatlassian-free-tier.md §1 step 10); auth: the 401\u002F403 split's own text |\n   | `sandbox-login` | the engine sandbox's Max login (Story 33.2): for each sandbox the supervisor config (`TK_SUPERVISOR_CONFIG` `jobs.*.sandbox`) names, `refreshTokenExpiresAt` and `loggedIn` read through `sbx exec` (never a token) — `sbx daemon status` first, then `sbx ls`, `sbx exec` only on a running sandbox; `case` names `ok`, `expiring` (drift: 7 days or fewer, the expiry unreadable, or the login probe failed), `expired` (error: expired or logged out) or `no-sandbox` (missing: none configured, sbx absent, the daemon down, the sandbox stopped) | expiring\u002Fexpired: `sbx run --name \u003Csandbox>` → `\u002Flogin` → `\u002Fexit`; no-sandbox: the condition the detail names |\n\n   Exit codes: 0 clean, 1 drift found, 2 check-step error. Every `missing`\n   or `drift` plane makes exit 1: `sandbox-login` `missing` (`no-sandbox`, a\n   box with no engine sandbox) is `result: drift` (exit 1), and so is its\n   `expiring`; only its `expired` (`error`) reaches exit 2. The vault plane\n   records its observed state in the registry entry (writer: activate) — the\n   one sanctioned bookkeeping write; unconfigured is clean (the vault is a\n   view, never a dependency), and links are never repaired here.\n\n3. Report:\n   - **Both roots first:** name the project root and the studio root from\n     the JSON; when `nested` is true, say so — \"nested project `\u003Cproject_id>`\n     at `\u003Cproject_root>` inside the studio root `\u003Cstudio_root>`\".\n   - **Attended:** state each plane's status in one line each; on drift, give\n     the exact fix commands from the `fixes` array and stop — the fix is the\n     operator's move, never applied silently (NFR6).\n   - **Headless:** no prompts (AD-11). End with the status block:\n     `complete` on exit 0 or 1 (a drift *report* is a completed check —\n     the drift itself goes in `reason`), `blocked` on exit 2 with the failing\n     step as `reason`:\n\n     ```json\n     {\"status\": \"complete\", \"intent\": \"tk-studio-activate\", \"artifacts\": [], \"reason\": \"drift: bmad-base — tea pinned v1.19.1, installed v1.20.0\"}\n     ```\n\nIf the deterministic core is unrunnable — a tool call denied by permissions, `uv`\u002Fpython unavailable — end `blocked` with the status block naming the unrunnable core as `reason`: never a question, never a headless run that ends without the block (AD-11).\n\n## Rules\n\n- Read-only, always (AD-13). If a fix is needed, name it; never run it from\n  this skill.\n- All paths resolve through `${CLAUDE_PLUGIN_ROOT}` — never assume the plugin\n  lives inside the current repo.\n- `scripts\u002Fplugin_info.py` remains the lightweight identity probe (plugin\n  root\u002Fversion only) for callers that don't need the full check.\n","# tk-studio-activate\n\nActivation cross-checks six planes — base, plugin (the skills-dir folder\nagainst the roster), store, vault, tracking, sandbox-login (AD-13) — and reports; it never\nmutates anything. Version skew is caught here, at the front door, instead of\ndebugged later as ghosts.\n\n## Behavior (both modes)\n\n1. Run the drift check through the plugin root:\n\n   ```bash\n   uv run \"${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Ftk-studio-activate\u002Fscripts\u002Fdrift_check.py\" --directory \u003Cproject-root>\n   ```\n\n   `--directory` walks up to the nearest folder holding\n   `.tk-studio\u002Fconfig.yaml` (driver contract 0.1.22), so from inside a nested\n   studio project (`apps\u002Fsupervisor` in tk-studio) the nested root wins. The\n   JSON carries `project_root`, `studio_root` (the outer repository root, the\n   plugin's home: `$TK_STUDIO_ROOT`, else the nearest folder holding\n   `plugins\u002Ftk-studio\u002F`; `null` when neither), `nested` and `project_id`.\n\n   Add `--guided` only when running as part of guided onboarding — it\n   additionally emits `onboarding-funnel` timing events per plane.\n\n2. The script checks six planes and emits its own measurement events\n   (`drift-detection` on clean or drift; `activation-failure` if a check step\n   itself fails):\n\n   | Plane | Compares | Guided fix on drift |\n   | --- | --- | --- |\n   | `bmad-base` | installed `_bmad\u002F_config\u002Fmanifest.yaml` vs `bmad.lock` pins | `tk install` |\n   | `plugin` | the skills-dir folder `\u003Chome>\u002Fskills\u002Ftk-studio\u002F`'s `plugin.json` vs the configured channel's roster `plugin` entry (`--channel`, default `stable`; `tools\u002Finstaller\u002Frosters\u002F\u003Cchannel>.json` in the project) and, in a developer checkout only (a marketplace catalog listing `tk-studio`; a catalog without that entry is skipped), the marketplace catalog; `case` names `ok`, `stale`, `missing` or `shadowed` (a marketplace copy is installed). `installed_plugins.json` is read only to find marketplace copies, never for the version (AD-13, AD-21) | stale: `tk-studio update` (plus `--channel \u003Cchannel>` off the default `stable`); missing: `tk-studio install`; shadowed: `claude plugin uninstall tk-studio@\u003Cm> --scope user` (plus `claude plugin marketplace remove tk-studio` when the marketplace is known) |\n   | `store` | `~\u002F.tk-studio` skeleton + config keys | `uv run \u003Cplugin>\u002Flib\u002Fstore.py standup` |\n   | `vault` | vault window links for this project (when registered) | `uv run \u003Cplugin>\u002Flib\u002Fvault.py link --project-id \u003Cid>` |\n   | `tracking` | the Atlassian sync-back (Story 31.4): when the last tick ran and whether the binding was reachable, read from `.tk-studio\u002Fconfig.yaml` and `_bmad-output\u002Ftracking\u002Fsync-state.json` only — never a network call; `case` names `not-bound` (no `planning.jira` binding, ok), `never-run`, `ok` (last tick `complete` or `partial` within 30 minutes), `stale`, `token-missing`, `unreachable`, `deactivated` or `auth` — each its own state, never \"no changes\"; `last_run` carries the tick's record | never-run: `plansync.py sync-back --directory \u003Croot>` and declare the `atlassian-sync-back` job; stale: check the job is declared and bound; token-missing: set the named variable; unreachable: the network path; deactivated: the owner's sign-in (kb\u002Fatlassian-free-tier.md §1 step 10); auth: the 401\u002F403 split's own text |\n   | `sandbox-login` | the engine sandbox's Max login (Story 33.2): for each sandbox the supervisor config (`TK_SUPERVISOR_CONFIG` `jobs.*.sandbox`) names, `refreshTokenExpiresAt` and `loggedIn` read through `sbx exec` (never a token) — `sbx daemon status` first, then `sbx ls`, `sbx exec` only on a running sandbox; `case` names `ok`, `expiring` (drift: 7 days or fewer, the expiry unreadable, or the login probe failed), `expired` (error: expired or logged out) or `no-sandbox` (missing: none configured, sbx absent, the daemon down, the sandbox stopped) | expiring\u002Fexpired: `sbx run --name \u003Csandbox>` → `\u002Flogin` → `\u002Fexit`; no-sandbox: the condition the detail names |\n\n   Exit codes: 0 clean, 1 drift found, 2 check-step error. Every `missing`\n   or `drift` plane makes exit 1: `sandbox-login` `missing` (`no-sandbox`, a\n   box with no engine sandbox) is `result: drift` (exit 1), and so is its\n   `expiring`; only its `expired` (`error`) reaches exit 2. The vault plane\n   records its observed state in the registry entry (writer: activate) — the\n   one sanctioned bookkeeping write; unconfigured is clean (the vault is a\n   view, never a dependency), and links are never repaired here.\n\n3. Report:\n   - **Both roots first:** name the project root and the studio root from\n     the JSON; when `nested` is true, say so — \"nested project `\u003Cproject_id>`\n     at `\u003Cproject_root>` inside the studio root `\u003Cstudio_root>`\".\n   - **Attended:** state each plane's status in one line each; on drift, give\n     the exact fix commands from the `fixes` array and stop — the fix is the\n     operator's move, never applied silently (NFR6).\n   - **Headless:** no prompts (AD-11). End with the status block:\n     `complete` on exit 0 or 1 (a drift *report* is a completed check —\n     the drift itself goes in `reason`), `blocked` on exit 2 with the failing\n     step as `reason`:\n\n     ```json\n     {\"status\": \"complete\", \"intent\": \"tk-studio-activate\", \"artifacts\": [], \"reason\": \"drift: bmad-base — tea pinned v1.19.1, installed v1.20.0\"}\n     ```\n\nIf the deterministic core is unrunnable — a tool call denied by permissions, `uv`\u002Fpython unavailable — end `blocked` with the status block naming the unrunnable core as `reason`: never a question, never a headless run that ends without the block (AD-11).\n\n## Rules\n\n- Read-only, always (AD-13). If a fix is needed, name it; never run it from\n  this skill.\n- All paths resolve through `${CLAUDE_PLUGIN_ROOT}` — never assume the plugin\n  lives inside the current repo.\n- `scripts\u002Fplugin_info.py` remains the lightweight identity probe (plugin\n  root\u002Fversion only) for callers that don't need the full check.\n",{"name":5,"description":7},"main","ecd23b3c0458cd511812f643d9111e3d7c8235f4","plugins\u002Ftk-studio\u002Fskills\u002Ftk-studio-activate","https:\u002F\u002Fgithub.com\u002Fthkennedy\u002Ftk-studio","https:\u002F\u002Fgithub.com\u002Fthkennedy","https:\u002F\u002Ftimothyhkennedy.com","Just a guy who loves making tools, automation and games.","2026-11-10 20:38:16",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add thkennedy\u002Ftk-studio --skill tk-studio-activate",{"tool":38,"command":39},"bunx","bunx skills add thkennedy\u002Ftk-studio --skill tk-studio-activate",{"tool":41,"command":42},"pnpm","pnpm dlx skills add thkennedy\u002Ftk-studio --skill tk-studio-activate","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fthkennedy\u002Ftk-studio\u002Fblob\u002Fmain\u002Fplugins\u002Ftk-studio\u002Fskills\u002Ftk-studio-activate\u002FSKILL.md",true,[46,52,58],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"customize.toml","OTHER","其他",455,"https:\u002F\u002Fgithub.com\u002Fthkennedy\u002Ftk-studio\u002Fblob\u002Fmain\u002Fplugins\u002Ftk-studio\u002Fskills\u002Ftk-studio-activate\u002Fcustomize.toml",{"path":53,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":56,"sourceHtmlUrl":57},"scripts\u002Fdrift_check.py","SCRIPT","脚本",37694,"https:\u002F\u002Fgithub.com\u002Fthkennedy\u002Ftk-studio\u002Fblob\u002Fmain\u002Fplugins\u002Ftk-studio\u002Fskills\u002Ftk-studio-activate\u002Fscripts\u002Fdrift_check.py",{"path":59,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":60,"sourceHtmlUrl":61},"scripts\u002Fplugin_info.py",1818,"https:\u002F\u002Fgithub.com\u002Fthkennedy\u002Ftk-studio\u002Fblob\u002Fmain\u002Fplugins\u002Ftk-studio\u002Fskills\u002Ftk-studio-activate\u002Fscripts\u002Fplugin_info.py",[63,70,77,84,91,98],{"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},"01M79RYSQ8C3MWDFTDSRAYFJYA","tk-studio-track","Tracking verbs on the bound Jira project — `block` moves a story the loop cannot progress, and each dependent story, to \"Blocked - Awaiting User\" with a comment that @mentions the owner (or, with `--engagement`, one engagement's questions issue, which `close` later moves to \"Done\"); `reply` posts the owner's answer (or \"Done.\") with the owner's host-only token and moves the issue to \"Block Resolved\"; `validate` checks that resolution and passes the issue back to work or re-blocks it with a follow-up. Use when the user says \"block this story\", \"tk track block\", \"put it in the owner's inbox\", \"reply to the blocked issue\", \"validate the resolution\", or a supervisor or engagement payload names this skill.","https:\u002F\u002Fgithub.com\u002Fthkennedy\u002Ftk-studio\u002Fblob\u002Fmain\u002Fplugins\u002Ftk-studio\u002Fskills\u002Ftk-studio-track\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},"01M79RYMVE0031EV5B64MBGD8V","tk-studio-session","Session discipline as a surface — land a boundary handoff (optionally carrying knowledge deltas) and end the session, or resume a fresh session from a run workspace alone. Use when the user says \"hand off this run\", \"tk session\", \"resume the run\", or a boundary\u002Fbudget trigger says the session must split.","https:\u002F\u002Fgithub.com\u002Fthkennedy\u002Ftk-studio\u002Fblob\u002Fmain\u002Fplugins\u002Ftk-studio\u002Fskills\u002Ftk-studio-session\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},"01M79RYFM9ATWHM6HAXJ3D19WV","tk-studio-research","Run a chartered research pass — survey the topics a charter scopes, grade every finding by evidence, land the findings in the run workspace, and emit observation events for recommendation-worthy ones. Use when the user says \"run the ecosystem watch\", \"tk research\", or a research job's invoke-skill directive names this skill.","https:\u002F\u002Fgithub.com\u002Fthkennedy\u002Ftk-studio\u002Fblob\u002Fmain\u002Fplugins\u002Ftk-studio\u002Fskills\u002Ftk-studio-research\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},"01M79RYA1AWZZF83KBHGR6JDN3","tk-studio-report","One-verb human defect report — \"the skill did the wrong thing\" — recorded as a report event in the local measurement ledger. Use when the user says \"tk report\", \"report a defect\", \"that skill misbehaved\", or \"log a studio issue\".","https:\u002F\u002Fgithub.com\u002Fthkennedy\u002Ftk-studio\u002Fblob\u002Fmain\u002Fplugins\u002Ftk-studio\u002Fskills\u002Ftk-studio-report\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},"01M79RY33VMYR5YNPVFKWRNW9S","tk-studio-playable-judge","The playable-verify leg's screenshot judge (Story 34.3) — reads only a playable run's report.json and its frames, answers the fixed rubric (scene loaded, player visible and framed, no magenta or error overlay, HUD reads, the named moments shown) with pass or fail and findings each naming a frame and a rubric line. Driven headless by the supervisor's host leg on the project's sandbox tier; use when the payload names a playable `media` folder, or the user says \"judge the playable frames\".","https:\u002F\u002Fgithub.com\u002Fthkennedy\u002Ftk-studio\u002Fblob\u002Fmain\u002Fplugins\u002Ftk-studio\u002Fskills\u002Ftk-studio-playable-judge\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":19},"01M79RXY4AM8JM6ZK2MAR3W3X2","tk-studio-plan-sync","Planning adapter — canonicalize BMad-native planning artifacts (normalize pass, sole id authority) and sync them with the bound planning backend. Use when the user says \"sync the plan\", \"normalize planning artifacts\", \"tk plan sync\", or after stock BMad planning flows produce or change epics\u002Fstories.","https:\u002F\u002Fgithub.com\u002Fthkennedy\u002Ftk-studio\u002Fblob\u002Fmain\u002Fplugins\u002Ftk-studio\u002Fskills\u002Ftk-studio-plan-sync\u002FSKILL.md",[],[]]