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

@ross-sec/sync-od

v0.1.5

Published

Sync any codebase to your self-hosted Open Design MCP AND/OR extract its design system. Script-driven, adversarial grading, bidirectional sync with managed blocks.

Readme


What it does

| Mode | What happens | |------|-------------| | A — Project sync | Turn a codebase into an OD project: build od-bundle/ OD-safe pages, upload, grade, keep in sync | | B — Design system sync | Extract the design system: DESIGN.md + tokens (light + dark) | | Both (default) | Mode B then Mode A |


Features

| Feature | Description | |---------|-------------| | 18 bundled scripts | Detect, extract, build, validate, grade, upload — all automated | | Adversarial grading | 5-axis rubric: THEME / RTL / FIDELITY / COMPLETENESS / POLISH | | Bidirectional sync | Pull designer edits back safely via managed blocks | | Secret guard | Blocks secret-bearing content from reaching OD | | Drift detection | Logs when tracked files are edited | | Subagent support | Lead / worker / extractor agents |


Install

Global (recommended — available everywhere)

opencode plugin @ross-sec/sync-od --global

This installs to ~/.config/opencode/ and makes /sync-od available in all projects.

Per-project

opencode plugin @ross-sec/sync-od

Adds to project's .opencode/opencode.json — only available in that project.


Prerequisites

OpenDesign daemon MUST be running for sync operations:

  • Desktop: open the Open Design app. It starts the daemon on a random high port — not the documented 7456 — so any od command needs --daemon-url http://127.0.0.1:<port> or OD_DAEMON_URL.
  • Server/CLI: pnpm tools-dev (from OpenDesign repo)

The plugin auto-detects MCP connectivity and falls back to od CLI if needed.


Usage

/sync-od                    # full pipeline (both modes)
/sync-od --mode project     # Mode A: codebase → OD project
/sync-od --mode design-system  # Mode B: extract DESIGN.md + tokens
/sync-od --test             # connectivity check only

The tool runs Step A of RE-ANCHOR RITUAL — executes ods-status.js, reports exact next phase. You run that phase's script, verify DONE-gate, flip task box, call /sync-od again. Loop until DONE.


Usage

Once installed, run the autonomous pipeline:

/sync-od                    # full pipeline (both modes)
/sync-od --mode project     # Mode A only: codebase → OD project
/sync-od --mode design-system  # Mode B only: extract DESIGN.md + tokens
/sync-od --test             # connectivity check only

The plugin runs Step A of RE-ANCHOR RITUAL — executes ods-status.js, reports the exact next phase, then you run that phase's script, verify DONE-gate, flip the task box, and call /sync-od again. Loop until DONE.


Plugin hooks

| Hook | Purpose | |------|---------| | tool.execute.before | Secret guard — blocks secret-bearing content from being synced | | file.edited | Drift detection — logs edits to tracked design-sync files |


Scripts

All scripts live in scripts/ and are run by the agent (never by the plugin directly):

| Script | Purpose | |--------|---------| | ods-init.js | Bootstrap .design-sync/ | | ods-detect.js | Detect stack (Tailwind, CSS vars, etc.) | | ods-extract-tokens.js | Extract light+dark tokens | | ods-build-design-system.js | Build DESIGN.md + tokens | | ods-build.js | Build OD-safe bundle | | ods-validate.js | Validate bundle | | ods-capture.js | Grade lifecycle | | ods-resync.js | The driver (final build) | | ods-upload-plan.js | Generate upload plan | | ods-upload-verify.js | Verify upload | | ods-manifest.js | Track src↔od pairs | | ods-pull.js | Pull designer edits |


Links

| Platform | Link | Description | |----------|------|-------------| | npm | @ross-sec/sync-od | Public package | | GitHub Packages | ross-sec/sync-od | GitHub mirror | | Open Design | open-design.ai | The design workspace | | Skills Hub | skills.ross-developers.com | Ross Technologies skills |