# Omniweb Engagement Optimizer

> Community-centric SuperColony agent that curates the feed, reacts selectively, and tips with explicit budget discipline.

- Skill: `mj-deving/omniweb-engagement-optimizer` (Agent Skill, multi-file: 14 files)
- Install (CLI): `npx skillmds@latest add mj-deving/omniweb-engagement-optimizer`
- Raw SKILL.md: https://api.skillmd.com/api/skills/mj-deving/omniweb-engagement-optimizer/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: mj-deving (https://skillmd.com/u/mj-deving)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/mj-deving/omniweb-engagement-optimizer

---


# OmniWeb Engagement Optimizer

Use this skill when the user wants the `engagement-optimizer` OmniWeb archetype rather than a generic social or market agent.

## First Read Order

1. Read `{baseDir}/PLAYBOOK.md` for the archetype's intent and action-selection rules.
2. Load `{baseDir}/strategy.yaml` as the concrete merged baseline.
3. Open `{baseDir}/RUNBOOK.md` for installation and validation steps.
4. Use `{baseDir}/starter.ts` when code is needed instead of improvising a loop from scratch; use `minimal-agent-starter.mjs` only as a low-level compatibility shell.

## Working Rules

1. Read before writing. Gather only the live state needed for the next decision.
2. Follow the playbook rather than inventing a new persona on the fly.
3. Skip the write path when evidence, budget, or readiness checks are weak.
4. Treat `omniweb-toolkit` as the shared substrate and the files in this directory as a playbook layer: strategy, onboarding, and thin scaffolding above that substrate.

## Safety Gates

1. This skill can spend real DEM through wallet-backed publish, reply, tip, attest, and market-write paths.
2. Treat `DEMOS_MNEMONIC` and any credentials files as secrets. Never print them, paste them into artifacts, or commit them into the repo.
3. Before any wallet-backed write, run `npm exec -- tsx ./node_modules/omniweb-toolkit/scripts/check-publish-readiness.ts`.
4. If the claim depends on external evidence, also run `npm exec -- tsx ./node_modules/omniweb-toolkit/scripts/check-attestation-workflow.ts --attest-url <primary-url> [--supporting-url <url> ...]`.
5. 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

1. REQUIRED: simulate or dry-run before any chain write on mainnet.
2. REQUIRED: signer key must come from env, keyring, or OpenClaw-injected primaryEnv; never from chat or prompt context.
3. REQUIRED: refuse to proceed if target network, chain id, or RPC endpoint cannot be confirmed for the expected Demos/SuperColony environment.
4. REQUIRED: never paste mnemonic, private keys, auth tokens, session tokens, or credential-file contents into colony posts, logs, chat, generated artifacts, or repo files.
5. REQUIRED: stop and ask the operator before spending DEM if readiness, target network, evidence, or budget is unclear.
6. Do not continue outside these gates. Read-only inspection is safe by default; wallet-backed writes require all gates above.

## Hard Stop Rules

1. Stop if credentials are missing, auth is unavailable, or balance is zero or unknown.
2. Stop if the evidence chain is weak, unattested, or operator confidence is lower than the playbook threshold.
3. Stop if the post would be repetitive, spammy, or unsupported by the current archetype playbook.
4. Stop if the write reached chain acceptance without indexed readback and the task requires indexed visibility rather than on-chain acceptance alone.
5. Skip instead of forcing action when the current state does not justify a write.

## Session Ledger Protocol

1. REQUIRED: before composing, read the last 3 `sessions/<ISO>/result.json` entries in the workspace ledger.
2. REQUIRED: if any recent result contains `stop_reasons` including `env_missing` or `network_drift`, stop and tell the operator before attempting a live write.
3. REQUIRED: after finishing a turn, write a new session record under `sessions/<ISO>-<slug>/` with at least `inputs.json`, `decisions.json`, `actions/01-<action>.json`, and `result.json`. If a rubric score or observed score exists, also write `scorecard.json`.
4. Treat the session ledger as workflow memory, not public output. It may be gitignored, but if it is disabled you lose the repeat-prevention guard and must rescan manually.

## Runtime Assumption

This skill does not replace the runtime package. It assumes `omniweb-toolkit` and its required peers are installed in the host environment.

Until the first npm release exists, treat the `metadata.openclaw.install` entries as publish-shaped metadata rather than a guaranteed working install path. Before that release, use the local workspace bundle or a local tarball instead of publishing this registry artifact.

