flow-nexus-user-tools

A set of tools for managing user profiles, storing files, generating temporary file links, and receiving database-change notifications. It works with Flow Nexus accounts, storage buckets, and tables.

In plain words
What is it for?
Use it to read or update profiles, view user statistics, upload or delete files, list stored files, create public links, and subscribe to changes such as new or updated tasks.
Why use it?
It avoids writing separate code for common account, file-storage, and real-time database tasks. It also gives one place to perform these operations.

Command for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/ruvnet/sublinear-time-solver/user-tools
Clone the repo
git clone --depth 1 https://github.com/ruvnet/sublinear-time-solver

Made for: Claude Code.

Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 815 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00014 $0.00815
Opus 5 $0.00007 $0.00407
Sonnet 5 $0.00003 $0.00163
Haiku 4.5 $0.00001 $0.00081

Measured 2d ago against content hash 6fb91d71eee7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

flow-nexus-user-tools scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

3 near-identical copies found in the catalogue:

.claude/commands/flow-nexus/user-tools.md · 152 lines

How it starts

The opening of the file, as written. The whole thing — 152 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Flow Nexus User Tools

Utilities for user management, storage, and system operations.

Profile Management

// Get profile
mcp__flow-nexus__user_profile({
  user_id: "your_id"
})

// Update profile
mcp__flow-nexus__user_update_profile({
  user_id: "your_id",
  updates: {
    full_name: "New Name",
    bio: "Developer interested in AI",
    github_username: "username"
  }
})

// Get statistics
mcp__flow-nexus__user_stats({
  user_id: "your_id"
})

Storage Management

// Upload file
mcp__flow-nexus__storage_upload({
  bucket: "my-bucket",
  path: "data/file.json",
  content: JSON.stringify(data),
  content_type: "application/json"
})

// List files
mcp__flow-nexus__storage_list({
  bucket: "my-bucket",
  path: "data/",
  limit: 100
})

// Get public URL
mcp__flow-nexus__storage_get_url({
  bucket: "my-bucket",
  path: "data/file.json",
  expires_in: 3600 // seconds
})

// Delete file
mcp__flow-nexus__storage_delete({
  bucket: "my-bucket",
  path: "data/file.json"
})

Real-time Subscriptions

// Subscribe to database changes
mcp__flow-nexus__realtime_subscribe({
  table: "tasks",
  event: "INSERT", // UPDATE, DELETE, *
  filter: "status=eq.pending"
})

// List subscriptions
mcp__flow-nexus__realtime_list()

// Unsubscribe
mcp__flow-nexus__realtime_unsubscribe({
  subscription_id: "sub_id"
})

Execution Monitoring

// Monitor execution stream
mcp__flow-nexus__execution_stream_subscribe({
  stream_type: "claude-flow-swarm",
  deployment_id: "deployment_id"
})

// Get stream status
mcp__flow-nexus__execution_stream_status({
  stream_id: "stream_id"
})

// List generated files
mcp__flow-nexus__execution_files_list({
  stream_id: "stream_id",
  created_by: "claude-flow",
  file_type: "javascript"
})

// Get file content
mcp__flow-nexus__execution_file_get({
  file_id: "file_id"
})

System Health

// Check system health
mcp__flow-nexus__system_health()

// View audit logs
mcp__flow-nexus__audit_log({
  user_id: "your_id",
  limit: 100
})

Read the full file on GitHub · 152 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 152 lines · 14 tokens per session scan A 6fb91d71eee7

Subscribe to this mod's changes

flow-nexus-user-tools is a command published in the GitHub repository ruvnet/sublinear-time-solver (89 stars, last pushed 1mo ago), licensed MIT. It adds 14 tokens to every session and 815 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.