grok-keysmith
AGENTS.md484 starsChanged 3 months agoMITView on GitHub
These rules apply to the complete grok-keysmith repository. The project is a zero-runtime-dependency Python CLI that manages global Grok Build instruction, compatibility, hook, manifest, and recovery state under ~/.grok. - Public repository history starts at v0.1.1; do not import refs, commit IDs, tags, or metadata from the earlier private-only predecessor. - Keep existing public version tags unchanged: do not move, recreate, or overwrite them. - Verify repository visibility, tags, Releases, assets, and settings live before documenting external state; a Git…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
13 rules. About 2 are common, 7 are distinctive, and 4 are very specific to this project.
≈2
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Keep existing public version tags unchanged: do not move, recreate, or overwrite them.
- Distinctive: line 15
Verify repository visibility, tags, Releases, assets, and settings live before documenting external state.
- Very specific: line 24
Do not test write paths against the real ~/.grok.
- Common: line 28
Do not patch Grok binaries, intercept network traffic, manage credentials, or alter running Grok processes.
- Very specific: line 30
Treat examples/grok-unrestricted.md, BUNDLED_PROMPT_B64, and BUNDLED_PROMPT_SHA256 as one versioned unit.
- Distinctive: line 33
Keep Python 3.8 compatibility and standard-library-only runtime behavior unless a versioned compatibility change is explicitly approved.
- Very specific: line 35
Keep the desktop icon aligned with the canonical Keysmith series source (gui/src-tauri/icons/source.png, SHA-256 …
- Distinctive: line 42
Keep the verified distribution boundary accurate.
- Common: line 50
Do not put credentials, tokens, cookies, private configuration, or complete local user paths in tracked files or examples.
- Distinctive: line 55
Before committing implementation or prompt changes:
- Very specific: line 63
Run --version, then exercise --status and --dry-run under an isolated temporary HOME.
- Distinctive: line 65
Run git diff --check and inspect the complete intended diff.
- Distinctive: line 70
Do not claim a Windows candidate, signed package, or GitHub Release unless the repository actually contains that evidence.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.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
Repository Agent Guide
Scope
These rules apply to the complete grok-keysmith repository. The project is a
zero-runtime-dependency Python CLI that manages global Grok Build instruction,
compatibility, hook, manifest, and recovery state under ~/.grok.
Release and External State
- Public repository history starts at
v0.1.1; do not import refs, commit IDs, tags, or metadata from the earlier private-only predecessor. - Keep existing public version tags unchanged: do not move, recreate, or overwrite them.
- Verify repository visibility, tags, Releases, assets, and settings live before documenting external state; a Git tag is not a GitHub Release.
- Creating a Release, workflow, repository setting, or other external publication action requires task-specific user approval.
Change Boundaries
- Preserve preview-first behavior. Deploy, uninstall, restore, and recovery
writes require explicit
--yes;--statusremains read-only. - Do not test write paths against the real
~/.grok. Use an isolated temporaryHOMEand retain failure evidence until the test completes. - Preserve fail-closed ownership checks for manifests, backups, hooks, config markers, journals, and immutable intent data.
- Do not patch Grok binaries, intercept network traffic, manage credentials, or alter running Grok processes.
- Treat
examples/grok-unrestricted.md,BUNDLED_PROMPT_B64, andBUNDLED_PROMPT_SHA256as one versioned unit. Any prompt change must update all three byte-for-byte and update README, CHANGELOG, and SECURITY hashes. - Keep Python 3.8 compatibility and standard-library-only runtime behavior unless a versioned compatibility change is explicitly approved.
- Keep the desktop icon aligned with the canonical Keysmith series source
(
gui/src-tauri/icons/source.png, SHA-256d7f5d09142b9bab6cd326fc18869e51d7adcba6d4f0929c703677186b7f3b347). Regenerate the complete Tauri icon set and syncgui/public/favicon.ico; do not replace only one platform asset.
Documentation Rules
- Keep the verified distribution boundary accurate. Do not describe a Git tag as a GitHub Release or claim downloadable assets without live evidence.
- README is bilingual: Simplified Chinese is the complete primary guide and English is the concise equivalent. Keep commands, hashes, limitations, and file paths aligned across both sections.
CHANGELOG.mdrecords versioned user-visible changes.SECURITY.mdowns coordinated vulnerability reporting, rollback, prompt integrity, and sensitive-data guidance.- Do not put credentials, tokens, cookies, private configuration, or complete local user paths in tracked files or examples.
Verification
Before committing implementation or prompt changes:
- Parse
grok-keysmith.pywith Python 3.8-compatible syntax. - Confirm
VERSION,VERSIONin Python, and documented version agree. - Decode
BUNDLED_PROMPT_B64and compare it byte-for-byte withexamples/grok-unrestricted.md. - Confirm the decoded prompt SHA-256 equals
BUNDLED_PROMPT_SHA256and the hashes documented in README and SECURITY. - Run
--version, then exercise--statusand--dry-rununder an isolated temporaryHOME. - Run
git diff --checkand inspect the complete intended diff.
Automated tests live under tests/ and must use an isolated HOME plus
--grok-dir. Do not call a real Grok model or read the operator ~/.grok.
Do not claim a Windows candidate, signed package, or GitHub Release unless the repository actually contains that evidence.
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.

