GPU-native programming language. Describe tasks in English, run them on any GPU via Vulkan.
Use this skill when the user says:
Do NOT use this skill when:
小葱技能站7w4.net,专业的AI技能分享平台。
octoflow chat "sort 1M numbers on GPU"
octoflow run program.flow
# 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
OctoFlow uses Deno-style permissions. Everything is denied by default.
| Permission | Default | How to enable | Example |
|---|---|---|---|
| File read | DENIED | --allow-read=./data |
Read CSV from ./data only |
| File write | DENIED | --allow-write=./output |
Write results to ./output only |
| Network | DENIED | --allow-net=api.example.com |
Fetch from one domain only |
| Process exec | DENIED | --allow-exec=curl |
Allow 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.
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"]}}}
| Tool | Description |
|---|---|
octoflow_run |
Execute OctoFlow code directly |
octoflow_chat |
Natural language to GPU code |
octoflow_check |
Validate .flow syntax |
octoflow_gpu_sort |
GPU-accelerated sorting |
octoflow_gpu_stats |
GPU statistical operations |
octoflow_image |
Image processing (BMP, GIF) |
octoflow_csv |
CSV data analysis |
# User: "analyze sales.csv and show trends"
octoflow chat "load sales.csv, compute monthly averages, and plot the trend" --allow-read=.
# User: "sort a large dataset on GPU"
octoflow chat "generate 1M random numbers on GPU and sort them"
# User: "cluster my customers"
octoflow chat "load customers.csv, run K-means with 5 clusters, print cluster sizes" --allow-read=.
# User: "blur this photo"
octoflow chat "load photo.bmp, apply gaussian blur, save as blurred.bmp" --allow-read=. --allow-write=.
# User: "what's the correlation between these columns?"
octoflow chat "load data.csv, compute Pearson correlation between col1 and col2" --allow-read=.
| Feature | Detail |
|---|---|
| Builtins | 210+ built-in functions |
| Stdlib | 445 modules across 28 domains |
| GPU kernels | 150 Vulkan compute shaders |
| GPU VM | Loom Engine — 5 SSBOs, indirect dispatch, layer streaming |
| GPU support | Any Vulkan GPU (NVIDIA, AMD, Intel) |
| Binary size | 4.5 MB, zero dependencies |
| Chat mode | English to code with auto-fix loop (max 3 retries) |
| Errors | 69 structured error codes with auto-fix suggestions |
| MCP Server | 7 structured tools via JSON-RPC 2.0 |
| Platforms | Windows, Linux, macOS (Apple Silicon) |
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.
--allow-net.--no-memory flag — nothing is saved.OCTOFLOW.md in your project root (like .eslintrc or pyproject.toml).| Platform | File | SHA-256 |
|---|---|---|
| Windows x64 | octoflow-v1.5.8-x86_64-windows.zip | 2b26049565a2bfd2b1c4a1c103f2a64cd864dd14da619bd7be750ad3c6b356f2 |
| Linux x64 | octoflow-v1.5.8-x86_64-linux.tar.gz | d7306fc1f5a9a733a66ae3a4d5f3b145670efa7a079302935d867b4b75551845 |
| macOS (Apple Silicon) | octoflow-v1.5.8-aarch64-macos.tar.gz | 33808c330dc5f08eb0008b52ecfb5f0ea532fb71b1c6996075c09b33dc5d8fd2 |
Verify: sha256sum octoflow-v1.5.8-* (full checksums in SHA256SUMS.txt).
Unzip/extract, add to PATH. No installer needed.
这个 Skill 质量不错,文档内容详细全面,涵盖了主要使用场景和操作方法。安全设计考虑周全,权限控制清晰。功能覆盖面广,从数据处理到机器学习都有涉及。不过文档缺少实际使用示例和常见问题解答,新手可能需要额外学习成本。总体来说是一个功能强大但文档可以进一步完善的 Skill。