agentleFS
alejo-valenciaalejo-valencia/copilot-session-color/skills/color/SKILL.md

color

Skill1 starsChanged 3 months agoMITView on GitHub

Install and customize a per-session GitHub Copilot CLI statusline. Use when the user requests /color, asks to set the current session to a named, hexadecimal, or ANSI color, wants automatic color selection, or wants to install or uninstall the session-color statusline.

8 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use motion.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • leonaaardobSkill

    motion

    Complete Motion.dev documentation - modern animation library for React, JavaScript, and Vue (formerly Framer Motion)

    Also in 4 projects that use this

  • Other versions8 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 8

    1. raphaelsalaja/skills★ 62same name
    2. allierays/agentic-loop★ 38same name
    3. soilmass/motion-design-agent★ 7same name
    4. IamK77/Skill★ 2same name
    5. jangles-byte/atelier★ 2same name
    6. sanmidable/skills★ 2same name
    7. HugoLopes45/design-skills★ 1same name
    8. instrument-org/skills★ 1same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

The file

We split this skill into the rules it gives an agent

10 rules. 0 are common, 4 are distinctive, and 6 are very specific to this project.

  • 0

    Common

    Most of the 8 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    When the user invokes /color <value>:

    line 15
  2. Very specific:

    Run install.ps1 from this skill directory.

    line 17
  3. Very specific:

    Run set-session-color.ps1 -Color "<value>" from this skill directory.

    line 19
  4. Very specific:

    If another custom statusline is configured, stop and explain the conflict.

    line 44
  5. Very specific:

    Only rerun with -Force after the user explicitly approves replacement.

    line 45
  6. Distinctive:

    Do not print or summarize the contents of the local configuration file.

    line 62
  7. Distinctive:

    Do not expose session names, session IDs, or paths beyond the single session ID returned by the setter.

    line 63
  8. Distinctive:

    Do not modify the global Copilot theme.

    line 65
  9. Distinctive:

    Do not make network requests.

    line 66
  10. Very specific:

    If session_name is empty, the renderer uses the configured fallback Copilot session.

    line 74

“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Copilot session color

Operate only on the current user's Copilot configuration. Never infer the active session from timestamps or recently modified folders.

Set a color

When the user invokes /color <value>:

  1. Run install.ps1 from this skill directory. Do not pass -Force unless the user explicitly approved replacing another custom statusline.
  2. Run set-session-color.ps1 -Color "<value>" from this skill directory.
  3. Report the selected color and session ID returned by the script.
  4. Also report the script's restart notice. Make clear that after the first /color command in a session, the new statusline might not be visible until the user runs /restart once.

The setter reads COPILOT_AGENT_SESSION_ID, which identifies the session that invoked the skill.

Supported values:

  • named colors from the local configuration;
  • hexadecimal RGB colors such as #7C3AED;
  • ANSI 256-color numbers from 0 through 255;
  • automatic or default to remove the explicit override;
  • list to display configured named colors.

Install

For /color install, run:

pwsh -NoLogo -NoProfile -ExecutionPolicy Bypass -File .\install.ps1

If another custom statusline is configured, stop and explain the conflict. Only rerun with -Force after the user explicitly approves replacement.

Uninstall

For /color uninstall, run:

pwsh -NoLogo -NoProfile -ExecutionPolicy Bypass -File .\uninstall.ps1

This restores the pre-install statusline setting and keeps the user's color configuration. Use -RemoveUserData only when the user explicitly requests complete removal.

Safety and privacy

  • Resolve scripts relative to this SKILL.md, not the current repository.
  • Do not print or summarize the contents of the local configuration file.
  • Do not expose session names, session IDs, or paths beyond the single session ID returned by the setter.
  • Do not modify the global Copilot theme.
  • Do not make network requests.

The statusline should refresh automatically after it has loaded once. If this is the first /color command in a session, tell the user it might not be visible until they run /restart once.

Session names and models

  • If session_name is empty, the renderer uses the configured fallback Copilot session.
  • Recommend native /rename with no argument to generate a name from the conversation. Do not read transcripts or infer a name inside the renderer.
  • This skill is processed by the active session model. Agent Skills have no per-skill model field; do not claim that /color can force a cheaper model.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.