agent-pi
CLAUDE.md274 starsChanged 8 months agoMITView on GitHub
These rules are mandatory. No verbal instruction, implicit context, or shorthand like "do it" overrides them. If a rule conflicts with a user request, stop and confirm before proceeding. This repository contains private/proprietary content: - skills/private/ — private skill definitions - prompts/ — custom prompt templates - agents/ — agent configurations - extensions/ — proprietary extension code NEVER push any of this to a public repository. If in doubt, check repo visibility first.
- Deletes or force-pushes
- Commits and pushes
In this repository22 other files it gives its agents.
- agent-browserSkill
- autoresearchSkill
- building-native-uiSkill
- expo-api-routesSkill
- expo-cicd-workflowsSkill
- expo-deploymentSkill
- expo-dev-clientSkill
- expo-tailwind-setupSkill
- expo-ui-jetpack-composeSkill
- expo-ui-swift-uiSkill
- just-bashSkill
- nano-bananaSkill
- native-data-fetchingSkill
- qa-device-managementSkill
- qa-scrollSkill
- qa-setupSkill
- qa-state-persistenceSkill
- qa-test-flowsSkill
- qa-webSkill
- slack-webSkill
- upgrading-expoSkill
- use-domSkill
The file
Show its rules and text
We split this CLAUDE.md into the rules it gives an agent
18 rules. About 0 are common, 11 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 10
NEVER: run git push unless the user explicitly says "push" or "push it"
- Distinctive: line 12
Before ANY git push, you MUST:
- Very specific: line 19
Before pushing, verify visibility: gh api repos/OWNER/REPO --jq '.visibility'
- Distinctive: line 20
If the repo is public, REFUSE the push and tell the user
- Distinctive: line 21
If visibility cannot be determined, REFUSE the push
- Distinctive: line 26
When pushing, ALWAYS specify the remote by name.
- Very specific: line 27
NEVER push to origin without explicit user approval.
- Very specific: line 28
NEVER push private content (skills/private/, extensions/private/, commands/private/) to origin.
- Very specific: line 29
Before pushing to ANY remote, verify visibility: gh api repos/OWNER/REPO --jq '.visibility'
- Very specific: line 34
NEVER add .github/workflows/ to the public repo (origin)
- Distinctive: line 36
No CI, no guards, no actions.
- Distinctive: line 39
Only commit files directly related to the current task
- Distinctive: line 41
Use clear, descriptive commit messages
- Very specific: line 42
Before ANY commit, verify no private content is staged: check for skills/private/, extensions/private/, commands/private/
- Distinctive: line 59
Do NOT delete files or directories — the user will delete manually if needed
- Very specific: line 60
Do NOT run destructive commands (rm -rf, rm -r, etc.)
- Distinctive: line 61
Do NOT modify files outside the scope of the current task
- Distinctive: line 76
If a user instruction is ambiguous, ask for clarification.
≈ “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.md — Agent Rules & Policies
These rules are mandatory. No verbal instruction, implicit context, or shorthand like "do it" overrides them. If a rule conflicts with a user request, stop and confirm before proceeding.
Git Operations — STRICT POLICY
NEVER push without explicit confirmation
- NEVER run
git pushunless the user explicitly says "push" or "push it" - Phrases like "do it", "apply it", "make it happen" mean local changes only — they do NOT authorize pushing
- Before ANY
git push, you MUST:- State that you are about to push
- Name the remote and branch
- Confirm the repo visibility (public vs private)
- Wait for explicit user approval
NEVER push to public repositories
- Before pushing, verify visibility:
gh api repos/OWNER/REPO --jq '.visibility' - If the repo is public, REFUSE the push and tell the user
- If visibility cannot be determined, REFUSE the push
Two remotes — know the difference
pi-dev→ruizrica/pi-dev— PRIVATE repo. Full content. This is the working repo.origin→ruizrica/agent-pi— PUBLIC repo. Clean content only. No private dirs, no actions.- When pushing, ALWAYS specify the remote by name. NEVER use bare
git push. - NEVER push to
originwithout explicit user approval. - NEVER push private content (
skills/private/,extensions/private/,commands/private/) toorigin. Ever. - Before pushing to ANY remote, verify visibility:
gh api repos/OWNER/REPO --jq '.visibility' - If the repo is public, REFUSE the push and tell the user
- A pre-push hook enforces this at the git level as a safety net — do not rely on it, check yourself first
No GitHub Actions on public repo
- NEVER add
.github/workflows/to the public repo (origin) - Actions run on public runners and log output — this exposes file paths and content
- No CI, no guards, no actions. The pre-push hook is the guard, and it runs locally.
Git commit policy
- Only commit files directly related to the current task
- Show
git statusbefore committing so the user can review - Use clear, descriptive commit messages
- Before ANY commit, verify no private content is staged: check for
skills/private/,extensions/private/,commands/private/
Sensitive Content
This repository contains private/proprietary content:
skills/private/— private skill definitionsprompts/— custom prompt templatesagents/— agent configurationsextensions/— proprietary extension code
NEVER push any of this to a public repository. If in doubt, check repo visibility first.
File Operations
- Do NOT delete files or directories — the user will delete manually if needed
- Do NOT run destructive commands (
rm -rf,rm -r, etc.) - Do NOT modify files outside the scope of the current task
Confirmation Required
The following actions always require explicit user confirmation:
git push(any remote)git force-push(any remote)- Changing repo visibility
- Publishing packages
- Any action that sends data to external services
When In Doubt
If a user instruction is ambiguous, ask for clarification. Do not assume the most aggressive interpretation. "Do it" means "do the local work" — not "deploy to the world."
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.

