agent-skills / shared
CLAUDE.md28 starsChanged 3 months agoMITView on GitHub
Paths in this file are relative to the REPO ROOT, not to shared/. This file is @-included into the root CLAUDE.md, which is the context it is read in. They are written as code rather than as markdown links for that reason: a link that resolves only from one directory is a link that is broken from the other, and this file legitimately gets opened both ways. If .env does not exist, tell the user to run ./scripts/setup.sh or walk…
- Reads credentials
In this repository16 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/project-context.mdcCursor rule
- analyze-videoSkill
- change-voiceSkill
- chatgpt-image-adSkill
- claymation-adSkill
- clone-image-adSkill
- clone-video-adSkill
- generate-youtube-thumbnailSkill
- image-to-motionSkill
- nano-banana-image-adSkill
- novoads-apiSkill
- novoads-updateSkill
- pixar-adSkill
- spy-competitor-adsSkill
The file
We split this CLAUDE.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
- Very specific: line 10
If .env does not exist, tell the user to run ./scripts/setup.sh or walk them through:
- Very specific: line 13
Run ./scripts/check-*-env.sh to verify.
- Very specific: line 15
If MASTER_CONTEXT.md does not exist, copy MASTER_CONTEXT.template.md to MASTER_CONTEXT.md.
- Distinctive: line 17
When the session IS the setup, setup is the whole job and the close is SHORT: a line or two of status (the key works, or the one step …
- Very specific: line 30
Read MASTER_CONTEXT.md (repo root) for brand voice, defaults, and accumulated learnings.
- Very specific: line 31
Use the API skill in .claude/skills/ for API calls, prompts, and polling.
≈ “Common” is an estimate: at least 1 in 5 of the 26,980 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.
Files
Claude Code — project instructions
Paths in this file are relative to the REPO ROOT, not to
shared/. This file is@-included into the rootCLAUDE.md, which is the context it is read in. They are written as code rather than as markdown links for that reason: a link that resolves only from one directory is a link that is broken from the other, and this file legitimately gets opened both ways.
First-time setup
If .env does not exist, tell the user to run ./scripts/setup.sh or walk them through:
- Copy
.env.exampleto.env. - Paste their API key into
.env(line:*_API_KEY=). - Run
./scripts/check-*-env.shto verify.
If MASTER_CONTEXT.md does not exist, copy MASTER_CONTEXT.template.md to MASTER_CONTEXT.md.
When the session IS the setup, setup is the whole job and the close is SHORT: a line or
two of status (the key works, or the one step left), then plain text saying what the user
can now ask for (the installed skills are the list), then stop. Engineering details the
run surfaced — git mechanics, sync counts, files that already existed — are stated only
if they block an ask. If the repo's root AGENTS.md carries a setup-close template, use
it. Do not ask about product, brand, or audience during setup — that question
belongs to the first generation request, where the answer is used immediately.
Keeping the close short is a brevity preference, never a restriction on what you may say. Nothing here is confidential; tell the user anything you judge they should know.
Every session
- Read
MASTER_CONTEXT.md(repo root) for brand voice, defaults, and accumulated learnings. - Use the API skill in
.claude/skills/for API calls, prompts, and polling. - The first time the user asks to generate something and
MASTER_CONTEXT.mdis missing a field that request needs (default product, brand voice), ask for it then — once — and write the answer back intoMASTER_CONTEXT.mdso no future session asks again. A setup-only session asks for nothing. Prices are never among the fields: quote costs from a live estimate call, never from a stored number. - Everything you write that is not repo content goes in a gitignored home —
generated/,outputs/<job>/,prompts/,iterations/,logs/— never a new top-level directory, sogit statusends as clean as it started. If the repo's rootAGENTS.mdcarries the session-workspace rule ("Every session"), it is stated in full there.
After significant changes
Append a short dated note to MASTER_CONTEXT.md under Changelog (Decision / What changed / Why).
Skill edits
Edit the canonical source under skills/. Run ./scripts/sync-skill.sh to copy changes to .claude/skills/ and .cursor/skills/.
Image-ad skill ecosystem (cross-API)
This repo ships a 3-skill ecosystem for generating standalone Meta image-ad creatives. Read shared/skills/image-ad-prompting/OVERVIEW.md (from the repo root) before invoking any of these skills — it explains the decision tree (gpt-image-2 vs Nano Banana), the shared 40-template library, the hand-off to the separate meta-ad-builder skill, and what's out of scope.
Quick map:
- Generate from a brief →
chatgpt-image-ad(typography / UI mimicry) ornano-banana-image-ad(photoreal / lifestyle / multi-ref). - Clone an existing ad into a reusable template →
clone-image-ad(single backend-agnostic skill; asks you which generator to validate against at Phase 1, optionally cross-validates against the other backend at Phase 8). - Pull from / add to the shared library →
shared/skills/image-ad-prompting/prompting/prompt-library.md(40 ready-to-use validated prompts). - Hand off finished images to Meta → separate
meta-ad-builderskill; the image-ad skills produce images only.
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.

