argent-environment-inspector

argent-environment-inspector is an agent for Claude Code from software-mansion/argent. It costs 149 tokens per session (1,643 once invoked), scanned A, original, Apache-2.0.

An inspection agent that examines a mobile app project and reports its type, supported platforms, build and startup commands, configuration, packages, and testing tools. It can distinguish projects such as React Native, Expo, Flutter, native iOS, native Android, and web apps.

In plain words
What is it for?
Use it to discover how a project should be started, built, tested, and configured, including projects containing several apps.
Why use it?
It provides the project's actual environment details before development or debugging begins, including custom scripts and platform setup.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: mentions subagents.

Good fit Use it to discover how a project should be started, built, tested, and configured, including projects containing several apps.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/software-mansion/argent/argent-environment-inspector
About the project

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.

software-mansion/argent · 3,059 stars · on GitHub · argent.swmansion.com

Install

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.

Clone the repo
git clone --depth 1 https://github.com/software-mansion/argent

Made for: Claude Code.

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 argent-environment-inspector

README.md
[![agentmods](https://agentmods.dev/badge/agents/software-mansion/argent/argent-environment-inspector/github.svg)](https://agentmods.dev/agents/software-mansion/argent/argent-environment-inspector)
Your own site
<a href="https://agentmods.dev/agents/software-mansion/argent/argent-environment-inspector"><img src="https://agentmods.dev/badge/agents/software-mansion/argent/argent-environment-inspector/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 argent-environment-inspector

Your own site · 80×15
<a href="https://agentmods.dev/agents/software-mansion/argent/argent-environment-inspector"><img src="https://agentmods.dev/badge/agents/software-mansion/argent/argent-environment-inspector.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 149 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,643 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.00149 $0.01643
Opus 5.5 $0.00060 $0.00657
Sonnet 5.5 $0.00030 $0.00329
Haiku 4.5 $0.00015 $0.00164

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

Security

Grade A, and why

argent-environment-inspector 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 6d 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.

packages/skills/agents/argent-environment-inspector.md · 108 lines

How it starts

The opening of the file, as written. The whole thing — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are the environment-inspector subagent. Your job is to inspect a mobile app project and return a single JSON block describing the project's environment. You do not write files; the main agent handles persistence.

Your first task is to determine what kind of project this is.. The project could be, for example:

  • React Native (bare CLI or Expo)
  • Flutter / Dart
  • Native iOS (Swift / Objective-C with Xcode)
  • Native Android (Kotlin / Java with Gradle)
  • A web app, a monorepo containing multiple apps, or something else entirely

Provide useful environment context regardless of the project type. You have deep introspection tools at your disposal - gather-workspace-data, which provides heuristical context about the workspace structure. If any of the information is not retrieved from the tool, but required by the main agent, fill it in by manual inspection of the project.

Execution steps

  1. Call gather-workspace-data with the project's workspace path. This is always your first action. It returns a structured snapshot of package.json, metro/babel config text, app.json, eas.json, tsconfig, platform directories, lockfile type, .env key names, CLI tool versions, scripts/ listing, husky hooks, CI config, Makefile targets, and config file existence.

  2. Determine the project type. From the snapshot, classify the project:

    • react-native in package.json dependencies → React Native project
    • expo in dependencies or app.json with expo key → Expo project
    • pubspec.yaml present → Flutter project
    • ios/*.xcodeproj or ios/*.xcworkspace without react-native → native iOS
    • android/build.gradle or android/build.gradle.kts without react-native → native Android
    • None of the above → classify based on what you find (web app, library, etc.)
  3. Explore beyond the snapshot. Use Read, Glob, Grep, and Bash to fill gaps the snapshot does not cover:

    • Non-obvious scripts/ directory contents and what each script does.
    • CI workflow files (.github/workflows/*.yml) to understand what "passing" means.
    • Custom Makefile or Fastfile targets.
    • package.json scripts beyond start/test: look for check, verify, ci, precommit, prepush, flavors, and env-specific variants.
    • .husky/ hook contents to understand pre-commit/pre-push validation.
    • lint-staged config to understand what runs on commit.
    • Monorepo indicators: workspaces in root package.json, turbo.json, nx.json, lerna.json.
    • README or CONTRIBUTING docs that describe build/run/test workflows.
    • Storybook config (.storybook/), Detox config (.detoxrc.js), Maestro flows (.maestro/).
    • For Flutter: pubspec.yaml, analysis_options.yaml, lib/ structure.
    • For native iOS: Xcode project/workspace, schemes, Podfile, Package.swift.
    • For native Android: build.gradle / build.gradle.kts, settings.gradle / settings.gradle.kts, flavor configs.
  4. Populate every field in the output schema below. Use null for genuinely unknown values or fields that do not apply to this project type. Prefer concrete commands over generic ones (e.g. yarn start:local over npx react-native start if the project defines a custom script).

  5. Return the JSON block: no prose, no markdown fences, no explanation. The main agent parses your entire response as JSON.

Read the full file on GitHub · 108 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. 6d ago Changed 9eff92cf8873
  2. 1mo ago First seen · 108 lines · 149 tokens per session scan A 96cb2e502575

Subscribe to this mod's changes

argent-environment-inspector is an agent published in the GitHub repository software-mansion/argent (3,059 stars, last pushed yesterday), licensed Apache-2.0. It adds 149 tokens to every session and 1,643 once invoked, about $0.0006 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.

Related

Other agents, from other repositories

touch

Full-stack mobile engineer covering iOS, Android, React Native, and Flutter — from architecture decisions to app store submission. Use when you need platform choice guidance, mobile architecture specs, performance optimization, or CI/CD setup. Trigger with "design my mobile architecture", "help me ship to the app…

jeremylongshore/tons-of-skills-marketplace · 63 tokens

m3-expressive-guide

Material 3 Expressive design specialist. Guides on expressive theming, spring-based motion, shape morphing, typography emphasis, color emphasis, and all 28 expressive components for Jetpack Compose. Use when building modern, expressive Android UI.

ahmed3elshaer/everything-claude-code-mobile · 54 tokens

liquid-glass-guide

Apple Liquid Glass design specialist for SwiftUI iOS 26+. Guides on glass effects, morphing animations, containers, interactive glass, tinting, accessibility, and cross-platform glass design. Use when building modern Apple UI with Liquid Glass.

ahmed3elshaer/everything-claude-code-mobile · 54 tokens

ui-impl

UI layer implementation specialist. Creates screens, ViewModels with state management, and UI components. Android: Jetpack Compose + MVI. iOS: SwiftUI + ObservableObject. KMP: shared ViewModels with platform UI.

ahmed3elshaer/everything-claude-code-mobile · 50 tokens

architecture-impl

Domain and architecture layer implementer. Creates use cases, domain models, repository interfaces, and DI modules. Android: Koin. iOS: dependency container with protocols. KMP: Koin Multiplatform. Follows Clean Architecture principles.

ahmed3elshaer/everything-claude-code-mobile · 53 tokens

network-impl

Network layer implementation specialist. Creates API clients, DTOs, request/response models, and error handling with platform detection. Android: Ktor + kotlinx.serialization. iOS: URLSession + async/await + Codable. KMP: shared Ktor in commonMain.

ahmed3elshaer/everything-claude-code-mobile · 58 tokens