Usage categories

From stevehuang0115/crewly · View interactive version

Usage categories is an AI agent skill from the GitHub repository stevehuang0115/crewly. Save, list or remove the owner's own categories for usage reports (for example "self-media" and "book"). Categories are optional and only change how reports group tickets; they never alter ticket facts.

How to use this skill

Skill file

Usage Categories

The owner decides how usage should be grouped ("how much on self-media vs the book?"). Turn what they say into a category and save it. Nothing is required: with no categories, reports group by team.

Usage

bash execute.sh list

# The description doubles as the keyword list when it is comma separated
bash execute.sh set --name self-media --description "Xiaohongshu, Substack, LinkedIn, videos"

# Explicit hints: keywords match ticket titles and text; teams / projects match by name
bash execute.sh set --name book --keywords "chapter,manuscript,Bible study book" --teams "Writers"

bash execute.sh remove --name book
bash execute.sh clear

How a ticket gets its category

At report time, in this order:

  1. Keywords (case-insensitive), then team and project hints. The best score wins.
  2. If nothing matched and a small model is available, one batched question for the unmatched tickets.
  3. Otherwise other.

The result is cached per ticket and category set, and changes the moment a definition changes. Tickets themselves are never modified, so redefining categories re-slices all past usage.

Etiquette

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.