Argent is a toolkit that lets an AI assistant control and inspect iOS, Android, TV, Electron, and Chromium applications through simulators, emulators, physical devices, or desktop connections. It is for developers who want an agent to interact with interfaces, reproduce issues, test features, debug applications, or run profiling tasks. The catalogue add-ons expose Argent's device-control and development workflows to coding agents.
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 software-mansion/argent --skill argent-react-native-optimizationgit clone --depth 1 https://github.com/software-mansion/argentWrote 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/software-mansion/argent/argent-react-native-optimization)<a href="https://agentmods.dev/skills/software-mansion/argent/argent-react-native-optimization"><img src="https://agentmods.dev/badge/skills/software-mansion/argent/argent-react-native-optimization/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/software-mansion/argent/argent-react-native-optimization"><img src="https://agentmods.dev/badge/skills/software-mansion/argent/argent-react-native-optimization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk warn
- NVIDIA SkillSpector pass
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.00046 | $0.01119 |
| Opus 5.5 | $0.00018 | $0.00448 |
| Sonnet 5.5 | $0.00009 | $0.00224 |
| Haiku 4.5 | $0.00005 | $0.00112 |
Grade A, and why
argent-react-native-optimization 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 3d 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 — 57 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Rules
- Do not apply shotgun optimizations. Measure first, define what "good enough" looks like (target metric + threshold), fix the top offender, re-measure honestly.
- Profile for discovery, not only verification. Use the profiler to find issues static analysis missed, not only to confirm fixes.
- Verify before fixing: recollect the evidence and conclude whether the fix is worth undertaking. Validate a fix with
debugger-evaluatebefore committing it. - One fix per cycle for architectural changes. Mechanical batch fixes (inline styles, index keys) can be grouped; re-profile once after the batch. When the measurement involves device interaction, record it as an e2e test (
argent-create-e2eskill) before the first run so every cycle replays identical steps. - React Compiler: if the project uses it (
babel-plugin-react-compilerin the Babel config, orexperiments.reactCompiler: truein the Expo config), skip memoization fixes (React.memo,useMemo,useCallback, hoisting inline objects and functions) in every phase; the compiler does them. Keep them for components the compiler skips (compilationMode: "annotation","use no memo", asourcesfilter). Where the profiler report marks a component ⚠️ (bailout suspected), fix what stops the compiler. - Sub-agents: Phases 1–2 dispatch sub-agents: one per file for lint results, one per checklist item for semantic. Sub-agents CANNOT touch the device - all profiling and E2E verification must happen in the main agent.
Pipeline
Lint and semantic sweeps catch deterministic issues cheaply. Profiling finds runtime bottlenecks that static analysis misses. Do both.
Copy this checklist into your TODO list:
Optimization Progress:
- [ ] Phase 1: Lint sweep (deterministic: catch mechanical issues without a running app)
- [ ] Phase 2: Semantic sweep (judgment: memoization, lists, animations, etc.)
- [ ] Phase 3: Baseline profile (find real bottlenecks, fix top offenders)
- [ ] Phase 4: Verify no regressions (crashes, errors, red screens)
- [ ] Re-run lint to confirm the fixes added no new issues and none were missed
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 3d ago Changed · -34 tokens per session 0e0478cae6e3
- 6d ago Changed 05872b052c18
- 10d ago Changed · +9 lines · +9 tokens per session 1cdc01fa428e
- 20d ago Changed · -1 lines 2bb6d8282220
- 23d ago Changed · -16 lines 6fc8c5ea91bb
- 1mo ago Changed ef69d99ea504
- 1mo ago Changed 5f6aa1a00d25
- 3mo ago First seen · 65 lines · 71 tokens per session scan A e4ed682f1501
argent-react-native-optimization is a skill published in the GitHub repository software-mansion/argent (3,273 stars, last pushed today), licensed Apache-2.0. It adds 46 tokens to every session and 1,119 once invoked, about $0.0002 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-08-30.
argent-react-native-optimization compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| argent-react-native-optimizationsoftware-mansion/argent | Skill | 3.3k | today | Apache-2.0 | A | 46 | Claude Code, Codex |
| react-native-docspledgeandgrow/pledge-skills | Skill | 11 | 4mo ago | MIT | A | 97 | Claude Code, Codex |
| truesheet-usagelodev09/react-native-true-sheet | Skill | 2.1k | today | MIT | A | 171 | Claude Code, Codex |
| uniwinduni-stack/uniwind | Skill | 1.8k | today | MIT | A | 130 | Claude Code, Codex |
| react-nativeericrisco/rsc-harness | Skill | 691 | 5d ago | MIT | A | 90 | Claude Code, Codex |
| maui-performancedotnet/maui-labs | Skill | 244 | today | MIT | A | 85 | Claude Code, Codex |
| maui-ui-patternsdotnet/maui-labs | Skill | 244 | today | MIT | A | 82 | Claude Code, Codex |