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

@firela/billclaw-openclaw

v0.5.4

Published

BillClaw OpenClaw Plugin - Adapter for OpenClaw AI framework

Readme

@firela/billclaw-openclaw

OpenClaw plugin adapter for BillClaw financial data import.

Overview

This package provides an OpenClaw plugin that integrates BillClaw's financial data capabilities with the OpenClaw AI framework. It exposes:

  • Agent Tools: Plaid sync, Gmail fetch, bill parsing, conversational interface
  • CLI Commands: bills setup, bills sync, bills status, bills config
  • OAuth Providers: Plaid Link and Gmail OAuth flows
  • Background Services: Sync service and webhook handler

Installation

As OpenClaw Extension

cd ~/.openclaw/extensions
npm install @firela/billclaw-openclaw

Manual Registration

Add to your OpenClaw configuration:

{
  "extensions": ["@firela/billclaw-openclaw"]
}

Quick Start

Using Agent Tools

// In an OpenClaw agent context
const result = await agent.useTool("plaid_sync", {
  accountId: "plaid-123"
});
// Returns: { success: true, transactionsAdded: 42, ... }

Using CLI Commands

# In OpenClaw CLI
openclaw bills setup
openclaw bills sync
openclaw bills status
openclaw bills config storage.path

OAuth Integration

// In OpenClaw OAuth flow
const oauth = await openclaw.getOAuthProvider("plaid");
const { url, token } = await oauth.handler(context);

Available Tools

plaid_sync

Sync transactions from Plaid-connected bank accounts.

await agent.useTool("plaid_sync", {
  accountId: "plaid-123"  // Optional - syncs all if omitted
});

Response:

{
  "success": true,
  "accountsSynced": 1,
  "transactionsAdded": 42,
  "transactionsUpdated": 5
}

gmail_fetch_bills

Fetch and parse bills from Gmail.

await agent.useTool("gmail_fetch_bills", {
  accountId: "gmail-123",
  days: 30  // Optional - default 30
});

Response:

{
  "success": true,
  "accountsProcessed": 1,
  "emailsProcessed": 150,
  "billsExtracted": 12,
  "transactionsAdded": 12
}

bill_parse

Parse bill data from various formats.

await agent.useTool("bill_parse", {
  source: "email",
  data: "raw email content"
});

conversational_sync

Sync with natural language support.

await agent.useTool("conversational_sync", {
  prompt: "Sync my accounts"
});

conversational_status

Show account status with natural language.

await agent.useTool("conversational_status", {});

conversational_help

Get help with BillClaw commands.

await agent.useTool("conversational_help", {
  topic: "sync"
});

CLI Commands

bills setup

Interactive setup wizard for connecting accounts.

openclaw bills setup

bills sync

Manually trigger transaction sync.

# Sync all accounts
openclaw bills sync

# Sync specific account
openclaw bills sync plaid-123

bills status

Show connection status and recent sync results.

openclaw bills status

bills config

Manage plugin configuration.

# View all config
openclaw bills config

# View specific key
openclaw bills config storage.path

# Set value
openclaw bills config storage.format json

OAuth Providers

Plaid

const oauth = await openclaw.getOAuthProvider("plaid");
const { url } = await oauth.handler(context);
// Redirect user to Plaid Link

Gmail

const oauth = await openclaw.getOAuthProvider("gmail");
const { url } = await oauth.handler(context);
// Redirect user to Google OAuth

Background Services

billclaw-sync

Automatic sync service that runs on configured intervals.

billclaw-webhook

HTTP webhook handler for real-time transaction updates from Plaid.

Configuration

Plugin configuration is managed through OpenClaw's plugin config system:

{
  "accounts": [],
  "storage": {
    "path": "~/.openclaw/billclaw",
    "format": "json"
  },
  "sync": {
    "defaultFrequency": "daily",
    "maxRetries": 3
  }
}

Architecture

┌─────────────────────────────────────────┐
│           OpenClaw Framework            │
├─────────────────────────────────────────┤
│  BillClaw Plugin                        │
│  ├── Agent Tools (6)                    │
│  ├── CLI Commands (4)                   │
│  ├── OAuth Providers (2)                │
│  └── Background Services (2)            │
├─────────────────────────────────────────┤
│  @firela/billclaw-core                 │
│  (Framework-agnostic core logic)        │
└─────────────────────────────────────────┘

Development

# Build
pnpm build

# Watch mode
pnpm dev

# Test
pnpm test

License

MIT

See Also