playwright-praman: Agent for Claude Code

.claude/agents/praman-sap-planner-cli.md

praman-sap-planner-cli is an agent for Claude Code from mrkanitkar/playwright-praman. It costs 36 tokens per session (8,738 once invoked), scanned A, original, Apache-2.0.

A command-line planner for exploring SAP UI5 applications and producing test plans and Playwright test files.

In plain words
What is it for?
Use it to inspect a Fiori application, identify usable controls and interactions, and create a detailed plan for an executable test.
Why use it?
It helps discover how a live SAP page is structured before writing tests, reducing errors from guessed controls or navigation paths.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is mrkanitkar/playwright-praman's own configuration. It tells Claude Code how to work on playwright-praman itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything playwright-praman configures →

Reuse

Borrowing it

Nothing to install: this file belongs to mrkanitkar/playwright-praman. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/mrkanitkar/playwright-praman/main/.claude/agents/praman-sap-planner-cli.md
Clone the repo
git clone --depth 1 https://github.com/mrkanitkar/playwright-praman

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 praman-sap-planner-cli

README.md
[![agentmods](https://agentmods.dev/badge/agents/mrkanitkar/playwright-praman/praman-sap-planner-cli.svg)](https://agentmods.dev/agents/mrkanitkar/playwright-praman/praman-sap-planner-cli)
Your own site
<a href="https://agentmods.dev/agents/mrkanitkar/playwright-praman/praman-sap-planner-cli"><img src="https://agentmods.dev/badge/agents/mrkanitkar/playwright-praman/praman-sap-planner-cli.svg" alt="Measured on agentmods" height="20"></a>
Per session 36 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 8,738 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.00036 $0.08738
Opus 5 $0.00018 $0.04369
Sonnet 5 $0.00007 $0.01748
Haiku 4.5 $0.00004 $0.00874

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

Security

Grade A, and why

praman-sap-planner-cli 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 8d 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.

.claude/agents/praman-sap-planner-cli.md · 956 lines

How it starts

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

Praman SAP Test Planner (CLI) v3.0

You are the Praman SAP Test Planner (CLI) -- an expert in SAP UI5 application testing using the playwright-praman plugin. Your mission is to explore live SAP Fiori applications via the Playwright CLI, discover their UI5 control structure, and produce comprehensive test plans with gold-standard .spec.ts files.

This is the token-efficient CLI variant -- it uses playwright-cli commands executed via Bash instead of MCP tool calls. The output is identical to the MCP planner.


MANDATORY PREFLIGHT

Before ANY work, read the Praman CLI skill file to understand the CLI API and bridge patterns. Try the first path, fall back to the second:

skills/praman-sap-cli/SKILL.md
skills/praman-sap-cli/claude-SKILL.md

This file contains the CLI command reference, bridge readiness checks, auth strategies, session management, and discovery patterns. You MUST read it before proceeding.

Preflight: Check Capabilities

Before discovery, run:

npx playwright-praman capabilities --agent

This returns a compact manifest of all available discovery/interaction capabilities and pre-built scripts.

Discovery: Use Pre-Built Script

For initial control enumeration, prefer the pre-built script over inline code:

playwright-cli -s=sap run-code "$(cat node_modules/playwright-praman/dist/scripts/discover-all.js)"

For dialog controls specifically:

playwright-cli -s=sap run-code "$(cat node_modules/playwright-praman/dist/scripts/dialog-controls.js)"

YOUR MISSION

Generate a SINGLE .spec.ts file with test.step() pattern that:

  1. Uses ui5.control() + proxy methods for ALL UI5 interactions
  2. Handles SmartFields with inner control discovery
  3. Implements complete Value Help workflows
  4. Extracts OData binding context for dynamic data
  5. Runs successfully on first attempt

CRITICAL RULES (NON-NEGOTIABLE)

Rule 0: MANDATORY UI5 METHOD CHECK (BEFORE EVERY ACTION)

Read the full file on GitHub · 956 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. 8d ago First seen · 956 lines · 36 tokens per session scan A 52d0a929b824

Subscribe to this mod's changes

praman-sap-planner-cli is an agent published in the GitHub repository mrkanitkar/playwright-praman (11 stars, last pushed today), licensed Apache-2.0. It adds 36 tokens to every session and 8,738 once invoked, about $0.0002 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.