agentleFS
Createya-aiCreateya-ai/Createya-mcp/AGENTS.md

Createya-mcp

AGENTS.md4 starsChanged 7 months agoMITView on GitHub

Get a key first: https://createya.ai/settings/api-keys (format: crya_sk_<32hex>) This single command: 1. Installs createya and creative-director skills for your agent 2. Registers the MCP server with your API key 3. Auto-detects your agent type (Claude Code, Cursor, Codex, OpenClaw) After install, restart your agent. MCP tools and skills are immediately available. ~/.agents/skills/ is the agentskills.io cross-tool standard — Codex, Cursor, OpenClaw, and opencode all read it. Claude Code stays on ~/.claude/skills/. For Cline, Windsurf, or Continue — copy the relevant config…

  • Pipes a download into a shell
  • Reads credentials
  • Sends data out
  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository4 other files it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

6 rules. About 0 are common, 1 is distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

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

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

    Read skills/creative-director/SKILL.md for the full workflow.

    line 71
  2. Very specific:

    Never run batch variations without an approved etalon.

    line 77
  3. Distinctive:

    Never: run video generation without an approved still first

    line 84
  4. Very specific:

    Always: check mcp__createya__get_balance before expensive jobs (video: 60–200 credits)

    line 86
  5. Very specific:

    Always: use exact enum values from parameters_schema (case-sensitive)

    line 87
  6. Very specific:

    Always: use family slugs (nano-banana-pro, flux-2, kling-video-o3) — server picks the right endpoint

    line 88

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md 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
AGENTS.md

Agent instructions — Createya MCP

What this repo is

  • MCP server at https://api.createya.ai/mcp — 100+ AI generation models (FLUX, Kling, Runway, Sora 2, Veo 3.1, Midjourney, Higgsfield, Seedance, Nano Banana and more)
  • Skills in skills/:
    • createya — base MCP integration (model catalogue, run, balance)
    • creative-director — AI creative director for photo shoots, lookbooks, UGC, editorial series
    • character-sheet — generate persistent character reference sheets via GPT Image 2 (6 close-ups + tall full-body), saved into createya/characters/<slug>/ for reuse across photo and video generations
  • Codex plugin in plugins/createya-mcp/:
    • .codex-plugin/plugin.json — Codex Plugins UI metadata (name, logo, starter prompts)
    • .mcp.json — Createya MCP endpoint for Codex plugin install/auth flows
    • docs: docs/codex-plugin.md
    • skills/ and assets/ — generated copies synced from repo root
  • Local workspace is created per-project in <cwd>/createya/ (assets, sessions, characters) — never on Desktop or in ~. Run ~/.claude/skills/creative-director/scripts/setup.sh once inside the project root to scaffold it.

Setup — one command

curl -fsSL https://api.createya.ai/install | bash -s -- crya_sk_YOUR_KEY

Get a key first: https://createya.ai/settings/api-keys (format: crya_sk_<32hex>)

This single command:

  1. Installs createya and creative-director skills for your agent
  2. Registers the MCP server with your API key
  3. Auto-detects your agent type (Claude Code, Cursor, Codex, OpenClaw)

After install, restart your agent. MCP tools and skills are immediately available.

What gets installed per agent

AgentMCP registeredSkills target
Claude Code✅ claude mcp add~/.claude/skills/<skill>/
OpenAI Codex CLI✅ ~/.codex/config.toml~/.agents/skills/<skill>/ (+ ~/.codex/AGENTS.md)
Cursor (2.x+)—~/.agents/skills/<skill>/ (+ legacy ~/.cursor/skills/)
OpenClaw—~/.agents/skills/<skill>/ (+ legacy ~/.openclaw/skills/)
opencode—uses ~/.claude/skills/ directly (no separate target)
Cline / Windsurf / Continue—manual JSON in configs/

~/.agents/skills/ is the agentskills.io cross-tool standard — Codex, Cursor, OpenClaw, and opencode all read it. Claude Code stays on ~/.claude/skills/.

For Cline, Windsurf, or Continue — copy the relevant config from configs/ and add your key.


MCP tools available after install

ToolWhat it does
mcp__createya__list_modelsFull model catalog with parameters_schema
mcp__createya__run_modelRun generation: { model, input }
mcp__createya__get_run_statusPoll async job status (video: 30–180s)
mcp__createya__get_balanceCurrent credit balance
mcp__createya__request_upload_urlPresigned PUT URL for image/video upload

Quick test after install:

List available Createya models
Generate an image: a cat on the moon, 16:9

Creative Director skill

Read skills/creative-director/SKILL.md for the full workflow. Core principle:

ETALON (one locked shot) → user approval → VARIATIONS from etalon

Never run batch variations without an approved etalon. All variations use start_image_url = <etalon CDN URL>.


Key rules

  • Never skip etalon approval before variations
  • Never run video generation without an approved still first
  • Never pass local paths or base64 >30KB to run_model — use request_upload_url
  • Always check mcp__createya__get_balance before expensive jobs (video: 60–200 credits)
  • Always use exact enum values from parameters_schema (case-sensitive)
  • Always use family slugs (nano-banana-pro, flux-2, kling-video-o3) — server picks the right endpoint

File map

.claude-plugin/manifest.json         ← Claude Code plugin manifest
server.json                          ← MCP Registry metadata
install.sh                           ← Universal installer (served at api.createya.ai/install)
configs/                             ← Per-client MCP JSON configs (Cline, Windsurf, Cursor, etc.)
docs/
  models-image.md                    ← Image model catalog
  models-video.md                    ← Video model catalog
examples/                            ← REST + MCP usage examples (curl, Python, Node.js, Go)
skills/
  createya/SKILL.md                  ← Base MCP integration skill
  creative-director/
    SKILL.md                         ← Creative director decision tree + principles
    references/
      api-reference.md               ← MCP tools + endpoints cheatsheet
      prompting/                     ← Prompt formulas by scenario
    presets/                         ← Lighting, color, camera, pose, style presets
    scripts/                         ← Bash utilities (upload, download, workspace setup)
plugins/createya-mcp/                ← Codex plugin package
scripts/sync-codex-plugin.sh         ← Sync root skills/assets into Codex plugin package

skills/ and assets/ at repo root are the source of truth. After editing them, run:

scripts/sync-codex-plugin.sh

CI runs scripts/sync-codex-plugin.sh --check to prevent stale plugin copies.


REST API quick reference

# Generate image
curl -X POST https://api.createya.ai/v1/run \
  -H "Authorization: Bearer $CREATEYA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"nano-banana-pro","input":{"prompt":"...","aspect_ratio":"16:9"}}'

# Check async job (video)
curl https://api.createya.ai/v1/runs/{run_id} \
  -H "Authorization: Bearer $CREATEYA_API_KEY"

# Balance
curl https://api.createya.ai/v1/balance \
  -H "Authorization: Bearer $CREATEYA_API_KEY"

Full OpenAPI spec: https://api.createya.ai/v1/openapi.json llms.txt: https://api.createya.ai/llms.txt


Support

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.