Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

pci-compliance

Skill by wshobson

Explains PCI DSS compliance for handling payment card data, with Python patterns for tokenization, encryption and data minimization. Written for developers building payment processing systems or preparing for PCI assessments.

  • Score 93
  • 43k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install pci-compliance

Built from the published package, never by AI.

git clone --depth 1 https://github.com/wshobson/agents /tmp/agents && mkdir -p ~/.claude/skills && cp -r /tmp/agents/plugins/payment-processing/skills/pci-compliance ~/.claude/skills/pci-compliance

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install pci-compliance in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill covers PCI DSS v4.0.1 compliance for systems that process or store cardholder data. It lists the 12 core requirements, from network security and system configuration to access control, logging and organizational policy. It also gives the compliance levels that depend on transaction volume.

The skill includes Python code patterns. These cover data minimization, such as masking card numbers in logs and blocking storage of CVV or PIN values. It shows Stripe token examples that keep card details off the server, a custom token vault built on Fernet encryption, AES-256-GCM encryption at rest, and transit settings such as secure cookie flags and HTTPS enforcement. The skill is aimed at developers and teams who build payment flows or work toward a PCI DSS assessment. More templates are in a separate reference file.

Written from the project's SKILL.md and checked against it.

What it can do

  • PCI DSS requirements overviewLists the 12 core PCI DSS v4.0.1 requirements grouped by goal.
  • Compliance levelsShows merchant levels 1 to 4 based on annual transaction volume.
  • Data minimizationDefines prohibited data such as CVV and PIN and allowed data such as the PAN.
  • Log sanitizingMasks card numbers and removes prohibited fields from log data.
  • Stripe tokenizationShows charging and storing payment methods with tokens instead of card details.
  • Custom token vaultEncrypts card data with Fernet and maps random tokens to the stored data.
  • Encryption at restProvides an AES-256-GCM helper class for encrypting stored card numbers.
  • Secure transit settingsSets secure cookie flags and enforces HTTPS in Flask or Django apps.

What you need

  • Python
  • cryptography Python package
  • Stripe account and API keys for the token examples

Try asking

  • Review my checkout code for PCI DSS data minimization issues
  • Show me how to tokenize card payments with Stripe
  • Write an AES-256-GCM helper to encrypt stored card numbers

Good to know

  • The token vault example keeps tokens in memory and says production should use an encrypted database.
  • Code samples are templates and need review before use in production.
  • Full pattern library is in references/details.md and is not included in this file.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: plugins/payment-processing/skills/pci-compliance/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md8 KB
  • references/details.md5 KB

Alternatives to pci-compliance

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

pci-compliance: common questions

Which card data must never be stored under PCI DSS?

The source lists full track data, the card verification code or value (CVV), and the PIN or PIN block as prohibited for storage. The primary account number, cardholder name, expiration date and service code can be stored if encrypted.

Which PCI DSS version does this skill cover?

The skill is based on PCI DSS v4.0.1 and lists its 12 core requirements.

What is Level 4 for PCI compliance?

The source defines Level 4 as fewer than 20,000 e-commerce transactions or fewer than 1 million total transactions per year.

How do I install pci-compliance?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is pci-compliance free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is pci-compliance safe to use?

It scores 93 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to pci-compliance?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

pci-compliance Install

Add to stack

Loading.