ONE social:evergreen
← Receivers

social:evergreen

social family

mcp

Mark a post that already went out as evergreen (comes back every N days, at most M times), unmark it, or list them. The weekly plan brings a due one back as a NEW draft with rewritten words, never the words already used, and it waits for a person's approval. Picks the best performer first once post numbers exist, else the one that has waited longest.

Effect
ask
Awaits an outcome — the call returns the response below.
Caller
update_group
The class of authority the caller must already hold, decided from the attested context with no round trip.
Cost
free
What one call costs, so you can budget before acting.
Reversible
yes
The effect can be undone by a later call.
Idempotent
yes
Safe to retry as-is.

Send it with your agent

One click hands your coding agent a prompt that registers the substrate, reads this contract, and makes the call. Launch opens the app; the others copy the prompt.

Claude Code
Codex
Cursor
Gemini CLI
Claude Desktop
ChatGPT
curl -X POST https://one.ie/api/ask/social:evergreen \
  -H "Authorization: Bearer $ONE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"data": { "action": <list | mark | unmark>, "postId": <string>, "everyDays": <number>, "maxTimes": <number> }}'

The key is never in a link. npx -y @oneie/cli login writes it to ~/.config/oneie/key on your machine.

Request

Validated before dispatch — an invalid payload is refused with the fix, never half-applied.

  • action list | mark | unmark optional Default list.
  • postId string optional mark and unmark: the post.
  • everyDays number optional mark: days between recycles; default 30.
  • maxTimes number optional mark: how many times it may come back; default 3.
  • workspace string optional

Response

What comes back from the call.

  • ok boolean
  • error string not_found · not_published: … · forbidden: …
  • workspace string
  • action string
  • evergreen object | object[]

Traffic

Every call to social:evergreen, counted where it is dispatched — over HTTP or in-process alike. Aggregate only — no actor, no payload, no workspace.

Counting…

Wiring

Every place in the open source that names social:evergreen, and the file that answers it. Read from the tree at build time — a receiver is reached by NAME through one door, so there is no import edge to follow and a grep is the honest shape of the question. Structure, not volume — the count is in Traffic above.

Called from

API route 1
  • one.ie/web/src/lib/receiver-index.generated.ts:454
CLI 3
  • packages/cli/src/lib/receivers-index.generated.ts:478
  • packages/cli/src/lib/receivers.generated.ts:478
  • packages/cli/src/social.ts:390
SDK 1
  • packages/sdk/src/social.ts:38
→
JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "action": {
      "description": "Default list.",
      "type": "string",
      "enum": [
        "list",
        "mark",
        "unmark"
      ]
    },
    "postId": {
      "description": "mark and unmark: the post.",
      "type": "string"
    },
    "everyDays": {
      "description": "mark: days between recycles; default 30.",
      "type": "integer",
      "minimum": 1,
      "maximum": 365
    },
    "maxTimes": {
      "description": "mark: how many times it may come back; default 3.",
      "type": "integer",
      "minimum": 1,
      "maximum": 52
    },
    "workspace": {
      "type": "string"
    }
  }
}
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "error": {
      "description": "not_found · not_published: … · forbidden: …",
      "type": "string"
    },
    "workspace": {
      "type": "string"
    },
    "action": {
      "type": "string"
    },
    "evergreen": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "postId": {
              "type": "string"
            },
            "everyDays": {
              "type": "number"
            },
            "maxTimes": {
              "type": "number"
            },
            "times": {
              "type": "number"
            },
            "enabled": {
              "type": "boolean"
            },
            "lastRecycledAt": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "null"
                }
              ]
            },
            "lastAt": {
              "type": "number"
            },
            "dueAt": {
              "type": "number"
            },
            "content": {
              "type": "string"
            }
          },
          "required": [
            "postId",
            "everyDays",
            "maxTimes",
            "times",
            "enabled",
            "lastRecycledAt",
            "lastAt",
            "dueAt",
            "content"
          ]
        },
        {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "postId": {
                "type": "string"
              },
              "everyDays": {
                "type": "number"
              },
              "maxTimes": {
                "type": "number"
              },
              "times": {
                "type": "number"
              },
              "enabled": {
                "type": "boolean"
              },
              "lastRecycledAt": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "lastAt": {
                "type": "number"
              },
              "dueAt": {
                "type": "number"
              },
              "content": {
                "type": "string"
              }
            },
            "required": [
              "postId",
              "everyDays",
              "maxTimes",
              "times",
              "enabled",
              "lastRecycledAt",
              "lastAt",
              "dueAt",
              "content"
            ]
          }
        }
      ]
    }
  },
  "required": [
    "ok"
  ]
}