agentleFS
allieraysallierays/agentic-loop/.claude/skills/color/SKILL.md

color

Skill38 starsChanged 9 months agoMITView on GitHub

Pick the terminal background color Ralph uses to distinguish its terminal from Claude Code.

6 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.
  • MindrallySkill

    motion

    Expert guidelines for building performant animations with Motion (formerly Motion One) vanilla JavaScript animation library

    Also in 4 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. 0 are common, 5 are distinctive, and 8 are very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 8

    Very specific

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

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

    Read .ralph/config.json and check for terminalTint.

    line 13
  2. Very specific:

    If set: "Current tint: {value}"

    line 14
  3. Very specific:

    If not set: "Current tint: #1a1a2e (default dark navy)"

    line 15
  4. Very specific:

    If the user selects "Other", ask them to provide a hex color (e.g., #2e2e1a).

    line 29
  5. Distinctive:

    If the user provided a custom hex:

    line 33
  6. Very specific:

    Must match # followed by exactly 6 hex characters (/^#[0-9a-fA-F]{6}$/)

    line 34
  7. Very specific:

    If invalid, say "That doesn't look like a valid hex color (e.g., #1a1a2e).

    line 35
  8. Very specific:

    Read .ralph/config.json, set the terminalTint field, and write it back.

    line 39
  9. Distinctive:

    Use jq to update:

    line 44
  10. Distinctive:

    If running in Terminal.app, apply the color immediately so the user can see it:

    line 51
  11. Distinctive:

    If "Off" was chosen, skip the preview.

    line 60
  12. Very specific:

    Run /color again anytime to change it."

    line 70
  13. Distinctive:

    If "Off" was chosen, say:

    line 72

“Common” is measured: kept by at least 6 in 10 of the 5 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

Terminal Color

The user wants to change Ralph's terminal background tint - the color applied during npx agentic-loop run to visually distinguish Ralph's terminal from Claude Code.

Note: This only works in macOS Terminal.app. On other terminals (iTerm2, VS Code, Linux), Ralph skips tinting automatically.

Step 1: Show Current Color

Read .ralph/config.json and check for terminalTint. Show the current setting:

  • If set: "Current tint: {value}"
  • If not set: "Current tint: #1a1a2e (default dark navy)"

Step 2: Ask Color Preference

Use AskUserQuestion:

Question: "What color should Ralph's terminal background be?" Header: "Tint color" Options:

  • Dark Navy (default) - "#1a1a2e - cool and distinct, easy on the eyes"
  • Dark Teal - "#1a2e2e - subtle blue-green undertone"
  • Dark Red - "#2e1a1a - warm undertone, clearly different"
  • Off - "Disable terminal tinting entirely"

If the user selects "Other", ask them to provide a hex color (e.g., #2e2e1a).

Step 3: Validate (if custom hex)

If the user provided a custom hex:

  • Must match # followed by exactly 6 hex characters (/^#[0-9a-fA-F]{6}$/)
  • If invalid, say "That doesn't look like a valid hex color (e.g., #1a1a2e). Try again." and re-ask.

Step 4: Save to Config

Read .ralph/config.json, set the terminalTint field, and write it back.

  • If a color was chosen: Set "terminalTint": "#xxxxxx"
  • If "Off" was chosen: Set "terminalTint": "off"

Use jq to update:

jq --arg color "THE_HEX_VALUE" '.terminalTint = $color' .ralph/config.json > .ralph/config.json.tmp && mv .ralph/config.json.tmp .ralph/config.json

Step 5: Preview (macOS Terminal.app only)

If running in Terminal.app, apply the color immediately so the user can see it:

# Apply preview (will be restored when Claude session ends)
osascript -e 'tell application "Terminal" to set background color of front window to {R, G, B}' 2>/dev/null

Where R, G, B are the hex values converted to 16-bit (multiply each 8-bit value by 257).

If "Off" was chosen, skip the preview.

Step 6: Confirm

Say:

"Done! Ralph will use #xxxxxx as the terminal tint.

Next time you run npx agentic-loop run, the terminal background will change to this color. It restores to your original background when the loop ends.

Run /color again anytime to change it."

If "Off" was chosen, say:

"Done! Terminal tinting is now disabled. Ralph will run without changing your terminal background."

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.