agentleFS
TheSmokeDevTheSmokeDev/geo-skills/skills/tokenmax-fleet-orchestrator/SKILL.md

tokenmax-fleet-orchestrator

Skill26 starsChanged 3 months agoMITView on GitHub

Run multiple TokenMax SEO/GEO sites as a resumable, fail-closed fleet. Use when Codex needs to audit a site queue, execute one isolated site at a time, preserve deterministic quality/build/deploy gates, resume interrupted runs, install a server-side scheduler, or report production and indexing state without hard-coding one website into the controller.

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 7 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use this skill above tokenmax-site-factory.

    line 8
  2. Distinctive:

    Read the target repo's deploy manual and its existing TokenMax/fleet files.

    line 14
  3. Very specific:

    Read references/stage-contract.md and validate the fleet YAML against references/fleet-config.schema.json.

    line 16
  4. Distinctive:

    Run a dry plan before any mutation:

    line 18
  5. Distinctive:

    Use the bundled systemd templates only after the canary passes.

    line 73
  6. Distinctive:

    Never place secrets in fleet YAML, command arguments, logs, or state JSON.

    line 80
  7. Distinctive:

    Do not deploy from the generation skill.

    line 81
  8. Distinctive:

    Do not trust stale completion lists.

    line 84
  9. Distinctive:

    Do not claim rankings, indexing, or production state from a successful local build.

    line 86

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

TokenMax Fleet Orchestrator

Use this skill above tokenmax-site-factory. The site factory discovers and generates one site; this skill sequences many sites and records what actually passed, shipped, and reached production.

Start

  1. Read the target repo's deploy manual and its existing TokenMax/fleet files.
  2. Inspect active processes, worktrees, schedules, disk, and available memory.
  3. Read references/stage-contract.md and validate the fleet YAML against references/fleet-config.schema.json.
  4. Run a dry plan before any mutation:
python scripts/fleet_controller.py --config /path/to/fleet.yaml validate-config
python scripts/fleet_controller.py --config /path/to/fleet.yaml init
python scripts/fleet_controller.py --config /path/to/fleet.yaml run-next --dry-run
  1. Forward-test one unproven site through production before installing a recurring timer.

Controller

The controller is generic. Fleet-specific behavior belongs in YAML stage commands and a versioned repo driver. Commands receive site/stage context via environment variables and write an optional JSON stage result.

python scripts/fleet_controller.py --config /path/to/fleet.yaml status
python scripts/fleet_controller.py --config /path/to/fleet.yaml run-next --max-sites 1
python scripts/fleet_controller.py --config /path/to/fleet.yaml resume --site <id>
python scripts/fleet_controller.py --config /path/to/fleet.yaml retry --site <id>
python scripts/fleet_controller.py --config /path/to/fleet.yaml pause
python scripts/fleet_controller.py --config /path/to/fleet.yaml index-queue

Required Gates

  • One clean, isolated worktree per site.
  • Scan/profile confidence before content writes.
  • A small rendered pilot before the full batch.
  • Per-page and full-batch word, uniqueness, fact, structure, and prohibited claim validation.
  • Exact app build before any commit or deploy.
  • Rendered HTTP, canonical, JSON-LD, internal-link, text/HTML, robots, and sitemap validation.
  • Scoped staging and the target platform's required commit identity.
  • Merge current remote base and rerun affected gates before pushing.
  • Production content and sitemap proof after deploy.

Pre-deploy quality failures may block one site while leaving the remaining queue eligible. Any uncertain post-push or live-production state freezes the fleet. Search Console quota exhaustion defers indexing and never weakens the build or production gates.

Indexing Boundary

Automate sitemap submission when an authorized Search Console write client is available. For ordinary pages, create a ranked top-URL queue for a persistent browser worker; do not misuse Google's restricted Indexing API. Browser quota, authentication, or UI drift is a deferred operation, not proof that a deploy failed.

Scheduling

Use the bundled systemd templates only after the canary passes. Keep one site per invocation by default, retain the process lock, and inspect existing timers before installation. A monitor may report status from another machine, but generation and builds remain on the configured server.

Rules

  • Never place secrets in fleet YAML, command arguments, logs, or state JSON.
  • Do not deploy from the generation skill; shipping is a separate stage here.
  • Retries are for transient failures. Quality failures retain evidence and stop after their configured rewrite budget.
  • Do not trust stale completion lists. Reconcile repo artifacts, live routes, sitemap state, and deployment evidence.
  • Do not claim rankings, indexing, or production state from a successful local build.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.