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

@technoch1ef/opencode-village

v0.1.3

Published

Agentic Village workflow plugin for OpenCode — role-driven agents (mayor/worker/inspector/guard/envoy) backed by beads.

Readme

@technoch1ef/opencode-village

Role-driven "Agentic Village" workflow for OpenCode — agents claim, implement, review, and verify work through a structured handoff chain backed by Beads for AI-native issue tracking.

Requirements

Install

npm i -D @technoch1ef/opencode-village @technoch1ef/opencode-beads-rust
npx @technoch1ef/opencode-village init --all
# Restart OpenCode

Roles

| Role | Responsibility | |------|---------------| | mayor | Research, plan, create epics and child beads with village_scaffold | | worker | Implement bead tasks, make local commits, hand off to inspector | | inspector | Read-only judgment: AC coverage, scope check, regression sniff | | guard | Run tests/linters/build, close beads on green or return to worker | | envoy | Push, create PRs, handle releases (optional terminal step) |

Handoff chain: mayor → worker → inspector → guard → envoy (optional)

Commands

| Command | Description | |---------|-------------| | /village:work | Trigger the work loop for the current agent's role | | /village:board | Show a read-only at-a-glance view of village state | | /village:envoy | Dispatch envoy to push a branch and open a PR for a bead or epic | | /village:orphans | Report and optionally fix unassigned beads |

Tools

| Tool | Description | |------|-------------| | village_claim | Deterministically claim the next ready bead (single in_progress guard) | | village_handoff | Atomically hand off a bead to another role with a standardized comment | | village_scaffold | Create an epic + child beads with auto-detected skills and lint validation | | village_lint | Validate an existing bead body for required sections and content | | village_board | Read-only ASCII board showing village state (roles × statuses) | | village_detect_stack | Auto-detect project stack (TypeScript, Rails) from filesystem signals | | village_ensure_branch | Create or checkout an epic/* branch, fast-forward from base | | village_invoke | Dispatch a bead to a specialist (e.g. envoy) for processing | | village_orphans | Report orphan/suspect-assignee beads with optional auto-fix | | village_status | List village sessions under the current root session | | village_worktrees | List the current worktree-to-bead mapping for all in-progress beads |

Stack auto-detection

village_scaffold and village_detect_stack automatically detect project stacks:

| Signal | Skill | |--------|-------| | package.json | stack-typescript | | Gemfile containing rails | stack-ruby-on-rails |

Detection walks up to the repo root (.git) and scans packages/* for monorepo support.

Customization

Private skills

Store per-project skills in ~/.config/opencode/skills-private/<name>/SKILL.md. These are gitignored and loaded alongside public skills.

Agent overrides

Agents are installed to ~/.config/opencode/agents/. Edit any agent's markdown file to customize tools, permissions, or workflow instructions. Re-running init will prompt before overwriting.

Smoke test

  1. Install and initialize:
    npm i -D @technoch1ef/opencode-village @technoch1ef/opencode-beads-rust
    npx @technoch1ef/opencode-village init --all
  2. Start OpenCode and verify the mayor agent loads as the default agent.
  3. Open a worker session and run /village:work to confirm the work loop starts.
  4. In a separate terminal, run br ready to verify Beads is on PATH and detecting the repo.

License

MIT — see LICENSE