AGENTS.md@internal/uiA
AGENTS.md@internal/ui from muke-coder/grit is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add muke-coder/grit/internal/ui/AGENTS.md@git:20261007.d88f6abPins git:20261007.d88f6ab in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- AGENTS.md file
- Repository
- muke-coder/grit
- Path
internal/ui/AGENTS.md- Versions recorded
- 1
- Latest version
- git:20261007.d88f6ab, committed Oct 7, 2026
- Size
- 2,859 bytes
- Repository stars
- 144
- License
- MIT
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# internal/ui ## Context The CLI's design system: the palette, the glyphs, the line components and the stepper. Everything `grit` prints in a terminal comes from here, or should. Small on purpose. The whole package is a palette of seven colour roles, a handful of glyphs with ASCII fallbacks, and about twenty functions that each return or print one line. ## Source of truth - **The palette**: `ui.go`. Seven roles, each a `pair(light, dark, ansiLight, ansiDark)`. `GRIT_THEME=light|dark` overrides detection. - **The glyphs**: `ui.go`, with their ASCII fallbacks and `hasUTF8()`. - **The line components**: `components.go`. - **Progressive output**: `stepper.go`. - **The huh prompt theme**: `prompt_theme.go`. ## Boundary rules 1. **Seven roles, and no more.** `cBrand`, `cMuted`, `cFaint`, `cSuccess`, `cWarning`, `cError`, and `Text`, which carries no colour on purpose. A new colour is a new role, and a new role needs a reason that is not "this line should stand out". 2. **Every colour is a pair with an ANSI fallback.** A terminal with 16 colours is not a broken terminal, and a hex-only style renders as nothing there. …
Read the whole file at its exact version.
How to install
mdr add muke-coder/grit/internal/ui/AGENTS.md@sha256:633696a1e1f15065The line at the top of this page pins the label git:20261007.d88f6ab, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_uyre2lnd7a2i6c7x)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Oct 7, 2026.
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (2859 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
muke-coder/grit · 144 stars · license MIT · pushed 2026-10-20 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_uyre2lnd7a2i6c7x GET https://markdownregistry.com/api/v1/resolve?ref=muke-coder/grit/internal/ui/AGENTS.md GET https://markdownregistry.com/api/v1/blob/633696a1e1f150650d23df7e17d5932d2ccc32e996d5e540a8b80c09e1794f70
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.