Skip to content
Skillpedia
General coding81k · #1652

harness-mint

What it does

This skill creates a new AI agent harness as its own folder, based on a template you choose. It is for people who want a fresh, separate agent project to start from.

When to use it

  • ✓When you want a new standalone agent harness from a template.
  • ✓When you want to see the plan before any files are created.
  • ✓When you need a fresh project for a new area, such as coding or support.

Skill link

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-metaharness/skills/harness-mint/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-metaharness/skills/harness-mint/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Create a new support agent harness from the support template, and show me the plan first.”

5 new skills a week. 1 minute to read.

How it works

The skill first prints the plan without touching the disk. Only when you confirm does it create the new folder outside the current project, using the template you chose.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

The one write-capable skill in the plugin. Every other skill is pure-read. This one calls metaharness new, which writes a new directory tree.

Safety (load-bearing)

  1. Dry-run by default. Without --confirm, the script prints what it would do and exits 0 without touching disk.
  2. Refuses project root. If --target resolves to the current working directory OR any path inside it, the script errors out with exit 2. Target must be an absolute path OUTSIDE the calling repo (default is a fresh /tmp/ruflo-mint-<ts>-<name>/ dir).
  3. Refuses existing target. Won't overwrite — must scaffold into a non-existent dir.
  4. Subprocess + 60s timeout. No library import, no in-process execution. The mint stays sandboxed from ruflo's runtime.

Algorithm

Implementation: scripts/mint.mjs.

  1. Validate --name, --template. Default --host to claude-code.
  2. Resolve --target (default: temp dir).
  3. Run safety checks (no project-root writes; target must not exist).
  4. Without --confirm: emit dry-run plan, exit 0.
  5. With --confirm: shell npx metaharness new <name> --template <id> --host <id> --target <abs> --yes.

Templates

minimal, vertical:coding, vertical:devops, vertical:support, vertical:legal, vertical:research, vertical:trading, vertical:health, vertical:education, vertical:sales, vertical:business, vertical:crm, vertical:marketing, vertical:advertising, vertical:ai, vertical:agentics, vertical:ruview, vertical:gaming, vertical:repo-maintainer, vertical:exotic.

Hosts

claude-code, codex, pi-dev, hermes, openclaw, rvm, copilot, opencode, github-actions.

Example dry-run

$ node scripts/mint.mjs --name my-harness --template vertical:coding --host claude-code
# harness-mint (dry-run)

- action: metaharness new
- name: my-harness
- template: vertical:coding
- host: claude-code
- target: /tmp/ruflo-mint-1718560000-my-harness
- confirm: false
- willWrite: false

Re-run with `--confirm` to actually scaffold.

Why dry-run by default

Ruflo's behavioral rules say "executing actions with care" — destructive or repo-touching actions need confirmation. The dry-run output makes the WHAT visible before the WHEN. A human sees target, decides, then adds --confirm if happy.

FAQ

Will it overwrite my files?

No. It refuses to write into an existing target and refuses to write inside the current project.

Which templates exist?

The source lists templates such as minimal, coding, devops, support, legal, research, trading, health, education and sales.

Where does the new project go?

By default it goes into a new folder in a temporary location, named with a timestamp and the agent name.

Details

Original description by the author

Scaffold a custom AI agent harness via `metaharness new {name} --template {id} --host {id}`. Use when the user wants a new standalone harness. Dry-run unless --confirm is passed, and refuses to write inside the calling repo.

repo: ruvnet/ruflo

Popularity

GitHub stars
81k
Ranking position
#1652
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills