Skill
Scaffold cross-DEX arbitrage and quant-execution on Solana -- spatial/triangular DEX arb, perp-spot basis and funding-rate capture (Drift), realtime gRPC ingestion (Yellowstone/LaserStream/ShredStream), simulate-first execution with Jito bundles, priority-fee/tip optimizer, and a risk harness with limits, circuit breakers, and kill-switch. Generates the local execution+risk orchestration layer that single-venue swap skills lack.From its SKILL.md
npx -y skills add alexbanda08/solana-arb-quant-harness --skill skillAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
3.9 KB, 878 tokens by cl100k_base, as published. Nobody here has run it
solana-arb-quant-harness
Generates the orchestration tier single-venue Solana skills omit: normalized cross-DEX quotes, realtime ingestion, simulate-first execution + Jito bundling, fee/tip sizing, and a real risk harness (caps, circuit breaker, kill-switch, telemetry). Plus perp-spot-basis and funding-rate strategies on a slower, less-contested clock.
vs clawpump: clawpump is a hosted API returning unsigned bundles that punts execution + risk to you. This skill is that layer -- local, vendor-neutral scaffolding -- and adds perp-spot/funding strategies clawpump never touches. Not a bot; scaffolding + knowledge.
PRECEDENCE (read before any code-gen)
- Read
references/safety-rails.mdFIRST. Every emitted execution path obeys it. - Never emit fund-moving or signing code without a typed human confirm-gate; no flag defeats it. Default
DRY_RUN=true,REQUIRE_CONFIRM=true. AlwayssimulateTransactionbefore submit. - Prefer pinned versions in
references/sdk-versions.md; import DEX SDKs lazily. - Delegate Anchor/IDL/program/tx-signing/priority-fee plumbing to
../solana-dev/(viareferences/delegation.md); delegate swaps to the Jupiter skill. - Honest economics: spatial retail arb is infra-dominated -- present
spatial-dex-arb.mdas educational; lead with funding/basis + landing + risk.
Task Routing Guide
Map the user's intent to exactly one leaf.
| User asks about... | Open this leaf |
|---|---|
| spatial / cross-DEX price arb | references/strategies/spatial-dex-arb.md |
| triangular / multi-hop arb | references/strategies/triangular-arb.md |
| perp-spot basis / funding-rate strategy | references/strategies/perp-spot-basis.md |
| funding-rate capture (Drift) | references/strategies/funding-rate-capture.md |
| stream realtime data | references/streaming/realtime-ingestion.md |
| atomic execution / Jito bundle / tx landing | references/execution/bundle-and-landing.md |
| priority fee / tip sizing | references/execution/fee-tip-optimizer.md |
| risk limits / circuit breaker / telemetry | references/risk/harness-and-telemetry.md |
| normalize quotes across venues | references/quote-normalizer.md |
| a term / why am I losing | references/glossary-and-failure-modes.md |
| sign / submit / program / IDL | references/delegation.md |
| package / version / install | references/sdk-versions.md |
| safety / confirm-gate / caps | references/safety-rails.md |
Progressive disclosure
- Router (this file): pointers only.
- Leaves (~60-200 lines each): minimal, correct, importable code -- exported symbols match the repo contract (
UnifiedQuote/getQuotes,RiskHarness/RiskLimits/MetricsRecorder,runFundingBasis,scanSpatial,scanTriangular,createYellowstoneStream,submitBundle,computePriorityFee/estimateTip). - Delegation:
../solana-dev/for program/tx; Jupiter skill for swaps.
Agents
| Agent | Role | Model |
|---|---|---|
agents/arb-strategy-architect.md | Picks strategy, sizing, and risk envelope | opus |
agents/stream-engineer.md | Wires streaming + bundle + fee/tip + harness | sonnet |
Commands
| Command | Does |
|---|---|
commands/scaffold-strategy.md | Emit a strategy module (dry-run default) |
commands/wire-stream.md | Generate a Yellowstone gRPC ingestion module |
commands/add-risk-limits.md | Drop in the RiskHarness with caps + kill-switch |
What ships with it: 26 files
171.7 KB alongside SKILL.md, 11 of them executable
references/
- delegation.md2.8 KB
- execution/bundle-and-landing.md7.2 KB
- execution/fee-tip-optimizer.md5.5 KB
- glossary-and-failure-modes.md4.8 KB
- quote-normalizer.md5.5 KB
- risk/harness-and-telemetry.md4.7 KB
- safety-rails.md4.5 KB
- sdk-versions.md3.3 KB
- strategies/funding-rate-capture.md5.1 KB
- strategies/perp-spot-basis.md7.5 KB
- strategies/spatial-dex-arb.md6.3 KB
- strategies/triangular-arb.md5.9 KB
- streaming/realtime-ingestion.md6.3 KB
templates/
- config.example.tsruns10.1 KB
- data/yellowstone-stream.tsruns9.5 KB
- .env.example3.4 KB
- execution/fee-optimizer.test.tsruns8.7 KB
- execution/fee-optimizer.tsruns6.3 KB
- execution/jito-bundle.tsruns10.5 KB
- package.json2.3 KB
- quote-normalizer.tsruns6.6 KB
- risk/harness.test.tsruns14.0 KB
- risk/harness.tsruns7.0 KB
- strategies/funding-basis.tsruns6.9 KB
- strategies/spatial-arb.tsruns8.5 KB
- strategies/triangular-arb.tsruns8.6 KB