Install any skill in seconds. Free to start, no credit card required.
Get Started Free →avizmarlon/tokens-taxonomy
API key and token strategy — one token per purpose, least-privilege separation, distinct scopes for CI/automation vs. manual operations vs. read-only access.
Passed 22 of 22 test cases with the skill, and 15 of 22 without it.
and 6 more in the full report
7 fixed15 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 7 test cases the skill fixed. Same model, same prompt, with and without the skill.
We are configuring Terraform Cloud API tokens for our organization. We have automated plan/apply runs in GitHub Actions, plus sysadmins who manually apply state fixes during incidents. How many tokens should we create and what should they be named?
| Checked | Without skill | With skill |
|---|---|---|
| Recommends creating separate tokens for CI automation and manual ops tasks. | Passed | Passed |
| Recommends names adhering to functional bot roles like terraform-ci-bot and terraform-ops-bot. | Missed | Passed |
The instructions your model reads when the skill loads.
Principle: Each API key or authentication token should have a single, well-defined purpose with a descriptive name. This is not binary ("broad vs. narrow") — it's 2–3 tokens with clearly demarcated scopes, one per category of use.
Why this matters:
| Situation | Decision |
|---|---|
| Platform with one caller only (one manual script) | 1 token with minimal scope. Acceptable. |
| Platform with 2+ different callers (CI + agent + scheduled job + manual ops) | Separate by caller category. Minimum 2: one for CI/automation + one for ops. |
| One "universal" token used everywhere | Anti-pattern. Refactor. |
| 10+ fragmented tokens (one per workflow) | Anti-pattern. Consolidate into 2–3 categories. |
Adjust these for your platform, but the pattern is universal:
<service>-ci-bot — deploy, trigger, release actions only. Deployed to CI/automation systems (GitHub Actions, GitLab CI, scheduled tasks, etc.).<service>-ops-bot — full read/write for operational tasks. Stored securely for manual use, agent-driven operations, sysadmin scripts.<service>-readonly-bot — read-only access. For dashboards, monitoring, audit logs. Optional; skip if not needed.Every project using multiple tokens must maintain an API inventory (suggested: docs/api-inventory.md or equivalent) listing:
github-ci-bot, slack-ops-bot)This inventory is your audit trail and your incident-response checklist.
test cases passed, vs 15 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.