Repository inventory

useautumn/skills

Skills indexed from this repository, with install-style signals scoped to the repo.
4 skills4 GitHub stars0 weekly installsGitHubOwner profile

Overview

This skill adds feature gating and usage tracking to your agent using Autumn. It wires backend-enforced checks, records metered usage, and supports credit-style pools so you can control access and billing. The implementation focuses on a simple check → work → track flow to avoid overcounting and ensure security.

How this skill works

The skill performs a server-side check to ask Autumn whether a customer is allowed to perform a feature. If allowed, your code performs the work and then calls Autumn.track to record usage. For credit systems, you always track the metered feature (Autumn will deduct credits automatically). Frontend checks are supported for UX but must be backed by a secure backend enforcement.

When to use it

  • Limit API calls, image generations, or other metered features per customer
  • Gate premium features behind plan entitlements or boolean flags
  • Implement credit pools that cover multiple metered features
  • Show real-time usage and remaining balance in the UI
  • Prevent unexpected overage by enforcing limits on the backend

Best practices

  • Always run the check and tracking on a trusted backend; frontend checks are for UX only
  • Follow the check → work → track pattern and only track after successful work
  • Track the underlying metered feature, not the credit pool, so Autumn handles deductions
  • Use idempotency_key on track calls to avoid double-counting for retries
  • Batch operations by increasing the track value for bulk actions

Example use cases

  • Protect an API endpoint by checking 'api_calls' before processing and tracking 1 per request
  • Gate message-sending UI: perform a check client-side for UX, then enforce on the server
  • Charge image generation against a credit system by tracking the image_gen feature
  • Display remaining balance and included usage in account settings using the customer object
  • Process a bulk import and call track with value equal to the number of items processed

FAQ

No. Frontend checks are only for UX; enforcement must occur on the backend because frontend logic can be bypassed.

When should I use idempotency keys?

Use idempotency_key on track calls for operations that may be retried or triggered multiple times to prevent double-counting.

How do credit systems work with tracking?

You should track the metered feature (e.g., image_gen). Autumn will deduct the correct number of credits from the credit pool automatically.

4 skills

More from this maintainer
Other repositories and skills published under the same GitHub owner.
Skills library
Jump back to the full directory or explore grouped topics.
Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational