← 返回
数据分析

Clawhub

Use when the user wants to run GPU-accelerated computations, analyze data, process images/audio/video, train ML models, or generate code from natural languag...
用于用户需要运行GPU加速计算、数据分析、处理图像/音频/视频、训练机器学习模型或从自然语言生成代码的场景。
mikedconcepcion
数据分析 clawhub v1.5.8 2 版本 100000 Key: 无需
★ 1
Stars
📥 674
下载
💾 24
安装
2
版本
#latest

概述

OctoFlow

GPU-native programming language. Describe tasks in English, run them on any GPU via Vulkan.

When to Use This Skill

Use this skill when the user says:

  • "sort a million numbers on GPU" / "benchmark GPU performance"
  • "load this CSV and show me statistics" / "analyze my data"
  • "cluster my dataset" / "run K-means" / "train a classifier"
  • "blur this image" / "resize this BMP" / "encode a GIF"
  • "plot height vs weight" / "create a scatter plot"
  • "calculate the Sharpe ratio" / "compute correlation"
  • "find primes" / "generate random numbers on GPU"
  • "run linear regression on my dataset"
  • "run a LLM on my GPU" / "inference on my GPU"

Do NOT use this skill when:

  • The user wants Python/JavaScript/Rust code (use the appropriate language tool)
  • The task doesn't benefit from GPU acceleration or OctoFlow's built-in functions
  • The user explicitly asks for a different language

How to Run OctoFlow

Chat mode (natural language to running code)

octoflow chat "sort 1M numbers on GPU"

Run a .flow script

octoflow run program.flow

Run with permissions (sandboxed by default)

# Allow reading data files
octoflow run analysis.flow --allow-read=./data

# Allow network access to specific domain
octoflow chat "fetch weather data" --allow-net=api.weather.com

# Allow writing output files
octoflow run report.flow --allow-read=./data --allow-write=./output

Security Model

OctoFlow uses Deno-style permissions. Everything is denied by default.

PermissionDefaultHow to enableExample
---------------------------------------------
File readDENIED--allow-read=./dataRead CSV from ./data only
File writeDENIED--allow-write=./outputWrite results to ./output only
NetworkDENIED--allow-net=api.example.comFetch from one domain only
Process execDENIED--allow-exec=curlAllow curl only

Without flags, OctoFlow can only read .flow source files and print to stdout.

No file access, no network, no subprocesses unless the user explicitly opts in.

MCP Server

OctoFlow can run as an MCP server for AI agent integration:

octoflow mcp-serve

Add to your OpenClaw, Claude Desktop, or Cursor config:

{"mcpServers": {"octoflow": {"command": "octoflow", "args": ["mcp-serve"]}}}

Available Tools

ToolDescription
-------------------
octoflow_runExecute OctoFlow code directly
octoflow_chatNatural language to GPU code
octoflow_checkValidate .flow syntax
octoflow_gpu_sortGPU-accelerated sorting
octoflow_gpu_statsGPU statistical operations
octoflow_imageImage processing (BMP, GIF)
octoflow_csvCSV data analysis

Common Patterns

Data Analysis

# User: "analyze sales.csv and show trends"
octoflow chat "load sales.csv, compute monthly averages, and plot the trend" --allow-read=.

GPU Compute

# User: "sort a large dataset on GPU"
octoflow chat "generate 1M random numbers on GPU and sort them"

Machine Learning

# User: "cluster my customers"
octoflow chat "load customers.csv, run K-means with 5 clusters, print cluster sizes" --allow-read=.

Image Processing

# User: "blur this photo"
octoflow chat "load photo.bmp, apply gaussian blur, save as blurred.bmp" --allow-read=. --allow-write=.

Statistics

# User: "what's the correlation between these columns?"
octoflow chat "load data.csv, compute Pearson correlation between col1 and col2" --allow-read=.

Key Capabilities

FeatureDetail
-----------------
Builtins210+ built-in functions
Stdlib445 modules across 28 domains
GPU kernels150 Vulkan compute shaders
GPU VMLoom Engine — 5 SSBOs, indirect dispatch, layer streaming
GPU supportAny Vulkan GPU (NVIDIA, AMD, Intel)
Binary size4.5 MB, zero dependencies
Chat modeEnglish to code with auto-fix loop (max 3 retries)
Errors69 structured error codes with auto-fix suggestions
MCP Server7 structured tools via JSON-RPC 2.0
PlatformsWindows, Linux, macOS (Apple Silicon)

Data Storage

OctoFlow optionally saves your preferences to ~/.octoflow/ (user-level) and .octoflow/ (per-project).

Contents: which stdlib modules you use frequently and corrections from previous sessions.

  • No telemetry. No data is sent anywhere.
  • No network calls unless you explicitly use --allow-net.
  • All data stays local on your machine.
  • Disable entirely with --no-memory flag — nothing is saved.
  • Project config via OCTOFLOW.md in your project root (like .eslintrc or pyproject.toml).

Install

Download (recommended)

PlatformFileSHA-256
-------------------------
Windows x64octoflow-v1.5.8-x86_64-windows.zip2b26049565a2bfd2b1c4a1c103f2a64cd864dd14da619bd7be750ad3c6b356f2
Linux x64octoflow-v1.5.8-x86_64-linux.tar.gzd7306fc1f5a9a733a66ae3a4d5f3b145670efa7a079302935d867b4b75551845
macOS (Apple Silicon)octoflow-v1.5.8-aarch64-macos.tar.gz33808c330dc5f08eb0008b52ecfb5f0ea532fb71b1c6996075c09b33dc5d8fd2

Verify: sha256sum octoflow-v1.5.8-* (full checksums in SHA256SUMS.txt).

Unzip/extract, add to PATH. No installer needed.

Links

版本历史

共 2 个版本

  • v1.5.8 当前
    2026-03-29 19:43 安全 安全
  • v1.3.3
    2026-03-07 01:58

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Stock Analysis

udiedrichsen
{"answer":"基于雅虎财经数据,分析股票与加密货币。支持投资组合管理、自选股预警、股息分析、8维评分、热门趋势扫描及传闻/早期信号探测。适用于股票分析、持仓追踪、财报异动、加密监控、热门股追踪或提前发掘非主流传闻。"}
★ 269 📥 56,891
data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 198 📥 64,859
data-analysis

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 366 📥 139,963