agentleFS
nikolaj-latnikolaj-lat/World-Puppeteer/.claude/skills/creator-api/SKILL.md

creator-api

Skill17 starsChanged 5 months agoMITView on GitHub

Sync the world with Voyage through the Creator API - pull, push, remote validation, official image uploads, moderation preflight. Use when asked to pull or push the world, upload images officially, check moderation, or diagnose remote validation results.

  • Reads credentials

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

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

    When the API's behavior is in doubt, fetch the live contract: GET <apiBase>/agent-guide.md and GET <apiBase>/openapi.json.

    line 32

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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

Creator API

World Puppeteer talks to Voyage's Creator API (alpha host, /creator/v1) for the single world pinned in .creator-api.json (project root, machine-written; also holds the optional apiBase, remoteValidation, and usageGuard settings). The API key lives in .claude/secrets.env: never read, print, or reference that file; the client scripts handle it. Setup is in SETUP.md Step 5.

Commands

TaskCommand
Pull the live draft into tabsnode .claude/scripts/api/pull.js
First pull / pin a world (user gives a link or shortId)node .claude/scripts/api/pull.js <shortId-or-world-link>
Push report (validation + diff, no write)node .claude/scripts/api/push.js
Push for real (after human go-ahead)node .claude/scripts/api/push.js --confirm
Remote-validate on demandnode .claude/scripts/api/remote-validate.js [--stage publish]
Moderation state / fresh runnode .claude/scripts/api/moderation.js [--run]
Official image uploadnode .claude/skills/image-gen/scripts/upload-image.mjs -n <name> [-t TARGET] <file>
Paid AI image generationnode .claude/scripts/api/generate-image.js --type npc --payload req.json

Rules

  • Tabs are canonical. Pull never blocks: existing tabs are backed up to config-backups/ automatically and the alert says where.
  • Pushing is a full replace. ALWAYS run the bare push.js first, relay its diff report (local changes plus any remote drift) to the human, and add --confirm only after their explicit go-ahead in chat.
  • A push 412 means the remote moved: pull, reconcile, push again. Never work around it.
  • World Puppeteer cannot publish or unpublish, by design. When moderation is clean, the human publishes in Voyage Studio.
  • Remote validation runs automatically in the edit hook and inside push.
  • Image uploads live in the image-gen skill's uploader and use the four sanctioned targets only (NPC_PORTRAIT default, AREA_IMAGE, LOCATION_IMAGE, REGION_MAP_IMAGE).
  • AI generation spends the paid plan's usage; the script prints usage first and honors the optional usageGuard threshold in the state file.
  • When the API's behavior is in doubt, fetch the live contract: GET <apiBase>/agent-guide.md and GET <apiBase>/openapi.json.

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.