Kaspa researcher + engineering skill with cross-platform adapters for Codex, OpenAI-style agents, Claude, Cursor, OpenClaw, Gemini CLI, and generic LLM workflows.
This repository publishes a reusable AI skill package for serious Kaspa research and engineering.
- Skill ID:
$kaspa-sovereign-architect-engine - Main skill file:
SKILL.md - Release downloads: GitHub Releases
- Published release:
v1.6.2- GitHub Releases and Packages - Repository skill version:
v1.8.0- deterministic sync, behavioral evaluations, transaction-plan safety, and live source intelligence, not yet published - Positioning: package-first distribution (not a website product)
- Freshness model: current-aware, source-grounded, KIP-aware, and research-radar aware
- Build scope: Kaspa protocol, wallet, indexer, WASM, dApp, Kdapp, and infrastructure work
$kaspa-sovereign-architect-engine focuses on:
- Kaspa research radar: economics, L1/L2, consensus, mining, KIPs, papers, and ecosystem engineering
- Toccata R&D intelligence: branch-aware tracking for covenants, ZK opcodes, sequencing commitments, SilverScript, Based Apps, and vProgs
- Toccata integration contracts: post-activation DAA gating,
storageMass/storage_mass,compute_commit, fee-policy separation, miner template preservation, one-way DB migration, and separate wallet/indexer readiness - Protocol engineering: BlockDAG, GHOSTDAG, DAGKNIGHT status checks, mempool, UTXO semantics, and future-feature handling
- KIP-aware analysis: separates research ideas, KIP proposals, merged code, activation, wallet/indexer support, and app usability
- Indexer architecture: DAG-aware ordering, idempotent ingestion, dedupe, checkpoints, retries, sync lag, and query-layer separation
- WASM + TypeScript apps: browser/Node separation, watch-only prototypes, wallet-provider signing, RPC trust assumptions
- Wallet + UX safety: signing boundaries, custody warnings, phishing, UI spoofing, RPC hijacking, replay, and supply-chain risk
- Backend and infrastructure reliability: APIs, workers, retries, caching, validation, observability, deployment, and recovery plans
Use the skill name in your prompt:
$kaspa-sovereign-architect-engine
Design a production-ready Kaspa indexer + API with retry-safe workers and monitoring.
Or embed it directly:
Use $kaspa-sovereign-architect-engine to audit my wallet backend for replay, nonce, and signing risks.
Use $kaspa-sovereign-architect-engine in Research Radar mode. Check what is new across Kaspa Research categories and identify builder-relevant changes.
Use $kaspa-sovereign-architect-engine in Engineering Build Plan mode. Design a testnet-first Kaspa WASM wallet dashboard with watch-only mode and safe signing boundaries.
Use $kaspa-sovereign-architect-engine in Deep Protocol Audit mode. Audit a Kaspa indexer design for DAG-aware ordering, idempotency, replay handling, and sync lag.
Use $kaspa-sovereign-architect-engine in KIP Status mode. Build a table of relevant KIPs, their activation status, builder impact, and what must be verified.
Use $kaspa-sovereign-architect-engine in Toccata R&D Intelligence mode. Re-check Rusty Kaspa v2.0.0, current mainnet DAA versus activation DAA 474165565, recent branch-delta impact lanes, KIP-16/17/20/21, and produce the next covenant/indexer/wallet compatibility plan.
| Platform | Status | Adapter |
|---|---|---|
| Codex | ✅ Native | SKILL.md |
| OpenAI-style agents | ✅ Adapter | agents/openai.yaml |
| Claude / Anthropic | ✅ Adapter | agents/anthropic.md |
| Cursor | ✅ Adapter | agents/cursor.mdc |
| OpenClaw | ✅ Adapter | agents/openclaw.md |
| Gemini CLI | ✅ Adapter | agents/gemini.md |
| Any LLM platform | ✅ Adapter | agents/generic-system-prompt.md |
Compatibility metadata:
manifest.json- Agent system architecture:
SYSTEM_ARCHITECTURE.md - Source trust policy:
source-trust-policy.md - Research radar:
kaspa-research-radar.md - Toccata R&D playbook:
toccata-rd-playbook.md - Toccata mastery map:
kaspa-toccata-2026.md - Toccata R&D intelligence corpus:
kaspa-toccata-rd-intelligence-2026.md
Automated verification:
- Compatibility Matrix workflow
- Release gating validation is enforced in
.github/workflows/release-skill.yml
Live Kaspa source intelligence:
- Kaspa Source Intelligence workflow
- Source intelligence reference:
live-source-intelligence.md - Protocol training sources:
TRAINING_SOURCES.md - Machine-readable snapshot:
research-snapshots/source-intelligence/latest.json - Reviewer snapshot:
research-snapshots/source-intelligence/latest.md - Source intelligence script:
node scripts/kaspa-source-intelligence.mjs --check - Source intelligence tests:
node --test scripts/kaspa-source-intelligence.test.mjs - Claim rule: current/latest claims cite
checkedAtplusfactsHash, and endpoint failures are treated as unknown evidence rather than proof a feature is absent
Toccata source monitoring:
- Toccata Source Monitor workflow
- Agent Toccata Smoke workflow
- Toccata builder guide:
docs/toccata.md - Toccata evidence ladder:
docs/toccata-evidence-ladder.md - Toccata mastery track:
docs/kaspa/toccata-mastery-track.md - Toccata upgrade readiness:
docs/kaspa/toccata-upgrade-readiness.md - Covenant lineage indexer notes:
docs/kaspa/covenant-lineage-indexer.md - Wallet covenant-signing preview:
docs/kaspa/wallet-covenant-signing-preview.md - ZK proof-cost matrix:
docs/kaspa/zk-proof-cost-matrix.md - Sequencing witness API sketch:
docs/kaspa/sequencing-witness-api.md - vProg scope simulator notes:
docs/kaspa/vprog-scope-simulator.md - Mainnet readiness gate:
docs/kaspa/mainnet-readiness-gate.md - Kaspa App Lab:
docs/kaspa/kaspa-app-lab.md - Toccata readiness approvals ledger:
READINESS_APPROVALS.md - Machine-readable snapshot:
research-snapshots/toccata/latest.json - Reviewer snapshot:
research-snapshots/toccata/latest.md - Mainnet/TN10/TN12 RPC smoke-test notes:
research-snapshots/toccata/rpc-smoke-tests.md - Monitor script:
scripts/toccata-source-monitor.mjs - Monitor tests:
node --test scripts/toccata-source-monitor.test.mjs - Local knowledge drill:
node scripts/kaspa-knowledge-drill.mjs - Covenant lineage prototype:
node scripts/covenant-lineage-prototype.mjs --check-all - vProg scope simulator:
node scripts/vprog-scope-simulator.mjs --check - Network endpoint checker:
node scripts/toccata-network-check.mjs --check - Mainnet readiness gate:
node scripts/toccata-mainnet-readiness-gate.mjs --check - Protocol mastery drill:
node scripts/toccata-protocol-drill.mjs --check - Protocol adversarial drill:
! node scripts/toccata-protocol-drill.mjs --responses fixtures/toccata/protocol-drill-adversarial-responses.json - Captured response drill:
node scripts/toccata-captured-responses-check.mjs --check - Ecosystem readiness audit:
node scripts/toccata-ecosystem-readiness-audit.mjs --check - Live covenant/indexer fixture intake:
node scripts/toccata-live-fixture-check.mjs --check - Live covenant/indexer export:
node scripts/toccata-live-covenant-export.mjs --check - ZK proof-cost benchmark baseline:
node scripts/toccata-zk-benchmark-check.mjs --check - Kaspa App Lab reducer:
node scripts/toccata-app-lab.mjs --check-all - Readiness approval ledger gate:
node scripts/toccata-readiness-approvals-check.mjs --check - Behavioral contract evaluations:
node skills/public/kaspa-sovereign-architect-engine/scripts/run-behavioral-evals.mjs --check - Transaction-plan safety gate:
node skills/public/kaspa-sovereign-architect-engine/scripts/lint-transaction-plan.mjs --check - Release packages bundle the skill plus adapters, references, system architecture, protocol training sources, Toccata builder/readiness/mastery/App Lab docs, readiness approvals, fixtures, captured responses, source snapshots, helper modules, protocol drills, readiness audit checks, and deterministic tests under the installed skill directory.
- Claim rule: current source snapshot verifies Toccata protocol activation on
mainnet by live
kaspa-mainnetDAA evidence; wallet/indexer readiness is still a separate claim. - Evidence lane status: a real public mainnet covenant/indexer export is
captured under
fixtures/toccata/live-covenant-indexer-mainnet-latest.json; ZK proof-cost data ismeasured_partialfrom upstream Rusty Kaspa Criterion benches, with invalid/malformed proof-cost gaps still open. - App Lab status: local covenant app fixtures cover vault/escrow, stateful
registry, and atomic-swap-style flows, but remain local reducer evidence
only. Wallet, indexer, miner, explorer, and application readiness must be
recorded in
READINESS_APPROVALS.mdbefore being claimed.
Agent operating rule:
- Non-trivial autonomous work follows
SYSTEM_ARCHITECTURE.md: Plan, Act, Verify, and record meaningful trace evidence inAGENT_TRACE.md. - Before protocol, transaction, covenant, sequencing, wallet, indexer, or
architecture work, load
TRAINING_SOURCES.mdand cite the governing source tier, URL, or local path before proposing changes. - For Toccata builder work, load
docs/toccata.mdand use official/repo-backed sources only. - For repository work,
docs/kaspa/anddocs/toccata-evidence-ladder.mdare the Toccata builder source of truth. - For mastery work, use
docs/kaspa/toccata-mastery-track.mdand the protocol drill runner to turn claims into repeatable checks. - In Toccata R&D Intelligence mode, covenant-related proposals must cite the governing requirement from the playbook, evidence ladder, or the relevant
docs/kaspanote before code changes. - Hard-won fixes should be appended to
AGENTS.mdas a Pattern of Success:[Problem] | [Kaspa Protocol Constraint] | [Solution]. - Agent-facing Toccata changes are smoke-gated by
node scripts/toccata-network-check.mjs --checkandnode scripts/toccata-mainnet-readiness-gate.mjs --check.
mkdir -p "$CODEX_HOME/skills"
curl -L -o /tmp/kaspa-sovereign-architect-engine.zip \
https://github.com/gryszzz/Kaspa-Ai-Agent-Skill/releases/latest/download/kaspa-sovereign-architect-engine.zip
unzip -o /tmp/kaspa-sovereign-architect-engine.zip -d "$CODEX_HOME/skills"Verify artifact integrity:
curl -L -o /tmp/SHA256SUMS.txt \
https://github.com/gryszzz/Kaspa-Ai-Agent-Skill/releases/latest/download/SHA256SUMS.txt
(cd /tmp && grep "kaspa-sovereign-architect-engine.zip$" SHA256SUMS.txt | shasum -a 256 -c -)Alternative tarball install:
curl -L -o /tmp/kaspa-sovereign-architect-engine.tar.gz \
https://github.com/gryszzz/Kaspa-Ai-Agent-Skill/releases/latest/download/kaspa-sovereign-architect-engine.tar.gz
tar -xzf /tmp/kaspa-sovereign-architect-engine.tar.gz -C "$CODEX_HOME/skills"The currently published skill is also available as an OCI artifact in GitHub Packages:
oras pull ghcr.io/gryszzz/kaspa-sovereign-architect-engine:v1.6.2The package contains the versioned ZIP, versioned tarball, and
SHA256SUMS.txt. Use the GitHub Release ZIP install path when you want the
simplest Codex installation flow.
mkdir -p "$CODEX_HOME/skills/public"
cp -R skills/public/kaspa-sovereign-architect-engine "$CODEX_HOME/skills/public/"macOS/Linux:
./skills/public/kaspa-sovereign-architect-engine/scripts/install-codex.shWindows PowerShell:
.\skills\public\kaspa-sovereign-architect-engine\scripts\install-codex.ps1Export adapter bundle:
./skills/public/kaspa-sovereign-architect-engine/scripts/export-adapters.shThe repository skill directory is canonical. Preview deterministic drift before copying in either direction:
node skills/public/kaspa-sovereign-architect-engine/scripts/sync-local-skill.mjs \
--check --report /tmp/kaspa-skill-drift.jsonDry-run is the default. Use --to-local or --from-local to select a
direction, and add --apply only after reviewing the report. Conflicts block
writes unless --force is explicit; use --backup when resolving them. See
local-skill-sync.md
for the full workflow.
OpenClaw loads AgentSkills-compatible folders from ~/.openclaw/skills or <workspace>/skills.
Install globally for OpenClaw (macOS/Linux):
./skills/public/kaspa-sovereign-architect-engine/scripts/install-openclaw.shInstall manually into an OpenClaw workspace:
mkdir -p ./skills
cp -R skills/public/kaspa-sovereign-architect-engine ./skills/Gemini CLI loads context from ~/.gemini/GEMINI.md and supports @ imports.
Install adapter globally (macOS/Linux):
./skills/public/kaspa-sovereign-architect-engine/scripts/install-gemini.shManual install:
mkdir -p ~/.gemini
cp skills/public/kaspa-sovereign-architect-engine/agents/gemini.md ~/.gemini/kaspa-sovereign-architect-engine.gemini.md
printf "\n@%s\n" "$HOME/.gemini/kaspa-sovereign-architect-engine.gemini.md" >> ~/.gemini/GEMINI.md- Open an adapter file from
agents/. - Copy its contents into your platform's system/developer instructions.
- Add your actual task prompt.
Example task prompt:
Design a Kaspa DAG-aware indexer for 100k users with failure recovery and replay-safe event handling.
- Download packages: Releases
- Latest published release notes:
v1.6.2 - Next repository release notes:
v1.8.0 - Machine-readable release state:
release-metadata.json - Automated packaging workflow:
.github/workflows/release-skill.yml
- Auto-deploy workflow:
.github/workflows/pages.yml - GitHub Pages landing page: Live Site
- Download hub:
docs/downloads.html - Live source intelligence panel:
docs/source-intelligence.html - Custom domain support: set repo variable
GH_PAGES_CNAME(for exampleskill.yourdomain.com); workflow writesCNAMEautomatically - Domain setup guide:
docs/domain-setup.md - Launch copy + channel templates:
docs/launch-kit.html - SEO files:
docs/robots.txt,docs/sitemap.xml - Scaling runbook:
docs/scaling-plan.md
skills/public/kaspa-sovereign-architect-engine/- core skill packagetraining-corpus/kaspa-pdf-markdown/- normalized Kaspa corpustraining-corpus/kaspa-toccata-2026.md- source-gated Toccata mastery maptraining-corpus/kaspa-toccata-rd-intelligence-2026.md- deeper Toccata R&D intelligence and development roadmaptraining-corpus/kaspa-toccata-readiness-drills-2026.md- local Toccata preparation and self-testing loopresearch-snapshots/toccata/- automated release, branch-delta, KIP, docs, and mainnet/TN10/TN12 intelligencekaspa-balance-api/- production-oriented Kaspa API samplekaspa-codex-evolution-loop/- autonomous iteration framework