human-run

human-run is a skill for Claude Code, Codex from yunsii/wezdeck. It costs 123 tokens per session (1,640 once invoked), scanned A, original, MIT.

A controlled handoff procedure for commands that a human must run outside the coding agent’s environment. It prepares and proposes the command instead of executing it or asking the user to paste a multi-line script into chat.

In plain words
What is it for?
Use it to prepare approved shell commands for tasks involving a real terminal, graphical interface, host secrets, or elevated permissions, then continue the follow-up work after the human runs them.
Why use it?
It prevents the agent from running commands that need a real terminal, private host access, approval, or permissions beyond its sandbox. It also avoids confusing human-run commands with work the agent can perform itself.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to prepare approved shell commands for tasks involving a real terminal, graphical interface, host secrets, or elevated permissions, then continue the follow-up work after the human runs them.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yunsii/wezdeck/human-run
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 yunsii/wezdeck --skill human-run
Clone the repo
git clone --depth 1 https://github.com/yunsii/wezdeck

Made for: Claude Code, 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 human-run

README.md
[![agentmods](https://agentmods.dev/badge/skills/yunsii/wezdeck/human-run/github.svg)](https://agentmods.dev/skills/yunsii/wezdeck/human-run)
Your own site
<a href="https://agentmods.dev/skills/yunsii/wezdeck/human-run"><img src="https://agentmods.dev/badge/skills/yunsii/wezdeck/human-run/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 human-run

Your own site · 80×15
<a href="https://agentmods.dev/skills/yunsii/wezdeck/human-run"><img src="https://agentmods.dev/badge/skills/yunsii/wezdeck/human-run.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 123 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,640 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.00123 $0.01640
Opus 5.5 $0.00049 $0.00656
Sonnet 5.5 $0.00025 $0.00328
Haiku 4.5 $0.00012 $0.00164

Measured 19d ago against content hash 2a4398d74e57, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

human-run 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 19d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (ensure-env.sh, lib/resolve-wd-run.sh, propose.sh), 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.

Makes network callslowCapability

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

while ! curl -fsS "$health"; do sleep 5; done
skills/human-run/SKILL.md · 144 lines

How it starts

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

human-run (platform skill — single source)

Who runs the script: the human, via shell command x.
Who prepares it: the agent, via this skill’s ensure-env.sh + propose.sh.
Never paste a multi-line script into chat as the execution channel.
Never wrap agent self-exec through this skill — tools already run those.

Runtime CLI lives in the same wezdeck tree as this skill: scripts/runtime/cli/{wd-run,x} + agent-run-lib.sh.
Docs: docs/agent-run.md. Profile: agent-profiles → reporting.md.

Who runs what

Actor Duty
Human In a real terminal: x (peek → confirm → run in recorded cwd)
Any agent Load skill → ensure-env → propose.sh → tell user only x
Agent tools Self-runnable work — do not call this skill

When to load (mandatory)

Load whenever any of these is true:

  • You are about to ask the human to run / paste / copy a shell script or multi-line command
  • The command needs a real TTY, GUI, host secret the agent must not hold, or privileges outside the agent sandbox
  • The human must read and approve the exact script before it runs

Do not load when you can run it with tools, or when the snippet is illustrative only (mark 勿粘贴执行).

Resolve TOOL_HOME

1. directory of this SKILL.md (follow symlinks; ~/.agents/skills/human-run → …)
2. $HUMAN_RUN_HOME if set
3. else fail — re-run link-platform-skills.sh from a wezdeck that has human-run

The source checkout may be declared explicitly with `WEZDECK_REPO=/absolute/path`.
Do not use the logical `~/.agents/skills/human-run` path to derive the repo root.

Environment check + init (mandatory first step)

Do not hand-roll path guessing in the chat. Always:

TOOL_HOME="$(readlink -f "${HUMAN_RUN_HOME:-$HOME/.agents/skills/human-run}")"
"$TOOL_HOME/ensure-env.sh"

ensure-env.sh is idempotent. It:

  1. Verifies this skill’s wezdeck tree has wd-run / x / agent-run-lib.sh
  2. If $WEZDECK_REPO/scripts/runtime/cli lacks them, symlinks from the skill tree (so wezdeck-env PATH and human x work even when that clone’s HEAD is behind)
  3. Writes/updates ~/.wezterm-x/agent-tools.env with a working wd_run=
  4. Smokes the binary; prints the absolute wd-run path on stdout

Read the full file on GitHub · 144 lines

Files

What ships with it

3 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. 19d ago Changed 2a4398d74e57
  2. 20d ago Changed · +3 lines 79c7d5a13560
  3. 1mo ago First seen · 141 lines · 123 tokens per session scan A e07f028d17b5

Subscribe to this mod's changes

human-run is a skill published in the GitHub repository yunsii/wezdeck (5 stars, last pushed yesterday), licensed MIT. It adds 123 tokens to every session and 1,640 once invoked, about $0.0005 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-13.