release-preflight-setup

release-preflight-setup is a skill for Claude Code, Codex from monoes/monomind. It costs 49 tokens per session (2,767 once invoked), scanned A, original, Apache-2.0.

Instructions for checking tools, accounts, permissions, versions, and repository state before a release. This preliminary check, called a preflight, identifies missing requirements before setup or publishing begins.

In plain words
What is it for?
Use it to verify Node.js, package managers, Git, GitHub access, npm publishing access, and the release source worktree.
Why use it?
It catches unavailable tools, incorrect npm access, and release-environment problems before they interrupt the process.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths.

Good fit Use it to verify Node.js, package managers, Git, GitHub access, npm publishing access, and the release source worktree.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/monoes/monomind/release-preflight-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 monoes/monomind --skill release-preflight-setup
Clone the repo
git clone --depth 1 https://github.com/monoes/monomind

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 release-preflight-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/monoes/monomind/release-preflight-setup/github.svg)](https://agentmods.dev/skills/monoes/monomind/release-preflight-setup)
Your own site
<a href="https://agentmods.dev/skills/monoes/monomind/release-preflight-setup"><img src="https://agentmods.dev/badge/skills/monoes/monomind/release-preflight-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 release-preflight-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/monoes/monomind/release-preflight-setup"><img src="https://agentmods.dev/badge/skills/monoes/monomind/release-preflight-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,767 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.00049 $0.02767
Opus 5.5 $0.00020 $0.01107
Sonnet 5.5 $0.00010 $0.00553
Haiku 4.5 $0.00005 $0.00277

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

Security

Grade A, and why

release-preflight-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 today.

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.

1. TOOLS: `node --version` >= 20; pnpm, npm, git, gh, curl on PATH; `pnpm --version` works.
.monomind/org-skills/release-preflight-setup/SKILL.md · 38 lines

How it starts

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

PREFLIGHT and SETUP (publisher)

You run these because you alone have npm, GitHub and git credentials. Read-only except where SETUP says otherwise. Commands from ORG_ROOT with the core env prefix; never print a token (npm token list is forbidden).

PREFLIGHT task

Run ALL groups, reply with a table (group, command, exit, PASS|WARN|MISSING, one line) and write it to ORG_ROOT/.monomind/orgs/release/reports/preflight-<UTC ts>/PREFLIGHT.md. The first line notes a task-named VERSION that differs (VERSION below).

  1. TOOLS: node --version >= 20; pnpm, npm, git, gh, curl on PATH; pnpm --version works.
  2. NPM: npm ping. The release workflow publishes, not this machine (#797): gh secret list --env release --repo monoes/monomind lists NPM_TOKEN (absent: MISSING, remedy "the operator adds NPM_TOKEN to the release environment"; never ask for or handle the token), and gh api repos/monoes/monomind/environments/release answers. npm whoami is nokhodian (needed only for the dist-tag repair in PUBLISH; not logged in is a WARNING). For monomind, @monoes/monomindcli and every sub-package that might be bumped, npm access list collaborators <pkg> nokhodian --json shows read-write.
  3. GITHUB: gh auth status logged in with scopes including repo and workflow; gh api repos/monoes/monomind --jq .permissions push:true; gh api repos/monoes/monomind/branches/main/protection 404 (unprotected; record expectExit 1, "404 = branch not protected") or allows the owner to push; gh api repos/monoes/monomind/rulesets blocks no direct push or tag on main; gh run list --workflow pages.yml --limit 1 works.
  4. GIT: git -C ORG_ROOT ls-remote origin HEAD; git -C ORG_ROOT push --dry-run origin origin/main:refs/heads/main (proves push auth, pushes nothing); git config --global --get user.name / user.email are nokhodian / [email protected]; git -C ORG_ROOT config --local --get user.name prints nothing (expectExit 1, "unset = no repo-local identity"). AUTH ON LINUX (#854, groups 3 and 4): you run inside the authority mask, which hides the keyring and the user runtime dir, so a keyring gh login fails here although it works in the operator's terminal (gh auth status not logged in, push "could not read Username"). Never give gh auth login as the remedy there, and never ask for a token. Check presence only (test -n "$GH_TOKEN" && echo set; never print it). Put this remedy verbatim in the table and your result: "stop this run; in your own terminal run gh auth setup-git once and export GH_TOKEN="$(gh auth token)", then start org run release again from that shell (answering a question cannot fix it: a running org never gets a new variable)". A set token that lacks a scope: the operator runs gh auth refresh -s workflow there first, then the same export and restart.
  5. LOCAL STATE: ORG_ROOT is on main with no tracked changes (symbolic-ref --short HEAD, status --porcelain --untracked-files=no; otherwise only a WARNING: LOCAL MAIN SYNC needs it); the target (the brief names a branch, tag, SHA or worktree path; none = local main; uncommitted work is not included) resolves to a SHA; no other org run release process for this clone is running (ps -eo pid,args | grep '[o]rg run release'; this run's own does not count).
  6. AGENT TRIALS: claude auth status loggedIn:true; then MONOMIND_NO_AUTO_INSTALL=1 monomind agent models --runtime claude --json (with the env prefix): exit 0, supported: true, nonempty models, no error. It loads the pinned SDK and starts its Claude executable, sends no prompt, installs nothing; a package directory existing proves nothing (#592). Failure: MISSING with the exact error and remedy monomind deps install, which the operator runs outside any org role; org roles never install into the read-only dependency cache or clear role markers. Run the installed monomind, never through npx: its cache is read-only to push-level roles (EROFS ~/.npm/_npx), which says nothing about the SDK. When the run task calls the probe optional, only whether its failure blocks changes: both commands still run, and the table has an agent models row and a deps preflight row, each with its exit code and output line (2.29.5 ran neither check to a result, #789). Also compare the pin with the cache (#781, #789): node scripts/check-release-deps.mjs --preflight (from ORG_ROOT) checks that the CLI's pinned @anthropic-ai/claude-agent-sdk has a complete copy in ~/.monomind/deps/@anthropic-ai+claude-agent-sdk@<pin> ($MONOMIND_HOME/deps when set) and that scripts/generate-claude-trees.mjs --probe runs here. A missing SDK is MISSING with remedy monomind deps install run by the operator OUTSIDE any org role (it refuses inside one, MONOMIND_ORG_ROLE); a failing probe is MISSING with its message (BUILD and PACK need the generator). Then read org.allowDrillSigning in ~/.monomind/operator-settings.json (and any live drill-grant): false or absent is a WARNING, not MISSING, recorded as allowDrillSigning=off: live orgrt drills that need org sign are SKIPPED so REPORT.md says they were not run; the operator can enable it or run monomind org drill-grant --org release --role runtime-qa --ttl 120 (#699, #720). No SETUP and no live Claude trial (RUNTIME QA's none, stdio and timeout checks stay mandatory, never SKIP) before this passes.
  7. RESOURCES: free disk on /home >= 20 GB; df /tmp use < 50%; $HOME/mrg-tmp and $HOME/monomind-release writable; mkdir -p /var/tmp/mrg-tmp (the TMPDIR, outside $HOME, #798) succeeds and it is writable (a Linux sandbox cannot create it: the operator does, once). No Chromium (which chromium google-chrome) is only a WARNING (browse smoke becomes SKIP).
  8. VERSION: resolve it as below and record it. Anything MISSING in 1-4, 6, or insufficient disk/tmp: say so plainly in the result; the captain asks the human. Never push, change config or touch SRC.

Read the full file on GitHub · 38 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. today Changed · +1 lines e03968c402a6
  2. 14d ago Changed 2f2e3af89c48
  3. 16d ago Changed · +4 lines · +12 tokens per session ac8ed46871e5
  4. 29d ago First seen · 33 lines · 37 tokens per session scan A 53f2d68d29c9

Subscribe to this mod's changes

release-preflight-setup is a skill published in the GitHub repository monoes/monomind (24 stars, last pushed yesterday), licensed Apache-2.0. It adds 49 tokens to every session and 2,767 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-11-05.

Related

release-preflight-setup compared with skills from other repositories

release-preflight-setup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
release-preflight-setupmonoes/monomindSkill24yesterdayApache-2.0A49Claude Code, Codex
harness-secretsruvnet/metaharnessSkill769todayMITA0Claude Code
vercel-deploybytedance/deer-flowSkill86ktodayMITA69Claude Code, Codex
terraform-skillagentscope-ai/QwenPawSkill38ktodayApache-2.0A62Claude Code, Codex
terraform-cli-setupagentscope-ai/QwenPawSkill38ktodayApache-2.0A58Claude Code, Codex
alicloud_cliagentscope-ai/QwenPawSkill38ktodayApache-2.0A45Claude Code, Codex
publish-siteandrooAGI/starnetSkill2.0kyesterdayMITA50Claude Code, Codex