ClaudeMods
☰
EN
● 0 online · Views 0 times
SponsorsSubmit a project
GitHub repositories · by Shifty-Eye-Games

machine-tag

A Claude Code plugin that prefixes session titles with each machine's emoji tag (💻 MBP, 🪶 Air, 🎮 Rig, 🔥 5090), with a /machine-tag <emoji> <word> command to override the tag per machine.

Shifty-Eye-Games@Shifty-Eye-Games

Shifty-Eye-Games/claude-mods/tree/main/plugins/machine-tag

Translated

About this mod

machine-tag is part of the Shifty-Eye-Games/claude-mods marketplace and runs as a function-hook plugin inside Claude Code sessions. On session start it reads the local machine identity (via scutil ComputerName on macOS, falling back to hostname) and sets the session title with a matching emoji prefix so pinned and listed sessions show which computer they run on. The slash command /machine-tag <emoji> <word> overrides the tag per machine. Installation uses the claude-mods marketplace (claude plugin marketplace add Shifty-Eye-Games/claude-mods, then claude plugin install machine-tag@claude-mods); the repo is private, so each machine needs non-interactive GitHub credentials (SSH key or stored HTTPS credentials) for the clone and auto-updates to succeed.

Installation

Check the author's README for the marketplace and plugin name first. Commands may change as the repository evolves.

claude plugin marketplace add Shifty-Eye-Games/claude-mods
claude plugin install machine-tag
Original text / README

claude-mods

Private Claude Code marketplace for Tuncer's mods: function-hook plugins that run inside every Claude Code session on his machines (MacBook Pro, MacBook Air, therig, the 5090 PC).

| Plugin | What it does | | --- | --- | | memory-guards | Refuses the footgun commands Claude's memory notes warn about (for example impeccable update --help, routing shiftyeyegames.com DNS through cloudflared, /logout before cswap add) and says why, with the safe alternative. | | kb-health | Shows KB health in the status line on the machine that runs the KB. It stays quiet on machines without the KB snapshot job. | | machine-tag | Prefixes session titles with the machine's emoji tag (💻 MBP, 🪶 Air, 🎮 Rig, 🔥 5090), so pinned sessions show which computer they run on. /machine-tag <emoji> <word> overrides it per machine. |

Install on a machine

claude plugin marketplace add Shifty-Eye-Games/claude-mods
claude plugin install memory-guards@claude-mods
claude plugin install kb-health@claude-mods
claude plugin install machine-tag@claude-mods

Then turn on auto-update: in /plugin, open Marketplaces, pick claude-mods and enable auto-update, or set it in ~/.claude/settings.json:

"extraKnownMarketplaces": {
  "claude-mods": {
    "source": { "source": "github", "repo": "Shifty-Eye-Games/claude-mods" },
    "autoUpdate": true
  }
}

Each session start then pulls main. No versions are set, so every commit is an update.

The repo is private, so each machine needs GitHub access without a prompt: an SSH key GitHub knows (Claude Code tries ssh -T [email protected] first), or stored HTTPS credentials (gh auth login then gh auth setup-git, or Git Credential Manager on Windows). Without them the clone and the updates fail silently and the machine keeps its last copy.

Machines that loaded these mods from local folders before must drop those folders from CLAUDE_CODE_PLUGIN_DIRS in ~/.claude/settings.json, or each mod loads twice.

Change a mod

  1. Edit it under plugins/<name>/.
  2. Check it: claude plugin validate plugins/<name> and claude plugin test plugins/<name>.
  3. Push to main. Versions are left unset on purpose, so each commit reaches every machine at its next session start.

How mods work, and the engine rules that bite, are in Claude's memory note on Claude Code mods.

Security

Auto-update is on, so whatever lands on main runs in every session on all four machines. Only org admins can push here (the org's default member permission is read). Keep it that way: never give anyone else write access.

Similar projects