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

@metaharness/github-actions

v0.1.0

Published

MetaHarness example — GitHub Actions CI/CD harness (.github/workflows + composite action.yml, non-interactive, ADR-033) (npx @metaharness/github-actions my-bot)

Downloads

105

Readme

MetaHarness × GitHub Actions

A one-command scaffold for a non-interactive agent harness that runs on the GitHub Actions runner — no human at the keyboard. It drops a trigger workflow and a reusable composite action into .github/, wires least-privilege token permissions, and is ready to run from a webhook (manual dispatch, issue comment, push, PR, or schedule).

This is the 9th MetaHarness host (ADR-033) and the only one built for CI/CD: the harness must complete a task autonomously, emit structured output, and exit cleanly. It is not an interactive workspace — for that, use @metaharness/claude-code or one of the other host wrappers.

Quickstart

npx @metaharness/github-actions@latest my-bot
cd my-bot
git add .github && git commit -m "add harness workflow" && git push

Then add your model-provider key as a repo secret (Settings → Secrets and variables → Actions → ANTHROPIC_API_KEY) and run it from the Actions tab, or by commenting on an issue.

What you get

  • .github/workflows/<name>.yml — the trigger workflow. Default triggers are workflow_dispatch + issue_comment (the safest pair); push, pull_request, and schedule are commented-out opt-ins.
  • .github/actions/<name>/action.yml — a reusable composite action the workflow calls, so the harness logic works across multiple workflows.
  • install.md — the wiring + permissions runbook.
  • .harness/manifest.json — signed-shape provenance.
  • .claude-plugin/plugin.json — so the same folder also loads as a Claude Code plugin (claude -p --plugin-dir my-bot).

Default-deny → least-privilege token (ADR-022)

The workflow's permissions: block starts at contents: read and grants only what the harness policy's allow-list implies:

| allow token | GitHub scope | |---|---| | create-pr, push-branch | contents: write, pull-requests: write | | label, triage | issues: write | | checks, status | checks: write |

Anything unmapped stays denied. For production-touching jobs (release pushes), gate behind a GitHub Environment with required reviewers — the token scope alone does not add human review.

Advanced

# Health-check the scaffold (validates the workflow + action YAML parse)
npx harness doctor

# Full umbrella gate
npx harness validate

# Scan the harness's permission surface (flags over-broad grants)
npx harness mcp-scan

FAQ

Q: How is this different from the other MetaHarness hosts? A: Every other host is interactive — a human starts a session. GitHub Actions is webhook-triggered with no human present; the harness runs to completion on the runner and exits.

Q: Do I need an Anthropic key to scaffold? A: No — scaffolding is offline. You need the key (as a repo secret) only when the workflow actually runs.

Q: Can I trigger it on push or a schedule? A: Yes — uncomment the push / pull_request / schedule blocks in the generated workflow. They're included but disabled by default for safety.

License

MIT. Built on metaharness (https://www.npmjs.com/package/metaharness).