prefer-second-monitor

prefer-second-monitor is a skill for Codex from AkshitIreddy/agent-skills. It costs 19 tokens per session (297 once invoked), scanned A, original, MIT.

A Windows window-placement rule that prefers putting task-owned application windows on a second monitor when one is available. It checks the display layout and keeps windows on the main screen when task constraints require it.

In plain words
What is it for?
Use it when launching or testing applications that should appear on a selected secondary display, including setups with mixed display sizes or orientations.
Why use it?
It reduces clutter on the main display while keeping user-owned windows untouched. It also avoids assuming that every computer has a second monitor.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it when launching or testing applications that should appear on a selected secondary display, including setups with mixed display sizes or orientations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/akshitireddy/agent-skills/prefer-second-monitor
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 AkshitIreddy/agent-skills --skill prefer-second-monitor
Clone the repo
git clone --depth 1 https://github.com/AkshitIreddy/agent-skills

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 prefer-second-monitor

README.md
[![agentmods](https://agentmods.dev/badge/skills/akshitireddy/agent-skills/prefer-second-monitor/github.svg)](https://agentmods.dev/skills/akshitireddy/agent-skills/prefer-second-monitor)
Your own site
<a href="https://agentmods.dev/skills/akshitireddy/agent-skills/prefer-second-monitor"><img src="https://agentmods.dev/badge/skills/akshitireddy/agent-skills/prefer-second-monitor/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 prefer-second-monitor

Your own site · 80×15
<a href="https://agentmods.dev/skills/akshitireddy/agent-skills/prefer-second-monitor"><img src="https://agentmods.dev/badge/skills/akshitireddy/agent-skills/prefer-second-monitor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 297 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00019 $0.00297
Opus 5.5 $0.00008 $0.00119
Sonnet 5.5 $0.00004 $0.00059
Haiku 4.5 $0.00002 $0.00030

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

Security

Grade A, and why

prefer-second-monitor scanned grade A with 0 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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/place_process_windows.ps1), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/prefer-second-monitor/SKILL.md · 30 lines

What it actually says

Prefer a secondary display

Use the application's own monitor or window-position option when possible. Inspect current display topology; prefer a non-primary display, or the display the user named. Single-monitor systems use the available screen without a pause.

If needed, use the placement helper on Windows with the exact process ID launched for this task. Establish ownership from the launch record and current process identity before using -Apply. Run without -Apply first to inspect the proposed display and window handles. Pass -DeviceName explicitly when a particular display is required; its default is the first non-primary screen sorted by device name.

The helper preserves size and z-order and requests no activation. It positions windows relative to the working area's origin but does not guarantee DPI-aware fitting, centering, or containment of oversized windows. Inspect the actual result, especially with mixed DPI, portrait displays, or negative coordinates. A zero window_count means no window was placed, regardless of the status label.

Keep a window on the primary screen when capture, input, fullscreen, a modal parent, or tool limitations make secondary placement unreliable. Preserve unrelated user windows and all display settings. Move only task-owned windows. Headless processes have no placement requirement; placement itself is not evidence that the application works.

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. 1mo ago First seen · 30 lines · 19 tokens per session scan A e85acffff803

Subscribe to this mod's changes

prefer-second-monitor is a skill published in the GitHub repository AkshitIreddy/agent-skills (1 stars, last pushed 1mo ago), licensed MIT. It adds 19 tokens to every session and 297 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-15.