Agent skill

Flyai Compute

by alextitonis in alextitonis/fly.ai

Run jobs on the fly.ai compute network and pay for them - fly connectome experiments, or the user's own WebAssembly programs and WGSL GPU shaders, run by browser miners.

MITAuto-check passedGame Development

Install Flyai Compute

skills CLI
$ npx skills add alextitonis/fly.ai --skill flyai-compute -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install alextitonis/fly.ai flyai-compute --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/alextitonis/fly.ai.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/flyai-compute .claude/skills/flyai-compute && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
flyai-compute
GitHub stars
140
Token cost
~1.9k tokens
SKILL.md length
992 words
Files
2 (incl. scripts)
Skills in repo
3
Repo updated
First seen
Licence
MIT

At a glance

Run jobs on the fly.ai compute network and pay for them - fly connectome experiments, or the user's own WebAssembly programs and WGSL GPU shaders, run by browser miners.

  • Works in 6 steps: Work out the job with the user. → Quote it → Get a yes, then create it with the… → …
  • The user says run this on fly.ai compute
  • SKILL.md covers Rules, Steps and Good to know
  • Runs JavaScript scripts from its folder; calls node; reaches flyaiworld.com

What it does

Flyai Compute is an agent skill from alextitonis/fly.ai. Run jobs on the fly.ai compute network and pay for them - fly connectome experiments, or the user's own WebAssembly programs and WGSL GPU shaders, run by browser miners. Prices the job, creates the order, hands the user a pay link to pay in $FLYAI with their own wallet, then downloads the results. Use when the user says "run this on fly.ai compute", "submit a job to flyai", "order compute", "run a connectome sweep", "/flyai-compute", or wants to check, top up, stop or collect a fly.ai compute order.

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including scripts.

It sits in Game Development, covering Shaders. It works with WebAssembly. The licence is MIT.

When your agent uses it

  • The user says run this on fly.ai compute
  • Submit a job to flyai
  • Run a connectome sweep
  • Collect a fly.ai compute order

Example prompts

  • “run this on fly.ai compute”
  • “submit a job to flyai”
  • “order compute”
  • “/flyai-compute”

Requirements

  • Python 3
  • Node.js

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Work out the job with the user.
  2. Quote it
  3. Get a yes, then create it with the wallet that will pay. It must be the user's own address; ask for it
  4. Pay: give the user the pay_link from the output: https://www.flyaiworld.com/compute/jobs?pay=.
  5. Follow it and collect the results
  6. Later: add --order ID --count N (keep-open orders) and stop --order ID. Both read the key from the

What it can do on your machine

Read from SKILL.md and the folder at commit 96bfc17. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (JavaScript), which the agent can run.

    Shell commands in SKILL.md call:

    • node

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • flyaiworld.com

    Also links to:

    • flyai-mine.fly.dev

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Flyai Compute loads about 1.9k tokens when it runs. Until then it costs about 130 tokens; SKILL.md has 992 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~130
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from alextitonis/fly.ai at commit 96bfc17, republished under its MIT licence (© alextitonis). 992 words, ~1,924 tokens.

Download SKILL.mdSave it as .claude/skills/flyai-compute/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
flyai-compute
description
Run jobs on the fly.ai compute network and pay for them - fly connectome experiments, or the user's own WebAssembly programs and WGSL GPU shaders, run by browser miners. Prices the job, creates the order, hands the user a pay link to pay in $FLYAI with their own wallet, then downloads the results. Use when the user says "run this on fly.ai compute", "submit a job to flyai", "order compute", "run a connectome sweep", "/flyai-compute", or wants to check, top up, stop or collect a fly.ai compute order.

fly.ai compute 🪰

Browser miners run jobs for $FLYAI. There are two kinds of job:

  • Brain experiments (connectome-sweep): drive a sense in the full 166,700-neuron fly connectome and record what the motor neurons do.
  • The user's own programs: WebAssembly (CPU) or WGSL (GPU) programs, one job per input.
  • Embeddings: text in, one vector per text out (minilm-l6 or bge-small-en, 384 numbers each), run on miners' GPUs. Use them for search, clustering, deduplication or RAG. Each job is a batch of up to 256 texts.

A job is charged only when it settles, which means two miners returned the same answer (or redundancy of them did). 80% of every charge goes to the miners.

Everything goes through scripts/flyai.mjs, which sits next to this file. It needs Node 18+ and no installs. Its notes for the person go to stderr, and a JSON line for you goes to stdout. The full API guide is https://www.flyaiworld.com/compute/compute-api.md. Fetch it when you need a field this file doesn't cover.

Rules

  • Money moves only with the user's OK. Always quote first, show the cost, and wait for a clear yes before create. Creating an order is free and unpaid, but it holds the price for 60 minutes and says "pay me".
  • Never ask for, read, or type a private key or seed phrase. The user pays in their own wallet through the pay link. If they want to pay from the terminal with their own tools (e.g. Foundry cast), they run that command themselves. Suggest the ! <command> prefix so the output lands in the conversation.
  • Keep the order-<id8>.json file that create writes. It holds the order key, the only way to add jobs or stop the order from the terminal, and the webhook secret. Neither is shown again. Tell the user where the file is, and don't paste its contents into chat.
  • Test programs before ordering. A program that doesn't give the same bytes twice will never settle, and the buyer's budget sits there. In the fly.ai repo, run node mine/examples/run-local.ts <program.wasm> --index 0. It runs the job twice exactly as a miner would and checks that both runs agree.

Steps

  1. Work out the job with the user.

    • Brain experiment: write a spec.json. For example:
      json
      {"kind":"connectome-sweep","channels":["LPLC2","LC4","none"],"sides":["L","R"],"amounts":[0.2,0.4],"gains":[3],"tonics":[0.14],"seeds":5,"warm":250}
      Channels: LPLC2 looming, LC4 fast threat, LPLC1 small object, LC10a target, SNta leg touch, none control. Every combination is one condition, run once per seed.
    • Their own program: a .wasm file (Rust wasm32-unknown-unknown or wasm32-wasip1, C via wasi-sdk, Zig, TinyGo, AssemblyScript) or a .wgsl compute shader. Jobs come from --count N, where job i gets i as a little-endian u32, or from --inputs dir, one job per file. The guide's "Writing a WebAssembly job" section shows the flyai imports and how to make outputs deterministic.
    • Embeddings: a text file, with one text per line (.txt), a JSON array (.json) or JSON lines (.jsonl). The script splits it into batches.
    • Examples to start from: https://github.com/alextitonis/fly.ai/tree/main/mine/examples (pi, hash-search, mandelbrot, tsp, wordcount, matmul-wgsl).
  2. Quote it:

    bash
    node scripts/flyai.mjs quote --spec spec.json
    node scripts/flyai.mjs quote --program job.wasm --count 1000 [--timeout 60] [--redundancy 2]
    node scripts/flyai.mjs quote --program job.wgsl --count 64 --dispatch 256,1,1 --output-bytes 4096 [--tolerance 0.0001]
    node scripts/flyai.mjs quote --embed docs.txt [--model minilm-l6|bge-small-en] [--batch 128]

    Show the user the number of jobs, the price per job and the most it can cost. Mention that jobs already done cost less. The lowest bid depends on timeout_s (it grows with every started 30 s), and config shows the current min_bid and market. A higher --bid gets picked by miners more often.

  3. Get a yes, then create it with the wallet that will pay. It must be the user's own address; ask for it:

    bash
    node scripts/flyai.mjs create --wallet 0xTHEIRS --spec spec.json [--bid N] [--budget N] [--hours H] [--webhook https://...]

    --budget defaults to the full cost, and whatever isn't spent returns to the wallet's balance. Add --keep-open to a program order to keep feeding it jobs.

  4. Pay: give the user the pay_link from the output: https://www.flyaiworld.com/compute/jobs?pay=<id>. They open it, sign in with the order's wallet and pay in $FLYAI on Robinhood Chain; a card button shows there too when card payments are switched on. The page starts the order itself. If they would rather send the $FLYAI transfer themselves, it must be exactly budget_wei (the last digits are the order's tag) from the order's wallet to pay_to, then: node scripts/flyai.mjs pay --order ID --tx 0x.... Paying in USDC on Base from code is in the guide's "Paying in USDC on Base" section (pay --order ID --tx 0x... --chain base after the transfer).

  5. Follow it and collect the results:

    bash
    node scripts/flyai.mjs status --order ID
    node scripts/flyai.mjs watch --order ID [--out results/]     # waits until done; --once takes what's there now

    For embeddings, N.out holds batch N's vectors as float32, one row of 384 per text, in the order of the file's texts (batch N holds texts N×batch to N×batch+batch-1). In Python that's numpy.fromfile(path, "<f4").reshape(-1, 384). The vectors are normalized, so a dot product is the cosine similarity. For programs, N.out is job N's output bytes, and N.json is its row: who checked it, any error (e.g. "timeout"), and answers when miners disagreed (disputed). Brain sweeps have no .out file. Their N.json holds the condition plus base and stim, the spike counts for each motor group before and during the stimulus. The guide's "A result row" section turns those into Hz. Read it before interpreting results for the user. If you want results pushed instead, suggest --webhook. The guide shows how to check its signature.

  6. Later: add --order ID --count N (keep-open orders) and stop --order ID. Both read the key from the order-*.json file in the current folder, or take --key.

Show full SKILL.md (119 more words)Show less

Good to know

  • Miners are browsers: a WASM job gets 1 thread and up to timeout_s (1–600 s), with no network or files. A WGSL job gets one dispatch and an output of up to 4 MiB. Big models, CUDA and long-running services don't fit. Suggest splitting the work into many small, deterministic jobs.
  • redundancy 1 trusts the first miner. It's cheaper and faster, but unchecked. The default of 2 needs two wallets to agree. For WGSL, --tolerance compares floats within a margin, since different GPUs round differently.
  • Order statuses: unpaid → live → done, or ended (budget, time limit or stopped), or expired (never paid).
  • The API is https://flyai-mine.fly.dev. Set FLYAI_SERVER to use another server (e.g. a local test server).

© alextitonis, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (scripts) in skills/flyai-compute of alextitonis/fly.ai.

  • SKILL.md
  • scripts/flyai.mjs

Open the folder on GitHubat commit 96bfc17

Compare with similar skills

Flyai Compute next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Flyai Compute compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Flyai Compute this skillalextitonis/fly.ai140—~1.9kAutomated safety check: PassMIT
Godot Wechat Minigame Adaptergodothub/godot-minigame187—~1.5kAutomated safety check: PassMIT
New ExperimentTresjs/tres3.8k—~782Automated safety check: PassMIT
Assets Shader List AllIvanMurzak/Unity-MCP4.4k—~435Automated safety check: PassApache-2.0
Unreal Material and VFX Workflowflopperam/unreal-engine-mcp1.1k—~927Automated safety check: PassNone
Rdc CLIBANANASJIM/rdc-cli182—~2.9kAutomated safety check: PassMIT

Similar skills

  • Godot Wechat Minigame Adapter

    godothub/godot-minigame

    Apply the bundled self-contained Godot WeChat Mini Game adapter kit to an official Godot checkout.

    187 GitHub stars~1.5k tokensUpdated 24 days ago
    Game DevelopmentAuto-check passed
  • New Experiment

    Tresjs/tres

    Create a new experiment in TresJS Lab with all necessary files

    3.8k GitHub stars~782 tokensUpdated yesterday
    Game DevelopmentAuto-check passed
  • Assets Shader List All

    IvanMurzak/Unity-MCP

    List all shaders available in the project assets and packages, sorted by name.

    4.4k GitHub stars~435 tokensUpdated 5 days ago
    Game DevelopmentAuto-check passed
  • Unreal Material and VFX Workflow

    flopperam/unreal-engine-mcp

    Walks an Unreal Engine MCP agent through building materials, Niagara particle systems, Chaos destruction, and curve assets with inspect-then-edit steps.

    1.1k GitHub stars~927 tokensUpdated 3 mo ago
    Game DevelopmentAuto-check passed
  • Rdc CLI

    BANANASJIM/rdc-cli

    A skill your agent uses when working with RenderDoc capture files (.rdc), analyzing GPU frames, tracing shaders, inspecting draw calls, or running CI assertions against GPU captures.

    182 GitHub stars~2.9k tokensUpdated yesterday
    Game DevelopmentAuto-check passed
  • UMG Material MCP

    winyunq/UnrealMotionGraphicsMCP

    Creates, edits and compiles Unreal Engine 5.8 material assets as one HLSL Custom node through the UMG MCP bridge, instead of editing .uasset files directly.

    210 GitHub stars~913 tokensUpdated 2 mo ago
    Game DevelopmentAuto-check passed

More from alextitonis/fly.ai

  • Fly Mode

    alextitonis/fly.ai

    Turn Claude into a fruit fly whose reactions come from a real fly brain (the 166,700-neuron MaleCNS connectome, via the flybrain pip package).

    140 GitHub stars~1k tokensUpdated yesterday
    Auto-check passed
  • Flyai X402

    alextitonis/fly.ai

    Buy single answers from fly.ai's pay-per-request API, a few cents each over x402 (USDG on Robinhood Chain or USDC on Base) - the fly desk model's read of a Polymarket market, a TimesFM forecast for…

    140 GitHub stars~1.6k tokensUpdated yesterday
    Auto-check passed

Works with

Questions about Flyai Compute

What does Flyai Compute do?

Run jobs on the fly.ai compute network and pay for them - fly connectome experiments, or the user's own WebAssembly programs and WGSL GPU shaders, run by browser miners. ai.ai compute network and pay for them - fly connectome experiments, or the user's own WebAssembly programs and WGSL GPU shaders, run by browser miners.

When should I use Flyai Compute?

Flyai Compute fits situations like: the user says run this on fly.ai compute; submit a job to flyai; run a connectome sweep; collect a fly.ai compute order.

How do I install Flyai Compute in Claude Code?

Run `npx skills add alextitonis/fly.ai --skill flyai-compute -a claude-code`. Or copy the skill folder (skills/flyai-compute in alextitonis/fly.ai) into .claude/skills/flyai-compute in your project. Claude Code loads it when a task matches its description.

How do I install Flyai Compute in Codex?

Run `npx skills add alextitonis/fly.ai --skill flyai-compute -a codex`. Or copy the skill folder (skills/flyai-compute in alextitonis/fly.ai) into .agents/skills/flyai-compute in your project. Codex loads it when a task matches its description.

Can I use Flyai Compute in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add alextitonis/fly.ai --skill flyai-compute -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/flyai-compute, .gemini/skills/flyai-compute, .github/skills/flyai-compute and .opencode/skills/flyai-compute in your project.

What does Flyai Compute need to run?

Going by SKILL.md and its folder, Flyai Compute needs JavaScript for the scripts in its folder and the command-line tools its instructions call (node). Our summary lists: Python 3; Node.js.

Does Flyai Compute access the network?

SKILL.md names 2 domains. In commands or code: flyaiworld.com; the agent is likely to contact it when it follows the instructions. As links in the text: flyai-mine.fly.dev. This is read from the text; nothing was executed.

Is Flyai Compute safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Flyai Compute use?

Flyai Compute is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Flyai Compute use?

About 1.9k tokens (SKILL.md is roughly 7.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Flyai Compute?

Skills that share tags, products or a category with Flyai Compute: Godot Wechat Minigame Adapter (godothub/godot-minigame, 187 stars), New Experiment (Tresjs/tres, 3.8k stars), Assets Shader List All (IvanMurzak/Unity-MCP, 4.4k stars) and Unreal Material and VFX Workflow (flopperam/unreal-engine-mcp, 1.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Flyai Compute?

alextitonis (a GitHub user) maintains it in alextitonis/fly.ai, which has 140 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 8, 2026.

Source: alextitonis/fly.ai on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.