Claude Skill

tokenmax-fleet-orchestrator

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 productio

LLM Mart · 0 points · 13 views 0 listing impressions 0 install-command copies
Download thesmokedev-geo-skills-skills_tokenmax-fleet-orchestrator-1d09807.zip · 14 KB

Install

skills CLI npx skills add https://github.com/TheSmokeDev/geo-skills/tree/main/skills/tokenmax-fleet-orchestrator
Claude Code claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install thesmokedev-geo-skills@llmmart
Git git clone https://github.com/TheSmokeDev/geo-skills.git

The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole thesmokedev/geo-skills collection as a plugin from our marketplace. Git is the plain clone.

Skill manifest

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.
Files (geo-skills)
  • agents
    • openai.yaml 280 B
      Loading…
  • assets
    • systemd
      • tokenmax-fleet.service 505 B · in bundle
      • tokenmax-fleet.timer 211 B · in bundle
    • fleet.example.yaml 771 B
      Loading…
  • references
    • fleet-config.schema.json 2.4 KB
      Loading…
    • stage-contract.md 2.1 KB
      Loading…
  • scripts
    • fleet_controller.py 32.4 KB
      Loading…
    • test_fleet_controller.py 7.4 KB
      Loading…
  • SKILL.md 3.9 KB
    ---
    name: tokenmax-fleet-orchestrator
    description: 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.
    ---
    
    # 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:
    
    ```bash
    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
    ```
    
    5. 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.
    
    ```bash
    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.
    

Comments (0)

Sign in to join the conversation.

No comments yet.

Reviews (0)

No reviews yet.