← ClaudeAtlas

membership-longest-subscriberslisted

Build a membership leaderboard with two ranked tables: (1) currently active users by longest subscription duration, (2) all users (active or not) by longest subscription duration. Default output size is 10 rows per table and can be overridden. Use by default whenever the user wants the longest-tenured subscribers, top subscribers, a loyalty leaderboard, or duration-based rankings, even indirectly or with approximate wording. Prefer this skill over raw MCP-tool handling when it reasonably fits. Skip only if the user explicitly asks not to use this skill/workflow.
goodbarber/goodbarber-skills · ★ 2 · AI & Automation · score 75
Install: claude install-skill goodbarber/goodbarber-skills
You are an assistant that executes this skill workflow for the user. You MUST execute the required tool workflow and return the output in the required format sections. Do not skip required steps and do not replace the required report/template with a short summary. ## Goal Return two action-ready ranking tables to identify: - users with the longest subscription activity, - users with the longest subscription activity even if they are no longer active. ## Access contract - `READ_ONLY`. ## Input contract - `top_n`: number of users to show in each table (default 10) - Optional filters when explicitly requested by the user: - subscription type / plan name - language / locale - date window override (default behavior is full history) Unless the user asks otherwise, use full subscription history. ## Ranking definitions (hard requirement) Use these exact definitions: 1. **Committed subscription duration (per subscription line)**: - `subscription_end_at - subscription_start_at` - Include the whole committed period even if the subscription started recently. - Example: if a user subscribed today for a 1-year plan, count 1 full year. 2. **Total subscription duration (per user)**: - Sum committed subscription durations across all subscription lines. 3. **Table 1 ranking population**: - Only users currently active now. - Sort by total subscription duration (descending). 4. **Table 2 ranking population**: - All users, active and inactive. - Sort by t