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

v1.0.0

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 guard | | guard | Run tests/linters/build, hand off to inspector on green or return to worker | | inspector | Read-only judgment: AC coverage, scope check, regression sniff; close beads on approval | | envoy | Push, create PRs, handle releases (optional terminal step) |

Handoff chain: mayor → worker → guard → inspector → 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 fix unassigned beads |

Tools

The plugin exposes all village operations as village_* tools. Agents and skills should always invoke these tools directly rather than shelling out to underlying CLIs.

| 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 skill 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_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 and fix orphan/suspect-assignee beads (always auto-assigns) | | village_worktrees | List the current worktree-to-bead mapping for all in-progress beads |

Skills

| Skill | Purpose | |-------|---------| | village-workflow | Roles, status flow, handoff conventions; loaded on every implementation bead |

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.

Upgrade

npm i -D @technoch1ef/opencode-village@latest
npx @technoch1ef/opencode-village init --all --force
# Restart OpenCode

The --force flag overwrites existing agent prompts, commands, and skills with the latest versions. Your private skills in skills-private/ are never touched.

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. Run /village:board to verify the village state renders.

License

MIT — see LICENSE