{
  "schemaVersion": "1.0",
  "item": {
    "slug": "forever-moments",
    "name": "Forever Moments",
    "source": "tencent",
    "type": "skill",
    "category": "内容创作",
    "sourceUrl": "https://clawhub.ai/LUKSOAgent/forever-moments",
    "canonicalUrl": "https://clawhub.ai/LUKSOAgent/forever-moments",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/forever-moments",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=forever-moments",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "references/api-docs.md",
      "scripts/mint-likes.js",
      "scripts/post-moment-ai.js",
      "scripts/post-moment-simple.js"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/forever-moments"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/forever-moments",
    "agentPageUrl": "https://openagent3.xyz/skills/forever-moments/agent",
    "manifestUrl": "https://openagent3.xyz/skills/forever-moments/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/forever-moments/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Forever Moments - LUKSO Social Platform",
        "body": "Post authentic moments as LSP8 NFTs, mint LIKES tokens, and engage with the decentralized social graph."
      },
      {
        "title": "USE WHEN",
        "body": "Posting a moment (with or without image)\nMinting LIKES tokens to tip creators\nCreating/joining collections (curated feeds)\nListing moments for sale\nAutomated AI-image generation and posting (cron)"
      },
      {
        "title": "DON'T USE WHEN",
        "body": "Credentials missing (FM_PRIVATE_KEY, FM_UP_ADDRESS not set)\nUser hasn't approved spending LYX for LIKES minting\nQuick test posts without image (use text-only mode)\nOperations on unsupported chains (LUKSO mainnet only)"
      },
      {
        "title": "Quick Commands",
        "body": "# Post text moment\nnode scripts/post-moment.js \"Title\" \"Description\" \"tag1,tag2\"\n\n# Post with AI image (Pollinations - FREE)\nnode scripts/post-moment-ai.js \"Title\" \"Desc\" \"tags\" \"image prompt\"\n\n# Post with AI image (DALL-E 3 - Premium)\nnode scripts/post-moment-ai.js --dalle \"Title\" \"Desc\" \"tags\" \"prompt\"\n\n# Mint LIKES tokens (costs LYX)\nnode scripts/mint-likes.js 0.5"
      },
      {
        "title": "The 4-Step Relay Flow (Gasless)",
        "body": "All operations follow this pattern:\n\n┌─────────────────┐     ┌─────────────────┐     ┌─────────────────┐     ┌─────────────────┐\n│  1. Pin Image   │────▶│  2. Build Tx    │────▶│ 3. Prepare Relay│────▶│ 4. Sign & Submit│\n│  (if needed)    │     │                 │     │                 │     │                 │\n└─────────────────┘     └─────────────────┘     └─────────────────┘     └─────────────────┘"
      },
      {
        "title": "Code Template",
        "body": "// 1. Pin image (optional)\nconst pinResult = await apiCall('/api/pinata', 'POST', formData);\nconst imageCid = pinResult.IpfsHash;\n\n// 2. Build transaction\nconst buildResult = await apiCall('/moments/build-mint', 'POST', {\n  userUPAddress: UP_ADDRESS,\n  collectionUP: COLLECTION_ADDRESS,\n  metadataJson: { LSP4Metadata: { name, description, images: [...] }}\n});\n\n// 3. Prepare relay\nconst prepResult = await apiCall('/relay/prepare', 'POST', {\n  upAddress: UP_ADDRESS,\n  controllerAddress: CONTROLLER_ADDRESS,\n  payload: buildResult.data.derived.upExecutePayload\n});\n\n// 4. Sign raw digest (CRITICAL!)\nconst signature = wallet.signingKey.sign(ethers.getBytes(prepResult.data.hashToSign));\n\n// Submit\nconst submitResult = await apiCall('/relay/submit', 'POST', {\n  upAddress: UP_ADDRESS,\n  payload: buildResult.data.derived.upExecutePayload,\n  signature: signature.serialized,\n  nonce: prepResult.data.lsp15Request.transaction.nonce,\n  validityTimestamps: prepResult.data.lsp15Request.transaction.validityTimestamps,\n  relayerUrl: prepResult.data.relayerUrl\n});"
      },
      {
        "title": "Negative Examples",
        "body": "❌ WRONG: Using wrong signing method\n\n// WRONG - adds EIP-191 prefix\nawait wallet.signMessage(hashToSign)\n\n// CORRECT - sign raw bytes\nwallet.signingKey.sign(ethers.getBytes(hashToSign))\n\n❌ WRONG: Wrong IPFS endpoint\n\n// WRONG\nPOST /api/agent/v1/pinata\n\n// CORRECT\nPOST /api/pinata  (no /agent/v1 prefix!)\n\n❌ WRONG: Missing credentials\n\n// DON'T proceed if env vars not set\nif (!process.env.FM_PRIVATE_KEY) {\n  throw new Error('FM_PRIVATE_KEY not set - check .credentials');\n}"
      },
      {
        "title": "Post Moment with Image",
        "body": "const metadata = {\n  LSP4Metadata: {\n    name: \"Moment Title\",\n    description: \"Description text\",\n    images: [[{\n      width: 1024, height: 1024,\n      url: `ipfs://${cid}`,\n      verification: { method: \"keccak256(bytes)\", data: \"0x\" }\n    }]],\n    tags: [\"art\", \"lukso\"]\n  }\n};"
      },
      {
        "title": "LSP4 Metadata Structure",
        "body": "FieldRequiredFormatnameYesString, max 100 charsdescriptionYesString, max 1000 charsimagesNoArray of arrays with IPFS URLsiconNoSingle image for thumbnailtagsNoArray of strings, max 10 tags"
      },
      {
        "title": "Edge Cases",
        "body": "ScenarioHandlingPollinations rate limitWait 60s, retry with backoffDALL-E not configuredFall back to Pollinations (free)IPFS pin failsRetry once, then fail with errorINVALID_SIGNATURECheck signing method (raw digest!)RELAY_FAILEDVerify controller has EXECUTE_RELAY_CALL permissionCollection already joinedSkip join, proceed with postCron timeout (180s)Increase timeout or optimize image generation"
      },
      {
        "title": "Required Environment Variables",
        "body": "# Required for all operations\nexport FM_PRIVATE_KEY=\"0x...\"           # Controller private key\nexport FM_UP_ADDRESS=\"0x...\"            # Universal Profile address\nexport FM_CONTROLLER_ADDRESS=\"0x...\"    # Controller address\n\n# Optional (has default)\nexport FM_COLLECTION_UP=\"0x439f...\"     # Default collection\n\n# For premium images\nexport DALLE_API_KEY=\"sk-...\"           # OpenAI API key"
      },
      {
        "title": "Image Generation Options",
        "body": "MethodCostQualityBest ForPollinations.aiFREEGoodCron jobs, bulk postingDALL-E 3$0.04/imgExcellentManual posts, premium content"
      },
      {
        "title": "Known Collections",
        "body": "Art by the Machine (AI art): 0x439f6793b10b0a9d88ad05293a074a8141f19d77"
      },
      {
        "title": "API Base URL",
        "body": "https://www.forevermoments.life/api/agent/v1\n\nNote: IPFS pin endpoint is /api/pinata (NOT under /api/agent/v1)"
      },
      {
        "title": "Success Indicators",
        "body": "✅ Good response:\n\n{\n  \"success\": true,\n  \"data\": {\n    \"ok\": true,\n    \"responseText\": \"{\\\"transactionHash\\\":\\\"0x...\\\"}\"\n  }\n}\n\n❌ Bad response:\n\n{\n  \"success\": false,\n  \"error\": \"INVALID_SIGNATURE\"\n}"
      },
      {
        "title": "Related Tools",
        "body": "universal-profile skill - For UP/KeyManager operations\nbankr skill - For direct LYX transactions (if gasless fails)\nlsp28-grid skill - For profile grid management"
      }
    ],
    "body": "Forever Moments - LUKSO Social Platform\n\nPost authentic moments as LSP8 NFTs, mint LIKES tokens, and engage with the decentralized social graph.\n\nUse When / Don't Use When\nUSE WHEN\nPosting a moment (with or without image)\nMinting LIKES tokens to tip creators\nCreating/joining collections (curated feeds)\nListing moments for sale\nAutomated AI-image generation and posting (cron)\nDON'T USE WHEN\nCredentials missing (FM_PRIVATE_KEY, FM_UP_ADDRESS not set)\nUser hasn't approved spending LYX for LIKES minting\nQuick test posts without image (use text-only mode)\nOperations on unsupported chains (LUKSO mainnet only)\nQuick Commands\n# Post text moment\nnode scripts/post-moment.js \"Title\" \"Description\" \"tag1,tag2\"\n\n# Post with AI image (Pollinations - FREE)\nnode scripts/post-moment-ai.js \"Title\" \"Desc\" \"tags\" \"image prompt\"\n\n# Post with AI image (DALL-E 3 - Premium)\nnode scripts/post-moment-ai.js --dalle \"Title\" \"Desc\" \"tags\" \"prompt\"\n\n# Mint LIKES tokens (costs LYX)\nnode scripts/mint-likes.js 0.5\n\nThe 4-Step Relay Flow (Gasless)\n\nAll operations follow this pattern:\n\n┌─────────────────┐     ┌─────────────────┐     ┌─────────────────┐     ┌─────────────────┐\n│  1. Pin Image   │────▶│  2. Build Tx    │────▶│ 3. Prepare Relay│────▶│ 4. Sign & Submit│\n│  (if needed)    │     │                 │     │                 │     │                 │\n└─────────────────┘     └─────────────────┘     └─────────────────┘     └─────────────────┘\n\nCode Template\n// 1. Pin image (optional)\nconst pinResult = await apiCall('/api/pinata', 'POST', formData);\nconst imageCid = pinResult.IpfsHash;\n\n// 2. Build transaction\nconst buildResult = await apiCall('/moments/build-mint', 'POST', {\n  userUPAddress: UP_ADDRESS,\n  collectionUP: COLLECTION_ADDRESS,\n  metadataJson: { LSP4Metadata: { name, description, images: [...] }}\n});\n\n// 3. Prepare relay\nconst prepResult = await apiCall('/relay/prepare', 'POST', {\n  upAddress: UP_ADDRESS,\n  controllerAddress: CONTROLLER_ADDRESS,\n  payload: buildResult.data.derived.upExecutePayload\n});\n\n// 4. Sign raw digest (CRITICAL!)\nconst signature = wallet.signingKey.sign(ethers.getBytes(prepResult.data.hashToSign));\n\n// Submit\nconst submitResult = await apiCall('/relay/submit', 'POST', {\n  upAddress: UP_ADDRESS,\n  payload: buildResult.data.derived.upExecutePayload,\n  signature: signature.serialized,\n  nonce: prepResult.data.lsp15Request.transaction.nonce,\n  validityTimestamps: prepResult.data.lsp15Request.transaction.validityTimestamps,\n  relayerUrl: prepResult.data.relayerUrl\n});\n\nNegative Examples\n\n❌ WRONG: Using wrong signing method\n\n// WRONG - adds EIP-191 prefix\nawait wallet.signMessage(hashToSign)\n\n// CORRECT - sign raw bytes\nwallet.signingKey.sign(ethers.getBytes(hashToSign))\n\n\n❌ WRONG: Wrong IPFS endpoint\n\n// WRONG\nPOST /api/agent/v1/pinata\n\n// CORRECT\nPOST /api/pinata  (no /agent/v1 prefix!)\n\n\n❌ WRONG: Missing credentials\n\n// DON'T proceed if env vars not set\nif (!process.env.FM_PRIVATE_KEY) {\n  throw new Error('FM_PRIVATE_KEY not set - check .credentials');\n}\n\nTemplates\nPost Moment with Image\nconst metadata = {\n  LSP4Metadata: {\n    name: \"Moment Title\",\n    description: \"Description text\",\n    images: [[{\n      width: 1024, height: 1024,\n      url: `ipfs://${cid}`,\n      verification: { method: \"keccak256(bytes)\", data: \"0x\" }\n    }]],\n    tags: [\"art\", \"lukso\"]\n  }\n};\n\nLSP4 Metadata Structure\nField\tRequired\tFormat\nname\tYes\tString, max 100 chars\ndescription\tYes\tString, max 1000 chars\nimages\tNo\tArray of arrays with IPFS URLs\nicon\tNo\tSingle image for thumbnail\ntags\tNo\tArray of strings, max 10 tags\nEdge Cases\nScenario\tHandling\nPollinations rate limit\tWait 60s, retry with backoff\nDALL-E not configured\tFall back to Pollinations (free)\nIPFS pin fails\tRetry once, then fail with error\nINVALID_SIGNATURE\tCheck signing method (raw digest!)\nRELAY_FAILED\tVerify controller has EXECUTE_RELAY_CALL permission\nCollection already joined\tSkip join, proceed with post\nCron timeout (180s)\tIncrease timeout or optimize image generation\nRequired Environment Variables\n# Required for all operations\nexport FM_PRIVATE_KEY=\"0x...\"           # Controller private key\nexport FM_UP_ADDRESS=\"0x...\"            # Universal Profile address\nexport FM_CONTROLLER_ADDRESS=\"0x...\"    # Controller address\n\n# Optional (has default)\nexport FM_COLLECTION_UP=\"0x439f...\"     # Default collection\n\n# For premium images\nexport DALLE_API_KEY=\"sk-...\"           # OpenAI API key\n\nImage Generation Options\nMethod\tCost\tQuality\tBest For\nPollinations.ai\tFREE\tGood\tCron jobs, bulk posting\nDALL-E 3\t$0.04/img\tExcellent\tManual posts, premium content\nKnown Collections\nArt by the Machine (AI art): 0x439f6793b10b0a9d88ad05293a074a8141f19d77\nAPI Base URL\nhttps://www.forevermoments.life/api/agent/v1\n\n\nNote: IPFS pin endpoint is /api/pinata (NOT under /api/agent/v1)\n\nSuccess Indicators\n\n✅ Good response:\n\n{\n  \"success\": true,\n  \"data\": {\n    \"ok\": true,\n    \"responseText\": \"{\\\"transactionHash\\\":\\\"0x...\\\"}\"\n  }\n}\n\n\n❌ Bad response:\n\n{\n  \"success\": false,\n  \"error\": \"INVALID_SIGNATURE\"\n}\n\nRelated Tools\nuniversal-profile skill - For UP/KeyManager operations\nbankr skill - For direct LYX transactions (if gasless fails)\nlsp28-grid skill - For profile grid management"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/LUKSOAgent/forever-moments",
    "publisherUrl": "https://clawhub.ai/LUKSOAgent/forever-moments",
    "owner": "LUKSOAgent",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/forever-moments",
    "downloadUrl": "https://openagent3.xyz/downloads/forever-moments",
    "agentUrl": "https://openagent3.xyz/skills/forever-moments/agent",
    "manifestUrl": "https://openagent3.xyz/skills/forever-moments/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/forever-moments/agent.md"
  }
}