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.
npx agentmods add instructions/hideokamoto/stripe-pwa-elements/claude-mdgit clone --depth 1 https://github.com/hideokamoto/stripe-pwa-elementsWrote 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.
[](https://agentmods.dev/instructions/hideokamoto/stripe-pwa-elements/claude-md)<a href="https://agentmods.dev/instructions/hideokamoto/stripe-pwa-elements/claude-md"><img src="https://agentmods.dev/badge/instructions/hideokamoto/stripe-pwa-elements/claude-md.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.04955 | $0.04955 |
| Opus 5 | $0.02478 | $0.02478 |
| Sonnet 5 | $0.00991 | $0.00991 |
| Haiku 4.5 | $0.00496 | $0.00496 |
Grade A, and why
stripe-pwa-elements CLAUDE.md 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 5d 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.
How it starts
The opening of the file, as written. The whole thing — 513 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md - AI Assistant Guide for stripe-pwa-elements
This document provides comprehensive guidance for AI assistants working with the stripe-pwa-elements codebase.
Project Overview
stripe-pwa-elements is a web component library that provides Stripe payment elements for Progressive Web Apps. It uses Stencil.js (version 4.38+) to build framework-agnostic web components that can be used across any web platform.
- Repository: https://github.com/wpkyoto/stripe-pwa-elements
- License: MIT
- Version: 3.2.0
- Main Technology: Stencil.js 4.x (web components framework)
- Primary Dependencies: @stripe/stripe-js ^8.6.0, i18next for internationalization, ionicons
Repository Structure
stripe-pwa-elements/
├── .github/ # GitHub configuration
│ ├── workflows/
│ │ └── ci.yml # CI/CD pipeline (lint, type-check, tests, build)
│ ├── CODE_OF_CONDUCT.md
│ └── CONTRIBUTING.md # Contribution guidelines with commit conventions
├── docs/ # Astro/Starlight documentation site
├── example/ # Example HTML files demonstrating usage
│ ├── index.html
│ ├── example2.html
│ ├── example3.html # Payment Element
│ ├── example4.html # Link Authentication
│ ├── address-example.html # Address Element
│ └── example-express-checkout.html # Express Checkout
├── src/ # Source code
│ ├── components/ # Web components (9 components)
│ │ ├── stripe-address-element/ # Address collection form
│ │ ├── stripe-card-element/ # Card Element component (card number, expiry, CVC)
│ │ ├── stripe-card-element-modal/ # Combined card element with modal
│ │ ├── stripe-currency-selector/ # Currency selector for Adaptive Pricing
│ │ ├── stripe-express-checkout-element/ # Express Checkout (Apple Pay, Google Pay, etc.)
│ │ ├── stripe-link-authentication-element/ # Email + Stripe Link authentication
│ │ ├── stripe-modal/ # Modal wrapper component
│ │ ├── stripe-payment-element/ # Unified Payment Element
│ │ └── stripe-payment-request-button/ # Payment Request API button (Beta)
│ │ Each component has: *.tsx, *.scss, readme.md (auto-generated), test/
│ ├── services/ # Service layer (dependency injection)
│ │ ├── interfaces.ts # IStripeService + element manager interfaces
│ │ ├── stripe-service.ts # StripeServiceClass: Stripe.js init, Elements/Checkout state
│ │ ├── factory.ts # ServiceFactory: DI wiring, default serviceFactory singleton
│ │ ├── card-element-manager.ts
│ │ ├── payment-element-manager.ts
│ │ ├── address-element-manager.ts
│ │ ├── link-authentication-element-manager.ts
│ │ ├── currency-selector-element-manager.ts
│ │ ├── express-checkout-element-manager.ts
│ │ └── *.spec.ts # Unit tests for each manager
│ ├── utils/ # Utility functions
│ │ ├── element-finder.ts # DOM element lookup helpers
│ │ ├── error.ts # StripeAPIError and error handling utilities
│ │ ├── i18n.ts # Internationalization setup (i18next)
│ │ ├── platform.ts # Platform detection utilities
│ │ ├── test-setup.ts # Jest test environment setup
│ │ └── utils.ts # General utilities (checkPlatform, etc.)
│ ├── style/ # Global styles
│ │ ├── rest.scss # CSS reset styles
│ │ └── theme.scss # Theme variables
│ ├── components.d.ts # Generated TypeScript definitions
│ ├── index.ts # Entry point
│ ├── index.html # Development/demo page
│ └── interfaces.ts # TypeScript interfaces and types
├── stencil.config.ts # Stencil build configuration
├── stencil.config.unit.ts # Stencil config for unit tests
├── stencil.config.component.ts # Stencil config for component tests
├── tsconfig.json # TypeScript configuration
├── eslint.config.js # ESLint flat config (replaces .eslintrc.json)
├── .prettierrc.json # Prettier configuration
├── package.json # Project dependencies and scripts
└── readme.md # Project README
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.
- 5d ago First seen · 513 lines · 4,955 tokens per session scan A c5556c8a5e5b
stripe-pwa-elements CLAUDE.md is an instructions file published in the GitHub repository hideokamoto/stripe-pwa-elements (5 stars, last pushed 2mo ago), licensed MIT. It adds 4,955 tokens to every session, about $0.0248 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.
Other instructions, from other repositories
vibetags com-example-service-OrderService.instructions.md
Instructions for PIsberg/vibetags, covering copilot instructions for orderservice, rules for method calculatetax, rules for method processpayment, rules for method validateorder and context & focus.
rubydex AGENTS.md
AGENTS.md instructions for Shopify/rubydex, covering instructions, project overview, documentation, ruby gem and structure.
hw-mcp CLAUDE.md
Instructions for Hertwill/hw-mcp, covering project, constraints, technology stack, executive recommendation and recommended stack.
VectorCart copilot-instructions.md
Copilot instructions for Rounit-1st/VectorCart, covering vectorcart shopping assistant — llm instructions, role, 1. understand the customer, 2. convert the request into search inputs and visual search query.
gengeo-agent-registry AGENTS.md
Instructions for warwickwood-cell/gengeo-agent-registry: GenGEO provides machine-readable merchant verification infrastructure for AI agents.
kronan-mcp CLAUDE.md
Instructions for sandsower/kronan-mcp, covering kronan-mcp, build, configure, usage in claude code and api reference.