agentleFS
treylomtreylom/ThisCode/AGENTS.md

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…

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
  1. Very specific:

    Gemini CLI: read GEMINI.md on startup.

    line 57

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

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:setup for those capabilities.

Packaging layers

LayerTargetEntryStatus
L1agentskills.io standardskills/*/SKILL.mdshipped (v0.1.0)
L2Hermes Agenthermes-plugin/plugin.yaml + __init__.pyshipped (v0.2.0)
L3Gemini CLI / npmgemini-extension.json + GEMINI.md + package.jsonshipped (v0.2.0)
L3bClaude Code marketplace.claude-plugin/plugin.json + marketplace.jsonshipped (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.sh

Compares plugin contracts vs the vault mirror at <vault>/.claude/reference/contracts/. Exits non-zero on any version mismatch.

Claude Code entry points

Entry pointSurfacePurpose
/thiscode:add-botcommands/add-bot.mdAdd a Discord bot to an existing setup
/thiscode:codex-checkcommands/codex-check.mdVerify the Codex CLI bridge
/thiscode:initcommands/init.mdDetect the environment and run the selected ThisCode local setup scripts
/thiscode:install-browsercommands/install-browser.mdInstall and verify the browser tool
/thiscode:km-bootstrapcommands/km-bootstrap.mdPoint to ThisCode local search-tool scripts and km plugin setup
/thiscode:kmcommands/km.mdPoint to /km:search and /km:knowledge-manager
/thiscode:open-meetingcommands/open-meeting.mdCreate the standard multi-bot meeting files
/thiscode:slack-configurecommands/slack-configure.mdConnect a Claude Code session to Slack
/thiscode:startcommands/start.mdRun the main Discord bot setup wizard
/thiscode:testcommands/test.mdRun 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 under skills/; vault search uses the km plugin (/km:search)
  • Hermes Agent: the runtime registers the on_session_start drift-check hook; KM/search surfaces are not registered here
  • Gemini CLI: read GEMINI.md on startup; skills auto-discovered from skills/
  • OpenCode / Goose / Cursor: standard agentskills.io SKILL.md frontmatter (name + description) makes them visible

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.