gravitas
Skill445 starsChanged 56 days agoMITView on GitHub
Use for software implementation, debugging, refactoring, review, migration, and other repository-changing engineering work where correctness must be verified. Enforces scoped reconnaissance, adaptive planning, evidence-backed verification, requirement tracking, failure recovery, and budget-aware delegation. Model-agnostic reliability runtime for coding agents -- measured, not claimed.
2 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- sid-lakhani/agents-configword for word, first seen Nov 29, 2026
- omspradippatil/Claude-Skillsedited, first seen Nov 1, 2026
Other versions2 projects use a version of this.
Word for word · 1
- sid-lakhani/agents-config★ 3100% same
Edited · 1
- omspradippatil/Claude-Skills★ 321% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository5 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- gravitas-highstakesSkill
- gravitas-pythonSkill
- gravitas-typescriptSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 6 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
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
- Distinctive: line 16
When you claim something is done, fixed, or verified -- that claim rests on output you observed in this session.
- Distinctive: line 27
Ground before mutating: Read the target, its tests, and its callers before editing.
- Very specific: line 47
Before multi-file or risky work, emit the planning-policy record (gravitas decide --signals '{...}' or the equivalent judgment):
- Very specific: line 64
No universal ceremony: a one-line fix in one file is direct, even with many files read.
- Very specific: line 93
read src/auth/session.ts line 23: SESSION_TIMEOUT = 5000
- Distinctive: line 102
Prefer executable evidence over prose, in this order:
- Distinctive: line 114
Every verification ends with exactly: VERDICT: PASS or VERDICT: FAIL -- [reason] with failing output
- Distinctive: line 139
Default to one capable agent.
- Distinctive: line 184
Read before write. Plan before act.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill 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 -- Engineering Reliability Runtime
One rule above all: Report what actually happened, not what you intended. When you claim something is done, fixed, or verified -- that claim rests on output you observed in this session. If you did not check, say you did not check.
THE 6 INVARIANTS
These hold across models and hosts. The runtime enforces the machine-checkable ones at hook level; the rest are on you.
- Ground before mutating. Read the target, its tests, and its callers before editing. Never act on assumed file state.
- Stay in declared scope. Writes outside
allowed_write_scopeare denied. If the scope is wrong, amend the contract -- don't route around it. - Completion needs evidence. A criterion is done only when a Gravitas-owned validator passed after the last relevant mutation. Stale evidence and self-review don't count.
- Never exact-retry a failure. A failed approach may be retried only after something material changed (diagnosis, context, strategy). The runtime blocks byte-identical retries.
- Satisfy the contract. Acceptance criteria and required validators in
contract.jsongate completion. Generic "tests passed" doesn't cover unrelated criteria. - Say what you can't verify. Mark uncertain or unverifiable claims explicitly. Downgrade confidence instead of fabricating certainty.
POLICY RECORD
Before multi-file or risky work, emit the planning-policy record
(gravitas decide --signals '{...}' or the equivalent judgment):
{
"planning": "compact",
"context_depth": "dependency",
"verification_depth": "impact",
"delegation": "none",
"reason_codes": ["multiple-files", "shared-module"]
}planning:direct(trivial, localized) /compact(dependent changes, moderate uncertainty) /deep(architecture, security, migration, broad blast radius) /replan(evidence invalidated assumptions, scope grew, or repeated failure).- No universal ceremony: a one-line fix in one file is
direct, even with many files read. A trivial-looking change with huge fanout isdeep. - Store the record; never store hidden chain-of-thought.
- Tier 0/1/2 language surviving in agent files maps to direct/compact/deep until those files migrate to this record.
MODES
| Mode | Writes | Meaning |
| answer, research, plan, review, security-review | None | Read-only. Hooks deny writes and non-query shell. |
| implement, debug | Scoped | Normal work inside allowed_write_scope. |
| migration | Confirmed | Destructive-risk work. User checkpoint required. |
Legacy plan-only / review-only are accepted as aliases. See
references/task-contract.md.
DECISION RECORDS
For non-trivial actions, emit a decision record before executing:
decision: action: modify src/auth/session.ts reason: SESSION_TIMEOUT is 5000ms, task requires 30000ms evidence: - read src/auth/session.ts line 23: SESSION_TIMEOUT = 5000 - failing test: auth/session.test.ts:47 expects 5000 (will need update) risk: low allowed_by_contract: true
VERIFICATION HIERARCHY
Prefer executable evidence over prose, in this order:
- Hidden deterministic acceptance validator
- External integration / runtime execution
- Project tests
- Compiler / type checker
- Deterministic static analysis
- Executable reproducer
- Structural / diff invariant
- Independent model review
- Same-model self-review (supplementary only -- never completion evidence)
Every verification ends with exactly: VERDICT: PASS or VERDICT: FAIL -- [reason] with failing output
See references/verification.md for validator discovery and escalation
(targeted -> neighborhood -> regression -> full CI).
EFFORT PROFILES
| Profile | Planning | Delegation | Verification |
| eco | direct-first | none unless blocked | targeted only |
| balanced | adaptive (default) | conditional | targeted + affected |
| deep | deep-first | conditional verifier | full suite + independent check |
eco never bypasses scope or evidence gates. deep never runs every
command blindly -- depth follows blast radius and uncertainty.
DELEGATION
Default to one capable agent. Delegate only when the policy record says so:
| Signal | Role |
| Localization uncertain, read-only | investigator |
| Risky implementation | reviewer |
| Broad dependency fanout | impact-auditor |
| Strict security work | test-adversary |
Subagents get minimum necessary context plus explicit permissions. Never assume a child inherits restrictions unless the host guarantees it.
OUTPUT FORMAT
Every non-trivial response:
What Changed
[files modified, lines changed, behavior delta]
Evidence
[actual command output -- pass counts, lint results, build output]
Why
[rationale for the key decision]
DEEP REFERENCES
Load when the task requires:
| Reference | Load when |
| references/task-contract.md | establishing a formal task contract |
| references/reasoning.md | calibrating reasoning depth |
| references/reconnaissance.md | large/unfamiliar codebase recon |
| references/verification.md | complex verification requirements |
| references/delegation.md | considering subagent spawning |
| references/recovery.md | resuming after interruption or failure |
| references/model-routing.md | budget/model selection decisions |
Read before write. Plan before act. Verify with proof. Report what happened.
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.

