agentleFS
jonny-1812jonny-1812/corebee-mcp-skills/skills/team-workload/SKILL.md

team-workload

Skill0 starsChanged 6 months agoMITView on GitHub

Analyze team capacity and workload distribution — see who is overloaded, who has bandwidth, and rebalance conversation assignments across the team. Use when the user asks about team capacity, workload, agent availability, or wants to redistribute work.

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 9 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run the View Workload workflow to get current state

    line 32
  2. Very specific:

    When show_ids is enabled, include agent and conversation IDs.

    line 83
  3. Distinctive:

    Solo agent: If only one agent exists, report their workload but skip rebalancing.

    line 96
  4. Distinctive:

    Agent not found: If the user asks about a specific agent who does not exist, report that no matching agent was found and list available …

    line 100
  5. Distinctive:

    Identical workloads: If all agents have the same count, report the distribution as balanced and skip rebalancing.

    line 101
  6. Distinctive:

    Use /inbox-triage alongside workload data to make informed assignment decisions during triage.

    line 112
  7. Distinctive:

    Use /escalation-manager when an overloaded agent has critical conversations that need immediate reassignment.

    line 113
  8. Distinctive:

    Use /metrics-compare to track whether workload distribution is improving or worsening over time.

    line 114
  9. Very specific:

    Always show agent names and roles, not raw IDs (unless show_ids is enabled)

    line 118
  10. Distinctive:

    Never reassign a conversation mid-thread without flagging it to the user

    line 121
  11. Distinctive:

    Consider agent expertise and past interactions when suggesting reassignments, not just raw counts

    line 122

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Team Workload

Analyze agent capacity, detect overload conditions, and rebalance conversation assignments to keep the team running smoothly.

Workflow Modes

View Workload (default)

Display the current workload distribution across the entire team.

  1. Fetch team members using list_team_members to get all agents, their roles, and online status
  2. Fetch open conversations using list_conversations with status: "open" to see all active work
  3. Count conversations per agent by grouping on the assignee field
  4. Count unassigned conversations separately
  5. Fetch agent performance data using get_agent_performance for each agent to add response time and resolution rate context
  6. Calculate the distribution ratio: each agent's share of total open conversations as a percentage
  7. Flag agents who exceed the overload threshold (12+ conversations)
  8. Present the workload table

Rebalance Queue

Redistribute conversations from overloaded agents to those with available capacity.

  1. Run the View Workload workflow to get current state
  2. Identify overloaded agents (12+ conversations) and underloaded agents (fewer than 6 conversations)
  3. For each overloaded agent, select conversations to reassign — prefer newer, lower-priority, and unresponded conversations
  4. Build a rebalance plan: which conversations move from which agent to which agent
  5. Present the rebalance plan to the user for confirmation
  6. On confirmation, execute reassignments using assign_conversation for each conversation
  7. Also assign any unassigned conversations to agents with the most available capacity
  8. Present a before-and-after summary showing the new distribution

Check Specific Agent

Show detailed workload and performance data for a single agent.

  1. Fetch team members using list_team_members to find the named agent
  2. Fetch open conversations using list_conversations with status: "open" and filter to those assigned to the agent
  3. Fetch the agent's performance data using get_agent_performance
  4. Optionally fetch overall metrics using get_metrics for comparison
  5. Present the agent detail card with their conversations, performance stats, and capacity status

Workload Calculation

  • Conversations per agent: Count of open conversations where the agent is the assignee
  • Unassigned count: Open conversations with no assignee
  • Distribution ratio: Agent's conversations divided by total open conversations, as a percentage
  • Capacity status: Based on conversation count thresholds

Capacity Thresholds

ConversationsStatusIndicator
0-5AvailableLow load — can take more work
6-11ModerateNormal operating range
12-17OverloadedAt capacity — avoid new assignments
18+CriticalSeverely overloaded — needs immediate rebalancing

Output Format

Present workload as a structured table:

Team Workload Overview:

AgentStatusOpenUnrespondedAvg ResponseCapacity
Sarah M.Online8212 minModerate
James K.Online14528 minOverloaded
Priya R.Away308 minAvailable

Unassigned: 4 conversations Team total: 25 open conversations across 3 agents Distribution health: Imbalanced — James K. is handling 56% of the queue

When show_ids is enabled, include agent and conversation IDs.

Examples

  • "Show team workload" — Runs View Workload. Presents the full team table with capacity indicators.
  • "Who is overloaded?" — Runs View Workload but filters output to only show agents at or above the overload threshold.
  • "Rebalance the queue" — Runs Rebalance Queue. Proposes moving conversations from overloaded to underloaded agents.
  • "How many tickets does Sarah have?" — Runs Check Specific Agent for Sarah with her open conversations and performance stats.
  • "Redistribute James's conversations" — Runs Rebalance Queue focused specifically on moving work away from James.
  • "Who has bandwidth to take a VIP escalation?" — Runs View Workload and highlights agents with Available capacity status.

Edge Cases

  • Solo agent: If only one agent exists, report their workload but skip rebalancing. Suggest hiring or adjusting expectations.
  • All agents at capacity: Report the overload condition across the team. Suggest prioritizing critical conversations and deferring lower-priority items. Do not propose reassignments that would push anyone further over threshold.
  • No unassigned conversations: In Rebalance mode, focus only on moving work between agents. Report that the unassigned queue is clear.
  • Agent offline or away: Include offline agents in the workload view but do not assign new conversations to them during rebalancing. Note their status.
  • Agent not found: If the user asks about a specific agent who does not exist, report that no matching agent was found and list available team members.
  • Identical workloads: If all agents have the same count, report the distribution as balanced and skip rebalancing.

Settings

SettingDefaultDescription
auto_assignfalseWhether rebalancing executes without confirmation
show_idsfalseShow agent and conversation IDs in output

Cross-Skill References

  • Use /inbox-triage alongside workload data to make informed assignment decisions during triage.
  • Use /escalation-manager when an overloaded agent has critical conversations that need immediate reassignment.
  • Use /metrics-compare to track whether workload distribution is improving or worsening over time.

Guidelines

  • Always show agent names and roles, not raw IDs (unless show_ids is enabled)
  • Calculate response times in human-readable format (minutes, hours)
  • During rebalancing, prefer moving conversations that have not yet received a response — this avoids breaking context for the customer
  • Never reassign a conversation mid-thread without flagging it to the user
  • Consider agent expertise and past interactions when suggesting reassignments, not just raw counts
  • Respect agent availability status — do not assign work to offline agents

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.