ThisCode
AGENTS.md41 starsChanged 2 months agoMITView on GitHub
Shared context for any agentskills.io-compatible runtime: Claude Code, Hermes Agent, Gemini CLI, OpenCode, Goose, Cursor, etc. - Bot-harness operations: setup/installers, meetings, shared memory, model routing, and Codex/Discord bridges. - Knowledge management and vault search are outside ThisCode 1.4.0. Install the km plugin and use /km:search, /km:knowledge-manager, and /km:setup for those capabilities. Versions are per contract: search-fallback-4tier is 0.3.0; km-mode-spec and km-variant-matrix are 0.2.0, while repo-handoff-install-contract is 0.1.0. See each file's contracts/*.md frontmatter. The optional local vault-search MCP installer is separate…
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 repository17 other files it gives its agents.
- docs/AGENTS.mdAGENTS.md
- bootstrapSkill
- codex-exec-bridgeSkill
- create-botSkill
- create-discord-botSkill
- create-slack-botSkill
- helpSkill
- initSkill
- install-hooksSkill
- meetingsSkill
- promptSkill
- self-updateSkill
- setupSkill
- shared-memorySkill
- slack-bridgeSkill
- slack-configureSkill
- thiscode-agySkill
The file
We split this AGENTS.md into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 57
Gemini CLI: read GEMINI.md on startup.
≈ “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
thiscode — Multi-harness Agent Context (AGENTS.md)
Shared context for any agentskills.io-compatible runtime: Claude Code, Hermes Agent, Gemini CLI, OpenCode, Goose, Cursor, etc.
What this plugin provides
- Bot-harness operations: setup/installers, meetings, shared memory, model routing, and Codex/Discord bridges.
- Knowledge management and vault search are outside ThisCode 1.4.0. Install the km plugin and use
/km:search,/km:knowledge-manager, and/km:setupfor those capabilities.
Packaging layers
| Layer | Target | Entry | Status |
| L1 | agentskills.io standard | skills/*/SKILL.md | shipped (v0.1.0) |
| L2 | Hermes Agent | hermes-plugin/plugin.yaml + __init__.py | shipped (v0.2.0) |
| L3 | Gemini CLI / npm | gemini-extension.json + GEMINI.md + package.json | shipped (v0.2.0) |
| L3b | Claude Code marketplace | .claude-plugin/plugin.json + marketplace.json | shipped (v0.1.0) |
Contract version
Versions are per contract: search-fallback-4tier is 0.3.0;
km-mode-spec and km-variant-matrix are 0.2.0, while
repo-handoff-install-contract is 0.1.0. See each file's
contracts/*.md frontmatter. The optional local vault-search MCP installer
is separate from the km plugin's Tier 3 Obsidian MCP integration.
Drift detection
bash scripts/km-version.shCompares plugin contracts vs the vault mirror at <vault>/.claude/reference/contracts/. Exits non-zero on any version mismatch.
Claude Code entry points
| Entry point | Surface | Purpose |
/thiscode:add-bot | commands/add-bot.md | Add a Discord bot to an existing setup |
/thiscode:codex-check | commands/codex-check.md | Verify the Codex CLI bridge |
/thiscode:init | commands/init.md | Detect the environment and run the selected ThisCode local setup scripts |
/thiscode:install-browser | commands/install-browser.md | Install and verify the browser tool |
/thiscode:km-bootstrap | commands/km-bootstrap.md | Point to ThisCode local search-tool scripts and km plugin setup |
/thiscode:km | commands/km.md | Point to /km:search and /km:knowledge-manager |
/thiscode:open-meeting | commands/open-meeting.md | Create the standard multi-bot meeting files |
/thiscode:slack-configure | commands/slack-configure.md | Connect a Claude Code session to Slack |
/thiscode:start | commands/start.md | Run the main Discord bot setup wizard |
/thiscode:test | commands/test.md | Run feature smoke tests |
/thiscode:setup is the separate skills/setup/SKILL.md entry point, not a file under commands/. /thiscode:install-hooks is likewise the skills/install-hooks/SKILL.md skill, not a commands/*.md file. Knowledge management and vault-search behavior are provided by the km plugin; the two ThisCode km* commands above are migration pointers, not local implementations.
Cross-harness invocation reference
- Claude Code:
Skill(<name>)for any skill underskills/; vault search uses the km plugin (/km:search) - Hermes Agent: the runtime registers the
on_session_startdrift-check hook; KM/search surfaces are not registered here - Gemini CLI: read
GEMINI.mdon startup; skills auto-discovered fromskills/ - OpenCode / Goose / Cursor: standard agentskills.io SKILL.md frontmatter (
name+description) makes them visible
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.

