Gougoubi Create Condition
Create Gougoubi proposal conditions from minimal input (proposalId + conditionName) with deterministic defaults for deadline/tradeDeadline, validation, and t...
MIT-0 · Free to use, modify, and redistribute. No attribution required.
⭐ 0 · 27 · 0 current installs · 0 all-time installs
MIT-0
Security Scan
OpenClaw
Benign
high confidencePurpose & Capability
Name/description match the instructions: creating a condition for an existing Gougoubi proposal on BNB chain. Requiring a connected BNB wallet and resolving proposalId to a contract address are appropriate for an on-chain create-condition flow.
Instruction Scope
SKILL.md gives a deterministic step-by-step flow (resolve proposal, derive deadlines, validate, submit transaction). It leaves the exact resolution mechanism (browser E2E vs contract RPC) to the agent, which is reasonable but somewhat open-ended; ensure the agent does not read unrelated local files or private config to resolve proposal data.
Install Mechanism
Instruction-only skill with no install spec or bundled code, so nothing is written to disk or downloaded by the skill itself.
Credentials
The skill does not request environment variables or credentials in metadata, which is appropriate. It does require a connected BNB wallet in the agent runtime — this is proportional to the task, but users should confirm how the wallet is provided to the agent (external signer, injected key, hardware wallet) and ensure keys are not exposed.
Persistence & Privilege
always is false and there is no install-time component that requests permanent presence or modifies other skills. The skill can be invoked by the agent as expected.
Assessment
This skill is coherent for creating on-chain conditions, but before installing: (1) confirm how your agent runtime supplies the BNB wallet (hardware wallet or external signer is safer than stored private keys), (2) ensure the agent will prompt you before signing any transaction (SKILL.md explicitly forbids auto-accept), (3) verify network (BNB) and the proposal resolution method (web vs RPC) so you know which endpoints the agent will contact, and (4) do not expose private keys or broad credentials to the skill — it does not require any env vars, so supplying keys should be a deliberate, minimal action. If you need higher assurance, require manual confirmation for all on-chain operations and review any agent/browser automation steps that resolve proposal data on gougoubi.ai.Like a lobster shell, security has layers — review code before you run it.
Current versionv1.0.0
Download zipautomationconditionevmgougoubilatestprediction-marketworkflow
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
Runtime requirements
🧩 Clawdis
OSmacOS · Linux · Windows
SKILL.md
Gougoubi Create Condition
Create a new condition for an existing Gougoubi proposal from structured input.
Run Conditions
- Agent runtime must be configured with a usable BNB chain wallet address.
- Wallet must be connected before submitting any on-chain transaction.
Minimal Input (User Only)
{
"proposalId": "0x... or proposal identifier",
"conditionName": "Will Team A win the match?"
}
Proposal And Date Defaults
The skill must follow create-condition dialog default policy:
- Resolve
proposalIdto proposal contract address (proposalAddress) and fetch proposal detail. deadlineDateTimedefault: proposal deadline (proposalDeadline) in UTC ISO.deadlineTimezonedefault: user's local IANA timezone; fallbackUTC.tradeDeadlineDateTimedefault:deadlineDateTime - 1 hour(general policy).tradeDeadlineTimezonedefault: same asdeadlineTimezone.
Default safety clamp:
deadlineDateTimemust be greater than now.tradeDeadlineDateTimemust be greater than now and not later thandeadlineDateTime.- If
deadlineDateTime - 1 houris not valid, set trade deadline to the nearest valid value that keepstradeDeadlineDateTime <= deadlineDateTime(typically equal todeadlineDateTimewhen close to now).
Agent Auto-Fills
The skill auto-fills non-required fields:
conditionImageUrl: empty string by defaultconditionRules: empty string by defaultskills: empty string by defaultisNormalized:trueby default
Deterministic Steps
- Validate minimal input (
proposalId,conditionName). - Resolve
proposalAddressfromproposalId. - Load proposal detail and derive default condition deadline from proposal deadline.
- Set timezone defaults (local timezone, fallback
UTC). - Set trade deadline default to condition deadline minus 1 hour, then clamp to valid range.
- Convert
deadlineDateTimeandtradeDeadlineDateTimeto unix seconds. - Validate:
conditionNamenon-emptydeadline > nowtradeDeadline > nowtradeDeadline <= deadline
- Ensure wallet is connected.
- Submit contract call in canonical order:
conditionNamedeadlinetradeDeadlineconditionImageUrlconditionRulesskillsisNormalized
- Wait transaction confirmation.
- Return normalized result.
Output
{
"ok": true,
"mode": "browser|contract",
"txHash": "0x...",
"proposalAddress": "0x...",
"normalizedInput": {
"proposalId": "",
"proposalAddress": "",
"conditionName": "",
"deadlineDateTime": "",
"deadlineTimezone": "",
"tradeDeadlineDateTime": "",
"tradeDeadlineTimezone": "",
"defaultsApplied": true,
"tradeDeadlinePolicy": "deadline-minus-1h-with-valid-clamp"
},
"warnings": []
}
Failure shape:
{
"ok": false,
"stage": "validation|resolve-proposal|create|confirm",
"error": "reason",
"retryable": true
}
Boundaries
- Do not use private credentials or private hosts.
- Do not auto-accept wallet signatures.
- Do not bypass user confirmation for irreversible on-chain actions.
Files
5 totalSelect a file
Select a file to preview.
Comments
Loading comments…
