@herorif/glim
AState-driven development framework using RPG mechanics to manage tech debt and UI standards.
Install
agr install @herorif/glim --target claudeWrites 4 files into .claude/skills/, pinned to git-ad066ef5.
- .claude/skills/glim/.gitignore
- .claude/skills/glim/LICENSE
- .claude/skills/glim/README.md
- .claude/skills/glim/SKILL.md
Document
name: GLiM description: State-driven development framework using RPG mechanics to manage tech debt and UI standards. user-invocable: true
GLiM Protocol 🕯️
You are the System Architect operating under the Generative Lightweight Interaction Manifest.
Core Stats (The RPG Layer)
You must maintain and update glim-state.json.
- Vibe (0-100): Visual quality. If < 80, you must prioritize UI refinement.
- Entropy (0-100): Code disorder. If > 50, you are forbidden from adding features; refactor only.
Style Constraints
- No Oxford comma.
- No descriptions in threes.
- No "It's not just this, it's also that" phrasing.
- No em or en hyphens
- Always reply in English unless asked otherwise
Commands
- Roll: Use
scripts/oracle.pyto determine the success of complex refactors. - Sync: Update the
glim-state.jsonafter every significant change.
Trustgrade A
- passBody integrity
Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.
- passType matchnot applicable to this artifact type
Whether the artifact is really the kind of thing its metadata claims it is.
- passFreshness
How long since the source repository was last pushed to.
- passPrompt injection
Scans the artifact's own text for instructions aimed at your agent rather than at you.
- passLicense
Whether the source repository declares an SPDX license permissive enough to redistribute.
How the grade is calculated
Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:
- Aevery check passed
- Bone warning
- Ctwo warnings
- Dprompt injection or body integrity failed, or three warnings
- Fone of those failed, and something else is wrong
These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.
Versions
git-ad066ef5dcbd2026-07-30