Skip to content
Back to skills

Harness Publish

ASecurity

Publish this repo's harness into the mvp-plugin (the mvp-harness submodule) — copy the shippable skills and agents, run the provider-neutrality and leak audits, regenerate the shipped router and Codex sidecars, rebuild the residue template, validate both manifests, bump the version. Root-only; never runs in adopted repos.

  • 30 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 8, 2026
ai-agentspythonbashgit

Works with

  • claude code
  • cli

Security analysis

A100/100

Scanned November 8, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill harness-publish --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Harness Publish?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Harness Publish
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-harness-publish/badge)](https://www.skillsdirectory.com/skills/majiayu000-harness-publish)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: harness-publish
description: Publish this repo's harness into the mvp-plugin (the mvp-harness submodule) — copy the shippable skills and agents, run the provider-neutrality and leak audits, regenerate the shipped router and Codex sidecars, rebuild the residue template, validate both manifests, bump the version. Root-only; never runs in adopted repos.
disable-model-invocation: true
---

# harness-publish

This repo is the workshop; `mvp-harness/plugins/mvp-plugin` is the one plugin both
Claude Code and Codex install. Publishing is a manual, user-run step.

## Steps

1. **Prerequisites and scope.** Confirm this is the source workshop and the
   mvp-harness submodule is initialized with `publish-plugin.sh` available. If
   absent, report the missing prerequisite; do not pretend publication ran.
   Read the current publish manifest/help. Confirm publication and commit
   authority separately; a no-commit instruction remains binding.

   For the `.repo-context/` layout, verify the plugin-owned template, installer,
   updater, and doctor use that shared location and preserve the glossary. See
   `docs/usage/mvp-plugin.md` for the migration boundary; publishing skills alone
   does not update the adoption contract.

   **Preflight here.** Required root gates must pass; the publish script may
   require committed source unless an explicitly authorized dirty-tree mode applies:

   ```bash
   python3 .claude/scripts/skill-catalog.py --check     # no failures; assess warnings
   git status --short                                     # clean (or know why not)
   ```

2. **Dry run.** Shows the gates, the provider-neutrality audit on the source,
   and what rsync would change — writes nothing:

   ```bash
   bash mvp-harness/plugins/mvp-plugin/scripts/publish-plugin.sh --check
   ```

   Fix anything it reports **in this repo** (never in the plugin's `skills/` —
   they are overwritten on publish), re-run the catalog check, return here.

3. **Publish.** Pick the bump from what changed (patch: text/fixes; minor: new
   or removed skills, behaviour changes; major: adopt/update contract change):

   ```bash
   bash mvp-harness/plugins/mvp-plugin/scripts/publish-plugin.sh --bump patch --smoke
   ```

   `--smoke` installs the result into a throwaway `$HOME` with `codex` and
   asserts discovery; drop it if `codex` is not on PATH. `--allow-dirty` only
   when the user has explicitly accepted publishing from an uncommitted tree.

4. **Review the plugin repo** (a separate repository on its own branch).
   Commit only when commit authority was granted:

   ```bash
   git -C mvp-harness status --short
   git -C mvp-harness diff --stat
   ```

   Stage explicit paths, commit with a message that names the plugin version
   and the source commit from `plugins/mvp-plugin/publish-info.txt`. Do not
   push; the user pushes and decides the branch/merge.

5. **Bump the submodule pointer and commit only when authorized.** Otherwise
   report the prepared plugin state and proposed pointer update:

   ```bash
   git add mvp-harness && git commit -m "chore(plugin): mvp-plugin vX.Y.Z (source <sha>)"
   ```

   Give consumers the update command verified against their current local CLI
   help, then start a new session to verify discovery. Do not assume a historical
   marketplace command is supported.

## What the script enforces (so you know what a failure means)

| Failure line | Cause | Fix |
|---|---|---|
| `uncommitted changes` | source or plugin tree dirty | commit, or `--allow-dirty` with user consent |
| `NOT NEUTRAL <file>:<line>` | a shipped line names a Claude-only tool / env var / `.claude/skills/…` path without a "Claude Code: … / Codex: …" two-branch | reword in this repo; allowlist only with a reason in `publish-manifest.txt` (`neutral` / `skip`) |
| `expect skills N, found M` | the shipped set changed | if intended, edit `expect` in `publish-manifest.txt` |
| `LEAK (…)` | project/machine string in a shipped file | genericise the source (`scripts/lib/genericize.sh` lists the sweep) |
| `skill-catalog --check failed` | dead slash/path ref or sidecar drift in the shipped set | fix in this repo; plugin-owned skills (`adopt/update/doctor/harness-adopt`) are fixed in the plugin |
| `claude plugin validate failed` | manifest schema | run it by hand for the detail |

Never edit `mvp-harness/plugins/mvp-plugin/skills/` or `agents/` by hand — they
are build output of this repo. Plugin-owned skills and `scripts/` are edited in
the plugin.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.