agentleFS
GoRenkuGoRenku/studio-skills/skills/screenplay-analyst/SKILL.md

screenplay-analyst

Skill2 starsChanged 7 months agoMITView on GitHub

Analyze a Renku Studio screenplay through renku screenplay analyze, author evidence-backed three-act Screenplay Analysis JSON and Character Arcs for the main characters, validate them, and persist them through the CLI without mutating scenes.

The file

Show its rules and text

We split this skill into the rules it gives an agent

40 rules. About 0 are common, 17 are distinctive, and 23 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈17

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 23

    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 18
  2. Very specific:

    Run the renku ... commands a step needs as one renku_command batch: {"commands": [{"args": ["screenplay", "status", "--json"]}], …

    line 28
  3. Very specific:

    Read this skill's own files, including samples/, from the installed plugin.

    line 38
  4. Very specific:

    Read it in parts with --scenes <a-b>, or fetch its download link and read the file on your computer.

    line 44
  5. Very specific:

    Read back part of an analysis with screenplay analyze show --active --scenes <a-b>.

    line 50
  6. Very specific:

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

    line 57
  7. Very specific:

    Use tmp/operations/ for CLI authoring documents, including create, update, design, analysis, Lookbook, Scene Beats, Shot Plan, and import …

    line 61
  8. Very specific:

    Use tmp/operations/media-generation/ for Media Producer review and provenance documents.

    line 63
  9. Very specific:

    Use tmp/media/ for temporary generated, downloaded, transformed, or cropped media.

    line 65
  10. Distinctive:

    Create category folders lazily.

    line 68
  11. Very specific:

    Keep an external user source outside the Project when possible.

    line 70
  12. Distinctive:

    Use this skill to critique the current Renku Studio screenplay and persist a durable Screenplay Analysis, plus a Character Arc for each …

    line 74
  13. Very specific:

    If the user names Scene 22, 22A, or another production scene number, resolve it with renku screenplay scene-number resolve --number …

    line 81
  14. Distinctive:

    Read the current analysis context.

    line 84
  15. Very specific:

    Read analysisMethod.supported and analysisMethod.sourceActMode before doing model work:

    line 85
  16. Distinctive:

    Every FDX-backed Screenplay uses this mode.

    line 89
  17. Distinctive:

    Use separate validation for validation-only intent or a review pause.

    line 99
  18. Distinctive:

    Write through the Renku CLI.

    line 101
  19. Very specific:

    Write the Character Arcs for the protagonists and key supporting roles in the same request: author the complete set, validate it, and write …

    line 103
  20. Distinctive:

    Ask only when a missing creative choice materially changes the critique.

    line 110
  21. Distinctive:

    Read the analysis context:

    line 123
  22. Very specific:

    Create a JSON file that matches references/screenplay-analysis-json-contract.md.

    line 137
  23. Distinctive:

    Read back only if the mutation report lacks needed detail, the outcome is uncertain, or relevant state changed:

    line 151
  24. Very specific:

    Read references/screenplay-analysis-cli-workflow.md for command order and report handling.

    line 159
  25. Very specific:

    Read references/screenplay-analysis-json-contract.md before writing JSON.

    line 160
  26. Very specific:

    Read references/screenplay-analysis-guidance.md before critiquing story structure.

    line 161
  27. Very specific:

    Use samples/three-act-analysis.json as a structural example only.

    line 162
  28. Very specific:

    Read references/character-arc-guidance.md before writing arcs, and references/character-arc-cli-workflow.md for the arc commands.

    line 163
  29. Very specific:

    Use samples/character-arcs.json as a structural example of arcs only.

    line 165
  30. Very specific:

    Do not write directly to .renku/project.sqlite.

    line 170
  31. Distinctive:

    Do not call any Screenplay mutation command while analyzing.

    line 171
  32. Distinctive:

    Do not create scene rows for suggested additions.

    line 173
  33. Very specific:

    Do not use screenplay Act or Sequence Section ids in analysis JSON.

    line 174
  34. Distinctive:

    Do not invent timings, runtime, page counts, or post-production metadata.

    line 181
  35. Distinctive:

    Use production numbers in transient user-facing prose when helpful, but keep persisted Screenplay Analysis JSON references durable-id-only.

    line 183
  36. Distinctive:

    Keep suggestions actionable enough for a later screenplay operation agent to apply.

    line 185
  37. Distinctive:

    Write validates before persistence.

    line 186
  38. Very specific:

    Use US spelling: analyze, not analyse.

    line 187
  39. Distinctive:

    Default criteria are Dramatic Energy, Stakes, and Character Agency.

    line 198
  40. Distinctive:

    Treat suggested scene additions as options for the user to review.

    line 200

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

Screenplay Analyst

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.

In Renku Cloud this section applies and takes precedence over any instruction below to stop when renku is unavailable.

  • Run the renku ... commands a step needs as one renku_command batch: {"commands": [{"args": ["screenplay", "status", "--json"]}], "onFailure": "stop"}. There is no shell, so no pipes, redirects or $(...). A command that needs an id from an earlier answer goes in a second batch.
  • Your workbench is on your computer: the documents you write, saved answers and notes. Send a document a command reads in that command's files, keyed by the tmp/ path the command names.
  • An answer over 100,000 characters, or any answer when saveAnswers is true, comes back as a download link. Fetch it with curl and read it with jq, sed or a script on your computer.
  • Read this skill's own files, including samples/, from the installed plugin.

For analysis:

  • screenplay analyze context for a feature can pass 100,000 characters. Read it in parts with --scenes <a-b>, or fetch its download link and read the file on your computer. screenplay show --text gives the screenplay itself as text.
  • Still write one complete analysis with a sceneAnalyses entry for every Scene: build it on your computer, then send it in files. screenplay analyze validate answers with the issues only.
  • Read back part of an analysis with screenplay analyze show --active --scenes <a-b>.

This skill requires the installed Renku runtime. If renku is unavailable, stop and direct the user to https://gorenku.com; do not substitute ad hoc files for the CLI-owned project state.

Project Workspace

Keep every agent-created working file inside the current Project's categorized tmp/ tree. Never create operation JSON, Generation Specs, import manifests, QA images, downloads, crops, or scratch files at the Project root.

  • Use tmp/operations/ for CLI authoring documents, including create, update, design, analysis, Lookbook, Scene Beats, Shot Plan, and import JSON.
  • Use tmp/operations/media-generation/ for Media Producer review and provenance documents.
  • Use tmp/media/ for temporary generated, downloaded, transformed, or cropped media; use tmp/qa/ for review evidence and tmp/scratch/ for other temporary inputs.
  • Create category folders lazily. Let Renku commands copy accepted content into durable owner folders; never construct durable asset paths in the skill.
  • Keep an external user source outside the Project when possible. If a temporary in-Project copy is necessary, place it under tmp/scratch/.

Use this skill to critique the current Renku Studio screenplay and persist a durable Screenplay Analysis, plus a Character Arc for each protagonist and key supporting role.

A Screenplay Analysis is critique, evidence, scoring, and suggested improvements. It does not rewrite the screenplay and does not create scene rows.

Start Here

  1. Resolve or open the Renku project. If the user names Scene 22, 22A, or another production scene number, resolve it with renku screenplay scene-number resolve --number <production-number> --json before focusing the critique.
  2. Read the current analysis context.
  3. Read analysisMethod.supported and analysisMethod.sourceActMode before doing model work:

    • flat: derive three analytical Act segments from canonical Scene order. Every FDX-backed Screenplay uses this mode. Do not look for or infer Acts from Final Draft New Act, End of Act, Sequence, Outline, Note, marker text, or retained source XML.
    • sourceThreeAct: use the three source Act Scene memberships exactly and critique weak boundaries through analysis critique.suggestions. This mode is available only from canonical Renku-authored Act organization, never from FDX markers.
    • unsupported: stop before authoring or generation and explain the three-act-only restriction from the returned reason.
  4. Author a complete Screenplay Analysis JSON document.
  5. Use separate validation for validation-only intent or a review pause.
  6. Fix any validation errors returned by the owning command.
  7. Write through the Renku CLI. An ordinary “Analyze this screenplay” request always creates a new analysis revision and makes it active.
  8. Write the Character Arcs for the protagonists and key supporting roles in the same request: author the complete set, validate it, and write it with renku cast arc (see references/character-arc-cli-workflow.md). A re-analysis always rewrites the arcs too.
  9. Report the active analysis id, the most important critique, and which Cast Members got arcs (and their arc types).

Ask only when a missing creative choice materially changes the critique. If the user wants momentum, make a clear assumption and proceed.

Project Preflight

For a named project:

Open the project first, so the analysis and the Character Arcs act on the same project:

renku project open <project-name> --json

Read the analysis context:

renku screenplay analyze context --project <project-name> --json

Optional orientation:

renku studio current --json

Validate And Persist

Create a JSON file that matches references/screenplay-analysis-json-contract.md.

For validation-only requests or a review pause, validate without writing:

renku screenplay analyze validate --file tmp/operations/screenplay-analysis.json --project <project-name> --json

Write:

renku screenplay analyze write --file tmp/operations/screenplay-analysis.json --project <project-name> --json

Read back only if the mutation report lacks needed detail, the outcome is uncertain, or relevant state changed:

renku screenplay analyze show --active --project <project-name> --json

Reference Files

  • Read references/screenplay-analysis-cli-workflow.md for command order and report handling.
  • Read references/screenplay-analysis-json-contract.md before writing JSON.
  • Read references/screenplay-analysis-guidance.md before critiquing story structure.
  • Use samples/three-act-analysis.json as a structural example only.
  • Read references/character-arc-guidance.md before writing arcs, and references/character-arc-cli-workflow.md for the arc commands.
  • Use samples/character-arcs.json as a structural example of arcs only; its ids are placeholders.

Non-Negotiables

  • Do not write directly to .renku/project.sqlite.
  • Do not call any Screenplay mutation command while analyzing. Analysis never creates, updates, moves, deletes, or organizes screenplay content.
  • Do not create scene rows for suggested additions.
  • Do not use screenplay Act or Sequence Section ids in analysis JSON. For sourceThreeAct, copy the returned Scene membership into the three actSegments without storing Section ids or alternate boundaries.
  • Partition every current Scene exactly once, in canonical order, across the three actSegments; do the same across sceneGroups when groups are present.
  • Include every accepted key-beat role exactly once. Omit sceneId when the screenplay does not yet embody a beat instead of inventing a placement.
  • Do not invent timings, runtime, page counts, or post-production metadata.
  • Cite scene ids and evidence when making critique claims.
  • Use production numbers in transient user-facing prose when helpful, but keep persisted Screenplay Analysis JSON references durable-id-only.
  • Keep suggestions actionable enough for a later screenplay operation agent to apply.
  • Write validates before persistence; keep separate validation for validation-only requests or review.
  • Use US spelling: analyze, not analyse.
  • Character arcs cover only protagonists and key supporting roles. One person is one Cast Member at every age, with one arc for the whole life; ages are Looks of that Cast Member.
  • Arcs cite real Scene ids and real dialogue; never invent events or quotes.

Quality Bar

  • Give useful critique with evidence, not generic praise.
  • Score only declared criteria.
  • Default criteria are Dramatic Energy, Stakes, and Character Agency.
  • Tie every major claim to the current screenplay context.
  • Treat suggested scene additions as options for the user to review.

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.