Hexis
AGENTS.md623 starsChanged 10 months agoMITView on GitHub
Instructions for any AI agent working in this repo. The full repository guidelines live in CLAUDE.md; this file leads with the one thing that is easiest to get wrong: the experience bar. core/auth/gmail-credentials.json is an OAuth client for an installed application, and Hexis ships as a desktop app. Google documents that an installed app's client secret is not confidential, and RFC 8252 ("OAuth 2.0 for Native Apps") agrees — a native client cannot hold a secret, so nothing in the…
- Reads credentials
1 other project uses a version of this.
Adopted by
Most recently taken up by
- QuixiAI/agi-memoryword for word, first seen Oct 8, 2026
Other versions1 project uses a version of this.
Word for word · 1
- QuixiAI/agi-memory★ 623100% same
Edited · 0
None found.
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.
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,774 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.
In this repository42 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- audio-analysisSkill
- calendarSkill
- code-executionSkill
- connector-action-authorizationSkill
- core-memorySkill
- cost-reportSkill
- councilSkill
- crm-lookupSkill
- daily-briefingSkill
- delegationSkill
- email-digestSkill
- expense-captureSkill
- github-issuesSkill
- gmail-actionsSkill
- gmail-connector-setupSkill
- home-assistantSkill
- host-nodeSkill
- humanizerSkill
- image-genSkill
- inbox-triageSkill
- integration-connector-setupSkill
- knowledge-ingestSkill
- meeting-follow-upSkill
- meeting-prepSkill
- memory-exchangeSkill
- notionSkill
- operationsSkill
- outreachSkill
- personal-notesSkill
- researchSkill
- self-inspectionSkill
- self-reflectionSkill
- skill-authoringSkill
- speechSkill
- spotifySkill
- travel-prepSkill
- trelloSkill
- twitter-x-actionsSkill
- twitter-x-connector-setupSkill
- weatherSkill
- weekly-reviewSkill
The file
We split this AGENTS.md into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 32
Derive from truth — never hardcode: If a value has a live source (models, defaults, endpoints, versions), read it.
- Distinctive: line 34
The user keeps control: No destructive/irreversible action on a timer, by default, or without an explicit choice.
- Very specific: line 39
No dead-ends: Every flow completes in place or hands the user the exact next step.
- Distinctive: line 41
Least surprise: Never silently reuse ambient state the user didn't choose (env creds, other tools' logins, stale config).
- Very specific: line 54
Do not put downloaded PDFs, generated research briefs, one-off scripts, or other temporary analysis artifacts in the source repo.
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 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
AGENTS.md
Instructions for any AI agent working in this repo. The full repository
guidelines live in CLAUDE.md; this file leads with the one thing that is
easiest to get wrong: the experience bar.
Do not "fix" the packaged Google credential
core/auth/gmail-credentials.json is an OAuth client for an installed
application, and Hexis ships as a desktop app. Google documents that an installed
app's client secret is not confidential, and RFC 8252 ("OAuth 2.0 for Native Apps")
agrees — a native client cannot hold a secret, so nothing in the security model
depends on it. Shipping it in package-data is the documented path.
Audits flag this repeatedly by applying a web-server threat model to a desktop
client. It has been reviewed and blessed. Do not rotate it, strip it from
packaging, or rewrite history over it. See CLAUDE.md → Configuration & Safety Notes.
OSS has no auth layer — that is the design
HEXIS_API_KEY and API-key authentication are Hexis Pro features. OSS is a
desktop app on 127.0.0.1 with no auth, by intent. Do not "fix" it, and do not
propose exposing the dashboard on a public interface — OSS remote access is
network-layer only (tailnet, or a reverse proxy with its own auth).
The Experience Bar (applies to every user-facing change)
A change is not "done" when it compiles or the test passes — it is done when the
end-to-end experience holds. Check every user-facing change against these. Full
text + rationale + the real failure each was learned from: HEXIS_EXPERIENCE_BAR.md.
- Derive from truth — never hardcode. If a value has a live source (models, defaults, endpoints, versions), read it; don't hardcode a constant that goes stale.
- The user keeps control. No destructive/irreversible action on a timer, by default, or without an explicit choice. No auto-exit, no auto-overwrite, no silent delete.
- Honor the medium. Terminal ⇒ Ctrl+C exits, native copy/paste + scrollback, keyboard-first, no focus-hunting. Don't fight the platform; if a framework's defaults need constant overriding, it's the wrong tool.
- No dead-ends. Every flow completes in place or hands the user the exact next step. Never "quit, run this other command, come back." Errors say what/why/next.
- Least surprise. Never silently reuse ambient state the user didn't choose (env creds, other tools' logins, stale config). Surface it; don't consume it.
- Defaults are the expert's choice, not the first constant that compiles.
- Whole journey, not the diff. Drive the real path a user runs, start to finish, before calling it done.
- Fail loud, recover gracefully. Advisory checks never block; failures show
cause + fix — never a bare traceback, never a silent
except: pass.
The deeper reason these slip through one at a time (an abstraction/altitude failure)
is written up in why_i_suck_and_how_to_fix_it.md.
Local scratch and storage
Do not put downloaded PDFs, generated research briefs, one-off scripts, or other
temporary analysis artifacts in the source repo. Use
$XDG_CACHE_HOME/hexis when XDG_CACHE_HOME is set, otherwise
~/.cache/hexis. If an artifact later becomes product documentation, source
code, or a checked-in test fixture, move it into the appropriate repo path
intentionally and commit it like any other source change.
Everything else
See CLAUDE.md for project overview, structure, build/test commands, the venv +
"bouncing the database" workflow, coding style, testing conventions, and safety
notes (never revert/delete files without asking; heartbeat gating; consent flow).
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.

