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

@aman_asmuei/aflow

v0.1.0

Published

The portable workflow layer for AI companions — define multi-step AI workflows in a single file

Downloads

100

Readme

The portable workflow layer for AI companions.

Define multi-step AI workflows in a single file. Your AI reads it and follows the steps.

npm License: MIT acore


The Problem

Every AI session starts from scratch. You explain the same process every time: "when reviewing code, check for X, Y, Z" or "when fixing a bug, follow these steps." Your AI has no memory of your preferred workflows.

The Solution

aflow lets you define reusable workflows in a flow.md file. Your AI reads this file and follows multi-step processes consistently.

npx @aman_asmuei/aflow init

This creates ~/.aflow/flow.md with 4 starter workflows. Add it to your AI's system prompt and it follows your workflows automatically.


The Ecosystem

aman
├── acore   →  identity     →  who your AI IS
├── amem    →  memory       →  what your AI KNOWS
├── akit    →  tools        →  what your AI CAN DO
├── aflow   →  workflows    →  HOW your AI works
├── arules  →  guardrails   →  what your AI WON'T do
└── aeval   →  evaluation   →  how GOOD your AI is

| Layer | Package | What it does | |:------|:--------|:-------------| | Identity | acore | Personality, values, relationship memory | | Memory | amem | Automated knowledge storage (MCP) | | Tools | akit | 15 portable AI tools (MCP + manual fallback) | | Workflows | aflow | Reusable AI workflows (code review, bug fix, etc.) | | Guardrails | arules | Safety boundaries and permissions | | Evaluation | aeval | Relationship tracking and session logging | | Unified | aman | One command to set up everything |

Each works independently. aman is the front door.


Quick Start

# Create flow.md with starter workflows
npx @aman_asmuei/aflow init

# List your workflows
npx @aman_asmuei/aflow list

# See a specific workflow
npx @aman_asmuei/aflow show code-review

# Add a custom workflow
npx @aman_asmuei/aflow add deploy

# Remove a workflow
npx @aman_asmuei/aflow remove daily-standup

# Health check
npx @aman_asmuei/aflow doctor

Commands

| Command | What it does | |:--------|:------------| | aflow | First run: create flow.md. After: show workflows | | aflow init | Create ~/.aflow/flow.md with starter workflows | | aflow list | List defined workflows | | aflow show <name> | Show a specific workflow's steps | | aflow add [name] | Add a new workflow interactively | | aflow remove <name> | Remove a workflow | | aflow doctor | Health check |

How It Works

flow.md — The Workflow Definition

Every workflow lives in ~/.aflow/flow.md:

# My Workflows

## code-review
When asked to review code:
1. Analyze for bugs, logic errors, and edge cases
2. Check for security vulnerabilities (OWASP top 10)
3. Evaluate code style and maintainability
4. Summarize findings with severity ratings (critical/warning/info)
5. Suggest specific fixes with code examples

## bug-fix
When asked to fix a bug:
1. Reproduce — understand the expected vs actual behavior
2. Locate — find the root cause in the codebase
3. Fix — implement the minimal change that fixes the issue
4. Test — verify the fix works and doesn't break other things
5. Document — explain what was wrong and why the fix works

Your AI reads this file and automatically follows the defined steps when the trigger matches.

Platform Behavior

| Platform | What happens | |:---------|:------------| | Claude Code / Cursor | AI reads flow.md, executes steps automatically with tools | | ChatGPT / Gemini / Other | AI reads flow.md, guides you through each step manually |

Integration with acore

If you use acore, run acore pull --sync-only to refresh your platform files and pick up flow.md.


Starter Workflows

The aflow init command includes 4 workflows to get started:

| Workflow | Trigger | Steps | |:---------|:--------|:------| | code-review | When asked to review code | 5 steps: bugs, security, style, summary, fixes | | bug-fix | When asked to fix a bug | 5 steps: reproduce, locate, fix, test, document | | feature-build | When asked to build a feature | 5 steps: clarify, design, implement, test, review | | daily-standup | When starting a new session | 4 steps: git log, PRs, summary, focus |

Privacy

All data stays local. ~/.aflow/ contains your workflow definitions. No telemetry. No accounts. No cloud.

Contributing

Contributions welcome! Add starter workflows, improve the parser, or suggest features.

License

MIT


Define once. Follow always. Every AI.