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 bsprof-profilinggit 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/bsprof-profiling)<a href="https://agentmods.dev/skills/jack1590/rokumcp/bsprof-profiling"><img src="https://agentmods.dev/badge/skills/jack1590/rokumcp/bsprof-profiling/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/bsprof-profiling"><img src="https://agentmods.dev/badge/skills/jack1590/rokumcp/bsprof-profiling.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.00079 | $0.00617 |
| Opus 5.5 | $0.00032 | $0.00247 |
| Sonnet 5.5 | $0.00016 | $0.00123 |
| Haiku 4.5 | $0.00008 | $0.00062 |
Grade A, and why
bsprof-profiling 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.
What it actually says
Profile a memory leak or CPU hot path
Steps
- Enable profiling: the channel
manifestneedsbs_prof_enabled=true. Redeploy. - Reproduce the scenario on the device, then download the
.bsproffromhttp://<device-ip>:8080(ask the user if you cannot reach it). - Check the file:
bsprof_info filePath=<path>(header only, instant even at 600+ MB; duration reads 0 here). - Start broad:
analyze_bsprof mode=summary. - Drill in only where the summary points:
mode=memory(retained bytes, leaks) ormode=cpu(self time). Narrow withtop,filterModule,excludeModule(e.g.roku_ads_lib),threshold. - Regressions:
compare_bsprof beforePath=... afterPath=....
In code mode (roku_run)
const summary = await roku.profile.analyze({ filePath: 'profiles/after.bsprof', mode: 'summary', top: 10 });
const diff = await roku.profile.compare({ beforePath: 'profiles/before.bsprof', afterPath: 'profiles/after.bsprof', top: 10 });
return { leaks: summary.report.topMemoryLeaks, diff: diff.diff };
Paths must be inside the server's working directory: save the downloaded .bsprof in the project folder first.
From a shell (rokuctl)
rokuctl profile.analyze after.bsprof summary --top 10
rokuctl profile.compare before.bsprof after.bsprof --out diff.json
When it goes wrong
| Symptom | Cause | Fix |
|---|---|---|
| The first analysis takes minutes | Large file (tens of millions of entries) | Expected once; the parse is cached for the next call on the same file |
| Empty or tiny report | Profiling was not enabled for that run | Check bs_prof_enabled=true, redeploy, reproduce again |
rokuctl exit 2 output_too_large |
A full report is over 64 KiB | Add --out <file> |
| ENOENT | Wrong path | Check the path. Tools and rokuctl take any path |
path_denied in roku_run |
The file is outside the working directory | Save the downloaded .bsprof inside the project folder, then pass that 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 · +24 lines · +10 tokens per session 7d521ddc7b29
- 1mo ago First seen · 19 lines · 69 tokens per session scan A ff4d614cf489
bsprof-profiling is a skill published in the GitHub repository jack1590/RokuMCP (6 stars, last pushed 3d ago), licensed MIT. It adds 79 tokens to every session and 617 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.
bsprof-profiling compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| bsprof-profilingjack1590/RokuMCP | Skill | 6 | 3d ago | MIT | A | 79 | 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 |