Run Close Pack logo

Run Close Pack

Community
Motaghi
run-close-pack

Close a run whose output reaches an end user, a store page, or a public post: freeze the tested tip, run the decisive suite and battery under one resource contract, hand replay and serve rehearsal on the tested tip, docs commit last, finalize once on the close sha, then assemble the public pack. Reads a per-project profile (see profiles/example.md); the skill body names no project, host, provider, or model. Use when a build's last feature lane has a verdict and anything public follows, or for a text-only public output.

Overview

PublisherMotaghi
Repositorymimir-skills
Skill namerun-close-pack
Stars
51
Forks
0
Bundled files
11
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 11 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by Motaghi on GitHub. Read the source before you install it.

Installation

Install the Run Close Pack AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/Motaghi/mimir-skills/tree/main/skills/run-close-pack
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Motaghi/mimir-skills.git /tmp/mimir-skills
mkdir -p .claude/skills
cp -r /tmp/mimir-skills/skills/run-close-pack .claude/skills/run-close-pack
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Run Close Pack in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Run Close Pack on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Run Close Pack is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

run-close-pack

Authority order

The user's current instructions, the project's own rules, and the accepted kickoff outrank this skill. Hard stops and no-retry rules win over completion pressure.

This skill picks no model, provider or agent and dispatches nothing itself. It does not push, upload, submit to a store or publish on its own say-so: each of those is handed back to the orchestrating session as a request, and anything public waits for the owner's go.

Shared base

Read the section "Shared base: capacity and evidence" of the parallel-run-control-plane skill before step 1, even on a single-lane run. Its rules on ranked fallbacks, pause-and-post, saved artifacts over channel lines, and the owner-unreachable default apply here unchanged.

Profile

Your own profile is run-close-pack.profile.md in the project root; if it is not there, ask the user where it is. Read it. profiles/example.md lists every field with a worked example for an invented project; copy it into your project and fill in your own values. Which fields are required depends on the path. The text-only path (see Trigger) needs only: channel path, channel retention, texts folder, text pipeline steps, previous public version, durable evidence store path and close docs folder. The full path needs every field. A missing required field stops the close before step 1 and is posted on the channel. A blank value counts as missing and stops the close the same way. Fields the chosen path does not use are not required.

Trigger

Loads once the last feature lane has a verdict, for any run whose output reaches an end user, a store page, or a public post. Text-only public output (no build) takes the lightweight path: steps 1, 6 and 7, then a final channel line that names the close sha and the evidence store path, skipping steps 2 through 5, 8 and 9; every skipped step is posted as skipped.

Close sequence

Each step is gated on the one before. Steps 1 to 6 run on the tested tip and test code. Step 7 is the only commit. Step 8 rebuilds and rehashes; any failure at this step, including a determinism failure, is a stop that returns to step 1. Any product-code fix at any step restarts the close at step 1, and channel lines from then on cite the new sha.

  1. Freeze the tested tip. Post the sha on the channel with the channel-append helper. Every line below cites it until step 7.
  2. Decisive suite in its own isolated working copy on the tested tip. State the expected reds against the merge order first, one per line as <spec-basename> :<line>; once the classified list is written, the parallel-run-control-plane skill's <control-plane-dir>/scripts/red-set-reconcile.sh <expected-reds-file> <classified-list> compares the two (exit 0 clean, 1 drift, 2 cannot run) and any drift is posted on the channel. Load-class failures (timeouts, layout assertions) get one lone quiet rerun, one worker, started only when the 1-minute load average is below the profile's load threshold; a rerun started while the load average is at or above the threshold is void and is repeated once it drops below it. Write the classified list from references/classified-list-template.md into the durable evidence store; the channel line names that file. A stale pin (category D) is a lane defect, never recorded as a flake: the lane that moved the value fixes the pin, and the suite re-runs on a new tested tip. Verdict: no new regression, or a named regression that stops the close.
  3. Battery in a clean checkout beside the suite under the resource contract: non-browser chunks (type check, lint, unit tests, build) under the profile's worker cap; every step that opens a browser or binds the suite's ports waits for the suite to end.
  4. Hand replay of the tested-tip build at shipped defaults through a static file server, never the dev server: the first ten minutes of use plus every route this run touched. An app root that fails to render is always investigated, never retried past. This is a gate.
  5. Serve rehearsal on a scratch port with the real upload bundle shape; the scratch port is distinct from the port half of the profile's serve port and folder field, and that port serves only the closed version. Run <skill-dir>/scripts/artifact-shape-check.sh <upload bundle> <source snapshot> <entry file> <manifest file>, with the entry file and manifest file names taken from the profile's artifact shape field; exit 0 passes, exit 1 (wrong shape) and exit 2 (cannot run) are both stops that return to step 1.
  6. Public texts, written in the profile's texts folder, through the profile's text pipeline steps in order, cumulative since the previous public version, fix lines still open pasted in and re-linted before assembly. Each step's stamp goes in the sweep record.
  7. Close docs commit: docs only, on top of the tested tip. Run <skill-dir>/scripts/close-record-lint.sh <close docs folder> <skill-dir>/scripts/banned-words.txt on the working copy, where the close docs folder is the profile field naming the repository folder the docs commit touches; a hit (draft marker, {{...}} or <...> placeholder, Status: DRAFT, or a banned word) means the commit is a draft and does not merge. The shipped banned-words.txt is a starter list; replace it with your own house style. The docs commit says "close sha: this commit" and points to the evidence store for hashes. Any fix found after this point starts a new tested tip at step 1; the prior docs commit is superseded by a new one, never amended.
  8. Finalize once on the close sha: type check, build with the profile's build command, identity string per the profile, both archives named per the profile with sha256 sidecars, every pre-final pair (the last two texts in the pipeline order, run once more together after every other edit is in) deleted, determinism check, roll onto the profile's serve port and folder, confirm the served identity. Final channel line names the close sha, both files with hashes, the identity, and the evidence store path.
  9. Pack assembly into the profile's pack folder. The pack owners field says who assembles which part. Assembly starts from the close sha and the upload bundle hash and does not start while any unfilled marker (any placeholder or draft marker the lint in step 7 catches) remains in the docs.

Evidence fields

On both paths, every decision the close makes (a fork taken, a gate passed or failed, a revert, a blocker raised) is recorded in the channel line, classified list or sweep record that step already writes, with six one-line fields: ts, phase (the close step), decision, why (plain words), evidence, result. Evidence is a pointer that resolves, such as a sha, a path, file:line or a saved output, never a paragraph. Result is the observed outcome, such as tests green, reverted, open or inconclusive. An entry with no resolving pointer is marked unverified.

A wrong entry is superseded by a later entry that points back to it. No past entry is edited or deleted. This adds no log file, script or ledger, and the same six field names appear in the build-team report. The fields record the trail; the step gates still decide pass or stop.

Rules from past wrongs

Never approve an early docs merge to save minutes. The release archive is whichever file the store consumes, not the source snapshot. Ceilings derive from measured step durations, not habit. The full classified list is saved, never summarised into the record.

Checks

<skill-dir>/scripts/close-record-lint.sh, <skill-dir>/scripts/artifact-shape-check.sh, tests under <skill-dir>/scripts/tests/run.sh; red-set-reconcile.sh lives in the parallel-run-control-plane skill's scripts/ (<control-plane-dir>). <skill-dir> and <control-plane-dir> are the folders that hold each skill's SKILL.md, resolved to absolute paths from where the skills are installed; run the helpers by those absolute paths. POSIX (Portable Operating System Interface) shell, no provider or host calls.

Why these rules

Replaying the build by hand through a static file server finds defects that automated suites miss. Two-gate lifts with observed evidence catch drafts and mislabelled archives before they ship. Passing the close sha and the bundle hash into pack assembly makes the pack repeatable.

Provenance

The evidence-fields section adapts the decision-trail format of the show-me-your-work skill in pstack by Lauren Tan (MIT). Credit and licence text are in references/upstream-notice.md and in the repository's CREDITS.md.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Run Close Pack AI skill do?

Close a run whose output reaches an end user, a store page, or a public post: freeze the tested tip, run the decisive suite and battery under one resource contract, hand replay and serve rehearsal on the tested tip, docs commit last, finalize once on the close sha, then assemble the public pack. Reads a per-project profile (see profiles/example.md); the skill body names no project, host, provider, or model. Use when a build's last feature lane has a verdict and anything public follows, or for a text-only public output.

Why use Run Close Pack on TypingMind?

Because you install it once and use it with any model. Run Close Pack is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Run Close Pack in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Motaghi/mimir-skills/tree/main/skills/run-close-pack. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Run Close Pack?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Run Close Pack?

As many as you like. As long as a model supports skills, you can use Run Close Pack with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Run Close Pack AI skill free?

Yes. It is published on GitHub by Motaghi under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇