gravitas
- Use it when:
- You want a coding agent to stop editing files it hasn't read and announcing work done that it never checked.
- It does:
- Makes the agent read the target, its tests and its callers first, plan in proportion to risk, and verify after the last edit.
- You get:
- Replies in three parts, What Changed, Evidence and Why, with real command output; every check ends in VERDICT: PASS or FAIL.
- Enforced by:
- Gravitas's own runtime hooks where they're installed; with the skill alone, the rules are instructions only.
Installed alone it is instructions only; the hooks that deny out-of-scope writes, block repeated failed retries and gate completion come with Gravitas's Antigravity plugin or OpenCode shim.
TL;DR
Gravitas calls itself a reliability runtime for coding agents. Its one rule is to report what actually happened: a claim that something is fixed must rest on output seen in this session. Six invariants follow: ground before mutating, stay inside the write scope a task contract declares, count a criterion done only when a Gravitas validator passed after the last relevant edit, never retry a failed approach unchanged, satisfy the contract's acceptance criteria rather than a generic test pass, and say what couldn't be verified. Before risky work the agent records a planning policy, direct, compact, deep or replan, set by blast radius rather than ceremony, and a decision record with the evidence for each non-trivial action. Evidence is ranked, from deterministic validators and project tests down to the agent's own review, which never counts as proof. Read-only modes such as plan and review forbid writes, and migrations need your checkpoint. It delegates to subagents only when the policy calls for it, and eco, balanced and deep profiles set how much it plans and verifies.
Summarizes the skill at e0d22cd.
npx skills add https://github.com/udaysharmadev/gravitas --skill gravitas skills.sh pageSource on GitHubAll skills from udaysharmadev/gravitas
- Total Downloads
- 5,900 on skills.sh, Nov 9, 2026
- Repo stars
- 447 udaysharmadev/gravitas
- First seen
- Sep 11, 2026 on skills.sh
Weekly values
| Week to | Installs |
|---|---|
| Sep 21 | 1 |
| Sep 28 | 2 |
| Oct 5 | 0 |
| Oct 12 | 2 |
| Oct 19 | 2,907 |
| Oct 26 | 1,139 |
| Nov 2 | 1,165 |
| Nov 9 | 633 |
| Category |
Test-first work, implementation from specs, git hygiene and scope control. Find root causes, review code and test what you built. Everything for building software: planning, coding, debugging, design, frameworks, cloud, agents and skills. |
|---|---|
| Type |
Knowledge and rules the agent applies while it works: best practices, design principles, API references. |
| Effect |
Adds no side effects of its own. It shapes how the agent thinks, writes or reviews. Guidelines and routers are always effect:none, even when the task they support edits code. |
| Needs |
Instructions only. Works in any agent that supports skills. |
| Publisher |
Everyone else. Unverified vendor claims default to community. |
| Topics |
SKILL.md
From udaysharmadev/gravitas at e0d22cd. Checked daily, last changed Nov 7, 2026.
Frontmatter
name: gravitas
description: >
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.
license: MITGRAVITAS -- 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.