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

opencode-simflow

v1.4.0

Published

SimFlow computational simulation workflow layer for OpenCode.

Readme

SimFlow

Current development version: 1.4.0-dev.0.

SimFlow is a computational-research guidance, provenance, recovery, and safety layer for Codex, Claude Code, OpenCode, and compatible host agents.

It does not choose the science or execute a fixed workflow. The host agent performs literature work, modeling, coding, computation, analysis, and writing. SimFlow adds reusable scientific guidance and a small runtime for facts that must be recorded or safeguarded.

Architecture

Host Agent
  -> Task/Domain/Custom Skills  host-native discovery and composition
  -> SimFlow Framework Skill   opt-in provenance, recovery, and safety semantics
  -> SimFlow Runtime        inspect, record, recover, and gate real execution
  -> .simflow/              scientific notebooks, operational truth, recovery

Skill discovery and composition belong to the host. Directory organization follows the project. Runtime follows events that actually happened. Loading a Skill does not itself require project-memory inspection or a state write.

Public Skills

SimFlow exposes exactly 13 Skills.

| Class | Skills | | --- | --- | | Framework | simflow | | Research Task | simflow-literature-review, simflow-reference-extraction, simflow-proposal, simflow-modeling, simflow-computation, simflow-analysis-visualization, simflow-writing | | Domain | simflow-vasp, simflow-cp2k, simflow-lammps, simflow-gpumd, simflow-mlp |

Task and Domain Skills are pure instruction bundles. They remain useful without MCP and do not own workflow state, artifact registration, checkpoints, approval, or directory layout.

Unsupported engines do not receive placeholder Skills. Host agents may combine the relevant Task Skills with their own software-specific or custom Skills without SimFlow claiming built-in engine support.

Public Runtime

Two MCP servers expose eight composite tools:

| Server | Tools | | --- | --- | | simflow_state | inspect, record, checkpoint, recover | | hpc | plan, transfer, submit, status |

There is no engagement lifecycle, SQLite/session/activity ledger, activity controller, or mandatory session handoff. Compact Experiment notebooks retain scientific questions and decisions without creating a host-session lifecycle. Ordinary read-only scientific work produces no state writes. One logical task normally needs at most one record call after the automatic hpc/plan record.

New project state is compact:

.simflow/
├── experiments/
│   ├── <experiment_id>.md
│   └── index.md
├── project.json
├── records.jsonl
├── checkpoints/
└── reports/

Experiment notebooks are append-only scientific memory. records.jsonl is the append-only operational truth for plans, approvals, transfers, submissions, status, logical deliverables, checkpoints, and migration confirmations. Exact scientific files remain authoritative evidence. project.json and the Experiment index are deterministic derived summaries.

Historical .simflow/state/*.json, .simflow/memory/, and nested .simflow roots remain readable. inspect produces a metadata-only migration inventory; SQLite tables and memory contents are never imported. Applying it requires an exact current hash and explicit confirmation, and migration never moves or rewrites source data.

Safety Model

Real local, remote, and scheduler execution is dry-run and plan first. hpc/plan persists an immutable identity covering:

  • job script and input hashes;
  • scheduler, SSH target, and remote working directory;
  • resource request;
  • upload/download and destructive scope;
  • restricted-file metadata, including POTCAR dataset metadata.

Approval is bound to run_plan_hash. Unchanged retries and resumes can reuse approval. Any material change makes the plan stale and requires a new approval. Transfer and submit automatically append one compact run record.

SSH authentication remains host-managed behind the credential broker. MCP payloads reject passwords, private-key content, key paths, and arbitrary SSH options. Licensed POTCAR content may exist only in a controlled calculation directory and is never copied into .simflow, Git, packages, logs, or MCP responses.

Project Layout

SimFlow respects existing project organization. For a new project, the six research phases are a useful template, not a required state machine:

phase1_literature_review/
phase2_proposal/
phase3_modeling/
phase4_computation/
phase5_analysis_visualization/
phase6_writing/

Analysis stays near the scientific inputs it consumes. Comparisons across runs use one meaningful common analysis entry, and only project-level synthesis is placed physically in phase 5. Shallow README indexes use relative links; they do not copy or symlink results into a second authoritative location.

See User Project Layout Guidance.

Quick Start

Claude Code

claude plugin marketplace add wengao65-svg/SimFlow@claude-marketplace
claude plugin install simflow@simflow-claude-marketplace

Update with:

claude plugin marketplace update simflow-claude-marketplace
claude plugin update simflow

Skills are namespaced, for example /simflow:simflow and /simflow:simflow-vasp. See Claude Code Quick Start.

Codex

codex plugin marketplace add wengao65-svg/SimFlow --ref codex-marketplace
codex

Install simflow through /plugins, then verify with /mcp and $simflow. Update with codex plugin marketplace upgrade simflow-marketplace. See Codex 快速上手.

OpenCode

opencode plugin opencode-simflow --global

Update with opencode plugin opencode-simflow --global --force. See OpenCode Quick Start.

Repository Structure

simflow/
├── skills/                    # 13 public Router, Task, and Domain Skills
├── workflow/                  # Advisory stages/recipes and runtime policies/gates
├── mcp/servers/
│   ├── simflow_state/         # Four compact state/recovery tools
│   └── hpc/                   # Four immutable-plan execution tools
├── runtime/
│   ├── simflow_core/          # Compact records, gates, recovery, compatibility
│   └── simflow_helpers/       # Optional scientific helpers and internal adapters
├── schemas/                   # Current contracts plus labeled legacy read schemas
├── tests/
├── docs/
└── scripts/

Environment Variables

| Variable | Purpose | | --- | --- | | S2_API_KEY | Semantic Scholar API key | | OPENALEX_API_KEY | Optional OpenAlex API key for higher limits | | SIMFLOW_OPENALEX_EMAIL | Polite contact email for OpenAlex requests | | SIMFLOW_CROSSREF_EMAIL | Polite contact email for Crossref requests | | SIMFLOW_PYTHON | Python executable used by the OpenCode MCP adapter | | SIMFLOW_HPC_BROKER_SOCKET | Unix socket for isolated SSH operations | | SIMFLOW_HPC_BROKER_ALLOWED_ROOTS | Project roots accessible to the broker |

Automatic literature search coordinates OpenAlex, Crossref, arXiv, and Semantic Scholar. An S2_API_KEY improves Semantic Scholar reliability but is not required. Mock literature data is available only through an explicit mock backend for tests and is always marked unusable as evidence.

Documentation

License

MIT