[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6G4C6TCBVY37300DNK6BFTF":3,"skill-same:01M6G4C6TCBVY37300DNK6BFTF":65},{"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":31,"linkOnly":32,"markdownContent":33,"markdownBody":34,"frontMatter":35,"refName":38,"commitSha":39,"skillDirectory":40,"forksCount":41,"repositoryHtmlUrl":42,"repositoryHomepageUrl":6,"ownerHtmlUrl":43,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":44,"install":45,"resources":58},"01M6G4C6TCBVY37300DNK6BFTF","instruments-profiling",null,"Use when profiling native macOS or iOS apps with Instruments\u002Fxctrace. Covers correct binary selection, CLI arguments, exports, and common gotchas.","kbarbel640-del\u002Fskills","kbarbel640-del","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F255315490?v=4","01M6CJPPQGCCESXMG3K7BBGQ5J","01M6CJPPX2PB2BCZERFVM2C2B3",1,"MIT","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsteipete\u002Finstruments-profiling\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30],"profiling","instruments profiling","macos","cli","ios","correct","common","use","selection","binary","apps","native","with","2026-11-10 10:12:30",false,"---\nname: instruments-profiling\ndescription: Use when profiling native macOS or iOS apps with Instruments\u002Fxctrace. Covers correct binary selection, CLI arguments, exports, and common gotchas.\nmetadata:\n  short-description: Instruments profiling for macOS\u002FiOS apps\n---\n\n# Instruments Profiling (macOS\u002FiOS)\n\nUse this skill when the user wants performance profiling or stack analysis for native apps.\nFocus: Time Profiler, `xctrace` CLI, and picking the correct binary\u002Fapp instance.\n\n## Quick Start (CLI)\n\n- List templates: `xcrun xctrace list templates`\n- Record Time Profiler (launch):\n  - `xcrun xctrace record --template 'Time Profiler' --time-limit 60s --output \u002Ftmp\u002FApp.trace --launch -- \u002Fpath\u002FTo\u002FApp.app`\n- Record Time Profiler (attach):\n  - Launch app yourself, get PID, then:\n  - `xcrun xctrace record --template 'Time Profiler' --time-limit 60s --output \u002Ftmp\u002FApp.trace --attach \u003Cpid>`\n- Open trace in Instruments:\n  - `open -a Instruments \u002Ftmp\u002FApp.trace`\n\nNote: `xcrun xctrace --help` is not a valid subcommand. Use `xcrun xctrace help record`.\n\n## Picking the Correct Binary (Critical)\n\n**Gotcha: Instruments may profile the wrong app** (e.g., one in `\u002FApplications`) if LaunchServices resolves a different bundle.\nUse these rules:\n\n- Prefer direct binary path for deterministic launch:\n  - `xcrun xctrace record ... --launch -- \u002Fpath\u002FApp.app\u002FContents\u002FMacOS\u002FApp`\n- If launching `.app`, ensure it’s the intended bundle:\n  - `open -n \u002Fpath\u002FApp.app`\n  - Verify with `ps -p \u003Cpid> -o comm= -o command=`\n- If both `\u002FApplications\u002FApp.app` and a local build exist, explicitly target the local build path.\n- After launch, confirm the process path before trusting the trace.\n\n## Command Arguments (xctrace)\n\n- `--template 'Time Profiler'`: template name from `xctrace list templates`.\n- `--launch -- \u003Ccmd>`: everything after `--` is the target command (binary or app bundle).\n- `--attach \u003Cpid|name>`: attach to running process.\n- `--output \u003Cpath>`: `.trace` output. If omitted, file saved in CWD.\n- `--time-limit 60s|5m`: set capture duration.\n- `--device \u003Cname|UDID>`: required for iOS device runs.\n- `--target-stdout -`: stream launched process stdout to terminal (useful for CLI tools).\n\n## Exporting Stacks (CLI)\n\n- Inspect trace tables:\n  - `xcrun xctrace export --input \u002Ftmp\u002FApp.trace --toc`\n- Export raw time-profile samples:\n  - `xcrun xctrace export --input \u002Ftmp\u002FApp.trace --xpath '\u002Ftrace-toc\u002Frun[@number=\"1\"]\u002Fdata\u002Ftable[@schema=\"time-profile\"]' --output \u002Ftmp\u002Ftime-profile.xml`\n- Post-process in a script (Python\u002FRust) to aggregate stacks.\n\n## Instruments UI Workflow\n\n- Template: Time Profiler\n- Use “Record” and capture the slow path (startup vs steady-state)\n- Call Tree tips:\n  - Hide System Libraries\n  - Invert Call Tree\n  - Separate by Thread\n  - Focus on hot frames and call counts\n\n## Gotchas & Fixes\n\n- **Wrong app profiled**: LaunchServices resolves installed app instead of local build.\n  - Fix: use direct binary path or `--attach` with known PID.\n- **No samples \u002F empty trace**: App exits quickly or never hits work.\n  - Fix: longer capture, trigger workload during recording.\n- **Privacy prompts**: `xctrace` may need Developer Tools permission.\n  - Fix: System Settings → Privacy & Security → Developer Tools → allow Terminal\u002FXcode.\n- **Large XML exports**: `time-profile` exports are huge.\n  - Fix: filter with XPath and aggregate offline; don’t print to terminal.\n\n## iOS Specific Notes\n\n- Device: use `xcrun xctrace list devices` and `--device \u003CUDID>`.\n- Launch via Xcode if needed; attach with `xctrace --attach`.\n- Ensure debug symbols for meaningful stacks.\n\n## Verification Checklist\n\n- Confirm trace process path matches target build.\n- Confirm stacks show expected app frames.\n- Capture covers the slow operation (startup\u002Frefresh). \n- Export stacks for automated diffing if optimizing.\n","# Instruments Profiling (macOS\u002FiOS)\n\nUse this skill when the user wants performance profiling or stack analysis for native apps.\nFocus: Time Profiler, `xctrace` CLI, and picking the correct binary\u002Fapp instance.\n\n## Quick Start (CLI)\n\n- List templates: `xcrun xctrace list templates`\n- Record Time Profiler (launch):\n  - `xcrun xctrace record --template 'Time Profiler' --time-limit 60s --output \u002Ftmp\u002FApp.trace --launch -- \u002Fpath\u002FTo\u002FApp.app`\n- Record Time Profiler (attach):\n  - Launch app yourself, get PID, then:\n  - `xcrun xctrace record --template 'Time Profiler' --time-limit 60s --output \u002Ftmp\u002FApp.trace --attach \u003Cpid>`\n- Open trace in Instruments:\n  - `open -a Instruments \u002Ftmp\u002FApp.trace`\n\nNote: `xcrun xctrace --help` is not a valid subcommand. Use `xcrun xctrace help record`.\n\n## Picking the Correct Binary (Critical)\n\n**Gotcha: Instruments may profile the wrong app** (e.g., one in `\u002FApplications`) if LaunchServices resolves a different bundle.\nUse these rules:\n\n- Prefer direct binary path for deterministic launch:\n  - `xcrun xctrace record ... --launch -- \u002Fpath\u002FApp.app\u002FContents\u002FMacOS\u002FApp`\n- If launching `.app`, ensure it’s the intended bundle:\n  - `open -n \u002Fpath\u002FApp.app`\n  - Verify with `ps -p \u003Cpid> -o comm= -o command=`\n- If both `\u002FApplications\u002FApp.app` and a local build exist, explicitly target the local build path.\n- After launch, confirm the process path before trusting the trace.\n\n## Command Arguments (xctrace)\n\n- `--template 'Time Profiler'`: template name from `xctrace list templates`.\n- `--launch -- \u003Ccmd>`: everything after `--` is the target command (binary or app bundle).\n- `--attach \u003Cpid|name>`: attach to running process.\n- `--output \u003Cpath>`: `.trace` output. If omitted, file saved in CWD.\n- `--time-limit 60s|5m`: set capture duration.\n- `--device \u003Cname|UDID>`: required for iOS device runs.\n- `--target-stdout -`: stream launched process stdout to terminal (useful for CLI tools).\n\n## Exporting Stacks (CLI)\n\n- Inspect trace tables:\n  - `xcrun xctrace export --input \u002Ftmp\u002FApp.trace --toc`\n- Export raw time-profile samples:\n  - `xcrun xctrace export --input \u002Ftmp\u002FApp.trace --xpath '\u002Ftrace-toc\u002Frun[@number=\"1\"]\u002Fdata\u002Ftable[@schema=\"time-profile\"]' --output \u002Ftmp\u002Ftime-profile.xml`\n- Post-process in a script (Python\u002FRust) to aggregate stacks.\n\n## Instruments UI Workflow\n\n- Template: Time Profiler\n- Use “Record” and capture the slow path (startup vs steady-state)\n- Call Tree tips:\n  - Hide System Libraries\n  - Invert Call Tree\n  - Separate by Thread\n  - Focus on hot frames and call counts\n\n## Gotchas & Fixes\n\n- **Wrong app profiled**: LaunchServices resolves installed app instead of local build.\n  - Fix: use direct binary path or `--attach` with known PID.\n- **No samples \u002F empty trace**: App exits quickly or never hits work.\n  - Fix: longer capture, trigger workload during recording.\n- **Privacy prompts**: `xctrace` may need Developer Tools permission.\n  - Fix: System Settings → Privacy & Security → Developer Tools → allow Terminal\u002FXcode.\n- **Large XML exports**: `time-profile` exports are huge.\n  - Fix: filter with XPath and aggregate offline; don’t print to terminal.\n\n## iOS Specific Notes\n\n- Device: use `xcrun xctrace list devices` and `--device \u003CUDID>`.\n- Launch via Xcode if needed; attach with `xctrace --attach`.\n- Ensure debug symbols for meaningful stacks.\n\n## Verification Checklist\n\n- Confirm trace process path matches target build.\n- Confirm stacks show expected app frames.\n- Capture covers the slow operation (startup\u002Frefresh). \n- Export stacks for automated diffing if optimizing.\n",{"name":5,"metadata":36,"description":7},{"short-description":37},"Instruments profiling for macOS\u002FiOS apps","main","e7e336ac628c3e3bd771aff1aaa469c93778f94a","skills\u002Fsteipete\u002Finstruments-profiling",0,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del","2026-08-23 22:39:37",{"source":8,"skillName":5,"commands":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add kbarbel640-del\u002Fskills --skill instruments-profiling",{"tool":51,"command":52},"bunx","bunx skills add kbarbel640-del\u002Fskills --skill instruments-profiling",{"tool":54,"command":55},"pnpm","pnpm dlx skills add kbarbel640-del\u002Fskills --skill instruments-profiling","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsteipete\u002Finstruments-profiling\u002FSKILL.md",true,[59],{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},"_meta.json","REFERENCE","参考文档",296,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fsteipete\u002Finstruments-profiling\u002F_meta.json",[66,91,114,132,137,157],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":31},"01M6G8J55967D6281ACMKAKTEQ","crowd-prompting","A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzzadrian\u002Fcrowd-prompting\u002FSKILL.md",[],[73,74,75,30,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90],"crowd prompting","prompting","api","tokens","domain","world","prompts","operations","instructions","text","tool","system","improve","productivity","marketplace","https","content","ai agents",{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":31},"01M6G8J0PKPAYVET6BWE8W4C26","dilemm-ai","Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzyori\u002Fdilemm-ai\u002FSKILL.md",[],[98,75,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,79,25],"dilemm ai","arena","analyze","browser","openclaw agent","create","automation","browser automation","bot","openclaw","design","strategy","headless","compete","submit","matchmaking",{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":31},"01M6G8HWAF3K9SW7NP3Z83CPJ6","arxiv-paper-reviews","Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date\u002Fcategory\u002Finterest, viewing paper details with comments, or submitting paper reviews via API at http:\u002F\u002F150.158.152.82:8000.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Fweak-accept\u002FSKILL.md",[],[121,122,123,124,125,126,127,30,128,112,25,129,75,130,131],"arxiv paper reviews","reviews","arxiv","paper","crawler","papers","comments","fetch","read","http","via",{"skillNo":133,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":31},"01M6G8HQJ7N7WMY6YV7D7SSJ16","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[],[124,123,122,121,131,126,127,30,125,112,25,128,129,75,130],{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":31},"01M6G8HM95Y64JNVFC2HN4E2BG","git-summary","Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzweack\u002Fgit-summary\u002FSKILL.md",[],[144,145,146,147,148,149,150,151,152,153,154,155,156],"git","summary","git summary","commits","repository","win32","status","linux","contributors","true","quick","get","branches",{"skillNo":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":163,"publishedAt":31},"01M6G8HGEGF05CNEJCGVYFSC4R","agent-constitution","Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fztsalexey\u002Fagent-constitution\u002FSKILL.md",[],[164,165,166,167,30,168,169,38,170,129,171,172,173,174,175,88,176,177,178],"agent constitution","constitution","contracts","tree","query","base","log","check","Rules","projects","compliance","actions","state","governance","github"]