Borrowing it
Nothing to install: this file belongs to hideokamoto/stripe-pwa-elements. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/hideokamoto/stripe-pwa-elements/main/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/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.
<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="Reviewed on agentmods" width="80" 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.05677 | $0.05677 |
| Opus 5.5 | $0.02271 | $0.02271 |
| Sonnet 5.5 | $0.01135 | $0.01135 |
| Haiku 4.5 | $0.00568 | $0.00568 |
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 16d 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 — 539 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/hideokamoto/stripe-pwa-elements
- License: MIT
- Version: 4.0.0
- Main Technology: Stencil.js 4.x (web components framework)
- Primary Dependencies: @stripe/stripe-js ^9.17.0, i18next for internationalization, ionicons
Repository Structure
stripe-pwa-elements/
├── .circleci/ # CircleCI configuration
│ ├── config.yml # CI pipeline (lint, type-check, tests, build)
│ └── test-suites.yml # Test suite definitions for `circleci testsuite run`
├── .github/ # GitHub configuration (no workflows; CI runs on CircleCI)
│ ├── 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
├── examples/
│ └── codesandbox/ # Vite demo app for CodeSandbox devboxes (card, address, express checkout)
├── plugins/
│ └── stripe-pwa-elements/ # Claude Code plugin (listed in .claude-plugin/marketplace.json)
│ └── skills/stripe-pwa-elements/ # Agent Skill: a single SKILL.md
├── scripts/
│ └── run-stencil-tests.sh # Test runner invoked by .circleci/test-suites.yml
├── 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.
- 16d ago Changed · +17 lines · +359 tokens per session 4c55c8e0f058
- 19d ago Changed · +2 lines · +142 tokens per session a1d6510a54b5
- 25d ago Changed · +7 lines · +221 tokens per session e50222e64418
- 2mo 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 16d ago), licensed MIT. It adds 5,677 tokens to every session, about $0.0227 per session on Opus 5.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.
stripe-pwa-elements CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| stripe-pwa-elements CLAUDE.mdhideokamoto/stripe-pwa-elements | Instructions file | 5 | 16d ago | MIT | A | 5,677 | Claude Code |
| vibetags com-example-service-OrderService.instructions.mdPIsberg/vibetags | Instructions file | 25 | yesterday | MIT | A | 553 | GitHub Copilot |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |