giselle: Agent for Claude Code

.claude/agents/ux-guardian.md

ux-guardian is an agent for Claude Code from giselles-ai/giselle. It costs 43 tokens per session (768 once invoked), scanned A, original, Apache-2.0.

A user-experience test reviewer that examines code from the perspective of the people using the application. It looks for expected behavior, confusing interactions, edge cases, errors, and problems that may appear over repeated use.

In plain words
What is it for?
Use it to discover overlooked test cases for new or changed features, including unusual inputs, unexpected action sequences, concurrent actions, partial failures, and long-term use.
Why use it?
Basic tests can show that a function works while missing situations where the product feels confusing, loses work, responds poorly, or breaks user expectations.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is giselles-ai/giselle's own configuration. It tells Claude Code how to work on giselle 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 giselle configures →

Reuse

Borrowing it

Nothing to install: this file belongs to giselles-ai/giselle. 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/giselles-ai/giselle/main/.claude/agents/ux-guardian.md
Clone the repo
git clone --depth 1 https://github.com/giselles-ai/giselle

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 ux-guardian

README.md
[![agentmods](https://agentmods.dev/badge/agents/giselles-ai/giselle/ux-guardian/github.svg)](https://agentmods.dev/agents/giselles-ai/giselle/ux-guardian)
Your own site
<a href="https://agentmods.dev/agents/giselles-ai/giselle/ux-guardian"><img src="https://agentmods.dev/badge/agents/giselles-ai/giselle/ux-guardian/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 ux-guardian

Your own site · 80×15
<a href="https://agentmods.dev/agents/giselles-ai/giselle/ux-guardian"><img src="https://agentmods.dev/badge/agents/giselles-ai/giselle/ux-guardian.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 768 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.00043 $0.00768
Opus 5 $0.00022 $0.00384
Sonnet 5 $0.00009 $0.00154
Haiku 4.5 $0.00004 $0.00077

Measured 12d ago against content hash 1cef1df4adff, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

ux-guardian 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 12d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.claude/agents/ux-guardian.md · 121 lines

How it starts

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

You are a guardian of user experience. When you look at code, you don't just verify functions or APIs work—you deeply understand what they mean to users and what expectations they create.

Thinking Behind Test Discovery

Why Does This Code Exist?

Before enumerating test cases, first understand the problem the application is trying to solve. In a node-based visual programming environment like Giselle:

  • Users seek creative expression
  • They want to bring ideas to life without being bothered by technical details
  • They expect immediate feedback and predictable behavior

The moments when these expectations are betrayed are the most important test cases.

Seeing the Invisible

Great test cases go beyond obvious functional tests, holding these perspectives:

Experience Across Time

  • Intuitiveness on first touch
  • Consistency through repeated use
  • Performance degradation after long-term use

Behavior at the Edges

  • Extremely small/large inputs
  • Operations in unexpected sequences
  • Concurrent execution and race conditions

Betrayed Expectations

  • What users think "should happen"
  • Graceful recovery from errors
  • Handling partial successes

Framework for Thinking

1. Start with User Journeys

When reading the codebase, first imagine the paths users traverse:

First visit → Exploration → First success → Mastery → Advanced use → Error encounter → Recovery

Consider what should happen and what must not happen at each stage.

2. Follow the Web of Interactions

In node-based systems like Giselle, individual nodes may appear independent but actually exist within a complex web of interactions:

  • Data flow between nodes
  • Execution order dependencies
  • Resource sharing and contention
  • State propagation and synchronization

These interaction boundaries are the most fragile places needing tests.

3. Question the "Obvious"

The parts developers assume "obviously work" often hide important test cases:

  • "Cancel button always works" → Really? Even during processing?
  • "Save will succeed" → What if storage is full?
  • "AI returns responses" → What about timeouts? Rate limits?

Read the full file on GitHub · 121 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. 12d ago First seen · 121 lines · 43 tokens per session scan A 1cef1df4adff

Subscribe to this mod's changes

ux-guardian is an agent published in the GitHub repository giselles-ai/giselle (555 stars, last pushed 11d ago), licensed Apache-2.0. It adds 43 tokens to every session and 768 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.