agentleFS
XucroYuriXucroYuri/how-to-make-script/CLAUDE.md

how-to-make-script

CLAUDE.md17 starsChanged 8 months agoMITView on GitHub

Alternatively, just read the .venv/ for a pre-configured virtualenv. A research-first open source agent skill monorepo for screenplay creation knowledge. It classifies requests by intent, medium, stage, and desired output, then loads only the relevant knowledge (protocol, rubric, and reference atoms) to produce structured artifacts. Not a prompt dump, single-method gospel, or UI-first product.

  • Installs packages

The file

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

4 rules. About 0 are common, 0 are distinctive, and 4 are 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.

  • 4

    Very specific

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

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

    When invoked as a skill, follow SKILL.md — classify first, then route

    line 68
  2. Very specific:

    Read references/routing-policy.md before making routing decisions

    line 69
  3. Very specific:

    Use references/router-matrix.json to look up correct knowledge bundles

    line 70
  4. Very specific:

    Do not modify knowledge/ atoms directly unless a test validates the change

    line 73

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

CLAUDE.md — How to Make Script

Project Identity

  • Name: how-to-make-script
  • Type: Agent skill monorepo for screenplay creation knowledge
  • Stack: Python 3.9+ (validation/scripts) + Markdown knowledge base + Agent Skill orchestration
  • Remote: origin = https://github.com/XucroYuri/how-to-make-script

Quick Reference

python --version          # Python >= 3.9
pip install -e ".[dev]"   # Install with dev dependencies
python -m pytest tests/   # Run tests
python scripts/validate_links.py  # Validate internal link integrity

Alternatively, just read the .venv/ for a pre-configured virtualenv.

What This Is

A research-first open source agent skill monorepo for screenplay creation knowledge. It classifies requests by intent, medium, stage, and desired output, then loads only the relevant knowledge (protocol, rubric, and reference atoms) to produce structured artifacts.

Not a prompt dump, single-method gospel, or UI-first product.

Key Numbers

  • 29 sub-skills in skills/
  • 30 output types
  • 114 knowledge atoms across 189 .md files
  • 33 workflow protocols in knowledge/20-workflows/
  • 31 evaluation rubrics in knowledge/60-rubrics/
  • 19 test modules + 19 validation scripts
  • 10 golden example flows

Architecture

Request in
  → SKILL.md (root orchestration, classification)
    → skills/<sub-skill>/SKILL.md (domain-specific skill execution)
      → knowledge/ (routable atoms: ontology, foundations, workflows, craft, media, genre, rubrics)
        → references/ (router matrix, routing policy, supported outputs, content model)

Directory Map

DirectoryPurpose
skills/29 sub-skills (structure-beat, rewrite-doctor, quality-gating, etc.)
knowledge/7-layer knowledge tree: ontology, foundations, workflows, craft, media, genre, rubrics
references/Router matrix, routing policy, supported outputs, content model
schemas/Machine-readable schema definitions
tests/19 test modules validating routing, schemas, and skill behavior
scripts/19 validation scripts for link integrity, consistency checks
examples/Golden flows, reference packs, quickstart fixtures
docs/Bilingual documentation (17 pairs EN/ZH)

Working With This Repo

  1. SKILL.md is the entrypoint — all agent invocation starts here
  2. Knowledge is routable — references/router-matrix.json maps intent x medium x stage to knowledge atoms
  3. Skills are composable — sub-skills in skills/ chain together, each with their own SKILL.md
  4. Tests validate routing, not writing quality — tests check that classification and bundle loading work correctly
  5. Python is glue — the real content is Markdown; Python validates structure and contracts

Agent Working Instructions

  • When invoked as a skill, follow SKILL.md — classify first, then route
  • Read references/routing-policy.md before making routing decisions
  • Use references/router-matrix.json to look up correct knowledge bundles
  • Load only what the request needs — do not load all 189 knowledge files
  • Self-check output against rubric atoms from knowledge/60-rubrics/
  • Do not modify knowledge/ atoms directly unless a test validates the change

Development Rules

  1. No speculative additions — every new knowledge atom needs a test or fixture
  2. Test before changing routing — routing changes need fixture updates
  3. Keep Markdown valid — all .md files must pass scripts/validate_links.py
  4. Bilingual parity — Chinese and English docs should stay in sync
  5. Commit format: docs:, feat:, fix:, test: with bilingual descriptions

Avoid

  • Adding AI-generated content to knowledge/ without human review
  • Hardcoding specific LLM behaviors in skill definitions
  • Removing validation scripts without replacement
  • Mixing knowledge layers (e.g., putting craft-level atoms in rubric layer)

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.