publish

publish is a skill for Claude Code from eric-cielo/moflo. It costs 17 tokens per session (4,729 once invoked), scanned A, original, MIT.

A release command for a JavaScript package published through npm, the registry used to distribute JavaScript software. It updates the version, builds and checks the project, publishes it, and installs the result locally.

In plain words
What is it for?
Use it to make patch, minor, major, or release-candidate versions, run a full pre-release check, publish to npm, and refresh the local installation.
Why use it?
It groups the repeated release steps into one controlled process, reducing the chance of publishing an unbuilt or untested version.

Skill for Claude Code

Written for Claude Code: arguments in frontmatter. Also seen: reads .claude/ paths.

Good fit Use it to make patch, minor, major, or release-candidate versions, run a full pre-release check, publish to npm, and refresh the local installation.

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

Made for: Claude Code.

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 publish

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/eric-cielo/moflo/publish"><img src="https://agentmods.dev/badge/skills/eric-cielo/moflo/publish.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,729 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 8 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 250
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 258
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 261
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 254
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 278
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • medium MCP Rug Pull · line 99
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 104
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium Rogue Agent · line 252
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
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.00017 $0.04729
Opus 5.5 $0.00007 $0.01892
Sonnet 5.5 $0.00003 $0.00946
Haiku 4.5 $0.00002 $0.00473

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

Security

Grade A, and why

publish 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 3mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (fingerprint.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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

const { execFileSync } = require("node:child_process");
.claude/skills/publish/SKILL.md · 367 lines

How it starts

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

/publish - Version Bump, Build, Test & Publish

Automated release pipeline for moflo. Bumps version, commits, builds, tests, runs doctor, publishes to npm, and installs the new version locally.

Arguments: $ARGUMENTS

Usage

/publish              # patch bump, default mode (skips CI-covered gates)
/publish minor        # minor bump (4.8.56 → 4.9.0)
/publish major        # major bump (4.8.56 → 5.0.0)
/publish -rc          # patch RC bump (4.8.56 → 4.8.57-rc.1)
/publish minor -rc    # minor RC bump (4.8.56 → 4.9.0-rc.1)
/publish --check      # full pre-flight (lint + test + smoke + everything)
/publish -ch          # short form of --check
/publish minor -ch    # combine: full pre-flight on a minor bump

--check / -ch flag (presence-only)

Default (flag absent): runs build + doctor + trigger-based manual checks only. Skips local lint/test/smoke because lint+test are covered by ci.yml on every PR + push to main, and cross-platform smoke is dispatched as part of this skill (Step 8.5 below) — the release-smoke.yml workflow runs the full 3-OS matrix on the exact commit about to be published.

With --check or -ch (any presence): runs the full pre-flight from pre-publish-rules.md — lint, build, test, doctor (strict), local clean smoke, local populated smoke, and a forced full walk of every manual gate. Use this for publishes that didn't go through a green PR, risky releases, or when you want belt-and-suspenders on the local box in addition to the CI matrix.

The flag is presence-only. --check and -ch both set it to true. There is no --check=true / --check=false syntax — absence means false.


Step-by-Step Procedure

Step 0: Parse Arguments

  • Default bump type is patch if not specified
  • -rc flag: produce a release candidate
  • --check or -ch (presence): set CHECK_MODE=true. Otherwise CHECK_MODE=false.
  • Determine the new version string:
    • Without -rc: Use npm version <patch|minor|major> --no-git-tag-version
    • With -rc: Calculate manually:
      • If current version is already an RC of the same bump level (e.g., 4.8.57-rc.3), increment the RC number (→ 4.8.57-rc.4)
      • Otherwise, bump the base version and append -rc.1 (e.g., 4.8.56 → 4.8.57-rc.1)
      • Write with: npm version <new-version> --no-git-tag-version

Read the full file on GitHub · 367 lines

Files

What ships with it

1 file 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. 3mo ago First seen · 367 lines · 17 tokens per session scan A 87a6adcb796e

Subscribe to this mod's changes

publish is a skill published in the GitHub repository eric-cielo/moflo (19 stars, last pushed 13d ago), licensed MIT. It adds 17 tokens to every session and 4,729 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

publish compared with skills from other repositories

publish next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
publisheric-cielo/mofloSkill1913d agoMITA17Claude Code
releaseSienkLogic/plan-build-runSkill188mo agoMITA14Claude Code
matilha-gatherdanilods/matilha-skillsSkill36mo agoMITA44Claude Code
hermes-mr-watchLu1sDV/skillsmdSkill2todaynoneB54Codex
merging-to-maindbc-oduffy/coordinator-claudeSkill5yesterdaynoneA20Claude Code
finishing-a-development-branchdbc-oduffy/coordinator-claudeSkill5yesterdaynoneA20Claude Code
version-bumpthedotmack/claude-memSkill121ktodayApache-2.0A79Claude Code