{
  "schemaVersion": "1.0",
  "item": {
    "slug": "morning-green-invoice",
    "name": "Morning (Green Invoice)",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/k0renn/morning-green-invoice",
    "canonicalUrl": "https://clawhub.ai/k0renn/morning-green-invoice",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/morning-green-invoice",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=morning-green-invoice",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "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. 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. 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-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.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/morning-green-invoice"
    },
    "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/morning-green-invoice",
    "agentPageUrl": "https://openagent3.xyz/skills/morning-green-invoice/agent",
    "manifestUrl": "https://openagent3.xyz/skills/morning-green-invoice/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/morning-green-invoice/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. 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. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "When to use",
        "body": "Use this skill when you need to interact with Morning / GreenInvoice to:\n\nGet an auth token (JWT) using API key credentials\nCreate/update clients\nCreate/update items\nCreate documents (invoice / receipt / quote / order / credit / debit)\nRetrieve document outputs (e.g., IDs / links) if the tool supports it"
      },
      {
        "title": "What you need from the user",
        "body": "Collect only what’s required for the action:"
      },
      {
        "title": "Authentication",
        "body": "apiKeyId\napiKeySecret"
      },
      {
        "title": "Client (if creating or searching)",
        "body": "name\nOptional: taxId, email, phone, address, city, country"
      },
      {
        "title": "Item (if creating)",
        "body": "name\nprice\nOptional: description, currency"
      },
      {
        "title": "Document (if creating)",
        "body": "documentType (Invoice / Receipt / Quote / Order / CreditInvoice / DebitInvoice)\nclientId (or enough info to create the client)\nlines[] (each line: description or itemId, quantity, unitPrice)\nOptional: currency, language, description, discount"
      },
      {
        "title": "Tool contract",
        "body": "Use the morning tool with an action field."
      },
      {
        "title": "Supported actions",
        "body": "getToken\ncreateClient\ncreateItem\ncreateDocument\n(Optional, if implemented in your tool): findClient, findItem, getDocument, listDocuments"
      },
      {
        "title": "Guardrails",
        "body": "Never log or echo apiKeySecret or JWTs back to the user.\nPrefer reusing existing clientId / itemId when available.\nValidate document lines:\n\nquantity > 0\nunitPrice >= 0\n\n\nCurrency: default to \"ILS\" unless the user specifies otherwise.\nLanguage: default to \"Hebrew\" unless the user specifies otherwise."
      },
      {
        "title": "1) Authenticate (JWT)",
        "body": "{\n  \"action\": \"getToken\",\n  \"apiKeyId\": \"YOUR_API_KEY_ID\",\n  \"apiKeySecret\": \"YOUR_API_KEY_SECRET\"\n}"
      },
      {
        "title": "2) Create a client",
        "body": "{\n  \"action\": \"createClient\",\n  \"jwt\": \"JWT_FROM_getToken\",\n  \"client\": {\n    \"name\": \"Acme Ltd\",\n    \"taxId\": \"515555555\",\n    \"email\": \"billing@acme.com\",\n    \"phone\": \"+972-50-000-0000\",\n    \"address\": \"1 Rothschild Blvd\",\n    \"city\": \"Tel Aviv\",\n    \"country\": \"Israel\"\n  }\n}"
      },
      {
        "title": "3) Create an item",
        "body": "{\n  \"action\": \"createItem\",\n  \"jwt\": \"JWT_FROM_getToken\",\n  \"item\": {\n    \"name\": \"Consulting hour\",\n    \"description\": \"Senior engineering consulting\",\n    \"price\": 500,\n    \"currency\": \"ILS\"\n  }\n}"
      },
      {
        "title": "4) Create a document (Invoice)",
        "body": "{\n  \"action\": \"createDocument\",\n  \"jwt\": \"JWT_FROM_getToken\",\n  \"document\": {\n    \"documentType\": \"Invoice\",\n    \"language\": \"English\",\n    \"currency\": \"ILS\",\n    \"clientId\": \"CLIENT_ID\",\n    \"description\": \"Invoice for January services\",\n    \"lines\": [\n      {\n        \"description\": \"Consulting hour\",\n        \"quantity\": 10,\n        \"unitPrice\": 500\n      }\n    ]\n  }\n}"
      },
      {
        "title": "5) Create a document (Receipt) using itemId",
        "body": "{\n  \"action\": \"createDocument\",\n  \"jwt\": \"JWT_FROM_getToken\",\n  \"document\": {\n    \"documentType\": \"Receipt\",\n    \"language\": \"Hebrew\",\n    \"currency\": \"ILS\",\n    \"clientId\": \"CLIENT_ID\",\n    \"lines\": [\n      {\n        \"itemId\": \"ITEM_ID\",\n        \"quantity\": 1,\n        \"unitPrice\": 1200\n      }\n    ]\n  }\n}"
      },
      {
        "title": "Error handling",
        "body": "If token is rejected (401/403): call getToken again and retry the request once.\nIf client/item already exists:\n\nPrefer returning the existing ID (if tool supports lookup),\nOtherwise surface a clear message: “Client already exists; provide clientId or unique identifier.”\n\n\nIf validation fails: ask for the missing/invalid fields only (e.g., “quantity must be > 0”)."
      },
      {
        "title": "Output expectations",
        "body": "Return minimally:\n\nCreated resource IDs (clientId, itemId, documentId)\nAny relevant URLs (PDF / view links) if the API/tool provides them"
      }
    ],
    "body": "Morning (GreenInvoice)\nWhen to use\n\nUse this skill when you need to interact with Morning / GreenInvoice to:\n\nGet an auth token (JWT) using API key credentials\nCreate/update clients\nCreate/update items\nCreate documents (invoice / receipt / quote / order / credit / debit)\nRetrieve document outputs (e.g., IDs / links) if the tool supports it\nWhat you need from the user\n\nCollect only what’s required for the action:\n\nAuthentication\napiKeyId\napiKeySecret\nClient (if creating or searching)\nname\nOptional: taxId, email, phone, address, city, country\nItem (if creating)\nname\nprice\nOptional: description, currency\nDocument (if creating)\ndocumentType (Invoice / Receipt / Quote / Order / CreditInvoice / DebitInvoice)\nclientId (or enough info to create the client)\nlines[] (each line: description or itemId, quantity, unitPrice)\nOptional: currency, language, description, discount\nTool contract\n\nUse the morning tool with an action field.\n\nSupported actions\ngetToken\ncreateClient\ncreateItem\ncreateDocument\n(Optional, if implemented in your tool): findClient, findItem, getDocument, listDocuments\nGuardrails\nNever log or echo apiKeySecret or JWTs back to the user.\nPrefer reusing existing clientId / itemId when available.\nValidate document lines:\nquantity > 0\nunitPrice >= 0\nCurrency: default to \"ILS\" unless the user specifies otherwise.\nLanguage: default to \"Hebrew\" unless the user specifies otherwise.\nExamples\n1) Authenticate (JWT)\n{\n  \"action\": \"getToken\",\n  \"apiKeyId\": \"YOUR_API_KEY_ID\",\n  \"apiKeySecret\": \"YOUR_API_KEY_SECRET\"\n}\n\n2) Create a client\n{\n  \"action\": \"createClient\",\n  \"jwt\": \"JWT_FROM_getToken\",\n  \"client\": {\n    \"name\": \"Acme Ltd\",\n    \"taxId\": \"515555555\",\n    \"email\": \"billing@acme.com\",\n    \"phone\": \"+972-50-000-0000\",\n    \"address\": \"1 Rothschild Blvd\",\n    \"city\": \"Tel Aviv\",\n    \"country\": \"Israel\"\n  }\n}\n\n3) Create an item\n{\n  \"action\": \"createItem\",\n  \"jwt\": \"JWT_FROM_getToken\",\n  \"item\": {\n    \"name\": \"Consulting hour\",\n    \"description\": \"Senior engineering consulting\",\n    \"price\": 500,\n    \"currency\": \"ILS\"\n  }\n}\n\n4) Create a document (Invoice)\n{\n  \"action\": \"createDocument\",\n  \"jwt\": \"JWT_FROM_getToken\",\n  \"document\": {\n    \"documentType\": \"Invoice\",\n    \"language\": \"English\",\n    \"currency\": \"ILS\",\n    \"clientId\": \"CLIENT_ID\",\n    \"description\": \"Invoice for January services\",\n    \"lines\": [\n      {\n        \"description\": \"Consulting hour\",\n        \"quantity\": 10,\n        \"unitPrice\": 500\n      }\n    ]\n  }\n}\n\n5) Create a document (Receipt) using itemId\n{\n  \"action\": \"createDocument\",\n  \"jwt\": \"JWT_FROM_getToken\",\n  \"document\": {\n    \"documentType\": \"Receipt\",\n    \"language\": \"Hebrew\",\n    \"currency\": \"ILS\",\n    \"clientId\": \"CLIENT_ID\",\n    \"lines\": [\n      {\n        \"itemId\": \"ITEM_ID\",\n        \"quantity\": 1,\n        \"unitPrice\": 1200\n      }\n    ]\n  }\n}\n\nError handling\nIf token is rejected (401/403): call getToken again and retry the request once.\nIf client/item already exists:\nPrefer returning the existing ID (if tool supports lookup),\nOtherwise surface a clear message: “Client already exists; provide clientId or unique identifier.”\nIf validation fails: ask for the missing/invalid fields only (e.g., “quantity must be > 0”).\nOutput expectations\n\nReturn minimally:\n\nCreated resource IDs (clientId, itemId, documentId)\nAny relevant URLs (PDF / view links) if the API/tool provides them"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/k0renn/morning-green-invoice",
    "publisherUrl": "https://clawhub.ai/k0renn/morning-green-invoice",
    "owner": "k0renn",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/morning-green-invoice",
    "downloadUrl": "https://openagent3.xyz/downloads/morning-green-invoice",
    "agentUrl": "https://openagent3.xyz/skills/morning-green-invoice/agent",
    "manifestUrl": "https://openagent3.xyz/skills/morning-green-invoice/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/morning-green-invoice/agent.md"
  }
}