[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75DHNVP2GQ4ST3T29YPJGXP":3,"skill-same:01M75DHNVP2GQ4ST3T29YPJGXP":48},{"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":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":6,"updatedAt":33,"install":34,"resources":47},"01M75DHNVP2GQ4ST3T29YPJGXP","system-profile",null,"Profile a target (script, process, GPU, memory, interconnect) for performance analysis. Use when user says \"profile\", \"benchmark\", \"bottleneck\", or wants performance analysis.","LongLeo287\u002FSEOSONA-OS","LongLeo287","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F141803367?v=4","01M6JK75C62VCNZKR5BRZ386YV","LongLeo","01M75CK60XQGYJY3YDGGFJQDYT",2,"MIT","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FSEOSONA-OS\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fsystem-profile\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: system-profile\ndescription: \"Profile a target (script, process, GPU, memory, interconnect) for performance analysis. Use when user says \\\"profile\\\", \\\"benchmark\\\", \\\"bottleneck\\\", or wants performance analysis.\"\nargument-hint: \u003Ctarget, e.g. \"train.py\", \"gpu\", \"pid 1234\", \"vllm serving\">\n---\n\n# System Profile\n\nProfile the specified target and summarize the results. Target: $ARGUMENTS\n\n## Instructions\n\nYou are a profiling assistant. Based on the user's target, choose appropriate profiling strategies, **including writing instrumentation code when needed**, then run profiling, analyze results, and produce a summary.\n\n### Step 1: Determine the profiling target\n\nParse `$ARGUMENTS` to understand what to profile. Examples:\n- A Python script or module\n- A running process (PID or service name)\n- A specific function or code block\n- An entire framework or system (e.g., \"autogen\", \"vllm serving\") — profile its end-to-end execution, identify bottlenecks across components\n- \"gpu\" \u002F \"interconnect\" \u002F \"memory\" for focused profiling\n\nIf `$ARGUMENTS` is empty or unclear, ask the user.\n\n### Step 2: Choose profiling methods\n\nSelect from external tools and\u002For code instrumentation as appropriate. Don't limit yourself to the examples below — use whatever makes sense for the target.\n\n**External tools** (check availability first):\n- CPU: `cProfile`, `py-spy`, `line_profiler`, `perf stat`, `\u002Fusr\u002Fbin\u002Ftime -v`\n- Memory: `tracemalloc`, `memory_profiler`, `memray`\n- GPU: `nvidia-smi`, `nvidia-smi dmon`, `nvitop`, `torch.profiler`, `nsys`\n- Interconnect: `nvidia-smi topo -m`, `nvidia-smi nvlink`, `NCCL_DEBUG=INFO`\n- System: `strace -c`, `iostat`, `vmstat`\n\n**Code instrumentation** — when external tools are insufficient, write and insert profiling code into the target. Typical scenarios:\n- Timing specific code blocks (wall time vs CPU time)\n- Measuring CPU-GPU or GPU-GPU transfer size, frequency, and bandwidth\n- Tracking memory allocation across CPU and GPU to detect redundancy\n- Wrapping NCCL collectives to measure latency and throughput\n- Adding CUDA event timing around kernels\n\nDesign the instrumentation based on what you observe in the code — don't use a fixed template.\n\n### Step 3: Key dimensions to investigate\n\nDepending on the target, focus on some or all of these:\n\n**CPU overhead**\n- Context switching (voluntary \u002F involuntary)\n- CPU utilization: ratio of CPU time to wall time\n- Per-function execution time hotspots\n\n**Memory overhead**\n- CPU and GPU memory usage (allocated vs reserved vs peak)\n- Redundant replication: same data living on both CPU and GPU\n- Per-device allocation balance in multi-GPU setups\n\n**Interconnect & communication**\n- CPU-GPU transfer: frequency, per-transfer size, total volume, bandwidth achieved\n- GPU-GPU transfer: P2P bandwidth, NVLink vs PCIe topology impact\n- NCCL collectives: operation type, message size distribution, latency\n- Communication-to-computation ratio\n\n**GPU compute**\n- SM utilization, kernel launch overhead\n- Memory bandwidth utilization vs peak\n\n### Step 4: Instrumentation guidelines\n\nWhen inserting code into the target:\n1. Read and understand the target code first\n2. Prefer wrapping (decorator, context manager, standalone runner) over inline edits\n3. If inline edits are necessary, mark them clearly (e.g., `# [PROFILE]` comments)\n4. Minimize observer effect — don't instrument tight inner loops; sample instead\n5. Collect results into a structured log, don't scatter print statements\n\n### Step 5: Run profiling\n\n1. Check available tools and hardware topology\n2. Run the chosen methods, capture all output\n3. Save artifacts (flamegraphs, traces, logs) to `.\u002Fprofile_output\u002F`\n\n### Step 6: Produce the report\n\n**Part A — Profiling results** (structured tables by dimension, as applicable):\n- CPU overhead table\n- Memory overhead table (with redundancy column)\n- Interconnect table (transfer type \u002F frequency \u002F size \u002F latency \u002F bandwidth)\n- Hotspots \u002F bottleneck identification\n- Actionable recommendations ranked by expected impact\n\n**Part B — Instrumentation changelog** (MANDATORY):\nList every file that was modified or created for profiling purposes:\n\n| File | Change type | What was added\u002Fmodified | Line(s) |\n|------|-------------|------------------------|---------|\n| ... | modified | ... | ... |\n| ... | created | ... | — |\n\nThis allows the user to review and revert all instrumentation changes.\nOffer to clean up (remove all instrumentation) when the user is done.\n","# System Profile\n\nProfile the specified target and summarize the results. Target: $ARGUMENTS\n\n## Instructions\n\nYou are a profiling assistant. Based on the user's target, choose appropriate profiling strategies, **including writing instrumentation code when needed**, then run profiling, analyze results, and produce a summary.\n\n### Step 1: Determine the profiling target\n\nParse `$ARGUMENTS` to understand what to profile. Examples:\n- A Python script or module\n- A running process (PID or service name)\n- A specific function or code block\n- An entire framework or system (e.g., \"autogen\", \"vllm serving\") — profile its end-to-end execution, identify bottlenecks across components\n- \"gpu\" \u002F \"interconnect\" \u002F \"memory\" for focused profiling\n\nIf `$ARGUMENTS` is empty or unclear, ask the user.\n\n### Step 2: Choose profiling methods\n\nSelect from external tools and\u002For code instrumentation as appropriate. Don't limit yourself to the examples below — use whatever makes sense for the target.\n\n**External tools** (check availability first):\n- CPU: `cProfile`, `py-spy`, `line_profiler`, `perf stat`, `\u002Fusr\u002Fbin\u002Ftime -v`\n- Memory: `tracemalloc`, `memory_profiler`, `memray`\n- GPU: `nvidia-smi`, `nvidia-smi dmon`, `nvitop`, `torch.profiler`, `nsys`\n- Interconnect: `nvidia-smi topo -m`, `nvidia-smi nvlink`, `NCCL_DEBUG=INFO`\n- System: `strace -c`, `iostat`, `vmstat`\n\n**Code instrumentation** — when external tools are insufficient, write and insert profiling code into the target. Typical scenarios:\n- Timing specific code blocks (wall time vs CPU time)\n- Measuring CPU-GPU or GPU-GPU transfer size, frequency, and bandwidth\n- Tracking memory allocation across CPU and GPU to detect redundancy\n- Wrapping NCCL collectives to measure latency and throughput\n- Adding CUDA event timing around kernels\n\nDesign the instrumentation based on what you observe in the code — don't use a fixed template.\n\n### Step 3: Key dimensions to investigate\n\nDepending on the target, focus on some or all of these:\n\n**CPU overhead**\n- Context switching (voluntary \u002F involuntary)\n- CPU utilization: ratio of CPU time to wall time\n- Per-function execution time hotspots\n\n**Memory overhead**\n- CPU and GPU memory usage (allocated vs reserved vs peak)\n- Redundant replication: same data living on both CPU and GPU\n- Per-device allocation balance in multi-GPU setups\n\n**Interconnect & communication**\n- CPU-GPU transfer: frequency, per-transfer size, total volume, bandwidth achieved\n- GPU-GPU transfer: P2P bandwidth, NVLink vs PCIe topology impact\n- NCCL collectives: operation type, message size distribution, latency\n- Communication-to-computation ratio\n\n**GPU compute**\n- SM utilization, kernel launch overhead\n- Memory bandwidth utilization vs peak\n\n### Step 4: Instrumentation guidelines\n\nWhen inserting code into the target:\n1. Read and understand the target code first\n2. Prefer wrapping (decorator, context manager, standalone runner) over inline edits\n3. If inline edits are necessary, mark them clearly (e.g., `# [PROFILE]` comments)\n4. Minimize observer effect — don't instrument tight inner loops; sample instead\n5. Collect results into a structured log, don't scatter print statements\n\n### Step 5: Run profiling\n\n1. Check available tools and hardware topology\n2. Run the chosen methods, capture all output\n3. Save artifacts (flamegraphs, traces, logs) to `.\u002Fprofile_output\u002F`\n\n### Step 6: Produce the report\n\n**Part A — Profiling results** (structured tables by dimension, as applicable):\n- CPU overhead table\n- Memory overhead table (with redundancy column)\n- Interconnect table (transfer type \u002F frequency \u002F size \u002F latency \u002F bandwidth)\n- Hotspots \u002F bottleneck identification\n- Actionable recommendations ranked by expected impact\n\n**Part B — Instrumentation changelog** (MANDATORY):\nList every file that was modified or created for profiling purposes:\n\n| File | Change type | What was added\u002Fmodified | Line(s) |\n|------|-------------|------------------------|---------|\n| ... | modified | ... | ... |\n| ... | created | ... | — |\n\nThis allows the user to review and revert all instrumentation changes.\nOffer to clean up (remove all instrumentation) when the user is done.\n",{"name":5,"description":7,"argument-hint":24},"\u003Ctarget, e.g. \"train.py\", \"gpu\", \"pid 1234\", \"vllm serving\">","main","4fd50b1281e8cd978866b6b4556242605cabf708",".agents\u002Fskills\u002Fsystem-profile",1,"https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FSEOSONA-OS","https:\u002F\u002Fseosona-os.vercel.app","https:\u002F\u002Fgithub.com\u002FLongLeo287","https:\u002F\u002Fwww.facebook.com\u002FResourceRookie2023","2026-10-09 15:14:13",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add LongLeo287\u002FSEOSONA-OS --skill system-profile",{"tool":40,"command":41},"bunx","bunx skills add LongLeo287\u002FSEOSONA-OS --skill system-profile",{"tool":43,"command":44},"pnpm","pnpm dlx skills add LongLeo287\u002FSEOSONA-OS --skill system-profile","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FSEOSONA-OS\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fsystem-profile\u002FSKILL.md",true,[],[49,56,63,70,77,84],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M75F0T3V3W7JQQ05X26NNN2T","web_crawler_katana","High-speed web crawling using Katana patterns for deep site mapping, URL discovery, and content extraction.","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FSEOSONA-OS\u002Fblob\u002Fmain\u002F2_KNOWLEDGE\u002Fskills\u002Fseo_technical\u002Fweb_crawler_katana\u002FSKILL.md",[],[],{"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},"01M75F0Q2QJXDGAFKC7D84GT88","server_log_analyzer","Analyzes Nginx\u002FApache server logs to identify Googlebot crawl patterns, errors, and performance bottlenecks.","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FSEOSONA-OS\u002Fblob\u002Fmain\u002F2_KNOWLEDGE\u002Fskills\u002Fseo_technical\u002Fserver_log_analyzer\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},"01M75F0KZP6D8R8XPN2YT35BAJ","schema_markup_generator","Auto-generates JSON-LD structured data for any page type (Article, Product, FAQ, LocalBusiness, etc.).","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FSEOSONA-OS\u002Fblob\u002Fmain\u002F2_KNOWLEDGE\u002Fskills\u002Fseo_technical\u002Fschema_markup_generator\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},"01M75F0G3KX4Y86AXJXTKXVEVA","internal_linking_optimizer","Analyzes and optimizes the internal link graph of a website for SEO authority distribution.","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FSEOSONA-OS\u002Fblob\u002Fmain\u002F2_KNOWLEDGE\u002Fskills\u002Fseo_technical\u002Finternal_linking_optimizer\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},"01M75F0CS1RYX4YPJC7N6RAAQJ","google_trends_analyzer","Detects trending topics and seasonal patterns using Google Trends data for content planning and keyword strategy.","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FSEOSONA-OS\u002Fblob\u002Fmain\u002F2_KNOWLEDGE\u002Fskills\u002Fseo_technical\u002Fgoogle_trends_analyzer\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},"01M75F0ASMQ1GKPFX82D19SRTN","brand_context_analyzer","Tracks brand mentions, sentiment, and online reputation across web sources.","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FSEOSONA-OS\u002Fblob\u002Fmain\u002F2_KNOWLEDGE\u002Fskills\u002Fseo_technical\u002Fbrand_context_analyzer\u002FSKILL.md",[],[]]