Skip to content
Back to skills

Maw Update

CSecurity

Update the MAW installation in this project to the latest published version. Use when the user says "update MAW", "upgrade MAW", "reinstall MAW", "обнови maw", or asks for the newest pipeline prompts. Reruns the official installer with the same surfaces and options that are installed now. Leaves `maw/` (tasks, settings, project context) unchanged.

  • 6 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 1, 2026
ai-agentsgoshellbashgit

Works with

  • claude code

Security analysis

C71/100
  • criticalPipes output to a shell interpreter
  • mediumUses curl or wget to download content
  • criticalDownloads and executes remote scripts — classic supply chain attack

Pro shows the line behind each finding and how to fix it

Scanned December 2, 2026

npx -y skills add pockerhead/maw --skill maw-update --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Maw Update?

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

Security grade badge for Maw Update
[![Security: C — Skills Directory](https://www.skillsdirectory.com/api/skills/pockerhead-maw-update/badge)](https://www.skillsdirectory.com/skills/pockerhead-maw-update)

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: maw-update
description: |
  Update the MAW installation in this project to the latest published version. Use when the user says "update MAW", "upgrade MAW", "reinstall MAW", "обнови maw", or asks for the newest pipeline prompts.
  Reruns the official installer with the same surfaces and options that are installed now. Leaves `maw/` (tasks, settings, project context) unchanged.
---

# MAW Update

You update the MAW files in the current project by rerunning the installer from the README. The installer replaces every installed MAW file and leaves `maw/` alone. Work from the project root (`git rev-parse --show-toplevel`, or the current directory outside git). On Windows, run the shell commands through Git Bash.

## Step 1 — Detect what is installed

The installer only installs what its flags ask for, and it **deletes** `maw-reason` when `--with-reason` is absent. So the flags must reproduce the current install:

| present in the project | flag |
|---|---|
| `.claude/skills/maw-execute-task/SKILL.md` | `--claude` |
| `.agents/skills/maw-execute-task/SKILL.md` | `--codex` |
| `.claude/skills/maw-reason/SKILL.md` | `--with-reason` |
| `.claude/hooks/maw-reason-gate.sh` | `--with-hooks` |
| `.claude/skills/maw-selfreview/SKILL.md` | `--with-selfreview` |

If neither surface is present, MAW is not installed here. Say so and stop; installing is the user's call (the README has the command).

If the user asks to add or drop a surface or option during the update, change the flags accordingly and say what changes.

## Step 2 — Protect local edits

The installer overwrites installed files without asking. In a git repository, run `git status --porcelain -- .claude/skills/maw-* .claude/agents/maw-* .claude/hooks/maw-* .agents/skills/maw-*`. If any of those paths has uncommitted changes, list them and ask the user before going on: they may be deliberate local edits that the update would erase.

If those paths are not tracked by git, copy the installed `maw-*` skill directories to a temporary directory first, so you can show a diff in Step 4.

## Step 3 — Run the installer

```bash
curl -fsSL https://raw.githubusercontent.com/pockerhead/maw/main/install.sh | sh -s -- <flags from Step 1>
```

Record the upstream commit for the report: `git ls-remote https://github.com/pockerhead/maw.git HEAD`. GitHub's raw CDN can lag a fresh push by a few minutes. If the user expects a commit that the installed files do not contain yet, wait and rerun rather than editing files by hand.

If the installer exits nonzero, show its last lines and stop. A failed fetch leaves the previous install in place, because the installer downloads everything before it copies.

## Step 4 — Report

- The upstream commit and the flags you used.
- What changed: `git diff --stat` over the installed paths, or a diff against the Step 2 copy. Summarize the changed skills and agent bodies in one line each.
- **Restart for Codex only.** Codex discovers repository skills only at startup: after a Codex update, tell the user to restart and defer the next pipeline run to the restarted session. Claude Code picks up updated skills and subagents within the running session, except under an `--add-dir` directory, where subagents need a restart.

Commit the updated files only at the user's request. In a project that commits `.claude/` or `.agents/`, offer one commit: `chore: update MAW to <short-hash>`.

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.