An open API service indexing awesome lists of open source software.

https://github.com/dubsopenhub/ai-toil-tracker

The AI Toil Tracker enables any team to capture, prioritize, and automate toil using agents in the GitHub Copilot CLI. 10 minutes to setup. Hours saved every month.
https://github.com/dubsopenhub/ai-toil-tracker

Last synced: 1 day ago
JSON representation

The AI Toil Tracker enables any team to capture, prioritize, and automate toil using agents in the GitHub Copilot CLI. 10 minutes to setup. Hours saved every month.

Awesome Lists containing this project

README

          

# πŸ€– AI Toil Tracker

**Stop doing repetitive work. Start automating it.**

Every team has busywork - the manual, repetitive tasks that eat up time and could be handled by an agent or script. This tool gives your team a simple way to track it and fix it.

> πŸ’‘ **This is for any team.** Use this template, set up a weekly Slack reminder, and start collecting ideas in under 10 minutes. No code required.

## See It in Action

πŸ‘‰ Open the live demo dashboard


AI Toil Tracker demo β€” submit a toil idea, AI scores it, dashboard updates

πŸ“Έ What the demo shows (click to expand)

1. **Submit** β€” A team member clicks the Slack link and fills out the toil idea form (~30 seconds)
2. **AI Triage** β€” Within moments, the AI agent scores the idea, applies a priority label, estimates time saved, and suggests an automation approach
3. **Dashboard** β€” The live dashboard updates with the new item, sorted by impact score

> **To create your own demo GIF:** Use a screen recorder ([Kap](https://getkap.co) on Mac, [ShareX](https://getsharex.com) on Windows) to capture the flow above. Save it as `docs/assets/demo.gif` and it will appear here automatically.

## How AI Is Used

This isn't just a tracker - AI is built into the workflow:

| What happens | How AI does it |
|-------------|---------------|
| Someone submits an idea | A **workflow** runs automatically |
| The idea needs a score | AI **reads the form** and calculates the impact (frequency x time x people) |
| The idea needs labels | AI **adds a label** (πŸ”΄πŸŸ πŸŸ‘πŸ”΅βšͺ) based on how often it happens |
| The team needs a plan | AI **estimates time saved** and suggests how to automate it |

**The human role:** Describe the pain. The AI handles the rest.

## Why Use This

For anyone doing repetitive work who wants to apply AI-first thinking, AI Toil Tracker makes it easy to:

- 🎯 **Capture** - Quickly log toil ideas from a single Slack link in under 2 minutes
- πŸ€– **Identify** - AI auto-scores every idea and surfaces the highest-leverage opportunities
- ⚑ **Automate** - Get AI-suggested solutions with agents, scripts, and workflows
- πŸ“ˆ **Measure** - Track time saved and see the real impact on your team
- πŸ” **Build the habit** - A weekly Slack prompt keeps the team thinking AI-first

All within Slack and GitHub - no new tools, no new logins. Just a way to find leverage for you and your team.

## What Happens When You Submit

Here's exactly what the AI agent does when someone files a toil idea:

```
You click the Slack link
└─> GitHub issue form opens
└─> You fill it out (name, toil, frequency, time, people)
└─> You hit Submit
└─> πŸ€– AI Agent kicks in automatically
β”‚
β”œβ”€ 1. Reads your form answers
β”œβ”€ 2. Calculates your toil score (frequency x time x people)
β”œβ”€ 3. Applies the frequency label (πŸ”΄πŸŸ πŸŸ‘πŸ”΅βšͺ)
β”œβ”€ 4. Flags it as high-impact if score is 20+
β”œβ”€ 5. Estimates how much team time this wastes per month
β”œβ”€ 6. Uses GitHub's AI to suggest how to automate it
β”œβ”€ 7. Posts a triage comment with the full breakdown
└─ 8. Removes the "triage" label (done - no human needed)
```

**Example agent comment on your issue:**

> ## πŸ€– AI Triage Report
> **Toil Score:** Frequency (5) x Time (3) x People (5) = **75**
> **Priority:** πŸ”΄ Critical - automate immediately
> **Estimated team time saved if automated:** ~75 hours/month
>
> ### πŸ’‘ Suggested Automation Approach
> A GitHub Action triggered on release events could pull PR titles and
> auto-generate release notes into a markdown file, then post a summary
> to the team Slack channel. Estimated effort: 2-3 hours.

The whole process takes about 30 seconds. No one needs to triage, score, or label anything.

---

## 🍴 Get Started (Any Team)

### Quick Start Checklist (10 minutes)

- βœ… **Fork & enable Actions** – fork this repo, then click **Actions β†’ Enable workflows** so the automations start running.
- πŸ” **Set secrets up front** – add any integration tokens under **Settings β†’ Secrets and variables β†’ Actions** before enabling notifications.
- πŸ” **Update contact links** – edit `.github/ISSUE_TEMPLATE/config.yml` plus the Slack reminder text below so they point at _your_ channels.
- πŸ“£ **Schedule the reminder** – configure the Slack Workflow Builder so the team gets nudged every week.
- 🌐 **Publish the dashboard** – enable GitHub Pages (`/docs` folder) so stakeholders can view `https://.github.io//dashboard/` immediately.

1. **Copy this project** - Click "Fork" (top right) to get your own copy with all the tools included
2. **Turn on the automation** β€” Go to the **Actions** tab and click the green **"Enable workflows"** button (GitHub shows a confirmation β€” it's safe to proceed)
3. **Update the links** - In the [Slack Setup](#slack-setup) section, replace `/` with your new link.
4. **Set a reminder** - Follow the [Slack setup](#slack-setup) to ping your team every Friday
5. **Start collecting ideas** - Your team clicks the link, fills out a 2-minute form, done

That's it. Your team now has a living backlog of automation opportunities.

---

## Where Everything Lives

All toil ideas and automation proposals are tracked as **GitHub Issues** in this repo. Bookmark these views:

| View | Link |
|------|------|
| πŸ“Š **Dashboard** | [Live demo β†’](https://dubsopenhub.github.io/ai-toil-tracker/dashboard/) |
| πŸ“‹ **All toil ideas** | [View](../../issues?q=is%3Aissue+label%3Atoil+sort%3Acreated-desc) |
| βœ… **Automated (done)** | [View](../../issues?q=is%3Aissue+label%3Aautomated+sort%3Acreated-desc) |

> **Tip:** Each issue shows the submitter's name, frequency (πŸ”΄πŸŸ πŸŸ‘πŸ”΅βšͺ), time cost, and who's affected - all visible in the issue body. Sort by newest, most commented, or filter by label to find what matters most.

## πŸ“Š Dashboard

A visual dashboard lets your team and manager see all ideas, filter by team, and track time savings β€” all in one place.

### What's on the Dashboard

- **Summary Cards** β€” Total ideas, wins, hours saved/month, automation rate, in-progress, and high-impact counts
- **Team & Individual Breakdown** β€” Per-person and per-team stats: ideas submitted, automated, and estimated monthly hours saved
- **Toil Ideas Table** β€” Every toil idea with sortable columns, inline-editable scores, color-coded priority rows, and status badges
- **πŸš€ Automate Button** β€” Choose your tool: **GitHub Copilot CLI** (copies a command). Toggle in the dashboard header
- **Filters** β€” Filter by team, category, or status to focus on what matters

### Setting Up the Dashboard

1. **Enable GitHub Pages** β€” Go to **Settings** β†’ **Pages** β†’ Source: **Deploy from a branch** β†’ Branch: `main`, folder: `/docs` β†’ **Save**
2. **Your dashboard URL** will be: `https://.github.io//dashboard/`
3. **Data updates automatically** β€” The `dashboard-data.yml` workflow runs daily and on every issue change, committing fresh data to `docs/dashboard/dashboard-data.json`
4. **Works immediately** β€” The dashboard includes sample data so you can see it right away, even before any real issues are filed

### Editing & Interacting

- **Click any score cell** (Frequency, Time, People) to edit it inline β€” the toil score recalculates in real time
- **Edits persist** in your browser via localStorage
- **"Save to GitHub"** link opens the issue on GitHub so you can update the actual issue
- **Sort** by clicking any column header
- **Filter** using the dropdowns above the table
- **Print** the dashboard for leadership presentations (print-friendly styling included)

## How It Works

1. **Weekly Slack ping** - Every Friday at 10:00 AM PST, the team is asked: _"What toil could be automated?"_
2. **File an issue** - Use the [Toil Automation Idea](../../issues/new?template=toil-idea.yml) template to log ideas
3. **AI auto-triages** - An agent scores the idea, applies labels, estimates time saved, and suggests an automation approach
4. **Propose a solution** - Use the [Automation Proposal](../../issues/new?template=automation-proposal.md) template
5. **Build & ship** - Automate the toil and eliminate it for good
6. **Log the win** - Use the [Log Completed Automation](../../issues/new?template=log-win.yml) template to record time saved πŸŽ‰
7. **Review the dashboard** - See all toil ideas, scores, and time saved by team at a glance

## 🧠 Architecture at a Glance

| Loop | Purpose | Key Files |
|------|---------|-----------|
| Capture | Collect toil, automation proposals, and wins via GitHub issue forms | `.github/ISSUE_TEMPLATE/*.yml`, `docs/examples.md` |
| Score & label | AI triage parses form answers, scores impact, labels issues | `.github/workflows/ai-triage.yml`, `docs/triage-workflow.md` |
| Visualize | Scheduled workflow generates `docs/dashboard/dashboard-data.json`, GitHub Pages renders `docs/dashboard/index.html` | `.github/workflows/dashboard-data.yml`, `docs/dashboard/index.html` |
| Celebrate | Wins close the original toil and monthly ROI summaries brief leadership | `.github/workflows/win-celebration.yml`, `.github/workflows/monthly-roi-summary.yml`, `docs/roi-tracking.md` |

Each loop is independentβ€”disable or extend one without touching the othersβ€”and all data flows through GitHub Issues plus JSON stored in `docs/dashboard/`.

## Quick Links

- [πŸ“ Submit a toil idea](../../issues/new?template=toil-idea.yml)
- [πŸ”§ Propose an automation](../../issues/new?template=automation-proposal.md)
- [πŸ“‹ View all toil ideas](../../issues?q=is%3Aissue+label%3Atoil)
- [βœ… Automated (completed)](../../issues?q=is%3Aissue+label%3Aautomated)

## Documentation

| Doc | Description |
|-----|-------------|
| [PRD](docs/PRD.md) | Product requirements, scoring details, and success metrics |
| [Architecture](docs/architecture.md) | System design with Mermaid diagrams |
| [Security](SECURITY.md) | Threat model, secret management, and AI data handling |
| [Examples](docs/examples.md) | Common toil patterns to inspire your team |
| [Scoring Guide](docs/scoring-guide.md) | How the toil score is calculated |
| [Contributing](CONTRIBUTING.md) | How to submit ideas and build automations |
| [Dashboard](docs/dashboard/index.html) | Interactive team dashboard with time savings |
| [Quickstart](docs/quickstart.md) | Get your team running in 10 minutes |
| [Troubleshooting](docs/troubleshooting.md) | Common issues and how to fix them |

## Slack Setup

Set up a weekly reminder in your team channel using Slack Workflow Builder:

1. Open Slack β†’ **Tools** β†’ **Workflow Builder** β†’ **Create Workflow**
2. Trigger: **On a schedule** β†’ Every Friday at 10:00 AM PST
3. Add step: **Send a message to a channel** (e.g. `#team-toil`)
4. Paste this message:

> πŸ€– **Weekly Toil Check-in**
>
> What repetitive task should a bot handle for you?
>
> πŸ‘‰ Log it here: `https://github.com///issues/new?template=toil-idea.yml` β€” takes 2 minutes.
>
> Not sure what counts? Check out the examples in the repo's `docs/examples.md`.

> ⚠️ **Replace** `/` with your actual repo path (e.g. `DUBSOpenHub/ai-first-toil-tracker`).

## Labels

| Label | Purpose |
|-------|---------|
| `toil` | All toil ideas |
| `triage` | Needs review and prioritization |
| `high-impact` | Saves significant time or affects many people |
| `quick-win` | Could be automated quickly |
| `in-progress` | Automation is being built |
| `automated` | Toil has been eliminated πŸŽ‰ |

## Automations

### πŸ€– AI Triage (on every new issue)
When a toil idea is submitted, an AI agent automatically:
- **Calculates the toil score** (frequency x time x people)
- **Applies the frequency label** (πŸ”΄πŸŸ πŸŸ‘πŸ”΅βšͺ)
- **Flags high-impact items** (score 20+)
- **Estimates monthly time saved** if automated
- **Suggests an automation approach** using AI
- **Removes the `triage` label** - no manual triage needed

### πŸ—‚οΈ Stale Issue Cleanup (monthly)
- Nudges toil ideas with no activity after 30 days
- Auto-closes after 60 days of inactivity
- Exempts issues labeled `in-progress`, `automated`, or `high-impact`

### πŸ“Š Dashboard Data (daily + on issue changes)
- Generates `dashboard-data.json` with all toil metrics
- Powers the interactive dashboard on GitHub Pages
- Runs automatically β€” no manual updates needed

## 🧭 Maintainer Checklist

- **Trigger a data refresh after forking** β€” run the `Generate Dashboard Data` workflow once (Actions β†’ Run workflow) so `docs/dashboard/dashboard-data.json` reflects your repo instead of the sample data.
- **Verify secrets quarterly** β€” confirm any optional tokens still work, or remove the notification steps to avoid failing Actions runs.
- **Customize contact links** β€” replace the placeholder Slack URLs in `.github/ISSUE_TEMPLATE/config.yml` and the reminder snippets below so contributors know where to coordinate.
- **Review the forms annually** β€” ensure the dropdown options in `.github/ISSUE_TEMPLATE/*.yml` still match how you categorize toil; update the scoring constants if you add new values.
- **Keep Actions pinned SHAs current** β€” accept Dependabot PRs or manually bump the pinned versions so security patches continue to flow.

## AI & Data Privacy

This tool uses **GitHub's built-in AI** to generate automation suggestions for each idea. When someone submits an idea:

- The **issue body text** (including your description of the toil) is sent to the AI model
- The AI generates a suggested automation approach
- No data is stored beyond the issue comment

> ⚠️ **Avoid including sensitive information** in toil descriptions β€” such as customer names, internal credentials, classified system names, or proprietary process details. Keep descriptions focused on the *type* of repetitive work, not the specific data involved.

For teams with strict data classification policies, review your organization's AI usage guidelines before enabling the AI triage workflow. The workflow can be disabled by removing the `ai-triage.yml` file from `.github/workflows/`.

## License

[MIT](LICENSE)

---

## ✨ Contributors

Thanks to these wonderful humans (and AIs) who help make this project better:




DUBSOpenHub
DUBSOpenHub


πŸš‡ πŸ§‘β€πŸ”§


GitHub Copilot
GitHub Copilot


πŸ’» πŸ“– 🎨


GitHub Copilot CLI
Copilot CLI


πŸ’» πŸ“– 🎨 πŸ€” πŸ“†


> πŸ’» code Β· πŸ“– docs Β· πŸ€” ideas Β· πŸ“† project mgmt Β· πŸš‡ infra Β· πŸ§‘β€πŸ”§ maintenance Β· 🎨 design

---

## πŸ™ Created with πŸ’œ by [@DUBSOpenHub](https://github.com/DUBSOpenHub) with the [GitHub Copilot CLI](https://docs.github.com/copilot/concepts/agents/about-copilot-cli).

Let's build! πŸš€βœ¨