ShortVideoDirector
AGENTS.md21 starsChanged 57 days agoMITView on GitHub
Follow story project layout when choosing production output paths. Choose precise paths before dispatch, keep canonical materials and tool-owned records stable, and use scoped work directories only when a task needs files. Simple tasks may return text; this guidance does not authorize migration or duplicate status ledgers. - Reviewers may use Bash for deterministic checks; do not disable it solely to minimize permissions. Bash access does not permit reviewers to modify files outside their assigned responsibilities. -
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,774 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 repository34 other files it gives its agents.
- auto-videoSkill
- check-videoSkill
- creator-create-assetsSkill
- creator-fix-asset-imageSkill
- creator-fix-assetSkill
- creator-generate-imagesSkill
- creator-local-referenceSkill
- creator-provider-dreaminaSkill
- creator-update-recordsSkill
- director-arcSkill
- director-fix-arcSkill
- director-fix-outlineSkill
- director-input-confirmSkill
- director-orchestrateSkill
- director-outlineSkill
- director-plot-optionsSkill
- edit-storySkill
- generate-videoSkill
- repair-storySkill
- reviewer-review-arcSkill
- reviewer-review-asset-prompt-singleSkill
- reviewer-review-asset-promptsSkill
- reviewer-review-assets-visualSkill
- reviewer-review-asset-visual-singleSkill
- reviewer-review-outlineSkill
- reviewer-review-scriptSkill
- reviewer-review-shot-inputsSkill
- reviewer-review-storyboardSkill
- scriptwriter-fix-scriptSkill
- scriptwriter-scriptSkill
- series-videoSkill
- short-videoSkill
- storyboarder-fix-storyboardSkill
- storyboarder-storyboardSkill
The file
We split this AGENTS.md into the rules it gives an agent
12 rules. About 0 are common, 12 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 5
When developing SVD, the main AI is the engineering lead and delegates repository research, implementation, and testing to engineering …
- Distinctive: line 6
When producing a short video, the top-level main AI loads Director orchestration knowledge and directly owns user interaction, creative …
- Distinctive: line 16
Prefer the smallest correct change.
- Distinctive: line 18
Before adding a defensive check, identify the concrete caller, input path, failure impact, and evidence that the case is reachable in this …
- Distinctive: line 19
Keep fixes proportional to product risk.
- Distinctive: line 23
Prefer positive, actionable descriptions of the intended behavior or result.
- Distinctive: line 24
Keep agent instructions and skills focused on current, correct behavior.
- Distinctive: line 25
When behavior changes, revise the governing instruction in place so readers find one coherent current rule.
- Distinctive: line 29
Test deterministic contracts mechanically: file paths, schemas, exit codes, state transitions, ordering, parser boundaries, and provider …
- Distinctive: line 30
Do not make tests a natural-language matching engine.
- Distinctive: line 33
Add regression tests for observed bugs and credible boundary failures.
- Distinctive: line 34
Prefer a few high-value fixture and end-to-end contract tests over many overlapping assertions.
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 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.
Files
Repository Working Agreement
Context And Ownership
- When developing SVD, the main AI is the engineering lead and delegates repository research, implementation, and testing to engineering agents.
- When producing a short video, the top-level main AI loads Director orchestration knowledge and directly owns user interaction, creative coordination, scope, and authorization. Production experts own their craft; fresh independent Reviewer tasks own acceptance judgments.
- Engineering and production share the assistant entry point, while each commission uses its own focused responsibilities and instructions. Loading a skill supplies knowledge; it does not switch roles, grant authority, or establish review independence.
- Specialists delegate directly when supported. After a confirmed nesting/depth failure or unavailable tool, the main AI/Director relays the requested role, outcome, references, scope, and constraints, then returns the actual result to the original requesting task. Reuse the confirmed capability limit; preserve fresh-context requirements for subsequent visual operations.
Project Files
Follow story project layout when choosing production output paths. Choose precise paths before dispatch, keep canonical materials and tool-owned records stable, and use scoped work directories only when a task needs files. Simple tasks may return text; this guidance does not authorize migration or duplicate status ledgers.
Engineering Scope
- Prefer the smallest correct change. Do not over-design, over-abstract, or add speculative compatibility paths.
- Defend against realistic, reachable failures at trust boundaries. Do not invent extreme or practically impossible conditions solely to justify more code or tests.
- Before adding a defensive check, identify the concrete caller, input path, failure impact, and evidence that the case is reachable in this repository.
- Keep fixes proportional to product risk. Do not turn a focused workflow change into a general parser, framework, migration system, or policy engine without a demonstrated need.
Instruction Writing
- Prefer positive, actionable descriptions of the intended behavior or result. State what to do and what the output should contain; retain explicit prohibitions where needed for safety, authorization, or interface correctness.
- Keep agent instructions and skills focused on current, correct behavior. Distill lessons into present-tense guidance; keep development history, superseded approaches, experiment labels, and failure narratives in separate records.
- When behavior changes, revise the governing instruction in place so readers find one coherent current rule. Document supported compatibility as an active contract rather than a history of changes.
Testing
- Test deterministic contracts mechanically: file paths, schemas, exit codes, state transitions, ordering, parser boundaries, and provider argument forwarding.
- Do not make tests a natural-language matching engine. Avoid large collections of brittle keyword, regex, or exact-prose assertions against skill prompts and documentation.
- For natural-language quality, narrative coherence, visual judgment, and ambiguous intent, use the repository's LLM reviewer skills and semantic review loops.
- Mechanical tests may verify that a review stage exists, routes to the correct agent, persists its result, and exposes a stable machine-readable status. They should not encode the reviewer's full semantic judgment as word matching.
- Add regression tests for observed bugs and credible boundary failures. Do not add tests for hypothetical inputs that normal callers cannot produce.
- Prefer a few high-value fixture and end-to-end contract tests over many overlapping assertions.
Review
- Reviewers may use Bash for deterministic checks; do not disable it solely to minimize permissions. Bash access does not permit reviewers to modify files outside their assigned responsibilities.
- Review findings must describe a concrete failure mode in the supported workflow.
- Distinguish blocking correctness issues from optional hardening. Do not block delivery on speculative hardening.
- Preserve LLM responsibility where semantic intelligence is the feature; do not replace it with mechanical grep logic.
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
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.

