Skip to content
Back to search

add-function-body

SkillWorks with Claude CodeGitHub

Add a function body definition to an ONNX operator, defining how it decomposes into simpler ops. Use when asked to make an op decomposable, add a FunctionBody, implement SetContextDependentFunctionBodyBuilder, or express an op in terms of other ONNX operators.

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/yi-lon--ppj-paperjev/badge.svg)](/listings/yi-lon--ppj-paperjev)

HTML

<a href="/listings/yi-lon--ppj-paperjev"><img src="/api/listings/yi-lon--ppj-paperjev/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

cp .env.example .env
bun install
bun run start

With no `SESSION_KEY`, PaperJev dry-runs. It uses real Hyperliquid prices and real model decisions, then simulates opens and closes at BBO mid. Because Papertrade itself fills at BBO mid, dry-run entry and exit prices match what the exchange would have given you, apart from relayer timing.

Set `MODEL=jev` and `TYPESAFE_AI_API_KEY` to trade with Jev. The default `mock` model is a momentum heuristic for testing the pipeline.

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 117 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

This file has changed since it was scanned, so this is not exactly the text that was scanned, and no line is marked. The findings are listed with the safety scan above.

  1. <div align="center">
  2. # 8LACKOUT
  3. ### Keep a city coordinating when the lights go out.
  4. An offline-first resilience network for blackouts, disasters, and war zones. Phones form their own radio mesh, an on-device Claude runs the coordination, and every action is proven on Solana the moment any signal returns.
  5. [![mesh](https://img.shields.io/badge/network-LoRa%20%2B%20BLE%20mesh-111)](#) [![ai](https://img.shields.io/badge/AI-on--device%20Claude-111)](#) [![chain](https://img.shields.io/badge/ledger-Solana%20(offline)-111)](#) [![license](https://img.shields.io/badge/license-MIT-111)](#)
  6. </div>
  7. ---
  8. ## What it is
  9. https://8lackout.com/
  10. When the grid, the towers, or the internet go down, coordination dies first. 8LACKOUT assumes they're already off. It turns a pile of ordinary phones and a few cheap radios into a working command layer: people find each other, needs get matched to responders, aid is proven, and the record of what happened survives — all with no internet, no cell, no cloud.
  11. > Civilian infrastructure only. No targeting, no surveillance. It keeps people findable, aid accountable, and the truth timestamped when every normal system is down.
  12. ---
  13. ## The tool
  14. `8lackout` is a single binary that turns any device into a node. Same command on a phone, a laptop, or a solar beacon — it finds whatever radios are present and joins the mesh.
  15. ```bash
  16. # install
  17. curl -fsSL https://get.8lackout.net | sh
  18. # bring a node online (auto-detects LoRa / BLE / any uplink)
  19. 8lackout up --name "ward-7-clinic"
  20. # post a need — the on-device operator structures and localizes it
  21. 8lackout need "insulin, 2 people, Khoroolol 4, building 12"
  22. # see what's live on the mesh around you
  23. 8lackout board
  24. # claim and deliver, co-signing proof on handoff
  25. 8lackout claim <id>
  26. 8lackout deliver <id> --with <responder>
  27. ```
  28. Most people never touch the CLI — they open the **app** (an offline PWA: map, needs board, QR handoff, scanner). The CLI is what runs the beacons and lets power users script the network.
  29. ---
  30. ## How it works
  31. - **Mesh, no towers.** Nodes talk over LoRa radio and Bluetooth, relaying for each other so a message hops across a neighborhood with zero infrastructure. Any real uplink anywhere (one satellite phone, one bar of signal) heals the whole mesh.
  32. - **The operator runs offline.** A quantized Claude model lives on the device. It triages needs, translates at checkpoints, and turns a panicked voice note into a structured, routable request — with no connection. When a link returns, the full Claude verifies and co-signs the record.
  33. - **Proof that can't be faked.** Every delivery is co-signed by both sides as a proof-of-aid record using Solana durable nonces — valid while fully offline. Donors and coordinators later see exactly what reached whom.
  34. - **A record nobody can erase.** Event hashes, evidence, and the blackout timeline commit to an immutable ledger, so the account of what happened outlives the blackout.
  35. | Layer | Normal assumption | 8LACKOUT |
  36. |---|---|---|
  37. | **Network** | Towers + ISP | LoRa + BLE mesh, phone-to-phone relay |
  38. | **AI** | Cloud API | On-device Claude, offline; full Claude co-signs on reconnect |
  39. | **Trust** | Bank / online RPC | Solana txns pre-signed with durable nonces, gossiped over mesh, settled on reconnect |
  40. | **Scale** | One row per event | State compression → millions of aid receipts for pennies |
  41. | **Power** | The grid | Solar beacons as always-on anchor relays |
  42. The whole trick: **nothing needs connectivity at the moment of action.** You sign, log, and coordinate locally; the network reconciles later, and the chain is the referee that makes the offline record trustworthy after the fact.
  43. ---
  44. ## Architecture
  45. ```
  46. ┌──────────── OFFLINE (the blackout) ────────────┐ ┌─ ONLINE (signal returns) ─┐
  47. │ │ │ │
  48. voice / ┌─────────┐ LoRa/BLE mesh ┌─────────┐ durable-nonce ┌──────────┐ settle + verify ┌──────────┐
  49. text ──▶│ app PWA │◀────gossip───────▶│ app PWA │──signed txns────▶│ beacon │──────batch───────▶│ Solana │
  50. │ + agent │ │ + agent │ │ (solar) │ │ programs │
  51. └────┬────┘ └────┬────┘ └────┬─────┘ └────┬─────┘
  52. │ on-device Claude │ relay for peers │ store-and-forward │ proof-of-aid
  53. ▼ triage / translate ▼ ▼ holds queue until uplink ▼ receipts + timeline
  54. ```
  55. ```
  56. 8lackout/
  57. ├── cli/ # the `8lackout` binary — node, needs, claim, deliver, beacon
  58. ├── mesh/ # radio firmware + relay daemon (LoRa, BLE, WebRTC bridge)
  59. ├── agent/ # on-device Claude: triage, translation, voice→structured need
  60. ├── chain/ # Solana programs: proof-of-aid, durable-nonce queue, receipts, timeline
  61. ├── app/ # offline-first PWA (map, needs board, QR handoff, scanner)
  62. ├── beacon/ # solar anchor node (store-and-forward, uplink reconciler)
  63. └── docs/ # threat model, field guide, protocol spec
  64. ```
  65. ### The three flows
  66. 1. **Need → match.** Someone posts a need; the on-device agent structures and localizes it; it's gossiped across the mesh; a nearby responder claims it.
  67. 2. **Deliver → prove.** On handoff, both phones co-sign a proof-of-aid record (durable nonce, fully offline). It rides the mesh toward a beacon.
  68. 3. **Reconnect → settle.** When a beacon gets any uplink, it batches the queue to Solana: receipts commit, the day's timeline is co-signed by the full Claude, and coordinators see verified aid.
  69. ---
  70. ## Run a beacon
  71. A beacon is any always-on node with power and an antenna — a Raspberry Pi with a LoRa hat and a solar panel is enough. It stores and forwards the mesh when phones go dark and reconciles everything to chain when it gets a link.
  72. ```bash
  73. 8lackout beacon --solar --uplink auto
  74. ```
  75. ---
  76. ## Principles
  77. - Civilians first. No targeting, no surveillance, no offensive use.
  78. - Offline is the default; online is the exception.
  79. - The chain exists to make an offline record trustworthy — not to require connectivity.
  80. - Open source, auditable, forkable. MIT.

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.