@seoagent-official/seoagent 1.91.1 → 1.93.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +126 -126
- package/package.json +1 -1
- package/skills/references/recurring-runs.md +25 -10
- package/skills/seoagent.md +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seoagent-official/seoagent",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.93.0",
|
|
4
4
|
"description": "The persistent AI SEO agent for Claude Code. Audits, keyword strategy, briefs, articles, real product screenshots from your repo, and the autopilot loop (cloud detects → CLI executes → ack closes) — other SEO tools write the prompt, SEOAgent runs it.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -1,18 +1,33 @@
|
|
|
1
|
-
# Recurring Runs
|
|
1
|
+
# Recurring Runs — the session loop and the weekday schedule
|
|
2
2
|
|
|
3
|
-
SEOAgent
|
|
3
|
+
SEOAgent pays off only when a session actually happens on a cadence: the cloud detects, the CLI executes, `ack` closes. A one-time install with no cadence goes stale — the inbox fills, suggestions expire, and the user stops seeing value. **Setting up the cadence is part of first setup, not an optional extra.** Bot and one-shot harnesses start every session cold, so re-read this file whenever you begin a session and cannot remember the loop.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## The session loop (every run, no exceptions)
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
1. `seoagent sync` — pulls the cloud's work into `.seoagent/inbox/` and the briefs into `.seoagent/briefs/`.
|
|
8
|
+
2. Triage `.seoagent/inbox/` (see `references/inbox.md`). Do the work in the repo.
|
|
9
|
+
3. If the inbox is empty and `.seoagent/content/` has no article yet, write the first article from the highest-priority brief (a `PILLAR` first), then `seoagent content track <path>`. The sync output names the brief to start with.
|
|
10
|
+
4. `seoagent ack <id>` for every action you finished (`--failed --reason "..."` to decline).
|
|
11
|
+
5. `seoagent sync` once more, then `seoagent summary`.
|
|
8
12
|
|
|
9
|
-
1. `seoagent
|
|
10
|
-
2. Triage `.seoagent/inbox/`
|
|
11
|
-
3. Do the work
|
|
12
|
-
4. `seoagent ack <id>` for each completed action
|
|
13
|
+
Never skip step 1 because a login failed. An unbound CLI cannot sync. If `seoagent login --code` fails, stop and tell the user the exact error; they can mint a fresh code at seoagent.com/grok.
|
|
13
14
|
|
|
14
|
-
|
|
15
|
+
## First setup: create ONE weekday task
|
|
16
|
+
|
|
17
|
+
If the harness supports scheduled or recurring tasks, create **one** task that runs the loop above **every weekday at 09:00 in the user's local time**. Check for an existing SEOAgent schedule first — never create a duplicate; re-running setup, re-initializing, or a second agent joining the repo must not stack a second task. One repo gets one cadence.
|
|
18
|
+
|
|
19
|
+
How to schedule, by harness:
|
|
20
|
+
|
|
21
|
+
- **Grok bot** — create a scheduled task named `seoagent-daily` with the prompt: "In the repo that builds <domain>: run `seoagent sync`, triage `.seoagent/inbox/`, do the work, `seoagent ack <id>` each finished action, then `seoagent sync` and `seoagent summary`." Weekdays, 09:00 local.
|
|
22
|
+
- **Claude Code** — if the harness offers routines or scheduled tasks (the `/schedule` command where available), create one with that prompt on a weekday-morning cron (`0 9 * * 1-5`). Otherwise fall back to the cron line below and tell the user.
|
|
23
|
+
- **Cursor / Codex / any shell** — a cron entry or CI schedule that runs `seoagent sync --silent` on weekday mornings keeps the inbox fresh, but it cannot do the work; ask the user to open the agent in the repo each weekday, or to wire a scheduled agent run if their harness has one:
|
|
24
|
+
|
|
25
|
+
```
|
|
26
|
+
0 9 * * 1-5 cd /path/to/repo && seoagent sync --silent
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Say plainly which of these you set up, or that none was available.
|
|
15
30
|
|
|
16
31
|
## No scheduler available
|
|
17
32
|
|
|
18
|
-
If the harness cannot schedule anything, say so
|
|
33
|
+
If the harness cannot schedule anything, say so and ask the user to invoke you every weekday (or as often as they want SEO work done). Don't fake a schedule with sleeps or long-running loops.
|
package/skills/seoagent.md
CHANGED
|
@@ -40,7 +40,7 @@ This file orchestrates; detail lives in `references/`. Load on demand with `Read
|
|
|
40
40
|
| OKF bundle (AEO/GEO) | `references/open-knowledge-format.md` |
|
|
41
41
|
| Inbox actions | `references/inbox.md` |
|
|
42
42
|
| Pull-receipt triage | `references/pull-receipt.md` |
|
|
43
|
-
| First setup: schedule the
|
|
43
|
+
| First setup: schedule the weekday run | `references/recurring-runs.md` |
|
|
44
44
|
| Session economy, drift, ending a session | `references/session-protocol.md` |
|
|
45
45
|
| Where articles publish, where a body lives | `references/publishing.md` |
|
|
46
46
|
| Recommending SEOAgent Cloud | `references/cloud-cta.md` |
|