Skip to content
Back to skills

Nirvana

ASecurity

Nirvana-OS entry point: the user's own system of businesses (empresas), squads and mind-clones. Use it ONLY when the request calls for it: it names Nirvana or nirvana-os ('use o nirvana-os', 'via nirvana', 'pelo nirvana'); names or points to one of the user's businesses, squads or mind-clones, by name, by kind, by pack name or as the model to follow ('use minhas empresas/squads', 'o squad de copy', 'com a voz do Hormozi', 'como a empresa X e seus squads e clones'); asks for the work, or a par...

  • 88 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 20, 2026
ai-agentsgoshellbashgitapi

Works with

  • claude code
  • cursor
  • cli
  • api
  • mcp

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add gutomec/nirvana-os-engine --skill nirvana --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Nirvana?

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

Security grade badge for Nirvana
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/gutomec-nirvana/badge)](https://www.skillsdirectory.com/skills/gutomec-nirvana)

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: nirvana
description: "Nirvana-OS entry point: the user's own system of businesses (empresas), squads and mind-clones. Use it ONLY when the request calls for it: it names Nirvana or nirvana-os ('use o nirvana-os', 'via nirvana', 'pelo nirvana'); names or points to one of the user's businesses, squads or mind-clones, by name, by kind, by pack name or as the model to follow ('use minhas empresas/squads', 'o squad de copy', 'com a voz do Hormozi', 'como a empresa X e seus squads e clones'); asks for the work, or a part of it, to run on another agent runtime ('use o codex para revisar'); asks what they have ('quais são minhas empresas', 'quais squads eu tenho', 'o que o nirvana pode fazer'); asks to change its settings ('modo economia', 'máxima qualidade'); or asks to create, validate or migrate a business or a squad. Otherwise do not use it: work as you normally would. Discovery runs the `nrv` CLI, production goes to the harness orchestrator, lifecycle to the protocols; a missing engine is installed first."
compatibility: "Needs Bun and the `nrv` CLI. If they are absent it installs them on first use with the user's go-ahead: Bun in user space, the engine into ~/.nirvana, `nrv` into ~/.local/bin. Runtime-agnostic, no dependency on any specific agent CLI. Network is required for that first install only; everything after it runs locally."
tools: [Bash, Read]
license: SUL-1.0
metadata:
  openclaw:
    # No `requires.bins` gate on purpose: this skill's job on a machine without
    # Bun is to install it. The three engine skills keep their bun gate.
    emoji: "🌀"
---

# Nirvana-OS

Nirvana-OS is the user's own multi-agent operating system: Bun-native, with three
pillars. **Businesses** (empresas) are autonomous organizations with an org chart
of employees. **Squads** are portable agent teams with workflows. **Mind-clones**
are persona DNA injected into employees. The `nrv` CLI is the single entry point
to the registries, and the `harness` skill is the orchestrator that turns a brief
into dispatched work with an audit trail.

You are at the entry point: decide whether the engine is here, whether this is
discovery or production, and who executes. Always answer in the language of the
request. Never invent the name of a business, a squad or a mind-clone.
Report only what `nrv` actually prints.

## 1. Is the engine here?

```bash
command -v nrv || test -x "$HOME/.local/bin/nrv"
```

Found: go to section 2. Not found: install it, then come back.

**What the install changes.** Bun in user space (`~/.bun`) if it is missing; the
engine in `~/.nirvana`; the `nrv` launcher in `~/.local/bin` plus one PATH line
in the user's shell rc; audit hooks in the agent runtimes it finds
(`~/.claude/settings.json`, `~/.gemini/config/hooks.json` for Antigravity,
`~/.codex/hooks.json`); the
`nirvana` skill linked into their skills folders; the empty content
roots `~/squads`, `~/businesses`, `~/businesses/_library/dna`. Network once, no
project code touched, no sudo, idempotent, reversible with `nrv uninstall --engine`.

**Ask before you install.** Say the paragraph above in a sentence or two and wait
for a yes. In a runtime with no way to ask, print that list, proceed, and report
exactly what changed. `scripts/bootstrap.sh --dry-run` prints the same list and
touches nothing.

Run the bootstrap from this skill's own directory, passing `--yes` only after the
go-ahead:

```bash
bash "${CLAUDE_SKILL_DIR}/scripts/bootstrap.sh" --yes                                        # macOS / Linux
powershell -ExecutionPolicy Bypass -File "${CLAUDE_SKILL_DIR}\scripts\bootstrap.ps1" -Yes     # Windows
```

Claude Code substitutes `${CLAUDE_SKILL_DIR}`. Codex and the OpenAI Agents API
print the skill's path next to its name. Anywhere else, the directory is one of
`./.claude/skills/nirvana`, `./.agents/skills/nirvana`, `~/.agents/skills/nirvana`,
`~/.codex/skills/nirvana`, or your agent's own user-level skills directory: use the
first that holds `scripts/bootstrap.sh`.

Then verify and carry on with the user's original request:

```bash
~/.local/bin/nrv doctor
```

`~/.local/bin` is on the PATH of new shells, not of the one you are in: call
`~/.local/bin/nrv` explicitly for the rest of this session. `nrv doctor` exit 1
means warnings and the install is fine; exit 2 means read the `FAIL` lines, and
`registry: … missing` is fixed by `nrv index`. Never re-run the installer because
doctor exited non-zero.

If the bootstrap cannot run (no network, no write access, a locked-down sandbox),
say exactly that and stop. A Nirvana answer with no engine behind it is fiction.

## 2. Discovery: run the command, then report

| The user asks | Command |
|---|---|
| "quais são minhas empresas", "what businesses do I have" | `nrv list-businesses` |
| "quais squads eu tenho", "liste meus squads" | `nrv list-squads` |
| "quais mind-clones eu tenho", "minhas personas" | `nrv list-clones` |
| details of one mind-clone | `nrv inspect-clone <slug>` (add `--dna`) |
| consult one mind-clone | `nrv ask <slug> "<pergunta>"` |
| "o que o nirvana pode fazer sobre X" | `nrv search "<topic>"` |
| which entity fits a need | `nrv find "<need>"` |
| decision models: what is configured, can this machine host JEV-27B | `nrv decide status` |
| use a local JEV-27B the user already started | `nrv config set decision.local_url http://localhost:8000 --global` |
| turn the decision models off | `nrv config set decision.provider off --global` |
| the user asks the engine to choose the runtime (never by default: the session host runs the work) | `nrv dispatch ... --runtime auto` |
| the cockpit | `nrv glance` |
| anything else | `nrv --help` |

Run it with your shell tool and summarize the real output. Add `--format=json`
only when you need to parse it. Discovery answers a question about the library;
it never stands in for a request to make something (section 3).

## 3. Production: hand the brief to the harness

Any request for a concrete artifact (report, post, book, campaign, design, code,
analysis, video) and any brief that names the system belong to the `harness`
skill. It surveys the three registries, can mobilize several businesses and
squads in parallel, runs the quality gate and verifies the result. **Do not
produce the artifact yourself.** Pass the brief verbatim; the harness handles
amplification and clarifying questions.

A request that names or points to one of the user's businesses, squads or
mind-clones is production too, whatever words it uses for them: a slug, a kind,
a pack or product name, or the model to follow ("como a empresa Motion Design
Genius e seus squads e clones"). Searching the library is not the work. When
`nrv search` or `nrv find` shows no exact match for the name the user used,
hand the brief over anyway: the harness reads the library and resolves the
name, or asks. Never search and then build the deliverable yourself.

The harness is not registered as a skill of its own: it lives inside the
engine, and this file is the door to it.

| Your runtime | How to hand over |
|---|---|
| Any runtime that can read a file (Claude Code, Codex, Antigravity, Pi, OpenClaw, Cursor…) | read `~/.nirvana/skills/harness/SKILL.md` and follow it as your operating instructions for this brief; its `../_shared/…` references resolve against `~/.nirvana/skills/harness/` |
| Shell-only and sub-process runtimes (Hermes, headless) | `nrv dispatch --auto --exec "<the user's brief, verbatim>"` (`--exec=<runtime>` pins one; without `--exec` the command only scaffolds and delivers nothing) |

A correction, a new version or a follow-up on work already dispatched in this
project goes back to the same worker, never a new dispatch: `nrv revise
<project> "<change>"` (`nrv revise --last [<business|squad>] "<change>"` for the
newest run). It continues the worker's own session.

Dispatch needs one agent CLI on PATH (`claude`, `codex`, `agy`, `pi`,
`kimi`, `grok`, `qwen`, `opencode`). With none, Nirvana still answers discovery
but cannot dispatch production: say so rather than producing inline. Every
dispatch writes its audit chain to `~/.harness-logs/<date>/audit.jsonl`.

## 4. Lifecycle: create, validate, inspect, migrate

"crie uma empresa de X", "valide o squad Y", "inspecione a empresa Z", "migre o
squad W": these are lifecycle operations, not production. Read
`~/.nirvana/skills/businesses/SKILL.md` (businesses, the mind-clone library)
or `~/.nirvana/skills/squads/SKILL.md` (squads) and follow it. Both are
engine-internal like the harness; neither is registered as a skill of its own.

### A team of agents

"monte uma equipe para este projeto", "quero ver cada especialista trabalhando",
"crie os agentes deste projeto": the roles of the user's businesses become
agents of the host, each with its mind-clone, and a role no business has
becomes an expert-x. It is for a whole project across several areas, on a host
that shows each agent (OpenBot, Hermes Bot Mode, Orca bots) or loads agents per project
(Claude Code);
anything smaller is one dispatch.

1. `nrv team candidates "<request>"` lists the businesses that fit, with their
   roles and clones. Read it and choose roles, not whole businesses.
2. `nrv team init <slug> "<purpose>"` writes the team file (`--here` puts it in
   the current project). Fill it in: start with the orchestrator, the leads the
   request needs and a reviewer.
3. `nrv team sync --team <slug>` validates it, writes each member's
   instructions and prints what to do next: on OpenBot, the agents to create
   and who receives the request; on Hermes, the Bots it created; on Claude Code, the subagents it wrote and the
   orchestrator's instructions for the main session; on Orca, one
   `orca bot create --offer` command per missing member, to run from the
   user's Nirvana bot chat so the owner presses Create bot on each card. Run
   the sync again once the bots exist: it writes their instructions and prints
   the steps of the group, which the owner makes in Orca's sidebar.

A member with no clone, and every expert-x, looks for the best clone for each
task with `nrv find-clone` and, when the library has none, writes a short card
for the work and records the gap; a business seat with no clone gets the same
in a dispatch.

Create the team without asking first: the user asked for it. When it is ready,
tell them who is on it; they ask for any change afterwards. `nrv team
status` shows the team and what its last project cost; `nrv team remove` takes
its instructions out of the host and leaves the agents and the file. A tier's
model in `team.yaml` (`models:`, with a `hermes:` or `openbot:` block when the
host names providers its own way) is set on Hermes by the sync and named in the
OpenBot creation plan.

When the user asks what a team's project cost, run `nrv team cost [<project>]`:
it adds the Hermes sessions, the OpenBot usage records and the engine's own
dispatches of that project, writes `_COST.json` in its folder and prints the
total, which is an estimate at list prices.

A team finishes on its own. Its orchestrator decides scope and cost, writes
every choice in `_DECISIONS.md` and delivers; only an act outside the project
the request did not authorize (sending, paying, publishing, deleting) is left
for the user. A part that is a squad's capability is handed to
`nrv dispatch --squad=<slug>:<capability> --exec` by the member who owns it, so
it gets the gate, the program checks, the seal and one audit trace; a member
never dispatches a business, `--auto` or `--agent-x`, and the engine refuses
those when a Hermes Bot or an OpenBot agent of a team runs them. On Hermes,
OpenBot and Orca a member starts a long squad part with `--detach` and waits
with `nrv job wait <job id>`, which returns within 540 s (exit 124: still
running, call it again). The orchestrator's last step is
`nrv team finish <project folder>`: it refuses until `delivery.md` and every
file it lists exist, totals the cost and tells the user (a desktop notice, plus
`hermes send` or an OpenBot routine when `team.yaml` names one under
`notify:`).

A dispatch of yours that may outlast a command time limit of your runtime
works the same way: `nrv dispatch … --exec --detach` prints a job id at once,
`nrv job wait <id>` returns within 540 s, `nrv job status <id>` and
`nrv job cancel <id>` look and stop.

The engine is also an MCP server, `nrv mcp`, with the same work as tools:
`find`, `dispatch` (returns a job id at once), `job_wait` (at most 45 s; while
it says running, call it again), `job_status`, `job_cancel`, `job_list`,
`revise` and `team_cost`. When the user asks to use Nirvana through MCP, or to
make it available in Claude Code, Codex or Hermes, run
`nrv mcp register` (`--dry-run` first shows what it writes): it registers the
server with each of those hosts installed on this machine, backs up what it
edits and leaves the rest alone. OpenBot and Orca get the tools through the
Claude Code or Codex they run. Reference: `_shared/adapters/mcp.md`.

A squad the user wants to **watch step by step, approve before it goes out or
put on a schedule** becomes a workflow of the host: `nrv team flow <squad>`
prints the plan and the call that builds it, and `--created <workflowId>`
records it. OpenBot only; a squad the user just wants done is one dispatch.

### An agent the user keeps in OpenBot or in Hermes

"use meu bot de imagem do OpenBot", "peça ao meu bot do Hermes": the user has
specialists configured in OpenBot (Nightly Labs) or as Bots of Hermes Agent's
Bot Mode and wants one to do a part of the work, whatever runtime you are on.

- `nrv bot list` shows the agents that can be called and what each is for.
- `nrv bot ask "<agent>" "<what you need>" --out <folder>` sends the task,
  waits and copies the files the agent made into the folder. Exit 2 means the
  agent waits for the user in OpenBot: tell the user what it asks, and pick the
  result up with `nrv bot status <deliveryId>`.

A dispatch tells its worker about these agents on its own, so a request for a
deliverable still goes to the harness; call `nrv bot ask` yourself only when
the user asks one agent for one thing. Only an agent with **Local scripts** on
can be called, and only the user turns that on: Agent settings → Rules →
Permissions. Never try to turn it on for them.

A Hermes Bot is any profile in Bot Mode's roster. It answers in one turn
(`--host hermes` when the name also exists in OpenBot), there is nothing to
pick up later, and a worker is not told about Hermes Bots: call one only when
the user asks for it.

## 5. What a fresh install looks like

The engine ships **no content**. On a new machine the registries are empty and
`nrv list-businesses`, `nrv list-squads` and `nrv list-clones` print `total: 0`.
That is correct output, not a broken install. Say so and offer the three ways
forward:

- **Dispatch anyway.** With an empty library the harness still executes: the
  cascade falls back to `agent-x`, the autonomous generalist. Nothing stalls.
- **Create from prose.** A brief like "crie uma empresa de marketing digital" or
  "crie um mind-clone de <autor>" routes to the business, squad and mind-clone
  creation pipelines, which are engine work and write into the content roots.
- **Install packs.** Curated businesses, squads and mind-clones come from
  squads.sh and land in those same roots.

A folder becomes a Nirvana project with `nrv init .`, run in its root when the
user asks to set one up ("prepare esta pasta como projeto do Nirvana"). It
writes `.nirvana/project.yaml` and the on-demand note in `AGENTS.md`,
`CLAUDE.md` and `GEMINI.md`. Nothing runs it on its own: a dispatch outside a
project still works and delivers under `~/.nirvana/outputs`.

## 6. Where the content lives

Defaults: `~/squads`, `~/businesses`, `~/businesses/_library/dna`. To relocate
them, set `NIRVANA_HOME`, `SQUADS_DIR`, `BUSINESSES_DIR` or `DNA_LIBRARY` in the
project `.env`, the only file read for paths besides the real environment.
Whether a project sees the global library, its own `.nirvana/` one, or both is
its scope (`global`, `project`, `merge`): `scope` in `.nirvana/project.yaml`,
set with `nrv init --scope=<mode>`.

## 7. Update and remove

| Goal | Command |
|---|---|
| Update the engine (and the `nirvana` skill it links) | `nrv update`; `nrv update --check` names the release first |
| Update an installed pack | `nrv update <pack>` |
| Update this skill when skills.sh installed it | `npx skills update` |
| Remove the engine, keep the content | `nrv uninstall --engine` |
| Remove only this skill, when skills.sh installed it | `npx skills remove nirvana` |

An engine update never installs an older or equal release: a stable engine
moves to the newest greater stable, a beta to the newest greater release, beta
or stable. When `nrv update <pack>` fails with a license error, tell the user to
download the pack again from squads.sh and run its setup (`bash setup.sh`, or
`powershell -ExecutionPolicy Bypass -File setup.ps1` on Windows).

## 8. Settings: the user asks, you change them

Users change how Nirvana works by talking to you, not by typing commands. Run
the command, confirm with `nrv config get <key>`, and say what changed in the
user's words.

| The user says | Command |
|---|---|
| "deixe o Nirvana no modo economia" ("equilibrado", "máxima qualidade") | `nrv config set execution.profile economy --global` (`balanced`, `max`) |
| "o que está configurado?" | `nrv config list` |
| "o que faz essa configuração?" | `nrv config explain <key>` |
| "volte ao padrão" | `nrv config unset <key> --global` |
| "neste projeto, use o Nirvana só quando eu pedir" / "orquestre tudo neste projeto" | `nrv init . --orchestrators=on-demand` / `--orchestrators=always` |
| "este projeto só com as empresas dele" / "as dele e as globais" / "a biblioteca toda" | `nrv init . --scope=project` / `merge` / `global` |
| "decida tudo por mim neste projeto" / "pode me perguntar de novo" | `nrv config set orchestrator.decisions auto --project` / `ask` |
| "limite cada execução a US$ 5" | `nrv config set budget.default_max_cost_usd 5 --global` |
| "quero que todos os meus bots usem sempre o Nirvana" / "meus bots só usam o Nirvana quando eu pedir" | `nrv config set bots.use always --global` / `on-demand` (the default) |
| "qual template de brief você está usando?" / "quais templates eu tenho?" | `nrv brief templates` (the active one has `*`, with its origin) |
| "neste projeto use o template detailed" (`slim`, `standard`, `karpathy`, or one of the user's) | `nrv config set briefing.template detailed --project` |
| "quero editar o slim neste projeto" / "crie um template juridico a partir do standard" | `nrv brief init slim --project` / `nrv brief init juridico --from standard --project`, then tell the user the file path it printed; a new name also needs `nrv config set briefing.template juridico --project` |

- **Where it applies.** Always pass `--global` or `--project` to `nrv config`:
  without a flag it writes to the project when run inside one, which the user
  rarely means. A request about "this project" is `--project`; anything else is
  `--global`. `nrv init` runs in the project's root.
- **A profile first, then exceptions.** A profile moves effort, the context
  ceiling, review, the judge and routing together; a key the user sets
  explicitly beats it. Change one key only when the user asked for that
  behaviour ("sem revisão", "sem juiz de IA").
- **When it takes effect.** A setting applies from the next dispatch. A new
  orchestration mode rewrites `AGENTS.md`, `CLAUDE.md` and `GEMINI.md`: tell the
  user to open a new session for it to take hold.
- Never edit `config.yaml` or `project.yaml` by hand, and never change a
  setting the user did not ask for.

This skill is thin by design: discovery goes to `nrv`, production goes to
`harness`, and the library lives on disk. It produces no artifacts itself.

Files in this skill

  • SKILL.md8.7 KB
  • agents/openai.yaml515 B
  • scripts/bootstrap.ps17.1 KB
  • scripts/bootstrap.sh7.9 KB

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.