jongio/skills

GitHub Copilot CLI · Composable Terminal Footer

Copilot CLI Statuslines

Composable terminal statuslines for GitHub Copilot CLI: Pull Requests (pr-statusline),GitHub Issues (issue-statusline), Subagents (subagent-statusline), and Branch and Worktree (worktree-statusline). Choose any combination. See where work is happening, what needs attention on GitHub, and how background tasks are progressing. Explicitly enroll PRs and issues this session owns; references, shell commands, and GitHub responses never create them. Actual session agent launches remain automatic. Terminal statuslines, /session-* commands, and Windows Terminal attention alerts are Copilot CLI–only (they automatically no-op when hosted in the GitHub Copilot app).

Matching headings above blue checkout pills, green passing PRs, an amber unassigned issue, and a purple merged subagent summaryClick to view full size

PRs appear beside their checkout. An unassigned issue and the overall subagent summary appear below. These examples show passing PRs, an issue awaiting assignment, and merged subagent work; the detailed guides below explain other status colors.

RecommendedInstall via Copilot Plugin Marketplace

Add the marketplace once in Copilot CLI, install just the statuslines or the full collection, and pick which statuslines (Pull Requests, GitHub Issues, Subagents, Branch and Worktree) you want enabled:

Step 1 · Add the marketplace (one-time setup in Copilot CLI)
/plugin marketplace add jongio/skills
Step 2A · Install statuslines only (no skills)
/plugin install statuslines@jongio-skills
Step 2B · Or install all skills & statuslines
/plugin install jongio-skills@jongio-skills
Step 3 · Pick your statuslines anytime in Copilot CLI
/session-statusline setup

Start a new session after installation to load the extensions (and enable experimental SDK extensions once with /settings experimental on followed by /restart in existing CLI windows). Run /session-statusline setup (or the alias /statusline-setup) whenever you want to change the enabled components. Use /session-statusline refresh to force-refresh tracked data, /session-statusline clear to dismiss this session's pills without disabling components or deleting work, and /session-statusline name <label> to label this session in the footer. The full plugin includes the session-statusline skill for requests such as "clear the footer pills" or "name this session API migration".

Alternative: install without a plugin
Windows · PowerShell
irm https://raw.githubusercontent.com/jongio/skills/main/install-statusline.ps1 | iex
macOS & Linux · Bash
curl -fsSL https://raw.githubusercontent.com/jongio/skills/main/install-statusline.sh | bash
Local checkout · Node.js (interactive picker or explicit flags)
node ./scripts/setup-statusline.mjs
node ./scripts/setup-statusline.mjs --all
node ./scripts/setup-statusline.mjs --prs --issues --subagents --worktrees

Branch and Worktree · Paths, branches, and missing commits

See the folder and live branch when the session or a background agent works outside Copilot's current checkout. Related PRs and issues follow that checkout. The current checkout's label is hidden to avoid repeating Copilot's own display.

View source →
C:\code\.worktrees\my-project\feat-login [⎇ feat/login*+% origin/feat/login↑1↓2 origin/main↓3]
⎇ branchThe branch currently checked out, or a short commit ID when no branch is checked out.
* unstagedTracked files have unstaged changes.
+ stagedThe index has staged changes.
% untrackedUntracked files exist. This is not a percentage.
origin/feat/login↑1↓2One local-only commit and two upstream commits missing locally. Both arrows mean the branch has diverged; zero counts are hidden.
origin/main↓3Three commits from the PR's target branch are missing locally. Without a matched PR, the comparison uses the verified remote default branch.
origin/main?The target is known but cannot be compared, for example because it has not been fetched. This does not mean the branch is up to date. No configured upstream means no upstream count.
base?A tracked PR matches this checkout, but its target cannot be verified. The footer does not substitute another branch.

Counts reflect your last fetch, not a live check of GitHub. Fetch through your normal workflow to update them. The footer never changes branches or runs a pull, merge, or rebase. A behind count means missing commits; it does not require one particular way to synchronize.

For fork PRs, the base comparison uses the target repository's remote, not a same-named branch in your fork. If upstream and base are the same target, they appear once.

Without a matched PR, the base is the verified remote default branch. If no default is known, no base count appears. In large sessions, some checkouts may show unavailable comparisons while waiting for their next refresh.

Items that cannot be matched to a checkout remain visible on a separate row. Background-agent counts appear once for the whole session.

Enable with /statusline-setup. Run /session-worktree to inspect the session’s checkouts, including any hidden current-checkout label.

Pull Requests · Checks and reviews

Explicitly enroll PRs this session owns through session_prs or /session-prs add, even across repositories. Shell commands, GitHub responses, and references never enroll PRs or issues. Open a PR from its pill using your terminal’s link gesture. PRs tracked only through background agents contribute to the subagent summary instead of adding individual pills.

View source →
Annotated infographic of pr-statusline showing Green, Amber, Red, and Purple PR pills and explaining each iconClick to view full size
Up-close screenshot of clickable Repo#PR link token
Repo#PR LinkOpen owner/repo#number on GitHub with your terminal’s link gesture, often Ctrl+Click or Cmd+Click.
Up-close screenshot of passing, running, and failing CI check tokens
CI Checks (X/Y)Passed checks out of total checks (green checkmark when all pass, hourglass when running, red X when any fail)
Up-close screenshot of merge conflict warning token
Merge ConflictA warning triangle means GitHub reports a merge conflict with the base branch. Open the PR to review it.
Up-close screenshot of PR approval counter tokens
Approvals (X/Y)Approvals received out of reviewers counted by the footer. This is not a count of remaining branch-protection requirements.
Up-close screenshot of PR review thread counter tokens
Threads (X/Y)Comment icon with resolved review threads vs total review threads
Up-close screenshot of purple merged PR pill
Purple MergedPurple means GitHub confirmed the merge. The pill disappears after your next message following detection.

Issues · Priority and ownership

Renders a separate clickable pill for each GitHub issue worked on in the active session with priority labels, linked PRs, assignees, and comment counts.

View source →
Annotated infographic of issue-statusline showing Green, Amber, Red, and Purple issue pills and explaining each iconClick to view full size
Up-close screenshot of clickable Repo#Issue link token
Repo#Issue LinkOpen the issue on GitHub. A bug icon identifies bug-labeled issues.
Up-close screenshot of issue priority and bug labels
Priority / LabelShows a priority or category label (P0, P1, bug, enhancement) right inside the pill
Up-close screenshot of linked open PR indicator icon
Linked Open PRPR branch icon shown when an open pull request cross-references or closes the issue
Up-close screenshot of issue assignee token
AssigneeThe assigned GitHub handle, or unassigned. Assignment or an open linked PR can make an issue green; urgent labels can still make it red.
Up-close screenshot of issue comment count token
Comment CountComment bubble showing total discussion comments on the issue
Up-close screenshot of purple closed completed issue pill
Purple ClosedTurns purple when closed as completed during this session and auto-dismisses on your next prompt

Subagents · Background work

See how many background agents are starting, exploring, working on open PRs, merged, or failed. Use /tasks to inspect their individual output.

View source →
Illustrative subagent summaries with starting, open PR, merged, and failed counts, plus the command to inspect themClick to view full size
Subagent summary icon
Subagent IconOne summary for the whole session. It is not a link; run /tasks to inspect individual agents.
Up-close screenshot of subagents starting counter token
N starting / N exploringStarting means work has begun before a PR is tracked. Exploring identifies read-only investigation.
Up-close screenshot of subagents in PR counter token
N in PRPR icon counter for subagents with an open pull request under review or CI
Up-close screenshot of merged subagent PR counter token
N mergedMerge icon counter for subagents whose pull requests have landed
Up-close screenshot of failed subagent counter token
N failedRed X counter shown if any subagent exits with a failure (turns the pill red)
Up-close screenshot of purple all-merged subagent pill
All Merged PillPurple means only merged work remains. Completed counts clear after your next message following detection, even if other agents are still working.

Inspect, refresh, clear, and name this session

Run /session-worktree, /session-prs, /session-issues, or /session-subagents in Copilot CLI to inspect this session's tracked work.

Use /session-statusline refresh to force a fresh update across PRs, issues, subagents, and worktrees without changing tracked items or enabled components. Use /session-statusline clear to clear all tracked pills for this session at once, or pass clear / remove to /session-prs, /session-issues, or /session-subagents. The /session-worktree command is inspect-only.

Custom session names: run /session-statusline name API migration (or ask the session-statusline skill to "name this session API migration") to place a custom single-line label first in that session's footer. It persists on resume, and clear or refresh preserves it. Use /session-statusline name to show the current label or /session-statusline clear-name to remove it.

For an unexpected commit count, fetch the relevant remote through your normal workflow first. For extensions updated during a running session, start a new session to load the updated collector.

Windows Terminal attention alerts

Optional focus-aware window borders and background washes for Copilot CLI sessions in Windows Terminal, independent of which footer rows are enabled.

Full guide →
/session-attention both
/session-attention preview
/session-attention status
/session-attention off
Amber · ApprovalPermission or plan approval is needed in that session.
Purple · QuestionA question or elicitation dialog is waiting for your answer.
Green · ReadyThe root session finished its response and became idle.
Red · ErrorThe root session reported an error.

Alerts are off by default and have no timeout. Focusing the bound Windows Terminal window (or clicking, typing, or scrolling in it if already focused) acknowledges and clears the alert. Choose border, background, or both.

Optional CI/PR daemon timeline bridge

Log background ci-hound and pr watcher events into the active Copilot CLI session timeline without calling a model, starting repairs, or authorizing a merge.

View source →
node scripts/setup-statusline.mjs --notifications
/daemon-notifications subscribe ci
node skills/ci-hound/scripts/ci-hound-daemon.mjs watch --events-file "<returned-file>"

Included in the jongio-skills and statuslines plugins. Use /daemon-notifications status to list subscriptions or /daemon-notifications unsubscribe ci to disable one.