emoubarak

Account State Check — Testing skill for Claude Code

Testing community

AI browser agent testing for staging apps: sign in as a real account state (free, paid, lapsed, team), follow a plain-English goal, verify against the database.

How to install Account State Check

This entry records only its repository, not the path inside it, so there is no exact command to give. Open emoubarak/account-state-check and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Account State Check does

AI browser agent testing for staging apps: sign in as a real account state (free, paid, lapsed, team), follow a plain-English goal, verify against the database. Agent skill for Claude Code, Codex.

Alternatives in Testing

  • Debug — You are tasked with helping debug issues during manual testing or implementation 10k ★
  • Goal — Đóng vai Skill Architect — phỏng vấn thông minh để trích xuất quy trình từ đầu người dùng, sinh AI Skill hoàn 310 ★
  • TDD Diagnostics.V1 — Follow strict TDD stages 272 ★

README

account-state-check: AI browser agent testing for staging apps, verified against your database

**Ask the real app, as a real account state.**

[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) [![Python 3.12+](https://img.shields.io/badge/python-3.12%2B-blue.svg)](pyproject.toml)

![account-state-check audit on the bundled demo app: PASS, then FAIL once a silent billing regression ships, while the agent still says done](docs/demo.gif)

account-state-check is an open-source **agent skill for Claude Code, Codex, OpenClaw and any coding agent that reads `SKILL.md`**. It puts a fast **AI browser agent** ([jev-ultrafast](https://github.com/browser-use/jev-ultrafast)) on your **staging app**, signed in as a throw-away account in exactly the state you need (free, paid, lapsed, team member, stranger, anonymous), and has it follow a plain-English goal. Then the **database** says whether it worked. The agent's "done" is only a claim.

Use it for **end-to-end testing of plan gates, paywalls, roles, permissions and cross-account isolation** (RLS, multi-tenant leaks), and to reproduce a bug report on a real account state.

$ account-state-check audit
== free_publish_blocked: a free account cannot publish a second project
       995 ms  ready     Publish
      1412 ms  done      Publish
…
FAIL  free_publish_blocked   as free   1 act   2 calls   1.3s  ← draft_still_unpublished,
      live_one_untouched, user_saw_the_paywall, paywall_states_the_reason

The agent clicked Publish and said **done**, and the UI looked fine. The database says the free-plan gate let the second project through and silently took the first one offline. That is the class of bug mocks and unit tests miss: the deployed front, the backend and the permissions disagreeing with each other.

Does a lapsed user's paywall fit on a phone?

URL-based responsive checkers screenshot public pages at a few widths. The screens that break are behind a sign-in: the paywall a free