{
  "schemaVersion": "1.0",
  "item": {
    "slug": "native-app-performance",
    "name": "Native App Performance",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/steipete/native-app-performance",
    "canonicalUrl": "https://clawhub.ai/steipete/native-app-performance",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/native-app-performance",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=native-app-performance",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/extract_time_samples.py",
      "scripts/record_time_profiler.sh",
      "scripts/top_hotspots.py"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "slug": "native-app-performance",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-06T00:08:57.888Z",
      "expiresAt": "2026-05-13T00:08:57.888Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=native-app-performance",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=native-app-performance",
        "contentDisposition": "attachment; filename=\"native-app-performance-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "native-app-performance"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/native-app-performance"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/native-app-performance",
    "agentPageUrl": "https://openagent3.xyz/skills/native-app-performance/agent",
    "manifestUrl": "https://openagent3.xyz/skills/native-app-performance/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/native-app-performance/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Native App Performance (CLI-only)",
        "body": "Goal: record Time Profiler via xctrace, extract samples, symbolicate, and propose hotspots without opening Instruments."
      },
      {
        "title": "Quick start (CLI)",
        "body": "Record Time Profiler (attach):\n\n# Start app yourself, then attach\nxcrun xctrace record --template 'Time Profiler' --time-limit 90s --output /tmp/App.trace --attach <pid>\n\nRecord Time Profiler (launch):\n\nxcrun xctrace record --template 'Time Profiler' --time-limit 90s --output /tmp/App.trace --launch -- /path/App.app/Contents/MacOS/App\n\nExtract time samples:\n\nscripts/extract_time_samples.py --trace /tmp/App.trace --output /tmp/time-sample.xml\n\nGet load address for symbolication:\n\n# While app is running\nvmmap <pid> | rg -m1 \"__TEXT\" -n\n\nSymbolicate + rank hotspots:\n\nscripts/top_hotspots.py --samples /tmp/time-sample.xml \\\n  --binary /path/App.app/Contents/MacOS/App \\\n  --load-address 0x100000000 --top 30"
      },
      {
        "title": "Workflow notes",
        "body": "Always confirm you’re profiling the correct binary (local build vs /Applications). Prefer direct binary path for --launch.\nEnsure you trigger the slow path during capture (menu open/close, refresh, etc.).\nIf stacks are empty, capture longer or avoid idle sections.\nxcrun xctrace help record and xcrun xctrace help export show correct flags."
      },
      {
        "title": "Included scripts",
        "body": "scripts/record_time_profiler.sh: record via attach or launch.\nscripts/extract_time_samples.py: export time-sample XML from a trace.\nscripts/top_hotspots.py: symbolicate and rank top app frames."
      },
      {
        "title": "Gotchas",
        "body": "ASLR means you must use the runtime __TEXT load address from vmmap.\nIf using a new build, update the --binary path; symbols must match the trace.\nCLI-only flow: no need to open Instruments if stacks are symbolicated via atos."
      }
    ],
    "body": "Native App Performance (CLI-only)\n\nGoal: record Time Profiler via xctrace, extract samples, symbolicate, and propose hotspots without opening Instruments.\n\nQuick start (CLI)\nRecord Time Profiler (attach):\n# Start app yourself, then attach\nxcrun xctrace record --template 'Time Profiler' --time-limit 90s --output /tmp/App.trace --attach <pid>\n\nRecord Time Profiler (launch):\nxcrun xctrace record --template 'Time Profiler' --time-limit 90s --output /tmp/App.trace --launch -- /path/App.app/Contents/MacOS/App\n\nExtract time samples:\nscripts/extract_time_samples.py --trace /tmp/App.trace --output /tmp/time-sample.xml\n\nGet load address for symbolication:\n# While app is running\nvmmap <pid> | rg -m1 \"__TEXT\" -n\n\nSymbolicate + rank hotspots:\nscripts/top_hotspots.py --samples /tmp/time-sample.xml \\\n  --binary /path/App.app/Contents/MacOS/App \\\n  --load-address 0x100000000 --top 30\n\nWorkflow notes\nAlways confirm you’re profiling the correct binary (local build vs /Applications). Prefer direct binary path for --launch.\nEnsure you trigger the slow path during capture (menu open/close, refresh, etc.).\nIf stacks are empty, capture longer or avoid idle sections.\nxcrun xctrace help record and xcrun xctrace help export show correct flags.\nIncluded scripts\nscripts/record_time_profiler.sh: record via attach or launch.\nscripts/extract_time_samples.py: export time-sample XML from a trace.\nscripts/top_hotspots.py: symbolicate and rank top app frames.\nGotchas\nASLR means you must use the runtime __TEXT load address from vmmap.\nIf using a new build, update the --binary path; symbols must match the trace.\nCLI-only flow: no need to open Instruments if stacks are symbolicated via atos."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/steipete/native-app-performance",
    "publisherUrl": "https://clawhub.ai/steipete/native-app-performance",
    "owner": "steipete",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/native-app-performance",
    "downloadUrl": "https://openagent3.xyz/downloads/native-app-performance",
    "agentUrl": "https://openagent3.xyz/skills/native-app-performance/agent",
    "manifestUrl": "https://openagent3.xyz/skills/native-app-performance/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/native-app-performance/agent.md"
  }
}