Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/PostHog/posthog-fossnpx agentmods add skills/posthog/posthog-foss/running-mobile-demo-flowsWrote 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/posthog/posthog-foss/running-mobile-demo-flows)<a href="https://agentmods.dev/skills/posthog/posthog-foss/running-mobile-demo-flows"><img src="https://agentmods.dev/badge/skills/posthog/posthog-foss/running-mobile-demo-flows/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/posthog/posthog-foss/running-mobile-demo-flows"><img src="https://agentmods.dev/badge/skills/posthog/posthog-foss/running-mobile-demo-flows.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.00103 | $0.01022 |
| Opus 5.5 | $0.00041 | $0.00409 |
| Sonnet 5.5 | $0.00021 | $0.00204 |
| Haiku 4.5 | $0.00010 | $0.00102 |
Grade A, and why
running-mobile-demo-flows 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 23d 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 — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Running mobile demo flows
The flows live in products/mobile/.argent/flows/.
demo-smoke walks the inbox, a report, the hand-off sheet, decisions and chat in demo mode.
views-smoke covers the Views tab.
Both start and end on the sign-in screen with demo mode off, so a run can repeat right away.
TESTING.md lists each step.
When to run them
- A change under
products/mobile/app/,src/features/,src/ui/, navigation, or the demo fixtures. - A change to a flow YAML or to a
testIDthe flows use. - Before you create a release request (see
/requesting-mobile-releases).
Skip them for a change that only touches docs, tests, backend code, or build configuration.
Prerequisites, once per machine
- Xcode with an iOS simulator runtime, and CocoaPods. The scripts are verified on Xcode 26.6 with iOS 26.5 and on Xcode 27.1 with iOS 27.0.
- Argent 0.30.1 in a private prefix, so it does not collide with an editor's Argent server:
DO_NOT_TRACK=1 npm install --prefix /tmp/mobile-argent-tools --no-audit --no-fund @swmansion/[email protected]
Run the bundled flows
From products/mobile:
export PATH="/tmp/mobile-argent-tools/node_modules/.bin:$PATH"
export DO_NOT_TRACK=1
pnpm install --frozen-lockfile
bash scripts/ci-argent-build.sh /tmp/mobile-argent-build /tmp/mobile-argent-artifacts
bash scripts/ci-argent.sh \
/tmp/mobile-argent-build/Build/Products/Release-iphonesimulator/PostHogApp.app \
/tmp/mobile-argent-artifacts
Budget about 8 minutes for a fresh native build and about 3 minutes for both flows.
The build regenerates the ignored ios/ directory, so use a disposable worktree when the checkout has manual native edits.
The flow script creates its own temporary simulator, so other booted simulators do not interfere.
Set ARGENT_IOS_RUNTIME to a runtime id from xcrun simctl list runtimes to pick another installed runtime.
Read the result
- Exit code 0 means both flows passed.
- On failure, open
/tmp/mobile-argent-artifacts/: the JSON report has one entry per step, failed steps have a screenshot, andprebuild.log,pods.logandbuild.logexplain a native build failure. - Both flows run even when the first fails. Report each one.
- An
idlestep can warn that a small part of the screen was still changing, such as the text caret. The next step waits for a stable element, so this warning is expected.
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.
- 23d ago Changed 0c3b031d924e
- 1mo ago First seen · 80 lines · 103 tokens per session scan A 8992c7b781af
running-mobile-demo-flows is a skill published in the GitHub repository PostHog/posthog-foss (736 stars, last pushed today), licensed MIT. It adds 103 tokens to every session and 1,022 once invoked, about $0.0004 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-30.
running-mobile-demo-flows compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| running-mobile-demo-flowsPostHog/posthog-foss | Skill | 736 | today | MIT | A | 103 | Claude Code, Codex |
| android-ui-journey-testingsickn33/agentic-awesome-skills | Skill | 51k | today | MIT | A | 27 | Claude Code |
| android_ui_verificationsickn33/agentic-awesome-skills | Skill | 51k | today | MIT | A | 22 | Claude Code |
| solopi-aialipay/SoloPi | Skill | 6.8k | yesterday | Apache-2.0 | A | 82 | Codex |
| public-transitchromium/chromium | Skill | 26k | today | BSD-3-Clause | A | 53 | Claude Code, Codex |
| eas-simulatorexpo/skills | Skill | 4.3k | today | MIT | A | 251 | Claude Code, Codex |
| dogfoodcallstack/agent-device | Skill | 5.6k | today | MIT | A | 55 | Claude Code |