trailblaze-author

trailblaze-author is a skill for Claude Code, Codex from block/trailblaze. It costs 99 tokens per session (2,481 once invoked), scanned A, original, Apache-2.0.

Instructions for turning a recorded human interaction with a phone or tablet into a repeatable automated test called a Trailblaze trail. The recording includes the goal, actions, screenshots, and information about what appeared on screen.

In plain words
What is it for?
Use it to create, audit, and verify automated mobile-device trails from demonstration bundles for iPhone, Android, or Android tablets.
Why use it?
It turns a one-time demonstration into a test that can run independently and handle changing screens more reliably. The process requires checking the result by running it before declaring it ready.

Skill for Claude CodeCodex

About the project

Trailblaze is a UI testing framework that lets coding agents control iOS, Android, and web devices through natural-language actions, then save those sessions as replayable test trails. It is for teams testing device-based user flows, with recorded actions that CI can replay without an LLM. The catalogue skills teach agents how to drive devices, save and replay trails, and create custom tools.

block/trailblaze · 310 stars · on GitHub · block.github.io

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/block/trailblaze/trailblaze-author
Any agent
npx skills add block/trailblaze --skill trailblaze-author
Clone the repo
git clone --depth 1 https://github.com/block/trailblaze

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 trailblaze-author

README.md
[![agentmods](https://agentmods.dev/badge/skills/block/trailblaze/trailblaze-author.svg)](https://agentmods.dev/skills/block/trailblaze/trailblaze-author)
Your own site
<a href="https://agentmods.dev/skills/block/trailblaze/trailblaze-author"><img src="https://agentmods.dev/badge/skills/block/trailblaze/trailblaze-author.svg" alt="Measured on agentmods" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,481 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00099 $0.02481
Opus 5 $0.00049 $0.01241
Sonnet 5 $0.00020 $0.00496
Haiku 4.5 $0.00010 $0.00248

Measured 6d ago against content hash 8a4cf733fd02, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

trailblaze-author 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.

skills/trailblaze-author/SKILL.md · 207 lines

How it starts

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

Author a trail from a demonstration bundle

A human demonstrated a flow on a live device. Every interaction was captured with evidence. Your job is to produce a trail that runs on its own: deterministic where possible, resilient where the screen is dynamic, and proven by you actually running it before you call it ready. You are not transcribing clicks; you are authoring a test that validates what the human said they were validating.

Work in explicit phases, in order. Do not skip the audit passes and do not claim ready without a passing verification run.

The demonstration bundle

The launching prompt gives you the bundle directory. A bundle holds ONE platform's demonstration - bundles are keyed by platform (the directory is named like demos/iphone/, demos/android/, demos/android-tablet/), and sibling platform bundles from earlier sessions may sit beside it. Inside:

File What it is
demo.yaml Manifest: target, platform, device classifiers, the trailhead the human picked (name + args) or manual: true, and the human's stated objective + notes.
actions.ndjson One JSON line per interaction, in order. phase: "setup" lines are how the human positioned the app before pressing Start; phase: "step" lines are the demonstrated flow itself. Each line carries the gesture (kind, coordinates or text), the hit-tested element, recorded tool YAML, ranked selector candidates, and evidence file names.
start-state.png / start-state-hierarchy.txt The screen at the moment the human pressed Start. This is what the trailhead must reach.
<seq>-before.png, <seq>-after.png, <seq>-*-hierarchy.txt Per-action evidence. The hierarchy text has one line per element: bounds, type, label, id, interactive flag.
events/*.ndjson, network.ndjson Captured app event streams and network traffic, when available. Each line has timeMs; correlate to actions by time window (between one action's timeMs and the next).

Read the full file on GitHub · 207 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 First seen · 207 lines · 99 tokens per session scan A 8a4cf733fd02

Subscribe to this mod's changes

trailblaze-author is a skill published in the GitHub repository block/trailblaze (310 stars, last pushed 3d ago), licensed Apache-2.0. It adds 99 tokens to every session and 2,481 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-30.

Related

Other skills, from other repositories

android-ui-journey-testing

XML-specified Android UI journey testing, interactive step execution, assertion verification, and JSON outcome reporting.

sickn33/agentic-awesome-skills · 27 tokens

android_ui_verification

Automated end-to-end UI testing and verification on an Android Emulator using ADB.

sickn33/agentic-awesome-skills · 22 tokens

test-t3-mobile

Launch and test T3 Code Mobile on an iOS Simulator or Android Emulator against disposable local T3 environments, including Metro and dev-client reuse, native rebuild decisions, per-client pairing, seeded projects, semantic UI control, screenshots, and iOS serve-sim streaming. Use after mobile UI or native changes…

pingdotgg/t3code · 95 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

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

solopi-ai

通过 SoloPi 的机器可读 CLI 编译和执行 AI 验证计划,管理签名端侧 ExecuTorch 决策模型、持久设备池、无人值守任务、安卓设备、应用、动作、配置、用例步骤与交互录制、回放及性能历史、动态 Agent、批量与重复执行、性能监控、压力测试和证据。适用于需求/AC 到 Result Judge 三态结论、cloud/on-device 决策切换、模型发布门禁,以及 generation 租约的多设备 CI 执行。.

alipay/SoloPi · 127 tokens