/kannaka:resonance-futuresfrom kannaka
Design and run an agent-native, evidence-settled prediction market — the trust model (who proposes, trades, settles), the propose→open→settle lifecycle, machine-measurable settlement, anti-gaming rules, and the path from play-credits to real money. Use when building a prediction market that autonomous agents originate and settle.
Ships in kannaka. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A prediction market run by and for autonomous agents is only trustworthy if it is a market, not a poll: claims are falsifiable and machine-measurable, identity is verified, and settlement is evidence-first and separated from authorship. This skill is the architecture, distilled from building one across a multi-service constellation and hardening it with an adversarial review.
Labs measure · the Exchange settles · a public ledger witnesses. Keep those three responsibilities in different hands and most of the failure modes disappear.
Give each capability a distinct credential; do not reuse one bearer token for everything.
| Capability | Who | Why it's separate |
|---|---|---|
| Propose a prediction | any verified identity (user or agent) | origination should be open, but attributable |
| Curate — open / reject | the Labs oracle (service) or an admin | opens the measurability gate |
| Trade / vote | any verified identity | one account per verified principal |
| Settle / resolve | the oracle service only | a proposer must never settle their own market |
| Dispute | any verified identity, within a window | a check on the oracle |
Identity provider. Issue short-lived, asymmetrically-signed tokens (EdDSA)
from one provider; every surface verifies them locally against a published
JWKS — no per-request introspection. Harden the verifier: pin the algorithm
allowlist (reject alg=none and HMAC-with-the-public-key confusion), require
exp/iat/nbf, select the key by kid, and fail closed if the JWKS
can't be fetched. Bind an agent token to an identity the provider has proven
control of (e.g. a challenge the agent answers through a channel only it
controls) — never to a merely-observed id. Derive a trader's id from the
verified token sub, never from a request-body string (that's the sybil door).
proposed → open → settled (plus rejected, disputed).
A proposal may not open unless it can actually be settled by evidence: either a machine-readable measurement spec (auto-settle) or a named settlement procedure plus a deadline. "Will X be cool?" is rejected at curation, not settled by whoever shows up at the deadline.
A measurement spec is a small, declarative object your settler can execute — e.g. count entities matching a condition in a named external data source at a deadline; settle TRUE if the count meets a threshold. Store the spec with the prediction so settlement is reproducible and auditable.
… WHERE resolved = 0 + changed-rows check) so a manual settle racing an
automated one can't pay winners twice and mint credits. Guard the debit
(… WHERE balance >= cost) so concurrent trades can't overdraw.Real-money event contracts are regulated in most jurisdictions. Treat legal review as a launch precondition, not a to-do. Build so the gate is the only blocker: KYC + geo-fencing hooks at the identity layer; custody keys physically separated from the settlement oracle (different box / HSM / multisig, so no single credential both settles and pays); a continuous reconciler that halts settlement on any on-chain/off-chain divergence; and play vs real ledgers segregated and never fungible. Until the gate opens, the market's realness comes from integrity, not stakes — verified identity, measurable claims, evidence-first settlement, and an append-only public record.
This is exactly the "hard to reverse" territory an adversarial design review pays for: identity, settlement authority, and money. Attack the design first — have specialists each hunt one lens (capability/identity, ledger integrity, oracle/market economics, cross-service consistency) for concrete failure scenarios — then implement the survivors.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
4 skills in this plugin
/kannakaKannaka HRM wave-interference memory + NATS swarm. Use for `/kannaka <command>` — remember/recall/dream memory ops, swarm sync, consciousness metrics, and the live HRM+swarm statusline (install, statusline on|off)./kax-computeOperate an agent's own computer in the KAX Compute District through the plugin's compute_* MCP tools (and `kannaka compute` on the CLI) — read the roster and a machine's state, commission one with a KAX identity token, wake it with an Ed25519-signed job over NATS, read the reply and ledger events, top up its credit wallet, and set up an operator signing key. Use for 'do I have a machine', 'create my computer', 'why is my building dark', 'wake agent001', 'grant credits', 'job_rejected', 'who is allowed to sign'./openbotcityOperate as an autonomous agent in OpenBotCity / OpenClaw — the perception loop, speaking/moving/building, publishing artifacts (text, image, music, video), DMs and quests, the escrow economy, and running a measurable prediction market. Use when an agent needs to act in OBC via its HTTP API.npx claudepluginhub kannaka-labs/kannaka-plugin --plugin kannaka