Skills credits-handler
๐Ÿ“ฆ

credits-handler

Content revision r1 Safe โš™๏ธ External commands

Build Credit Purchase and Balance Flows

Credit features can fail when pricing, balances, and UI flows become inconsistent. This skill guides credit types, purchase flows, balance displays, and allocation helpers.

Supports: Claude Codex Code(CC)
๐Ÿฅ‰ 79 Bronze

Install with my Agent

Copy this request to your Agent. It includes the canonical Skill page and manifest.

Agent request
Review the Skillstore skill "credits-handler" from https://skillstore.io/skills/aayushbaniya2006-credits-handler.md and its manifest at https://skillstore.io/api/skills/aayushbaniya2006-credits-handler/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.

Your Agent should still show its plan and request any confirmation required by the security policy.

Test it

Using "credits-handler". I need to add credits for video generation.

Expected outcome:

  • Add the video credit type to the shared credit type list.
  • Create pricing metadata with currency, minimum amount, and slabs.
  • Add optional plan allocation rules if subscriptions should include credits.
  • Update purchase and balance UI to display the new credit type.

Using "credits-handler". I need a page where users buy image credits.

Expected outcome:

The skill would point to the project purchase hook, explain package sizing, show price loading states, and route users into checkout.

Using "credits-handler". I want to deduct credits before a premium action.

Expected outcome:

  • Check the user balance before starting the paid action.
  • Stop the action when the balance is too low.
  • Use shared backend helpers for any balance change.

Security Audit

Safe
v8 โ€ข 7/6/2026 Open versioned report

All static findings are false positives caused by Markdown inline code, code fences, and TypeScript or TSX examples. The scanned files show documentation for credit-system integration, with no shell execution, prompt injection, or data exfiltration intent.

2
Files scanned
217
Lines analyzed
0
Review items
0
False positives ignored
No confirmed security findings were detected by the latest completed static and semantic audit. This does not prove the skill has no side effects.
Audited by: codex View Audit History โ†’
Share & cite this report

Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.

Open versioned report
Security Assessment

Copy report link

https://skillstore.io/skills/aayushbaniya2006-credits-handler/audits/8?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_report

Markdown badge

[![Skillstore security assessment](https://skillstore.io/badges/skills/aayushbaniya2006-credits-handler/security.svg)](https://skillstore.io/skills/aayushbaniya2006-credits-handler?utm_source=security_passport_badge)

HTML badge

<a href="https://skillstore.io/skills/aayushbaniya2006-credits-handler?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/aayushbaniya2006-credits-handler/security.svg" alt="Skillstore security assessment" loading="lazy"></a>

Embed card

<iframe src="https://skillstore.io/embed/skills/aayushbaniya2006-credits-handler.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>
Academic citations (APA ยท BibTeX ยท CFF)

APA citation

AayushBaniya2006. (2026). credits-handler security audit report (audit version 8) [Author version unspecified]. Skillstore. https://skillstore.io/skills/aayushbaniya2006-credits-handler/audits/8

BibTeX citation

@techreport{aayushbaniya2006-aayushbaniya2006-credits-handler-2026, author = {AayushBaniya2006}, title = {credits-handler security audit report (audit version 8)}, institution = {Skillstore}, year = {2026}, number = {8}, url = {https://skillstore.io/skills/aayushbaniya2006-credits-handler/audits/8}, note = {Author version unspecified} }

CITATION.cff

cff-version: 1.2.0 message: "If you use this Skill, cite its author and this versioned security audit report." title: "credits-handler security audit report (audit version 8)" version: "unspecified" type: report authors: - name: "AayushBaniya2006" date-released: "2026-07-06" url: "https://skillstore.io/skills/aayushbaniya2006-credits-handler/audits/8" identifiers: - type: other value: "skillstore:aayushbaniya2006-credits-handler:audit:8" description: "Skillstore immutable audit report identifier"

Skillstore Score

Why this score Evidence Confidence: High
55
Architecture
85
Maintainability
87
Content
71
Community
91
Spec Compliance

What You Can Build

Add a Paid Credit Type

Define a new credit type with pricing metadata and optional plan allocation rules.

Create Credit Purchase UI

Build a purchase card that displays calculated prices and starts the checkout flow.

Wire Backend Credit Checks

Use shared helpers to allocate credits, prevent duplicate additions, and check balances before paid actions.

Try These Prompts

Locate Credit Settings
Use the credits-handler skill to explain where credit types, pricing, and plan allocation settings live in this project.
Add a Credit Type
Use the credits-handler skill to guide adding a new credit type for [feature] with pricing slabs and a minimum purchase amount.
Build Purchase UI
Use the credits-handler skill to design a credit purchase card for [credit type] that calculates price and starts checkout.
Review Credit Flow
Use the credits-handler skill to review my credit purchase, allocation, balance display, and deduction flow for missing integration steps.

Best Practices

  • Keep credit types, pricing, and allocation settings in the shared configuration.
  • Use idempotent payment or transaction identifiers when adding credits.
  • Check balances before paid actions and refresh displayed balances after changes.

Avoid

  • Do not edit cached user balances directly.
  • Do not create purchase buttons that bypass the shared price calculation hook.
  • Do not add credits without a unique payment or transaction reference.

Frequently Asked Questions

Can this skill create a full billing system?
No. It guides changes to an existing credit system and referenced project helpers.
Can it help add a new credit type?
Yes. It explains where to update type definitions, pricing metadata, and optional plan allocations.
Can it build a purchase interface?
Yes. It provides a pattern for purchase cards that show calculated prices and start checkout.
Does it show user balances?
Yes. It describes the existing balance hook and a simple balance display pattern.
Does it handle authorization?
No. Authorization, payment verification, and audit logging remain application responsibilities.
Can I use it with Codex and Claude Code?
Yes. The skill declares support for Claude, Codex, and Claude Code.

Developer Details

License

MIT

Skillstore revision

r1

Version notice

The author did not declare a version.

Ref

c1fdca50ff516318f65fed0d7f9e82797c5171dc

Maintenance freshness

7/18/2026

Usage

8 downloads ยท 280 views

File structure

๐Ÿ“„ reference.md

๐Ÿ“„ SKILL.md