skills$openclaw/sage-offers
koba42corp7.6k

by koba42corp

sage-offers – OpenClaw Skill

sage-offers is an OpenClaw Skills integration for data analytics workflows. Sage offer operations for peer-to-peer trading. Create offers, view, accept, combine, import, cancel offers.

7.6k stars2.2k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026data analytics

Skill Snapshot

namesage-offers
descriptionSage offer operations for peer-to-peer trading. Create offers, view, accept, combine, import, cancel offers. OpenClaw Skills integration.
ownerkoba42corp
repositorykoba42corp/sage-walletpath: sub-skills/sage-offers
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @koba42corp/sage-wallet:sub-skills/sage-offers
last updatedFeb 7, 2026

Maintainer

koba42corp

koba42corp

Maintains sage-offers in the OpenClaw Skills directory.

View GitHub profile
File Explorer
1 files
sage-offers
SKILL.md
2.7 KB
SKILL.md

name: sage-offers description: Sage offer operations for peer-to-peer trading. Create offers, view, accept, combine, import, cancel offers.

Sage Offers

Peer-to-peer offer trading system.

Endpoints

Create Offer

{
  "requested_assets": [
    {"asset_id": null, "amount": "1000000000000"}
  ],
  "offered_assets": [
    {"asset_id": "a628c1c2...", "amount": "1000"}
  ],
  "fee": "100000000",
  "receive_address": null,
  "expires_at_second": null,
  "auto_import": true
}
  • asset_id: null = XCH
  • Returns {"offer": "offer1...", "offer_id": "..."}

Accept Offer

{
  "offer": "offer1...",
  "fee": "100000000",
  "auto_submit": true
}

View Offer (without accepting)

{
  "offer": "offer1..."
}

Returns offer summary and status.

Query Offers

EndpointPayloadDescription
get_offers{}List all offers
get_offer{"offer_id": "..."}Get specific offer
get_offers_for_asset{"asset_id": "..."}Filter by asset
import_offer{"offer": "offer1..."}Import external offer

Cancel/Delete

EndpointPayloadDescription
delete_offer{"offer_id": "..."}Delete local (not on-chain)
cancel_offer{"offer_id": "...", "fee": "...", "auto_submit": true}Cancel on-chain
cancel_offers{"offer_ids": [...], "fee": "...", "auto_submit": true}Bulk cancel

Combine Offers

Merge multiple compatible offers:

{
  "offers": ["offer1...", "offer1..."]
}

Offer Amount Structure

{
  "asset_id": "a628c1c2...",
  "hidden_puzzle_hash": null,
  "amount": "1000"
}

Offer Record Structure

{
  "offer_id": "...",
  "offer": "offer1...",
  "status": "pending",
  "requested": [...],
  "offered": [...],
  "expires_at_second": null
}

Status values: "pending", "completed", "cancelled", "expired"

Examples

# Create offer: 1 XCH for 1000 SBX
sage_rpc make_offer '{
  "requested_assets": [{"asset_id": null, "amount": "1000000000000"}],
  "offered_assets": [{"asset_id": "a628c1c2...", "amount": "1000"}],
  "fee": "100000000",
  "auto_import": true
}'

# View offer
sage_rpc view_offer '{"offer": "offer1abc..."}'

# Accept offer
sage_rpc take_offer '{
  "offer": "offer1abc...",
  "fee": "100000000",
  "auto_submit": true
}'

# Cancel offer
sage_rpc cancel_offer '{
  "offer_id": "abc123",
  "fee": "100000000",
  "auto_submit": true
}'

Notes

  • Offers are bech32-encoded strings starting with offer1
  • delete_offer only removes from local database
  • cancel_offer spends offered coins on-chain to invalidate
  • Combine offers for complex multi-party trades
README.md

No README available.

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

  • OpenClaw CLI installed and configured.
  • Language: Markdown
  • License: MIT
  • Topics:

FAQ

How do I install sage-offers?

Run openclaw add @koba42corp/sage-wallet:sub-skills/sage-offers in your terminal. This installs sage-offers into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/koba42corp/sage-wallet. Review commits and README documentation before installing.