[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6C4434G5AX4WY0SG1XFKB1J":3,"skill-same:01M6C4434G5AX4WY0SG1XFKB1J":80},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":46,"repositoryHtmlUrl":47,"repositoryHomepageUrl":6,"ownerHtmlUrl":48,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":49,"install":50,"resources":63},"01M6C4434G5AX4WY0SG1XFKB1J","copilot-cost-collection",null,"Copilot OTel cost collection setup and interpretation guidance. Use when enabling local Copilot Chat OTel file export, installing the workspace sentinel, or explaining branch-correlated Copilot cost telemetry. DO NOT USE FOR: Claude-native cost capture, durable session memory handoff, review-pipeline scoring logic, or session-cost discipline behavior rules (see skills\u002Fterminal-hygiene\u002FSKILL.md § Session-Cost Discipline).","Grimblaz\u002Fagent-orchestra","Grimblaz","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F74755849?v=4","01M6C430M9XZDHGHPWQVTQ3KMA","01M6C430RJY3MMX0QAZ3X8DR3Y",3,"MIT","https:\u002F\u002Fgithub.com\u002FGrimblaz\u002Fagent-orchestra\u002Fblob\u002Fmain\u002Fskills\u002Fcopilot-cost-collection\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"collection","copilot cost collection","copilot","workspace","terminal","export","discipline","use","session","behavior","branch","Rules","otel","review","pipeline","file","interpretation","copilot chat","telemetry","memory","2026-11-10 10:12:30",false,"---\nname: copilot-cost-collection\ndescription: \"Copilot OTel cost collection setup and interpretation guidance. Use when enabling local Copilot Chat OTel file export, installing the workspace sentinel, or explaining branch-correlated Copilot cost telemetry. DO NOT USE FOR: Claude-native cost capture, durable session memory handoff, review-pipeline scoring logic, or session-cost discipline behavior rules (see skills\u002Fterminal-hygiene\u002FSKILL.md § Session-Cost Discipline).\"\n---\n\n# Copilot Cost Collection\n\nThis skill documents the machine-local setup needed for Copilot-side cost telemetry in Agent Orchestra. It pairs the Copilot Chat OTel file exporter with the cost walker that attributes sessions to the active branch by joining OTel session timestamps to the git reflog.\n\n## Methodology\n\n1. Enable Copilot Chat OTel export to a local file.\n2. Write a literal workspace-specific `github.copilot.chat.otel.outfile` path. Do not rely on VS Code variable templates for this setting; issue #488 OQ1 showed the exporter did not expand them in this environment.\n3. Keep setup state machine-local: user settings, workspace `.vscode\u002Fsettings.json`, the OTel JSONL directory, and `.copilot-cost-collection-installed` are local operating state, not durable plan or session memory.\n4. Let the cost walker correlate sessions to branches from the git reflog. Branch switches, detached checkouts, and reflog pruning can reduce attribution confidence.\n\n## Install Contract\n\nRun the installer from the repo root or pass `-WorkspacePath` explicitly:\n\n```powershell\npwsh -NoProfile -ExecutionPolicy Bypass -File skills\u002Fcopilot-cost-collection\u002Fscripts\u002FInitialize-CopilotCostCollection.ps1 -WorkspacePath . -Yes -NonInteractive\n```\n\nThe installer is additive and idempotent:\n\n- VS Code user settings: sets `github.copilot.chat.otel.enabled=true`, `github.copilot.chat.otel.exporterType=\"file\"`, and `github.copilot.chat.otel.captureContent=false` while preserving other keys.\n- Workspace settings: sets `github.copilot.chat.otel.outfile` to a literal path shaped like `\u003CUserHome>\u002F.copilot-otel\u002F\u003CworkspaceFolderBasename>\u002Fcopilot.jsonl`.\n- Workspace root: writes `.copilot-cost-collection-installed` with provenance fields and keeps it ignored by git.\n- OTel directory: creates the parent directory for the JSONL file but does not create the JSONL file.\n\nUse `-UserSettingsPath` for VS Code profiles, Insiders, portable installs, or any alternate user-data directory. The default targets stable VS Code user settings for the current OS.\n\n## Branch Correlation Rules\n\nCopilot OTel records do not carry a repository branch. The walker groups token-bearing records by `session.id`, uses the earliest session timestamp, and joins that timestamp to the git reflog window for the target branch.\n\nKnown limitations:\n\n- Multi-worktree or cross-checkout sessions can be ambiguous when the same OTel file receives events from more than one workspace.\n- Reflog pruning, manual reflog expiry, or missing checkout entries can make old sessions unattributable.\n- A long Copilot session that spans a branch switch is attributed by session start time, not by every later token event.\n\n## Machine-Local State\n\nSurvival: `within-worktree`; contract: SMC-08 style local setup note, not a durable phase-completion marker.\n\nThe sentinel and settings prove local install provenance only. Do not treat them as plan state, review state, CE evidence, or cross-tool durable handoff. Durable workflow state still belongs in GitHub issue comments, PR bodies, committed docs, or the session-memory mechanisms named by `skills\u002Fsession-memory-contract\u002FSKILL.md`.\n\n## Platform-specific invocation\n\nThis skill's methodology is tool-agnostic. Platform-specific setup notes live alongside:\n\n- Copilot: [platforms\u002Fcopilot.md](platforms\u002Fcopilot.md)\n- Claude Code: [platforms\u002Fclaude.md](platforms\u002Fclaude.md)\n\n## Related\n\n- [scripts\u002FInitialize-CopilotCostCollection.ps1](scripts\u002FInitialize-CopilotCostCollection.ps1)\n- `.github\u002Fscripts\u002Flib\u002Fcost-walker-copilot.ps1`\n- [Documents\u002FDesign\u002Fcopilot-otel-capability.md](..\u002F..\u002FDocuments\u002FDesign\u002Fcopilot-otel-capability.md)\n\n## Gotchas\n\n| Trigger                                                                                       | Gotcha                                                                                                | Fix                                                                         |\n| --------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------- |\n| Writing `${userHome}` or `${workspaceFolderBasename}` into `github.copilot.chat.otel.outfile` | Copilot Chat file export may treat the template as a literal and never create the expected JSONL file | Run the installer so the workspace setting receives a literal resolved path |\n| Opening the repo in VS Code Insiders, a profile, or a portable user-data dir                  | The default user settings path may update stable VS Code instead of the active profile                | Re-run with `-UserSettingsPath` pointing at the active `settings.json`      |\n| Treating `.copilot-cost-collection-installed` as workflow memory                              | The sentinel is local and uncommitted, so other machines and agents cannot rely on it                 | Use SMC durable markers or PR-body metrics for cross-session handoff        |\n\n## Frame Ports Filled By This Skill\n\n**None**. This is setup methodology only. The Step 9 implementation slice provides `implement-code` through Code-Smith; this skill declares no `provides:` field.\n","# Copilot Cost Collection\n\nThis skill documents the machine-local setup needed for Copilot-side cost telemetry in Agent Orchestra. It pairs the Copilot Chat OTel file exporter with the cost walker that attributes sessions to the active branch by joining OTel session timestamps to the git reflog.\n\n## Methodology\n\n1. Enable Copilot Chat OTel export to a local file.\n2. Write a literal workspace-specific `github.copilot.chat.otel.outfile` path. Do not rely on VS Code variable templates for this setting; issue #488 OQ1 showed the exporter did not expand them in this environment.\n3. Keep setup state machine-local: user settings, workspace `.vscode\u002Fsettings.json`, the OTel JSONL directory, and `.copilot-cost-collection-installed` are local operating state, not durable plan or session memory.\n4. Let the cost walker correlate sessions to branches from the git reflog. Branch switches, detached checkouts, and reflog pruning can reduce attribution confidence.\n\n## Install Contract\n\nRun the installer from the repo root or pass `-WorkspacePath` explicitly:\n\n```powershell\npwsh -NoProfile -ExecutionPolicy Bypass -File skills\u002Fcopilot-cost-collection\u002Fscripts\u002FInitialize-CopilotCostCollection.ps1 -WorkspacePath . -Yes -NonInteractive\n```\n\nThe installer is additive and idempotent:\n\n- VS Code user settings: sets `github.copilot.chat.otel.enabled=true`, `github.copilot.chat.otel.exporterType=\"file\"`, and `github.copilot.chat.otel.captureContent=false` while preserving other keys.\n- Workspace settings: sets `github.copilot.chat.otel.outfile` to a literal path shaped like `\u003CUserHome>\u002F.copilot-otel\u002F\u003CworkspaceFolderBasename>\u002Fcopilot.jsonl`.\n- Workspace root: writes `.copilot-cost-collection-installed` with provenance fields and keeps it ignored by git.\n- OTel directory: creates the parent directory for the JSONL file but does not create the JSONL file.\n\nUse `-UserSettingsPath` for VS Code profiles, Insiders, portable installs, or any alternate user-data directory. The default targets stable VS Code user settings for the current OS.\n\n## Branch Correlation Rules\n\nCopilot OTel records do not carry a repository branch. The walker groups token-bearing records by `session.id`, uses the earliest session timestamp, and joins that timestamp to the git reflog window for the target branch.\n\nKnown limitations:\n\n- Multi-worktree or cross-checkout sessions can be ambiguous when the same OTel file receives events from more than one workspace.\n- Reflog pruning, manual reflog expiry, or missing checkout entries can make old sessions unattributable.\n- A long Copilot session that spans a branch switch is attributed by session start time, not by every later token event.\n\n## Machine-Local State\n\nSurvival: `within-worktree`; contract: SMC-08 style local setup note, not a durable phase-completion marker.\n\nThe sentinel and settings prove local install provenance only. Do not treat them as plan state, review state, CE evidence, or cross-tool durable handoff. Durable workflow state still belongs in GitHub issue comments, PR bodies, committed docs, or the session-memory mechanisms named by `skills\u002Fsession-memory-contract\u002FSKILL.md`.\n\n## Platform-specific invocation\n\nThis skill's methodology is tool-agnostic. Platform-specific setup notes live alongside:\n\n- Copilot: [platforms\u002Fcopilot.md](platforms\u002Fcopilot.md)\n- Claude Code: [platforms\u002Fclaude.md](platforms\u002Fclaude.md)\n\n## Related\n\n- [scripts\u002FInitialize-CopilotCostCollection.ps1](scripts\u002FInitialize-CopilotCostCollection.ps1)\n- `.github\u002Fscripts\u002Flib\u002Fcost-walker-copilot.ps1`\n- [Documents\u002FDesign\u002Fcopilot-otel-capability.md](..\u002F..\u002FDocuments\u002FDesign\u002Fcopilot-otel-capability.md)\n\n## Gotchas\n\n| Trigger                                                                                       | Gotcha                                                                                                | Fix                                                                         |\n| --------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------- |\n| Writing `${userHome}` or `${workspaceFolderBasename}` into `github.copilot.chat.otel.outfile` | Copilot Chat file export may treat the template as a literal and never create the expected JSONL file | Run the installer so the workspace setting receives a literal resolved path |\n| Opening the repo in VS Code Insiders, a profile, or a portable user-data dir                  | The default user settings path may update stable VS Code instead of the active profile                | Re-run with `-UserSettingsPath` pointing at the active `settings.json`      |\n| Treating `.copilot-cost-collection-installed` as workflow memory                              | The sentinel is local and uncommitted, so other machines and agents cannot rely on it                 | Use SMC durable markers or PR-body metrics for cross-session handoff        |\n\n## Frame Ports Filled By This Skill\n\n**None**. This is setup methodology only. The Step 9 implementation slice provides `implement-code` through Code-Smith; this skill declares no `provides:` field.\n",{"name":5,"description":7},"main","d5486aacc32c9ca1b07173cfd530f8fe75c29e58","skills\u002Fcopilot-cost-collection",0,"https:\u002F\u002Fgithub.com\u002FGrimblaz\u002Fagent-orchestra","https:\u002F\u002Fgithub.com\u002FGrimblaz","2026-08-16 01:12:46",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add Grimblaz\u002Fagent-orchestra --skill copilot-cost-collection",{"tool":56,"command":57},"bunx","bunx skills add Grimblaz\u002Fagent-orchestra --skill copilot-cost-collection",{"tool":59,"command":60},"pnpm","pnpm dlx skills add Grimblaz\u002Fagent-orchestra --skill copilot-cost-collection","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FGrimblaz\u002Fagent-orchestra\u002Fblob\u002Fmain\u002Fskills\u002Fcopilot-cost-collection\u002FSKILL.md",true,[64,70,74],{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"platforms\u002Fclaude.md","REFERENCE","参考文档",1099,"https:\u002F\u002Fgithub.com\u002FGrimblaz\u002Fagent-orchestra\u002Fblob\u002Fmain\u002Fskills\u002Fcopilot-cost-collection\u002Fplatforms\u002Fclaude.md",{"path":71,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":72,"sourceHtmlUrl":73},"platforms\u002Fcopilot.md",1403,"https:\u002F\u002Fgithub.com\u002FGrimblaz\u002Fagent-orchestra\u002Fblob\u002Fmain\u002Fskills\u002Fcopilot-cost-collection\u002Fplatforms\u002Fcopilot.md",{"path":75,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":78,"sourceHtmlUrl":79},"scripts\u002FInitialize-CopilotCostCollection.ps1","SCRIPT","脚本",13818,"https:\u002F\u002Fgithub.com\u002FGrimblaz\u002Fagent-orchestra\u002Fblob\u002Fmain\u002Fskills\u002Fcopilot-cost-collection\u002Fscripts\u002FInitialize-CopilotCostCollection.ps1",[81,115,139,155,182,203],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":95,"publishedAt":38},"01M6C48YMJVFHM7DVGG1WWW5RJ","webapp-testing","Playwright end-to-end testing guidance for web apps, with practical patterns and setup steps. Use when creating or improving browser-based E2E coverage, test stability, and CI execution. DO NOT USE FOR: React component tests (use ui-testing), canvas game interaction (use browser-canvas-testing), TDD workflow (use test-driven-development), debugging failures (use systematic-debugging), or randomized property tests (use property-based-testing).","https:\u002F\u002Fgithub.com\u002FGrimblaz\u002Fagent-orchestra\u002Fblob\u002Fmain\u002Fskills\u002Fwebapp-testing\u002FSKILL.md",[87,92],{"categoryNo":88,"categoryName":89,"taxonomyType":90,"taxonomyTypeDesc":91},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",{"categoryNo":93,"categoryName":94,"taxonomyType":90,"taxonomyTypeDesc":91},"01JBSEEDCAT000000000000009","前端开发",[96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,25],"testing","webapp testing","webapp","canvas","tdd","workflow","playwright","test","web","react","component","debugging","development","browser","ci","execution","e2e","game","coverage",{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":38},"01M6C48TNNP2KCSQXV8YK7SK49","verification-before-completion","Evidence-based verification checklist before marking work complete. Use before PRs, releases, marking tickets done, or any \"I'm finished\" declaration; also when naming a baseline commit for a differential suite claim, when designing a mutation campaign or red-run evidence, when making an absence claim, a universal claim, or a one-time demonstration offered as a standing guarantee, when attributing a measurement or claiming a sweep or verification loop is complete, and when stating what a check or a CI suite will do about a change. DO NOT USE FOR: post-merge cleanup or archival (use post-pr-review) or processing GitHub review comments (use code-review-intake).","https:\u002F\u002Fgithub.com\u002FGrimblaz\u002Fagent-orchestra\u002Fblob\u002Fmain\u002Fskills\u002Fverification-before-completion\u002FSKILL.md",[],[122,123,31,124,125,126,127,128,129,130,131,132,110,133,134,135,136,25,137,138],"verification","verification before completion","change","commit","merge","pr","cleanup","run","code","code-review","intake","loop","verification loop","work","check","evidence","campaign",{"skillNo":140,"name":141,"nameZh":6,"description":142,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":38},"01M6C48QZWNTP7JGKD32QZAKKX","validation-methodology","Reusable validation and review methodology for staged validation, failure triage, and prosecution-depth setup. Use when running validation ladders, triaging failures, or executing adversarial review passes. DO NOT USE FOR: CE Gate orchestration, specialist dispatch ownership, or step execution flow (keep those in Code-Conductor).","https:\u002F\u002Fgithub.com\u002FGrimblaz\u002Fagent-orchestra\u002Fblob\u002Fmain\u002Fskills\u002Fvalidation-methodology\u002FSKILL.md",[],[146,147,148,31,149,150,151,152,130,153,111,25,154],"validation","methodology","validation methodology","triage","orchestration","setup","adversarial review","flow","dispatch",{"skillNo":156,"name":157,"nameZh":6,"description":158,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":159,"categories":160,"keywords":169,"publishedAt":38},"01M6C48MCAHG5Z79BJ369CRYRZ","upstream-onboarding","Shared opening-phase protocol for upstream agents (Experience-Owner, Solution-Designer, Issue-Planner) and Code-Conductor when invoked on an existing GitHub issue. Renders a scaled context brief and runs a standards check on inherited work at each phase boundary. Use when a user-invocable agent receives a request referencing an existing GitHub issue and must load solution-authoring and upstream-onboarding at the opening phase. DO NOT USE FOR: subagent dispatches (which already operate within an assessed session context); post-merge review (use post-pr-review); research or non-tree subagents.","https:\u002F\u002Fgithub.com\u002FGrimblaz\u002Fagent-orchestra\u002Fblob\u002Fmain\u002Fskills\u002Fupstream-onboarding\u002FSKILL.md",[161,164],{"categoryNo":162,"categoryName":163,"taxonomyType":90,"taxonomyTypeDesc":91},"01JBSEEDCAT000000000000023","Skill与智能体开发",{"categoryNo":165,"categoryName":166,"taxonomyType":167,"taxonomyTypeDesc":168},"01JBSEEDCAT000000000000038","人力资源","PROFESSION","适用职业",[170,171,31,172,173,126,174,127,130,175,176,177,178,179,180,135,136,181,26,25],"onboarding","upstream onboarding","github","research","standards check","protocol","brief","boundary","designer","subagent","planner","user",{"skillNo":183,"name":184,"nameZh":6,"description":185,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":186,"categories":187,"keywords":196,"publishedAt":38},"01M6C48GPVE120TGPMD1CS365H","ui-testing","Resilient React component testing strategies focusing on user behavior. Use when writing or reviewing component-level React tests, fixing flaky component tests, or establishing React testing patterns. DO NOT USE FOR: Playwright E2E tests (use webapp-testing), canvas game interaction (use browser-canvas-testing), TDD workflow (use test-driven-development), debugging failures (use systematic-debugging), UI component design (use frontend-design), or randomized property tests (use property-based-testing).","https:\u002F\u002Fgithub.com\u002FGrimblaz\u002Fagent-orchestra\u002Fblob\u002Fmain\u002Fskills\u002Fui-testing\u002FSKILL.md",[188,189,190,193],{"categoryNo":88,"categoryName":89,"taxonomyType":90,"taxonomyTypeDesc":91},{"categoryNo":93,"categoryName":94,"taxonomyType":90,"taxonomyTypeDesc":91},{"categoryNo":191,"categoryName":192,"taxonomyType":90,"taxonomyTypeDesc":91},"01JBSEEDCAT000000000000015","视觉设计",{"categoryNo":194,"categoryName":195,"taxonomyType":167,"taxonomyTypeDesc":168},"01JBSEEDCAT000000000000032","设计师",[96,197,198,199,200,201,99,101,102,103,105,106,107,108,109,202,112,113,25,98],"ui","ui testing","frontend","design","writing","testing patterns",{"skillNo":204,"name":205,"nameZh":6,"description":206,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":207,"categories":208,"keywords":211,"publishedAt":38},"01M6C48DRJ9XBDR2FW0W37DY53","ui-iteration","Reusable screenshot-driven UI polish workflow for iterative visual refinement. Use when improving layout, hierarchy, spacing, feedback, or Tailwind-based presentation through repeated review-and-adjust passes. DO NOT USE FOR: functional bug fixing, accessibility-only audits, or major redesign strategy work (use Code-Smith or frontend-design).","https:\u002F\u002Fgithub.com\u002FGrimblaz\u002Fagent-orchestra\u002Fblob\u002Fmain\u002Fskills\u002Fui-iteration\u002FSKILL.md",[209,210],{"categoryNo":93,"categoryName":94,"taxonomyType":90,"taxonomyTypeDesc":91},{"categoryNo":194,"categoryName":195,"taxonomyType":167,"taxonomyTypeDesc":168},[197,212,199,200,31,101,213,130,214,215,216,217,218,135,219,220,25,221],"ui iteration","accessibility","screenshot","Tailwind","polish","ui polish","feedback","redesign","strategy","only"]