pmcp

yargs 18.x

Use yargs ^18.0.0 as a factory-based argument parser in supported Node runtimes.

For
yargs@18.1.0
Verified
2026-09-08, 7 examples executed
Package
@modootoday/pmcp-yargs@18.0.0

What it covers

One example from this skill

This is the skill's own text, not a summary of it. It runs: that is what verifying means here.

import assert from 'node:assert/strict'
import yargs from 'yargs'

const argv = yargs(['--name', 'Ada', 'file.txt']).parse()

assert.equal(argv.name, 'Ada')
assert.deepEqual(argv._, ['file.txt'])

What it did in the sandbox

Verifying this skill meant installing the package and running code against it with no route out. This is what happened, quoted from the run. The full ledger lists every package examined, including the ones that never became a skill.

Getting it

With a subscription:

npx -y @modootoday/pmcp login
npx -y @modootoday/pmcp install @modootoday/pmcp-yargs

It installs as a dev dependency of your project, and the MCP server finds it there like any other skill.