Skip to content
Back to skills

Verify Moga

ASecurity

Drive MOGA the way a person or an agent does (CLI, HTTP API, MCP server, NSH Studio) and prove a change works, with evidence. Use to verify a change, run a feature-map journey, take PR evidence, or when asked whether something in MOGA really works. Its features/ folder is MOGA's feature map.

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
ai-agentsgobashnodeapi

Works with

  • cli
  • api
  • mcp

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

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

Scanned December 3, 2026

npx -y skills add HumanHarness/MOGA --skill verify-moga --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Verify Moga?

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

Security grade badge for Verify Moga
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/humanharness-verify-moga/badge)](https://www.skillsdirectory.com/skills/humanharness-verify-moga)

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: verify-moga
description: Drive MOGA the way a person or an agent does (CLI, HTTP API, MCP server, NSH Studio) and prove a change works, with evidence. Use to verify a change, run a feature-map journey, take PR evidence, or when asked whether something in MOGA really works. Its features/ folder is MOGA's feature map.
---

# Verify MOGA

MOGA has one operation registry (`ops/registry.ts`) and four surfaces built from it: the CLI (`node cli/moga.ts <op>`), the HTTP API the Studio calls (`POST /api/ops/<name>` on `moga serve`), the MCP server (`moga mcp`, stdio) and the desktop Studio (`studio/`, NSH). Everything runs headless. Prove a change on the surface a person or agent actually uses, and on every surface the feature map lists for it.

Use the words in `GLOSSARY.md` when you name what you drove.

## Launch

```bash
.agents/skills/verify-moga/verify.sh launch            # copies examples/tobs
.agents/skills/verify-moga/verify.sh launch examples/sample
```

It copies the project into a fresh run dir (`$TMPDIR/moga-verify-XXXXXX/project`), gives it its own `MOGA_HOME` (`<run>/home`, so the person's `~/.moga` projects, keys and logs are untouched), starts `moga serve` on a free port and waits until `info` answers. It prints `RUN=`, `PORT=` and `MOGA_HOME=`. Never drive `examples/` in place: notes, marks and history are written into the project.

The CLI needs no server. Run it against the run's project with the run's home:

```bash
export MOGA_HOME=$RUN/home MOGA_ANALYTICS=0
node cli/moga.ts <op> [args] --project $RUN/project
```

First time in a checkout: `pnpm install`. Rendering uses the Playwright Chromium already on the machine.

## Doctor

```bash
.agents/skills/verify-moga/verify.sh doctor $RUN
```

Read-only. Checks the server process is alive, that the port answers `info`, and that it serves this run's project (not someone else's instance), and prints the commit. Run it first whenever anything looks off.

## Drive

- **CLI**: `node cli/moga.ts help <op>` lists an operation's flags. Positional arguments follow the operation's required fields: `still teaser 1`, `lint teaser`, `preview teaser --from 0 --to 2`. Add `--json` for machine-readable output.
- **HTTP** (what the Studio does): `curl -s -X POST http://127.0.0.1:$PORT/api/ops/<op_name> -H 'content-type: application/json' -d '<input json>'`. Operation names use underscores here (`add_note`); the answer is `{ ok, result }` or `{ ok: false, error }`.
- **MCP** (what an outside agent does): send JSON-RPC lines on stdin of `node cli/moga.ts mcp --project $RUN/project`: `initialize`, `notifications/initialized`, then `tools/list` or `tools/call` `{ name, arguments }`. Pick the answer with `jq -c 'select(.id==2)'`.
- **Studio**: NSH tests under `studio/test/` drive the real app by testID (`id:stage`, `id:feedback-draft`, …; they are registered in `studio/ui/spot.ts`). Run one with `cd studio && nsh test --target web test/<file>.test.tsx` against `pnpm serve`, and the standard set with `pnpm studio:shots`. The native macOS app is `pnpm studio:native` and needs the Mac. See [PR visual evidence](../../../docs/agents/pr-visual-evidence.md).
- **Agent conversation**: needs a model. Use the latest DeepSeek model on OpenCode Go (`OPENCODE_GO_API_KEY`), never `DEEPSEEK_API_KEY` and never an older model.

## Evidence

Put proof in `$RUN/evidence/`: the request and response JSON of each call, CLI output, PNG stills, sheets or preview MP4s (`out/` paths in answers are relative to the project).

- Drive the real path: the operation through the surface the feature uses, never by writing project JSON by hand or calling a module directly.
- Capture the action and the resulting state: after a write, read it back through a different surface (written over HTTP, read with the CLI or MCP) and show the file it changed in the project.
- Look at every picture you cite. A frame that rendered is not a frame that is right.
- For PRs, publish pictures with `pnpm evidence:publish`, never commit them.

## Cleanup

```bash
.agents/skills/verify-moga/verify.sh cleanup $RUN
```

Stops only the server this run started (by its pid), removes the run's project and home, and keeps `$RUN/evidence`. Run it after every attempt, failed ones too. Never kill by process name: other threads share this machine.

## Feature map

[features/README.md](features/README.md) lists MOGA's user-facing features, one file each, with how to reach and drive them and what proves them. A change to a feature updates its file and runs its journey. A proof that drives one convenient entry point is incomplete when the map lists others. Keep the map current with `/maintain-verification-skill`.

Files in this skill

  • SKILL.md4.6 KB
  • features/README.md944 B
  • features/agent-conversation.md3 KB
  • features/descriptions.md2.1 KB
  • features/feedback.md1.6 KB
  • features/lint-and-ci.md1.4 KB
  • features/look-and-render.md1.4 KB
  • features/surfaces.md2.2 KB
  • verify.sh2.3 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.