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.
git clone --depth 1 https://github.com/carloshpdoc/ios-workflow-claudeWrote 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/commands/carloshpdoc/ios-workflow-claude/perf-investigate)<a href="https://agentmods.dev/commands/carloshpdoc/ios-workflow-claude/perf-investigate"><img src="https://agentmods.dev/badge/commands/carloshpdoc/ios-workflow-claude/perf-investigate/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/commands/carloshpdoc/ios-workflow-claude/perf-investigate"><img src="https://agentmods.dev/badge/commands/carloshpdoc/ios-workflow-claude/perf-investigate.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.00000 | $0.01791 |
| Opus 5 | $0.00000 | $0.00896 |
| Sonnet 5 | $0.00000 | $0.00358 |
| Haiku 4.5 | $0.00000 | $0.00179 |
Grade A, and why
perf-investigate 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 10d 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 — 122 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Perf / Leak Investigation
Project context: Values in angle brackets below (e.g.
<scheme>,<JIRA_KEY>,<flag-key-enum>) are resolved at runtime — detect them from the project (xcodebuild -list -jsonfor the scheme,git/ghfor repo & owner, the branch name for the Jira key, a codebase search for flag/font files), or ask if they cannot be inferred. This plugin ships no per-project config.
Drive an iOS performance or memory-leak investigation on using Memory Graph + Time Profiler. Enforce data-before-architecture and stacked PRs.
Usage
/perf-investigate <symptom or <JIRA_KEY>-XXXX>
Examples:
/perf-investigate <Feature> place-details opens are slow after 15 cycles
/perf-investigate <JIRA_KEY>-XXXX
/perf-investigate Explore tab leaks BSPlaceDetailVMV3
Triggers
Run this skill when the user mentions any of: "perf", "lento", "slow", "leak", "memory", "vazamento", "TTI", "hang", "jank", "frame drop", "spin", "freezou", "trava".
Hard rules (do not skip)
- No architectural change before measurement. Reject hypotheses framed in architectural terms ("the wrapper is wrong", "the navigation pattern leaks") until the user provides a
.memgraph(for retention) or a.trace(for TTI/jank). - Memory Graph (
.memgraph) for retain cycles, NOTxctrace --template Leaks --attach. The latter fails silently withlibmalloc not initialized. Seereference_ios_leak_tooling.md. - Time Profiler with
--attachworks for hangs and CPU sampling. Use it for TTI/slowness investigations. - Compare to a fluid baseline tab. Pick a known-fluid feature in your app as the baseline; capture both the suspect and baseline in the same session.
- One PR per logical fix. If the investigation produces 2+ fixes, use stacked PRs — see
commit-and-prskill.
Workflow
Phase 1 — Triage (no code yet)
- Restate the symptom in observable terms (e.g., "after 15 opens, next open takes 6s" not "the wishlist is slow").
- Decide the right tool:
- "X is retained / leaking / accumulating" → Memory Graph (Tool 2 in the tooling memory).
- "X is slow / hangs / janky" → Time Profiler (Tool 3 in the tooling memory).
- "Memory grows over time without leaks" → Allocations Mark-Heap (Instruments GUI only — fall back to user).
- Ask the user to capture the right artifact and save to
~/Desktop/<descriptive-name>.{memgraph,trace}. Provide the exactxctracecommand if Time Profiler is needed. - Also ask for a baseline capture from a comparable fluid tab (usually Explore) when relevant.
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.
- 10d ago First seen · 122 lines · 0 tokens per session scan A 7e9fa4f7d770
perf-investigate is a command published in the GitHub repository carloshpdoc/ios-workflow-claude (7 stars, last pushed 3mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,791 tokens. 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-08-31.
Other commands, from other repositories
debug
Structured debugging with parallel investigation agents.
mobile-app-testing
Read .cursor/playwright-skills/mobile-app-testing/SKILL.md and follow its instructions exactly. Treat that file's body as your operating instructions for this task. Template files to install live in .cursor/playwright-skills/mobile-app-testing/templates/.
ui-aqa-flow-test-report-analysis
Phase 7 Test Report Analysis of ui-aqa-flow.
statusbar-doctor
Run cs doctor to diagnose why the status bar isn't showing what you expect.
linkerd
Linkerd-specific diagnostics — mTLS verification, proxy injection issues, authorization policy debugging, traffic management, and multi-cluster connectivity problems.
debug
Systematic debugging with hypotheses and evidence gathering.