Skip to content

fatmali/herd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

25 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ‘ herd

Herd your tabs. Never lose context again.

An open-source tab organizer that automatically groups your browser tabs by activity. Install the extension and forget about it β€” or connect it to your AI agent for context-aware organization.

The Problem

You open tabs for a meeting, a code review, a doc, a Jira ticket, Stack Overflow... and suddenly you have 47 tabs and no idea which ones belong together or why you opened them.

The Solution

herd groups your tabs automatically β€” by Code Review, Documentation, Incidents, Design, etc. Tell your AI agent "focus on auth migration" and related tabs get highlighted.

πŸ“‚ Tab Groups:

  [yellow] 🎯 Current Focus (5 tabs)
       β€’ PR #4421 - Migrate auth to MSAL
       β€’ Auth migration design doc
       β€’ Sprint Review Notes

  [green] Code Review (3 tabs)
  [red] Incidents (6 tabs)
  [purple] Documentation (2 tabs)
  [cyan] Dev Tools (2 tabs)

Quick Start

1. Install the extension

  1. Open edge://extensions or chrome://extensions
  2. Enable Developer mode
  3. Click Load unpacked β†’ select the extension/ folder
  4. Done. Your tabs are now grouped automatically every hour.

2. Configure (optional)

  • Click the herd icon β†’ tweak focus topics, trigger organize
  • Right-click any tab β†’ "Herd: Add tab to category" β†’ pick a group
  • Extension settings β†’ manage all rules, colors, schedule

3. Connect to AI agent (optional, for power users)

cd ~/source/herd && npm install
node service/index.js  # Starts MCP + HTTP server

Add to your MCP config (Copilot CLI, Claude, etc.):

{
  "mcpServers": {
    "herd": {
      "command": "node",
      "args": ["/path/to/herd/service/index.js"]
    }
  }
}

Now say: "organize my tabs, focus on the auth migration"

Features

Feature How
Auto-group tabs by activity Extension runs on timer (15m–2h)
Right-click β†’ assign to category Context menu on any tab
Custom rules (URL patterns) Extension settings page
AI-powered focus MCP tool: herd_set_focus
Natural language control Via any MCP-compatible AI agent
Export/import rules Share your config with teammates
Per-window grouping Never moves tabs across windows

Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Browser Extension │◄────│  Local Service       │◄────│ AI Agent         β”‚
β”‚ (groups tabs)     β”‚poll β”‚  (Node.js)           β”‚MCP  β”‚ (Copilot/Claude) β”‚
β”‚                   │────►│  HTTP :9922 + stdio  │────►│                  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
  • Extension β€” standalone, works without the service. Handles all tab manipulation.
  • Service β€” bridges AI agents to the extension. Exposes MCP tools + HTTP API.
  • AI Agent β€” interprets natural language, queries work context, calls MCP tools.

MCP Tools

Tool Description
herd_organize Organize tabs into groups (optional: set focus topics)
herd_list_tabs List all tabs with classification
herd_set_focus Set focus keywords (matching tabs β†’ "Current Focus")
herd_add_rule Add URL pattern to a category
herd_remove_rule Remove a pattern or whole category
herd_get_rules Get current classification rules
herd_status Extension status, last run, schedule

Default Categories

Category Matches Color
Code Review GitHub PRs, ADO PRs, GitLab MRs 🟒 green
Work Items ADO boards, Jira, Linear πŸ”΅ blue
Incidents ICM, PagerDuty, ServiceNow πŸ”΄ red
Design Figma, Canva, Miro 🩷 pink
Documentation wikis, docs.*, Notion, Loop 🟣 purple
AI & Copilot M365 Copilot, ChatGPT, Claude 🟠 orange
Email Outlook, Gmail 🟑 yellow
Meetings & Chat Teams, Zoom, Slack πŸ”΄ red
Dev Tools localhost, Codespaces, vscode.dev πŸ”΅ cyan

Configuration

All configuration happens through the extension UI:

  • Popup β†’ quick organize, set focus, toggle auto
  • Options page β†’ full rule management (add/edit/delete, colors, schedule)
  • Right-click menu β†’ instantly assign any tab to a category

Rules are stored in the browser and sync with your profile.

Contributing

PRs welcome! Ideas:

  • Firefox support
  • Publish to Edge/Chrome extension stores
  • Native messaging (replace HTTP polling with direct pipe)
  • Tab activity tracking (time-based staleness detection)
  • WorkIQ integration module (auto-fetch focus from M365)
  • Team-shared rule sets

License

MIT

About

Chrome/Edge extension to organize your tabs πŸ‘

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors