Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add jack1590/RokuMCP --skill perfetto-tracinggit clone --depth 1 https://github.com/jack1590/RokuMCPWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/jack1590/rokumcp/perfetto-tracing)<a href="https://agentmods.dev/skills/jack1590/rokumcp/perfetto-tracing"><img src="https://agentmods.dev/badge/skills/jack1590/rokumcp/perfetto-tracing/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/jack1590/rokumcp/perfetto-tracing"><img src="https://agentmods.dev/badge/skills/jack1590/rokumcp/perfetto-tracing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00071 | $0.00639 |
| Opus 5.5 | $0.00028 | $0.00256 |
| Sonnet 5.5 | $0.00014 | $0.00128 |
| Haiku 4.5 | $0.00007 | $0.00064 |
Grade A, and why
perfetto-tracing scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 45 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Trace frame drops and slow UI
Perfetto needs Roku OS 15.1+ on a LAN device. On a Cloud Device or older OS, use the bsprof-profiling skill.
Steps
The order is strict; skipping a step gives an empty trace.
roku_perfetto_enable(channeldevby default).- Relaunch the channel:
roku_deploy, orroku_launch appId=dev restart=true, thenroku_sleep3000 to 5000 ms. roku_perfetto_start.- Reproduce the slow interaction (
roku_keypress_sequence, etc.). roku_perfetto_stop: returns the.tracepath, size and duration.analyze_perfetto mode=summary, then the mode the summary points to:frame-drops,key-events,observers,rendezvous,set-fields,threads.query_perfettofor custom PerfettoSQL;compare_perfettoto diff two traces. Traces also open at ui.perfetto.dev.
In code mode (roku_run)
await roku.perfetto.enable({});
await roku.device.launch({ appId: 'dev', restart: true });
await roku.device.sleep({ durationMs: 4000 });
await roku.perfetto.start({ outDir: 'traces' });
await roku.input.keys({ keys: ['Down', 'Down', 'Down', 'Right'], delayMs: 200 });
const trace = await roku.perfetto.stop();
return await roku.perfetto.analyze({ filePath: trace.filePath, mode: 'frame-drops', top: 10 });
In roku_run, outDir is under roku-run/. Recording keeps state between calls, so the CLI cannot record; it can analyze (rokuctl perfetto.analyze <file> summary).
When it goes wrong
| Symptom | Cause | Fix |
|---|---|---|
| Empty trace | Channel not relaunched after enable | Follow the order: enable, relaunch, start |
| "not supported on Roku Cloud Emulator devices" | Perfetto needs direct LAN access | Use a LAN device, or bsprof-profiling |
| "No active Perfetto recording" | Stop without start, or the server restarted | Start again |
| First analysis is slow | trace_processor downloads on first use |
Expected once |
roku_run error output_too_large |
The report is over 100 KiB | Lower top, or roku.fs.write('trace-report.json', JSON.stringify(report)) and return the path |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago Changed · +26 lines · +6 tokens per session 9f8a86700b1c
- 4d ago Changed 76667166a56f
- 1mo ago First seen · 19 lines · 65 tokens per session scan A d25ce82e5a7f
perfetto-tracing is a skill published in the GitHub repository jack1590/RokuMCP (6 stars, last pushed 3d ago), licensed MIT. It adds 71 tokens to every session and 639 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-10.
perfetto-tracing compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| perfetto-tracingjack1590/RokuMCP | Skill | 6 | 3d ago | MIT | A | 71 | Claude Code |
| gke-ai-troubleshooting-tpu-dynamic-slices-monitoringgoogle/skills | Skill | 25k | today | Apache-2.0 | A | 107 | Claude Code, Codex |
| gke-ai-troubleshooting-tpu-vbar-oomgoogle/skills | Skill | 25k | today | Apache-2.0 | A | 125 | Claude Code, Codex |
| doca-flowNVIDIA/skills | Skill | 4.2k | 2d ago | Apache-2.0 | A | 224 | Claude Code |
| competition-firmware-layoutzhaoxuya520/reverse-skill | Skill | 45k | 16d ago | MIT | A | 110 | Codex |
| diagnose-driver-installNVIDIA/deepops | Skill | 1.5k | 3d ago | BSD-3-Clause | A | 47 | Claude Code, Codex |
| catc-troubleshootautomateyournetwork/netclaw | Skill | 739 | today | Apache-2.0 | A | 114 | Claude Code |