agentleFS
GoRenkuGoRenku/studio-skills/skills/pika-media-provider/SKILL.md

pika-media-provider

Skill2 starsChanged 7 months agoMITView on GitHub

Author and execute supported Pika image, video, and audio requests for Renku Media Producer. Use after Project Settings or explicit user direction selects Pika; do not use it for Asset attachment decisions.

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. About 0 are common, 4 are distinctive, and 9 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 9

    Very specific

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

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

    When this skill comes from renku-cloud and the Renku tools are missing, the person has not signed in to Renku Cloud yet.

    line 20
  2. Distinctive:

    Do not prepare, review or send a Pika request in Renku Cloud, and skip the steps below.

    line 30
  3. Very specific:

    Keep every agent-created working file inside the current Project's categorized tmp/ tree.

    line 44
  4. Very specific:

    Use tmp/operations/media-generation/ for review documents.

    line 48
  5. Very specific:

    Use tmp/media/ for generated or downloaded media.

    line 50
  6. Very specific:

    Use tmp/qa/ for review evidence.

    line 51
  7. Very specific:

    Use tmp/scratch/ for other temporary inputs.

    line 52
  8. Distinctive:

    Read relevant provider guidance: reference inputs, seed audio.

    line 62
  9. Very specific:

    Use generation models show --provider pika --model <apiId> --json to get personalGuidePath.

    line 65
  10. Very specific:

    Treat that raw live input_schema as the final authority for fields, requiredness, enum values, defaults, bounds, and media cardinality.

    line 81
  11. Distinctive:

    Follow Media Producer's shared review routing for validation, panel Submit/consume or Preview/conversational confirmation, artifact review, …

    line 92
  12. Very specific:

    Use generation recover only with a known Pika request id and the unchanged review document.

    line 98
  13. Distinctive:

    Never call the Pika API directly, inspect billing as a runtime preflight, persist credentials or provider URLs, attach Assets, switch …

    line 101

≈ “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

Pika Media Provider

Renku Cloud

Pika is not available in Renku Cloud.

Renku runs in Renku Cloud when this skill comes from the renku-cloud plugin (its folder is inside that plugin; Claude Code lists it as renku-cloud:<skill>), or when the Renku tools renku_command, renku_upload, renku_download, renku_view and renku_guide are present. An app may show them with a prefix, such as mcp__plugin_renku-cloud_renku__renku_command. In Renku Cloud, never run a renku command on the computer, even when one is installed there.

When this skill comes from renku-cloud and the Renku tools are missing, the person has not signed in to Renku Cloud yet. Tell them how, and stop until they have: in Claude Code, type /mcp and sign in to plugin:renku-cloud:renku; in the Claude app, open Renku Cloud's Connectors tab in Customize → Plugins and select Add, then Connect; in the ChatGPT app, select Connect on Renku Cloud; in the Codex CLI, run codex mcp login renku.

Nothing in Renku Cloud can reach Pika: Renku Cloud holds no Pika key, and Pika is not one of the providers it reaches through the person's AI app.

  • Do not prepare, review or send a Pika request in Renku Cloud, and skip the steps below.
  • Tell the person in one sentence that Pika needs local Renku. Then return to Media Producer's route choice, which offers the providers available through their AI app. Never switch providers without their choice.
  • Pika media already in the Project still shows in Studio and can be chosen as a reference for another provider's request.

Request Preparation And Recovery

Reuse verified command syntax and selected-route discovery within the current request preparation. Follow existing configuration-cache freshness; final native validation and execution remain live boundaries. Do not retry paid execution automatically or replay a successful mutation after CLI026. Provider metadata cache and output writes require host permission, and Preview notification requires local network access. Explain a known denial and use the authorized permission flow instead of repeating it or disabling persistence. Keep Preview, approval, concurrency, output review, and attachment ownership with Media Producer.

Project Workspace

Keep every agent-created working file inside the current Project's categorized tmp/ tree. Never create review JSON, provenance JSON, generated media, QA evidence, downloads, or scratch files at the Project root.

  • Use tmp/operations/media-generation/ for review documents. Execute/Recover saves provenance beside its media and returns provenancePath for attachment.
  • Use tmp/media/ for generated or downloaded media.
  • Use tmp/qa/ for review evidence.
  • Use tmp/scratch/ for other temporary inputs.

Reuse Media Producer's effective model list when already loaded. Otherwise use renku generation models list --provider pika --route-index <absolute-path-to-references/supported-routes.json> --json for this provider's bundled and personal discovery choices. Select the exact apiId; an explicitly requested unlisted route can proceed without installation. Copy it verbatim into the review document's model field and every generation command. Never substitute a model or rewrite its namespace.

Find model advice by name under Media Producer's references/model-guides/. Read relevant provider guidance: reference inputs, seed audio. Missing advice does not block a supported request; the selected schema and provider documentation describe its current inputs. Use generation models show --provider pika --model <apiId> --json to get personalGuidePath. Read it if present. Current bundled guidance supplies the curated default; personal notes add advice and explicit user preferences take priority. A personal discovery label never suppresses bundled guidance. Prepare the selected request from its live/cached schema and optional advice. Consult current provider documentation when necessary. Do not add a separate capability check or mandatory transport/output compatibility audit.

Media Producer supplies the exact deliberately chosen local files. Do not query or reinterpret Renku Project relationships. After selecting an exact operation, run:

renku generation schema show --provider pika --model <api_id> --json

Treat that raw live input_schema as the final authority for fields, requiredness, enum values, defaults, bounds, and media cardinality. The model index and editorial guides do not replace it.

Author the exact Pika-native input as the review document's request. Put a {"$file":"<project-relative-path>","mimeType":"<mime>","reviewLabel":"<Media Producer label>"} marker at each exact native local-media field. Preserve request order and the meaningful reviewLabel. Add promptMention only when the selected adapter explicitly establishes one; the initial adapter establishes none. Do not upload media yourself.

Follow Media Producer's shared review routing for validation, panel Submit/consume or Preview/conversational confirmation, artifact review, and focused provenance attachment. After confirmation, follow the shared unchanged-document check and execute once; Execute validates before submission. Rebuild native prompt fields and revalidate only when edits require preparation, preserving the exact reference markers. Use generation recover only with a known Pika request id and the unchanged review document.

Never call the Pika API directly, inspect billing as a runtime preflight, persist credentials or provider URLs, attach Assets, switch provider/model on failure, or create durable execution lifecycle, balance, or approval artifacts.

Renku estimates cost for reviews from cached provider prices. Do not write prices into this Skill or the review document; a missing price follows model-researcher's price research.

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.