workspace-setup

workspace-setup is a skill for Claude Code from MadAppGang/magus. It costs 54 tokens per session (2,915 once invoked), scanned A, original, MIT.

A guide for organising tmux terminal workspaces into project sessions and multiple panes. Tmux is a tool that keeps terminal work running and lets several terminal views share one session.

In plain words
What is it for?
It helps set up project sessions, multi-pane dashboards, monitoring views, and synchronised terminal panes.
Why use it?
It keeps related commands, monitors, and project tasks together without mixing them into one terminal view. It also provides patterns for handing the workspace back to the developer.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the terminal plugin — 5 skills, 7 commands, 1 agent shipped together

Good fit It helps set up project sessions, multi-pane dashboards, monitoring views, and synchronised terminal panes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/madappgang/magus/workspace-setup
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add MadAppGang/magus --skill workspace-setup
Clone the repo
git clone --depth 1 https://github.com/MadAppGang/magus

Made for: Claude Code.

Or install terminal, the plugin that ships this one along with the rest of its 5 skills, 7 commands, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for workspace-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/madappgang/magus/workspace-setup/github.svg)](https://agentmods.dev/skills/madappgang/magus/workspace-setup)
Your own site
<a href="https://agentmods.dev/skills/madappgang/magus/workspace-setup"><img src="https://agentmods.dev/badge/skills/madappgang/magus/workspace-setup/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for workspace-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/madappgang/magus/workspace-setup"><img src="https://agentmods.dev/badge/skills/madappgang/magus/workspace-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,915 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00054 $0.02915
Opus 5.5 $0.00022 $0.01166
Sonnet 5.5 $0.00011 $0.00583
Haiku 4.5 $0.00005 $0.00292

Measured 1mo ago against content hash 72ded248f992, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

workspace-setup scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

watch -n1 'curl -s localhost:3000/health' # health probe
plugins/terminal/skills/workspace-setup/SKILL.md · 255 lines

How it starts

The opening of the file, as written. The whole thing — 255 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Workspace Setup

Tmux workspace orchestration: startup scripts, dashboard archetypes, ambient monitoring, and one command across many hosts. Every tmux-mcp call addresses a numbered helper slot — a pane beside you in the user's window; the same number returns the same pane every time, and slot 1 is never your own pane. Windows and whole tmux sessions are not in this contract; where they are needed the step is marked [Bash].


1. Project Startup Script

One tmux session per project, named windows per concern. Windows and sessions are not in this contract, so the deliverable is a startup script the user runs and re-runs themselves — not a sequence of tool calls.

1. [Bash] tmux has-session -t myproject 2>/dev/null     → exit 0 means it already exists
2. [if missing] generate the script below and hand it over
3. Report: "Workspace ready. Switch with: tmux switch-client -t myproject"

has-session is the only detection signal you need. mcp__plugin_terminal_mux__list-slots() lists the helper panes this agent has open — never the user's windows or panes, which this contract does not enumerate.

Four Hand-Off Patterns

Pattern When to use How
A: Leave detached Long background job [Bash] tmux new-session -d -s "<name>" "<cmd>", give the attach command
B: Non-destructive inspect User already in a workspace capture-pane on a helper slot you opened; never their pane
C: Background build User wants to keep working [Bash] tmux new-session -d -s "build-job" "make all"
D: Extra pane here User wants to stay where they are A numbered slot — §2

Startup Script Artifact

Generate this and leave it for the user to re-run. Replace myproject and the path. Use named variables only — no positional arguments.

#!/bin/bash
SESSION="myproject"
ROOT="$HOME/projects/myproject"
tmux new-session -d -s "$SESSION" -n "server" -c "$ROOT"
tmux send-keys -t "$SESSION:server" "bun run dev" Enter
tmux new-window -t "$SESSION" -n "tests" -c "$ROOT"
tmux send-keys -t "$SESSION:tests" "bun test --watch" Enter
tmux new-window -t "$SESSION" -n "git" -c "$ROOT"
tmux send-keys -t "$SESSION:git" "lazygit" Enter
tmux select-window -t "$SESSION:server"
tmux attach-session -t "$SESSION"

Read the full file on GitHub · 255 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed 72ded248f992
  2. 1mo ago Changed · -31 lines · +11 tokens per session 2b63ce5a1ee8
  3. 1mo ago First seen · 286 lines · 43 tokens per session scan A 2270894d0703

Subscribe to this mod's changes

workspace-setup is a skill published in the GitHub repository MadAppGang/magus (13 stars, last pushed yesterday), licensed MIT. It adds 54 tokens to every session and 2,915 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.