workspace-setup

workspace-setup is a skill for Claude Code from MadAppGang/magus. It costs 43 tokens per session (2,754 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…

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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,754 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.
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.00043 $0.02754
Opus 5 $0.00022 $0.01377
Sonnet 5 $0.00009 $0.00551
Haiku 4.5 $0.00004 $0.00275

Measured 2d ago against content hash 2270894d0703, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 2d 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 · 286 lines

How it starts

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

Workspace Setup

Tmux workspace orchestration: session construction, dashboard archetypes, ambient monitoring, and multi-host pane synchronization.


1. Session Workspace Construction

One tmux session per project, named windows per concern.

Windows are not in the agentic MCP scope. create-window, kill-window, resize-pane and rename-session exist in the tmux-mcp binary but are hidden at -scope agentic, which is what this plugin ships. Building a multi-window session is therefore a Bash job — use the startup script below, which is what you should be handing the user anyway. Multi-pane work needs no Bash at all; see §2.

Session Construction Tool Sequence

1. mcp__tmux__list-sessions()                          → scan for a session named "project"
   // find-session was removed from the Go binary; filter client-side
2. [if not found] mcp__tmux__create-session({ name: "project" })
3. Windows: generate the startup script below and let the user run it —
   window creation is not available at this scope.
4. Report: "Workspace ready. Switch with: tmux switch-client -t project"

Four Hand-Off Patterns

Pattern When to use How
A: Leave detached Long background job Create session, give the attach command
B: Non-destructive inspect User already in a session capture-pane without touching anything
C: Background build User wants to keep working tmux new-session -d -s "build-job" "make all"
D: Extra pane here User wants to stay where they are A numbered slot — §2

Session Startup Script Artifact

Generate this and leave it for the user to re-run. Replace myproject and the path.

#!/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 · 286 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. 2d 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 (9 stars, last pushed 2d ago), licensed MIT. It adds 43 tokens to every session and 2,754 once invoked, about $0.0002 per session on Opus 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.

Related

Other skills, from other repositories

recipe-create-meet-space

Create a Google Meet meeting space and share the join link.

googleworkspace/cli · 18 tokens

atmos-config

Atmos root configuration: atmos.yaml discovery, precedence, deep merging, basepath, imports, minimal bootstrap, and routing to narrower Atmos skills.

cloudposse/atmos · 31 tokens

workthreads

SpecStory Workthreads - a weekly work-thread rollup across a team's repos from SpecStory coding histories (any agent - Claude Code, Codex, Cursor, Gemini, and more). It groups the window's sessions into threads of work per project and labels each new / open / recently closed, so a lead sees what shipped, what is still…

specstoryai/getspecstory · 126 tokens

story-readiness

Validate that a story file is implementation-ready. Checks for embedded GDD requirements, ADR references, engine notes, clear acceptance criteria, and no open design questions. Produces READY / NEEDS WORK / BLOCKED verdict with specific gaps. Use when user says 'is this story ready', 'can I start on this story', 'is…

Donchitos/Claude-Code-Game-Studios · 77 tokens

autotask-creator

Rules for automation CRUD from the group-chat commander. The commander does not call mutation tools and does not edit cloud/autotasks files directly. It emits one or more top-level ... containers in its final text; the bus parses and applies them after the turn.

Orkas-AI/Orkas · 5 tokens

monorepo-management

Master monorepo management with Turborepo, Nx, and pnpm workspaces to build efficient, scalable multi-package repositories with optimized builds and dependency management. Use when setting up monorepos, optimizing builds, or managing shared dependencies.

wshobson/agents · 54 tokens