headsup-new-tab-shortcut

headsup-new-tab-shortcut is a skill for Codex from wasulajr/headsup. It costs 24 tokens per session (374 once invoked), scanned D, original, MIT.

A setup and maintenance guide for a macOS shortcut that opens a new Codex tab in a terminal such as iTerm2 or WezTerm.

In plain words
What is it for?
Opening new terminal tabs for Codex, selecting launch and approval modes, configuring the shortcut, verifying its installation, and removing it.
Why use it?
It explains how to install, configure, check, and remove the shortcut, including how it behaves when the terminal is already open.

Skill for Codex

Written for Codex: reads ~/.codex or $CODEX_HOME. Also seen: mentions Codex.

Good fit Opening new terminal tabs for Codex, selecting launch and approval modes, configuring the shortcut, verifying its installation, and removing it.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wasulajr/headsup/headsup-new-tab-shortcut
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 wasulajr/headsup --skill headsup-new-tab-shortcut
Clone the repo
git clone --depth 1 https://github.com/wasulajr/headsup

Made for: Codex.

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 headsup-new-tab-shortcut

README.md
[![agentmods](https://agentmods.dev/badge/skills/wasulajr/headsup/headsup-new-tab-shortcut/github.svg)](https://agentmods.dev/skills/wasulajr/headsup/headsup-new-tab-shortcut)
Your own site
<a href="https://agentmods.dev/skills/wasulajr/headsup/headsup-new-tab-shortcut"><img src="https://agentmods.dev/badge/skills/wasulajr/headsup/headsup-new-tab-shortcut/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 headsup-new-tab-shortcut

Your own site · 80×15
<a href="https://agentmods.dev/skills/wasulajr/headsup/headsup-new-tab-shortcut"><img src="https://agentmods.dev/badge/skills/wasulajr/headsup/headsup-new-tab-shortcut.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 374 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 2 findings. 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.00024 $0.00374
Opus 5 $0.00012 $0.00187
Sonnet 5 $0.00005 $0.00075
Haiku 4.5 $0.00002 $0.00037

Measured 11d ago against content hash 49cb82fbb2b5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade D, and why

headsup-new-tab-shortcut scanned grade D with 2 findings 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 11d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

cd "$(cat ~/.codex/hooks/.headsup-repo)"

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf "$HOME/Library/Services/New Codex Tab.workflow"
codex-skills/headsup-new-tab-shortcut/SKILL.md · 35 lines

What it actually says

New Codex Tab Quick Action

The Quick Action bundle is installed by setup-codex.sh:

cd "$(cat ~/.codex/hooks/.headsup-repo)"
./setup-codex.sh

It installs New Codex Tab.workflow into ~/Library/Services/.

Launch mode is configurable. The workflow reads NEWTAB_CODEX_ARGS from ~/.codex/hooks/headsup-status.conf and appends it to codex. Empty (the default) is normal interactive mode; set it to start every shortcut-launched session in a given mode (e.g. --full-auto, --ask-for-approval never, or --dangerously-bypass-approvals-and-sandbox). Set it with /headsup-config codextabs (off / full-auto / yolo / never / approval <policy> / raw args), or by hand.

Cold start vs warm start. When iTerm2 is already running, the action opens one new tab. When iTerm2 is not running, activate makes it spawn its own launch window asynchronously; the action detects this (System Events process check before activating), waits for that window, and reuses it, so exactly one window opens instead of two.

Verify:

ls "$HOME/Library/Services/New Codex Tab.workflow"

Remove the bundle if requested:

rm -rf "$HOME/Library/Services/New Codex Tab.workflow"
/System/Library/CoreServices/pbs -flush

Do not remove global Services hotkey preferences unless the user explicitly asks.

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 35 lines · 24 tokens per session scan D 49cb82fbb2b5

Subscribe to this mod's changes

headsup-new-tab-shortcut is a skill published in the GitHub repository wasulajr/headsup (1 stars, last pushed 24d ago), licensed MIT. It adds 24 tokens to every session and 374 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it D with 2 findings (reads agent configuration directories, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

i-have-adhd

Shape output for a reader with ADHD: lead with the next action, number multi-step work, restate state across turns, suppress tangents, give specific time estimates, make wins visible. Invoke with /i-have-adhd; stays on until "stop adhd mode".

ayghri/i-have-adhd · 62 tokens

mix-compression

Reduce mix output noise (5-15% token savings) by installing rtk filters that compress mix test/credo/dialyzer/compile output before it reaches Claude. Use when long mix output floods context.

oliver-kriska/claude-elixir-phoenix · 48 tokens

phx-mix-compression

Reduce mix output noise (5-15% token savings) by installing rtk filters that compress mix test/credo/dialyzer/compile output before it reaches Claude. Use when long mix output floods context.

oliver-kriska/claude-elixir-phoenix · 51 tokens

quick

Implement small Phoenix changes without planning — add validations, update routes, fix components, create migrations. Use for single-file edits under 50 lines.

oliver-kriska/claude-elixir-phoenix · 31 tokens

phx-freeze

Apply an advisory edit scope in this session. Use for read-only or directory-scoped work; no enforcement hook is installed.

oliver-kriska/claude-elixir-phoenix · 30 tokens

update-turbo

Update installed Turbo skills from the local repo with a dynamic changelog, conflict resolution for customized skills, and guided user experience. Use when the user asks to "update turbo", "update turbo skills", "reinstall turbo", or "upgrade turbo".

tobihagemann/turbo · 54 tokens