Skip to content

Hide "Agents" tab #8977

Closed as not planned
Closed as not planned

Description

@maxandersen

Description

getting tired of having precious realestate to just show

Image

would be great if refined github could auto remove this if not available to me or add a checkbox in this I can enable to "Not show this again"

thanks!

Example URLs

https://github.com/refined-github/refined-github/agents

Pinned by SunsetTechuila

Activity

  1. SunsetTechuila commented on Feb 14, 2026

    @SunsetTechuila
    Contributor

    It's a good suggestion, but I doubt it will be implemented anytime soon. See #8867

  2. F0bes commented on Feb 14, 2026

    @F0bes

    I've created a ublock filter script that seems to do the job:

    github.com##li.prc-UnderlineNav-UnderlineNavItem-syRjR:has(> a > span[data-content*="Agents"])
    

    I tried to not be so aggressive, hopefully the navitem class doesn't change.

    (Note, this will still hide it if it's available for a user, but I ended up on this issue when I wanted it completely gone...)

  3. changed the title [-]remove agents when its not available for a project/user[/-] [+]Remove agents tab when its not available for a project/user[/+] on Feb 21, 2026
  4. SunsetTechuila commented on Feb 21, 2026

    @SunsetTechuila
  5. SunsetTechuila commented on Mar 1, 2026

    @SunsetTechuila
  6. SunsetTechuila commented on Mar 2, 2026

    @SunsetTechuila
    Contributor

    It's visible only if you have Copilot subscription now

  7. changed the title [-]Remove agents tab when its not available for a project/user[/-] [+]Remove agents tab when[/+] on Mar 2, 2026
  8. changed the title [-]Remove agents tab when[/-] [+]Hide "Agents" tab[/+] on Mar 2, 2026
  9. SunsetTechuila commented on Mar 2, 2026

    @SunsetTechuila
    Contributor

    It's a good suggestion, but I doubt it will be implemented anytime soon.

    Moving it to the dropdown isn't easy, but completely removing is:

    li:has(> a[href$="/agents?author=your_username"]) {
    	display: none !important; 
    }
    github.com##li:has(> a[href$="/agents?author=your_username"])
    Other Copilot distractions:

    Image

    react-partial[partial-name="new-agent-task-button"] {
    	display: none !important; 
    }
    github.com##react-partial[partial-name="new-agent-task-button"]

    Image
    #copilot-md-menu-anchor-new_comment_field {
    	display: none !important; 
    }
    github.com###copilot-md-menu-anchor-new_comment_field

    Image
    rails-partial[data-partial-name="pullRequestsConversationsRoute.Timeline"] .Stack {
    	display: none !important; 
    }
    github.com##rails-partial[data-partial-name="pullRequestsConversationsRoute.Timeline"] .Stack

    Image
    div[class^="OverviewContent-module__Box"] button:has(> .octicon-agent) {
    	display: none !important;
    }
    github.com##div[class^="OverviewContent-module__Box"] button:has(> .octicon-agent)

    Image
    react-partial[partial-name="dashboard-lists"] {
    	& > div {
    		display: flex;
    		flex-direction: column;
    	}
    
    	div[class^="DashboardListView-module__List"]:first-of-type {
    		order: 3;
    	}
    }

    Image
    li[class^="prc-ActionList-Group"]:has(ul[aria-label="Copilot"]) {
    	&, & + [data-component="ActionList.Divider"] {
    		display: !important;
    	}
    }
    github.com##li[class^="prc-ActionList-Group"]:has(ul[aria-label="Copilot"])
    github.com##li[class^="prc-ActionList-Group"]:has(ul[aria-label="Copilot"]) + [data-component="ActionList.Divider"]
    Image
    div[class^="BlobViewHeader-module__Box"] button:has(> .octicon-agent) {
    	display: none !important;
    }
    github.com##div[class^="BlobViewHeader-module__Box"] button:has(> .octicon-agent)

  10. SunsetTechuila commented on Mar 25, 2026

    @SunsetTechuila
    Contributor

    @fregante ↑ is that worth a feature? something like less-copilot-distractions

  11. fregante commented on Mar 25, 2026

    @fregante
    Member

    Refer to #8004 and feel free to add all the selectors you want to that issue.

    As for this specific feature, we could look into it once/if we ever restore clean-repo-tabs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions