npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

iosctl

v0.1.1

Published

Agent-first CLI and skill for native iOS Simulator build, run, and proof loops

Readme

iosctl

Agent-first CLI and skill for native iOS Simulator build, run, and proof loops.

iosctl is intentionally boring: it wraps first-party Apple command-line tools and a small number of proven adjacent tools behind stable JSON, explicit artifacts, and predictable failures.

Current status: Phase 2 proof and UI spine. The CLI includes environment checks, Simulator inventory, proof-run for build/install/launch/screenshot/receipts, and semantic UI snapshot/find/tap/type/swipe commands backed by idb.

Why

Agents need a reliable way to prove iOS app behavior without depending on long-running MCP helper servers as the source of truth.

Design stance:

  • CLI is truth.
  • MCP is optional transport later.
  • First-party Apple tools first.
  • Accessibility tree before screenshot vision.
  • Receipts or it did not happen.
  • No secret leakage.

Install

After the first npm release:

npm i -g iosctl
iosctl --help

Local:

npm install
npm run build
npm link
iosctl doctor --json

Requirements

  • macOS with full Xcode installed.
  • Node.js 22+.
  • xcodebuild.
  • xcrun simctl.
  • xcrun xcresulttool.
  • Optional but recommended: idb and idb_companion.
  • Optional: xcbeautify, Maestro, XcodeBuildMCP.

Commands

Implemented:

iosctl doctor --json
iosctl devices --json
iosctl proof-run --project App.xcodeproj --scheme App --bundle com.example.app --device "iPhone 17 Pro" --json
iosctl proof-run --workspace App.xcworkspace --scheme App --bundle com.example.app --runtime "iOS 26" --json
iosctl ui snapshot --device <UDID> --json
iosctl ui find --text "Book appointment" --json
iosctl ui tap --text "Book appointment" --json
iosctl ui type --text-field "Ask anything..." --value "Can I schedule a visit?" --json
iosctl ui swipe --direction up --json
iosctl contract --json

Planned:

iosctl project inspect --project App.xcodeproj --json
iosctl sim ensure --device "iPhone 17 Pro" --runtime "iOS 26" --json
iosctl build --project App.xcodeproj --scheme App --device "iPhone 17 Pro" --json
iosctl install --app ./App.app --device <UDID> --json
iosctl launch --bundle com.example.app --device <UDID> --env-file .env.local --json

proof-run writes artifacts under .iosctl/runs/<run-id>/ by default:

  • receipt.json
  • summary.md
  • build.log
  • app.log
  • screenshot-<name>.png
  • DerivedData/
  • xcodebuild.xcresult

ui snapshot writes raw accessibility evidence under .iosctl/ui/<snapshot-id>/:

  • ui-tree.json
  • elements.json

Agent Contract

  • With --json, stdout is exactly one JSON object.
  • Progress and diagnostics go to stderr.
  • Exit 0: success.
  • Exit 1: operation failed.
  • Exit 2: invalid input or missing local capability.
  • Exit 3: safety refusal.

See docs/CONTRACT_V1.md.

Skill

iosctl follows the Vercel skills CLI package layout: the installable skill lives at skills/iosctl/SKILL.md, and there is intentionally no root SKILL.md to shadow nested skill discovery.

List the skill:

npx -y skills add danielgwilson/iosctl --list

Install the skill:

npx -y skills add -g danielgwilson/iosctl --skill iosctl

Use the skill without installing:

npx -y skills use danielgwilson/iosctl@iosctl

Canonical skill path: skills/iosctl/SKILL.md.

Release Notes

This package is scaffolded for npm Trusted Publishing from GitHub Actions.

  • CI workflow: .github/workflows/ci.yml
  • Publish workflow: .github/workflows/publish.yml
  • Public-surface lint: npm run lint:public-surface
  • Release runbook: docs/PUBLISHING.md