Loading...
Loading...
Manage and analyze Edge tabs and groups with tabctl. Use when asked to list, search, analyze stale or duplicate tabs, generate reports, or organize tabs. Prefer read-only commands and only run mutating actions with explicit targets and confirmation.
npx skill4agent add ekroon/tabctl tabctltabctl querytabctl schema# Get only tabId and url for all windows
tabctl query '{ windows { windowId tabs { tabId url } } }'
# Paginated tabs (default limit 20)
tabctl query '{ tabs { items { tabId url title } total hasMore } }'
# Next page
tabctl query '{ tabs(offset: 20) { items { tabId url } total hasMore } }'
# Get tabs in a specific window
tabctl query '{ tabs(windowId: 123) { items { tabId title url } total } }'
# Get groups with tab counts
tabctl query '{ groups { groupId title tabCount } }'
# Get a single tab by ID
tabctl query '{ tab(id: 456) { tabId url title active groupTitle } }'# Close tabs and get remaining tabs in one call
tabctl query 'mutation { closeTabs(tabIds: [123, 456], confirm: true) { txid closedTabs remainingTabs { tabId url } } }'
# Open tabs and get the new tab IDs
tabctl query 'mutation { openTabs(urls: ["https://example.com"], group: "Research") { tabs { tabId url } } }'
# Refresh tabs
tabctl query 'mutation { refreshTabs(tabIds: [123]) { refreshedTabs } }'tabctl schema # Full SDL
tabctl query '{ __type(name: "Tab") { fields { name } } }' # Discover Tab fieldsarchive --allclose --apply--tab--group--window--confirmtabctl helptabctl help --jsontabctl <command> --helptabctl list --window <id|active|last-focused>tabctl list --ungroupedtabctl list --all --limit 10 --offset 0tabctl close --tab <id1> --tab <id2> --confirmtabctl refresh --tab <id>tabctl report --format mdtabctl inspect --tab <id> --signal page-metatabctl inspect --tab <id> --signal page-meta --wait-for settletabctl inspect --tab <id> --selector '{"name":"links","selector":"a[href]","attr":"href-url","all":true}'tabctl screenshot --tab <id> --mode fulltabctl undo --latesttabctl undo <txid>tabctl history --json | jq -r '.[] | .txid'--window--group--group-id--tab--ungroupedtabctl doctortabctl doctor --fixtabctl ping --jsonpingversionopenlistTABCTL_AUTO_SYNC_MODE=release-likeTABCTL_AUTO_SYNC_MODE=release-like tabctl list --all--json--formatreporttabctl report --format md--wait-forloaddomsettlenonetabctl open --url "https://example.com" --json
tabctl inspect --tab <new_tab_id> --wait-for settle --wait-timeout-ms 10000 --json