Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

Agent skill · Audited from source

Nw Update

skill · nWave-ai/nWaveMIT licenceAudited 14 Oct 2026 · source 1a864ec81cde

★ 617pushed 27 days ago
✓SAFEGrade B · 89/100 · 14 Oct 2026 · 1a864ec
617repo stars · whole nWave-ai/nWave

Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 1a864ec81cde and found no filesystem, network or shell access and no hard-coded secrets. What it does: Queues a deferred self-update of nwave-ai. Writes a PendingUpdateFlag that the SessionStart hook replays on the next Claude Code launch, so the current session is not interrupted. Falls back to manual instructions when…

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Nw Update (nWave-ai/nWave)”. Retrieved 14 Oct 2026. https://modelsatlas.com/skills/nwave-ai/nw-update

Trust audit

Audit 0.4.1 · source read 14 Oct 2026

Trust score89/100✓SAFE B
0 critical0 high0 medium0 low0 info

SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.

What the source does

  • FilesystemNone observedNo reads or writes in the source
  • NetworkNone observedNo outbound calls in the source
  • ShellNone observedNo commands run in the source
  • DependenciesPinnedNothing floats
  • SecretsNone foundNo keys in source

Five audit layers

LayerWhat we checkResultFindings
L0 ProvenanceRepo owner, licence, archive status, activityPASS0
L1 Static sourceSecrets, path traversal, supply chain, hidden codeNA0
L2 InstructionsPrompt injection, authority framing, hidden directivesPASS0
L3 InventoryThe files and declarations match the sourcePASS0
L4 SandboxRun in isolation and watch behaviourSKIPPED why0

Gates applied: no behavioural pass.

Findings (0)

No findings at any severity. We re-audit when the source changes.

Audit 0.4.1 · source sha 1a864ec81cde · 14 Oct 2026Report an issue or request a re-scan

Provenance

Who published it, and what the verdict is pinned to

  • PublishernWave-ai GitHub organizationOwner of the repository this skill is read from
  • Source foldernWave-ai/nWave/nWave/skills/nw-updateThe exact folder we audited
  • LicenceMITAs the repository states it
  • Commit pinned for this verdict1a864ec81cdeA new audit runs when the source changes
  • Repository statusNot archivedLast push 27 days ago
  • Sandboxed runNot runSkills are read, not executed; layer L4 is skipped

What it tells the agent

Full source on GitHub ↗

Its description: Queues a deferred self-update of nwave-ai. Writes a PendingUpdateFlag that the SessionStart hook replays on the next Claude Code launch, so the current session is not interrupted. Falls back to manual instructions when…

---
name: nw-update
description: "Queues a deferred self-update of nwave-ai. Writes a PendingUpdateFlag that the SessionStart hook replays on the next Claude Code launch, so the current session is not interrupted. Falls back to manual instructions when the package manager cannot be detected."
user-invocable: true
argument-hint: '[target-version] - Optional explicit version (e.g. 1.4.2). Defaults to the latest version discovered by the periodic update check.'
---

# NW-UPDATE: Queue Deferred nWave Self-Update

**Wave**: CROSS_WAVE | **Agent**: Main Instance (self) | **Command**: `/nw-update`

## Overview

`/nw-update` records a `PendingUpdateFlag` on disk. The actual upgrade is performed
by the SessionStart hook on the next Claude Code launch, so the user can keep
working in the current session and apply the new version whenever they restart.

You (the main Claude instance) run this command directly — no subagent delegation.
Do NOT attempt to upgrade nwave-ai in the current session.

## Behavior Flow

### Step 1: Resolve target version

1. If the user passed an argument (`$ARGUMENTS`), treat it as the target version
   after stripping a leading `v`.
2. Otherwise read the latest version discovered by the periodic update check
   from the global config (`update_check.latest_available`):

```bash
python3 -c "
import sys, os
sys.path.insert(0, os.path.expanduser('~/.claude/lib/python'))
from des.adapters.driven.config.des_config import DESConfig
print(DESConfig().update_check_latest_available or '')"
```

3. If no argument AND no discovered version (empty output): ask the user for the
   target version explicitly. Do not guess.

### Step 2: Detect the package manager and its binary

Invoke the detector and resolve the PM binary absolute path in a single Bash call.

This runs under whatever `python3` the shell provides, which is NOT the
interpreter nwave-ai was installed under — so `sys.executable` is the wrong
anchor for detection. Use `resolve_nwave_pm`, which prefers the value the
installer recorded at install time (`install.package_manager` in the global
config) and only falls back to live path detection:

```bash
python3 -c "
import sys, os
sys.path.insert(0, os.path.expanduser('~/.claude/lib/python'))
import shutil
from pathlib import Path
from des.adapters.driven.config.des_config import DESConfig
from des.adapters.driven.package_managers.package_manager_detector import (
    resolve_nwave_pm,
)
pm = resolve_nwave_pm(DESConfig().installed_package_manager, Path(sys.executable))
binary = shutil.which(pm) if pm in ('pipx', 'uv') else ''
print(f'{pm}|{binary or \"\"}')"
```

Parse the output as `pm|binary_abspath`.

### Step 3: Handle non-auto-updatable PM

If `pm == "unknown"` OR `pm == "pip"` OR `binary_abspath` is empty:

(`detect_pm` returns `pip` only when forced via `NWAVE_INSTALLER=pip`; pip
installs are not auto-updatable through the deferred-upgrade flow, so they take
the manual path alongside `unknown`.)

1. Do NOT call `PendingUpdateService.request_update`.
2. Print the manual fallback and stop:

```text
nwave-ai was not installed via an auto-updatable package manager.
Please upgrade manually:

  uv tool install nwave-ai@latest && nwave-ai install
    — or —
  pipx upgrade nwave-ai && nwave-ai install
    — or, if you installed with pip —
  pip install -U nwave-ai && nwave-ai install

Then restart Claude Code.
```

### Step 4: Queue the pending update

Call the driving port `PendingUpdateService.request_update`:

Reuse the `pm` and `binary` already resolved in Step 2 — do NOT re-detect from
`sys.executable` here (that interpreter is not the install anchor). Construct
`DESConfig()` directly; there is no `DESConfig.load()`.

```bash
python3 -c "
import sys, os
sys.path.insert(0, os.path.expanduser('~/.claude/lib/python'))
from des.application.pending_update_service import PendingUpdateService
from des.adapters.driven.config.des_config import DESConfig

pm = '${PM}'
binary = '${PM_BINARY}'
target = '${TARGET_VERSION}'

config = DESConfig()
# PM adapter is only used by apply(); request_update() does not invoke it.
svc = PendingUpdateService(config=config, pm=None)  # type: ignore[arg-type]
svc.request_update(pm=pm, pm_binary_abspath=binary, target_version=target)
print(f'queued:{pm}:{target}')"
```

Substitute `${PM}` and `${PM_BINARY}` with the Step 2 values, and
`${TARGET_VERSION}` with the Step 1 value (no leading `v`).

### Step 5: Confirm to the user

On success, print:

```
Update to vX.Y.Z queued. It will be applied the next time you restart Claude Code.
Package manager: <pipx|uv>  (<binary_abspath>)
```

## Error Handling

| Condition | Response |
|-----------|----------|
| No target version provided and none discovered | Ask the user for an explicit version |
| PM detection returns `unknown` | Print manual fallback (Step 3), do not write flag |
| `shutil.which(pm)` returns empty | Same as `unknown` — print fallback |
| `request_update` raises | Surface the exception, do not claim success |

## Progress Tracking

This command is synchronous and fast (< 1s). Do not create a task list; print
progress inline.

## Success Criteria

- [ ] Target version resolved (explicit arg, discovered, or asked)
- [ ] PM detected and PM binary absolute path obtained
- [ ] Either pending-update flag written OR manual fallback printed
- [ ] User sees confirmation of the queued version and PM used

## Examples

### Example 1: Discovered version, pipx install
```
/nw-update
```
Reads `update_check.latest_available = "1.4.2"`, detects `pipx` at
`/home/alex/.local/bin/pipx`, queues flag, prints:
`Update to v1.4.2 queued. It will be applied the next time you restart Claude Code.`

### Example 2: Explicit version, uv install
```
/nw-update 1.5.0
```
Detects `uv` at `/home/alex/.cargo/bin/uv`, queues flag for `1.5.0`.

### Example 3: Unknown PM
```
/nw-update 1.4.2
```
Detector returns `unknown` (e.g. pip venv install). Prints manual fallback
instructions and exits without writing the flag.

Excerpt, first 5,987 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.

Install

Pinned to the audited commit 1a864ec

Download folder ↗
uv tool install nwave-ai@latest && nwave-ai install
pip install -U nwave-ai && nwave-ai install

Commands as the repository documents them: shown, never run by us. Our verdict covers commit 1a864ec81cde only.

Works in which agents?

What its own text says, not a test

AgentStatusMore
Claude CodeMentioned in its text, not testedSkills for Claude Code · About Claude Code
“Mentioned” means the skill’s text names the agent. We have not run it there.

Audit history

Every audit, every source change

  1. ✓SAFE B 89 / 100

    first audit · source 1a864ec81cde

README badge

For maintainers · shows the latest audit

ModelsAtlas: SAFE BMODELSATLASSAFE · B
[![ModelsAtlas: SAFE B](https://modelsatlas.com/skills/nwave-ai/nw-update/badge.svg)](https://modelsatlas.com/skills/nwave-ai/nw-update/)

The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.

Similar skills

Add this badge to your README

[![ModelsAtlas: SAFE B](https://modelsatlas.com/skills/nwave-ai/nw-update/badge.svg)](https://modelsatlas.com/skills/nwave-ai/nw-update/)

Questions about Nw Update

What does the Nw Update skill do?
AI agents that guide you from idea to working code, with you in control at every step.
Is Nw Update safe to install?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.
What can Nw Update access on my machine?
The audit observed no filesystem, network or shell use at all in its source.
Which assistants does Nw Update work with?
Its documentation mentions claude-code. That is what the text claims, not a compatibility test we ran.
How current is this page?
The grade is for one exact copy of the source (1a864ec81cde), read on 2026-10-14. The repository is watched, and a new audit runs when it changes — this is the first audit.

Sources

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.