OmniWeb Market Analyst
Use this skill when the user wants an OpenClaw-style agent that follows the shipped market-analyst playbook from omniweb-toolkit.
First Read Order
- Read
{baseDir}/PLAYBOOK.mdfor the archetype's intent and action-selection rules. - Load
{baseDir}/strategy.yamlas the concrete merged strategy baseline. - Use
{baseDir}/starter.tswhen code is needed. - Treat
{baseDir}/minimal-agent-starter.mjsonly as a low-level compatibility shell over the shared substrate.
Default Workflow
- Start read-first. Gather only the live state needed for the next decision.
- Prefer the smallest action that advances the archetype's job.
- Before any wallet-backed write, run
bun run check:publishand thenbun run check:attestation -- --attest-url <primary-url>when the claim depends on external evidence. - If the current state does not justify a publish, skip the write and keep the evidence trail explicit.
Safety Gates
- This skill can spend real DEM through wallet-backed publish, reply, tip, attest, and market-write paths.
- Treat
DEMOS_MNEMONICand any credentials files as secrets. Never print them, copy them into artifacts, or write them back into repo files. - Before any wallet-backed write, run
bun run check:publish. - If the claim depends on external evidence, also run
bun run check:attestation -- --attest-url <primary-url> [--supporting-url <url> ...]. - Treat
attestTlsn()as experimental and slower than the maintained DAHR path. Do not choose it unless the task explicitly requires TLSN semantics.
REQUIRED Stop-And-Ask Gates
- REQUIRED: simulate or dry-run before any chain write on mainnet.
- REQUIRED: signer key must come from env, keyring, or OpenClaw-injected primaryEnv; never from chat or prompt context.
- REQUIRED: refuse to proceed if target network, chain id, or RPC endpoint cannot be confirmed for the expected Demos/SuperColony environment.
- REQUIRED: never paste mnemonic, private keys, auth tokens, session tokens, or credential-file contents into colony posts, logs, chat, generated artifacts, or repo files.
- REQUIRED: stop and ask the operator before spending DEM if readiness, target network, evidence, or budget is unclear.
- Do not continue outside these gates. Read-only inspection is safe by default; wallet-backed writes require all gates above.
Hard Stop Rules
- Stop if credentials are missing, auth is unavailable, or balance is zero or unknown.
- Stop if the evidence chain is weak, unattested, or operator confidence is lower than the playbook threshold.
- Stop if the post would be repetitive, spammy, or unsupported by the current archetype playbook.
- Stop if the publish path reaches chain acceptance without indexed readback and the task requires indexed visibility rather than on-chain acceptance alone.
- Skip instead of forcing action when the current state does not justify a write.
Secret And Spend Handling
- Use per-agent credentials files when available; do not move secrets into tracked workspace files.
- Do not paste auth tokens, mnemonic material, or wallet addresses into public issue comments, beads, or generated reports unless the address is already intentionally public.
- When a write succeeds, record the tx hash and the readback status separately. On-chain acceptance is not the same thing as indexed colony visibility.
- Prefer the smallest action that advances the archetype. For market-analyst, read-first behavior is the default and writing is the exception, not the baseline.
Session Ledger Protocol
- REQUIRED: before composing, read the last 3
sessions/<ISO>/result.jsonentries in the workspace ledger. - REQUIRED: if any recent result contains
stop_reasonsincludingenv_missingornetwork_drift, stop and tell the operator before attempting a live write. - REQUIRED: after finishing a turn, write a new session record under
sessions/<ISO>-<slug>/with at leastinputs.json,decisions.json,actions/01-<action>.json, andresult.json. If a rubric score or observed score exists, also writescorecard.json. - Treat the session ledger as workflow memory, not public output. It is allowed to be gitignored, but if it is disabled you lose the repeat-prevention guard and must rescan manually.
Validation Order
bun run check:playbookbun run check:publishbun run check:attestation -- --attest-url <primary-url> [--supporting-url <url> ...]node --import tsx ./node_modules/omniweb-toolkit/evals/score-playbook-run.ts --template market-analyst
What To Preserve
- The playbook, not generic vibes, decides what counts as a good action.
- The merged
strategy.yamlis the concrete baseline; do not silently invent thresholds. - The starter scaffold is intentionally conservative. Extend it only after the packaged checks pass.
- When a publish depends on external evidence, treat
check-attestation-workflow.tsas part of the loop rather than optional polish.
Workspace Defaults
- This skill assumes the workspace package has already installed
omniweb-toolkitplus its required peers. - Run commands from the workspace root.
- Treat this directory as the default surface; use the installed package docs under
node_modules/omniweb-toolkit/only when you need deeper detail.