device-state-setup

device-state-setup is a skill for Claude Code, Codex from krishtoautomate/robotactions. It costs 97 tokens per session (1,381 once invoked), scanned A, original, no licence file.

A set of instructions for preparing a real device before running a test. It can place files and test data on the device, set location or language, reset app data, and manage device files.

In plain words
What is it for?
Preparing upload and file-picker tests, seeding app fixtures, mocking GPS, changing locale, resetting apps, and managing device files.
Why use it?
Tests often fail or become inconsistent when the device does not start with the required files, app data, settings, or clean state.

Skill for Claude CodeCodex

Part of the robotactions plugin — 7 skills, 2 MCP servers shipped together

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.

agentmods
npx agentmods add skills/krishtoautomate/robotactions/device-state-setup
Any agent
npx skills add krishtoautomate/robotactions --skill device-state-setup
Clone the repo
git clone --depth 1 https://github.com/krishtoautomate/robotactions

Made for: Claude Code, Codex.

Or install robotactions, the plugin that ships this one along with the rest of its 7 skills, 2 MCP servers.

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 device-state-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/krishtoautomate/robotactions/device-state-setup.svg)](https://agentmods.dev/skills/krishtoautomate/robotactions/device-state-setup)
Your own site
<a href="https://agentmods.dev/skills/krishtoautomate/robotactions/device-state-setup"><img src="https://agentmods.dev/badge/skills/krishtoautomate/robotactions/device-state-setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,381 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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 $0.00097 $0.01381
Opus 5 $0.00048 $0.00691
Sonnet 5 $0.00019 $0.00276
Haiku 4.5 $0.00010 $0.00138

Measured 4d ago against content hash 9d08d75feb66, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

device-state-setup 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 4d 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.

skills/device-state-setup/SKILL.md · 153 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 4d ago First seen · 153 lines · 97 tokens per session scan A 9d08d75feb66

Subscribe to this mod's changes

device-state-setup is a skill published in the GitHub repository krishtoautomate/robotactions (0 stars, last pushed 21d ago), with no licence file. It adds 97 tokens to every session and 1,381 once invoked, about $0.0005 per session on Opus 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-31.

Related

Other skills, from other repositories

use-agent-browser-for-airi

Test AIRI display-model imports with agent-browser across stage-tamagotchi Electron, stage-web, and stage-pocket mobile web layouts. Use when uploading and verifying contributor-supplied Live2D ZIP, VRM, or MMD ZIP/PMX/PMD files through AIRI's model selector, including onboarding bypass, format-specific import…

moeru-ai/airi · 87 tokens

run-integration-tests

Build, pack, and run .NET MAUI integration tests locally. Validates templates, samples, and end-to-end scenarios using the local workload.

dotnet/maui · 35 tokens

cli-e2e-testcase-writer

Use when adding or updating Go CLI E2E coverage for one tests/clie2e/{domain} domain of the compiled lark-cli, especially when the work requires live --help or schema exploration, scenario-based clie2e.RunCmd workflows, and per-domain coverage.md maintenance.

larksuite/cli · 78 tokens

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

every-app/open-seo · 35 tokens

harness-test-writer

Add regression test cases to the Bifrost provider harness (the Postman collection run via make run-provider-harness-test) based on a merged PR or a GitHub issue. Fetches the PR/issue, traces the affected wire path in the codebase, checks existing harness coverage, designs cases following harness conventions, inserts…

maximhq/bifrost · 133 tokens

agent-device-evidence

Records iOS/Android native MP4 evidence for test/repro flows extracted from an Expensify GitHub PR or issue. Use when the user asks to "record the flow for PR.

Expensify/App · 43 tokens