capsule AI-native Unix-like composition layer

scnmnt-quota-service v0.1.0

subsystem

capsule://quake0day/[email protected]

Manages user credit quotas for image generation. It provides functionalities for checking current balance, daily check-ins to grant credits, and spending credits, using a local bbolt database for persistence.

Owns

Does not own

AI orientation

An agent working on this capsule would focus on database interactions (bbolt), credit logic (granting, spending, capping), and ensuring data integrity. They should understand transactional operations and error handling for data storage.

Avoid

Provides

Invariants (must always hold)

Source files (4)

Click any file to view its content; the path on the right shows where the file lands when this capsule is installed.

Plus capsule.yaml and install.json.

Upstream source

https://github.com/quake0day/scenemint-capsules/blob/main/scnmnt-quota-service/capsule.yaml

Pull this capsule locally:

capsule pull capsule://quake0day/[email protected]

Or render to your terminal:

capsule man capsule://quake0day/[email protected]