🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

riskmodels-cli

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

riskmodels-cli

RiskModels CLI — SQL query, schema, balance, and agent manifests

npmnpm
Version
1.0.1
Version published
Weekly downloads
1
-85.71%
Maintainers
1
Weekly downloads
 
Created
Source

riskmodels-cli

Command-line interface for RiskModels: run billed SQL queries against the API, explore schema in direct (Supabase) mode, check balance, and export agent tool manifests.

Install

npm install -g riskmodels-cli
riskmodels config init
# Choose API Key mode and enter your rm_agent_* key

riskmodels query "SELECT ticker, company_name FROM ticker_metadata LIMIT 3"
riskmodels balance

Config file: ~/.config/riskmodels/config.json

Commands

CommandDescription
riskmodels config init | set | listConfigure API key (billed) or Supabase (direct dev)
riskmodels query "<sql>"Run a SELECT (billed → /api/cli/query, direct → Supabase exec_sql)
riskmodels schemaList tables / OpenAPI (direct mode only)
riskmodels balanceAccount balance (billed mode)
riskmodels manifest [--format openai|anthropic|zed]Print static tool manifest (no auth)
riskmodels agentPlaceholder; use REST, MCP, or the Python SDK for portfolio flows

Global flag: --json for machine-readable output.

Agent subcommands

riskmodels agent decompose and related flows are not implemented in this CLI version. Use:

  • HTTP API: POST /api/batch/analyze, GET /api/metrics/{ticker}, etc. (docs)
  • MCP server in this repo: mcp-server/
  • Python SDK: riskmodels on PyPI

Develop

cd cli
npm install
npm run build
npm run install:global   # npm link for local testing

Publish

cd cli
npm publish

Use the cli/ directory only; the repo root package is the web portal, not this CLI.

Keywords

riskmodels

FAQs

Package last updated on 25 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts