running-mobile-demo-flows

running-mobile-demo-flows is a skill for Claude Code, Codex from PostHog/posthog-foss. It costs 103 tokens per session (1,022 once invoked), scanned A, original, MIT.

A procedure for running two PostHog mobile app demo checks on a local iOS simulator. The checks walk through key screens in demo mode and report whether those flows still work.

In plain words
What is it for?
Use it to verify mobile changes involving the app interface, navigation, demo fixtures, test IDs, or Argent flow files, and before requesting a mobile release.
Why use it?
It catches broken navigation, screens, test identifiers, demo data, or flow files before a change is reported as complete. It avoids running the checks for changes that cannot affect them.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash scripts/ci-argent-build.sh /tmp/mobile-argent-build /tmp/mobile-argent-artifacts.

Good fit Use it to verify mobile changes involving the app interface, navigation, demo fixtures, test IDs, or Argent flow files, and before requesting a mobile release.

Compare 6 skills from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/PostHog/posthog-foss
agentmods
npx agentmods add skills/posthog/posthog-foss/running-mobile-demo-flows

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for running-mobile-demo-flows

README.md
[![agentmods](https://agentmods.dev/badge/skills/posthog/posthog-foss/running-mobile-demo-flows/github.svg)](https://agentmods.dev/skills/posthog/posthog-foss/running-mobile-demo-flows)
Your own site
<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.

agentmods 80×15 button for running-mobile-demo-flows

Your own site · 80×15
<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>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,022 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 23d ago against content hash 0c3b031d924e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

.agents/skills/running-mobile-demo-flows/SKILL.md · 80 lines

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 testID the 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, and prebuild.log, pods.log and build.log explain a native build failure.
  • Both flows run even when the first fails. Report each one.
  • An idle step 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.

Read the full file on GitHub · 80 lines

Changes

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.

  1. 23d ago Changed 0c3b031d924e
  2. 1mo ago First seen · 80 lines · 103 tokens per session scan A 8992c7b781af

Subscribe to this mod's changes

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.

Related

running-mobile-demo-flows compared with skills from other repositories

running-mobile-demo-flows next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
running-mobile-demo-flowsPostHog/posthog-fossSkill736todayMITA103Claude Code, Codex
android-ui-journey-testingsickn33/agentic-awesome-skillsSkill51ktodayMITA27Claude Code
android_ui_verificationsickn33/agentic-awesome-skillsSkill51ktodayMITA22Claude Code
solopi-aialipay/SoloPiSkill6.8kyesterdayApache-2.0A82Codex
public-transitchromium/chromiumSkill26ktodayBSD-3-ClauseA53Claude Code, Codex
eas-simulatorexpo/skillsSkill4.3ktodayMITA251Claude Code, Codex
dogfoodcallstack/agent-deviceSkill5.6ktodayMITA55Claude Code