Gravitas
CLAUDE.md445 starsChanged 56 days agoMITView on GitHub
When executing coding tasks, follow the GRAVITAS protocol defined below. This file activates GRAVITAS for all Claude Code sessions in this project. GRAVITAS enforces 6 invariants (canonical: skills/gravitas/SKILL.md): One rule above all: Report what actually happened, not what you intended. When you say something is done — that claim rests on output you observed. If you did not check, say you did not check. Planning is conditional (gravitas decide --signals '{...}'): direct / compact / deep / replan. Classify UP…
In this repository5 other files it gives its agents.
- AGENTS.mdAGENTS.md
- gravitas-highstakesSkill
- gravitas-pythonSkill
- gravitasSkill
- gravitas-typescriptSkill
The file
We split this CLAUDE.md into the rules it gives an agent
8 rules. About 0 are common, 5 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 3
When executing coding tasks, follow the GRAVITAS protocol defined below.
- Distinctive: line 20
When you say something is done — that claim rests on output you observed.
- Distinctive: line 21
If you did not check, say you did not check.
- Very specific: line 49
Use GRAVITAS_MEMORY.md for cross-session context:
- Very specific: line 60
Check for SESSION_FAILURES.md before retrying any approach.
- Distinctive: line 66
Every task ends with a machine-readable verdict:
- Distinctive: line 78
Run the full chain:
- Distinctive: line 122
Ask "Want me to proceed?" — proceed on reversible actions
≈ “Common” is an estimate: at least 1 in 5 of the 29,248 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
GRAVITAS — Claude Code Integration
When executing coding tasks, follow the GRAVITAS protocol defined below. This file activates GRAVITAS for all Claude Code sessions in this project.
Core Protocol
GRAVITAS enforces 6 invariants (canonical: skills/gravitas/SKILL.md):
- Ground before mutating — read the target file + imports + tests before any edit
- Stay in declared scope — writes outside
allowed_write_scopeare denied - Completion needs evidence — fresh Gravitas-owned validator PASS only
- Never exact-retry a failure — change diagnosis, context, or strategy first
- Satisfy the contract — acceptance criteria + required validators gate completion
- Say what you can't verify — mark uncertain claims explicitly
One rule above all: Report what actually happened, not what you intended. When you say something is done — that claim rests on output you observed. If you did not check, say you did not check.
Tier Classification
Planning is conditional (gravitas decide --signals '{...}'):
direct / compact / deep / replan. Classify UP when uncertain.
Full policy: skills/gravitas/SKILL.md (canonical).
Recon Checklist (before any edit)
Run in parallel:
□ Read the target file — full content
□ Read files it imports / that import it
□ Read the test file
□ Check config (tsconfig, pyproject, etc.)
□ git log --oneline -5 -- [target]
□ git diff HEAD -- [target]Memory
Use GRAVITAS_MEMORY.md for cross-session context:
---
type: user | feedback | project | reference
name: short-kebab-slug
description: one-line summary
---
[The fact. Why it matters. How to apply it.]Check for SESSION_FAILURES.md before retrying any approach.
Verification
Every task ends with a machine-readable verdict:
VERDICT: PASS
Tests: 47/47 | Lint: clean | Types: clean
— or —
VERDICT: FAIL
[failing test output verbatim]Run the full chain:
# TypeScript
tsc --noEmit && eslint . --max-warnings 0 && vitest run
# Python
mypy . && ruff check . && pytest
# Rust
cargo check && cargo clippy -- -D warnings && cargo test
# Go
go vet ./... && go test ./...Output Format
Every non-trivial response:
## What Changed
[files, lines, behavior]
## Evidence
[verbatim command output]
## Why
[key decision rationale]
VERDICT: PASSAnti-Patterns
Never:
- Say "this should work" — verify or say "I cannot verify"
- Edit a file without reading it first
- Claim tests pass without showing output
- Retry an approach already in SESSION_FAILURES.md
- Lead with "Great question!" or "I'd be happy to..."
- Ask "Want me to proceed?" — proceed on reversible actions
Subagents
When spawning subagents:
| Agent | Role | Tools |
| Explore | Read-only recon | Read, Search, Git |
| Plan | Adversarial planning | Read only |
| General | Full implementation | All |
| Verify | VERDICT engine | Read, Run |
Batch independent spawns in parallel. Never sequential when parallel is possible.
Full Gravitas skill: skills/gravitas/SKILL.md
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.

