Billing
Use when the user wants to view Layerbrain billing — statements (invoices / usage) or subscriptions (plans). Requires the `brain` CLI.From its SKILL.md
npx -y skills add layerbrain/skills --skill billingAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.4 KB, as published. Nobody here has run it
Brain — billing (statements, subscriptions)
Two read-mostly resources:
- Statements — invoices and usage records.
- Subscriptions — active plans on the account / organization.
Preflight
Run command -v brain; if it exists, use brain exactly as found on PATH. Then run brain whoami. If either command errors, follow references/auth.md. Never use a local layerbrain/brain checkout as the CLI.
Statements
| Intent | Command |
|---|---|
| List statements | brain statements list --output json |
| Get statement | brain statements get <ID> --output json |
Subscriptions
| Intent | Command |
|---|---|
| List subscriptions | brain subscriptions list --output json |
| Get subscription | brain subscriptions get <ID> --output json |
| Create subscription | brain subscriptions create --data-file ./subscription.json --output json |
Rules
- This skill is read-mostly. The only mutating command is
subscriptions create— confirm with the user before creating, since it implies billing. - Statements are immutable once issued. Do not attempt to modify; surface as-is.
- When a user asks "how much am I spending", run
statements listand summarize the latest period. Do not estimate from machine sizes.