simulator-ai-plugin
CLAUDE.md59 starsChanged 58 days agoMITView on GitHub
Guidance for Claude Code when working in the simulator-ai-plugin repository. The canonical, tool-agnostic instructions live in AGENTS.md — repo overview, layout, commands, conventions, and gotchas. Read it first. This file only adds Claude Code–specific notes; keep substantive guidance in AGENTS.md to avoid drift. - What it is: an MCP plugin connecting the Simulator.Company platform to Claude — a Go MCP server (plugins/simulator/mcp-server/) exposing the REST API as tools, plus 6 skills (plugins/simulator/skills/). - Design: docs/ARCHITECTURE.md. - Verify changes: make build…
- Reads credentials
In this repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- public/llms.txtllms.txt
- commitSkill
The file
We split this CLAUDE.md into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are 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.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 38
MCP tools: When you add or rename a tool, update the MCP-tools table in the root README.md and §4 of docs/ARCHITECTURE.md.
- Very specific: line 52
Keep TLS verification on by default.
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.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
CLAUDE.md
Guidance for Claude Code when working in the simulator-ai-plugin repository.
The canonical, tool-agnostic instructions live in
AGENTS.md— repo overview, layout, commands, conventions, and gotchas. Read it first. This file only adds Claude Code–specific notes; keep substantive guidance inAGENTS.mdto avoid drift.
Quick orientation
- What it is: an MCP plugin connecting the Simulator.Company platform to Claude — a Go
MCP server (
plugins/simulator/mcp-server/) exposing the REST API as tools, plus 6 skills (plugins/simulator/skills/). - Design:
docs/ARCHITECTURE.md. - Verify changes:
make build && make vetfrom the repo root (make lintis available — golangci-lint v2, advisory:gosecclean, style backlog open).
Claude Code–specific notes
- Skills. The
simulator*skills here are the ones surfaced as/simulator,/simulator-graph, etc. When editing a skill's behaviour, edit itsSKILL.md; if you change the frontmatter, regenerate discovery artifacts withmake discovery(don't hand-editpublic/). Write instructions in English and have Claude reply in the user's own language — never hardcode a non-English sentence for it to say. See the "Skill language" convention inAGENTS.mdfor the trilingual policy (en primary; uk/ru activation triggers and product aliases are the kept exceptions). $CLAUDE_PLUGIN_ROOT=plugins/simulator/. Skills load reference docs as$CLAUDE_PLUGIN_ROOT/docs/entities/*.md. Those files must stay underplugins/simulator/docs/(only the plugin dir is shipped on install). Contributor docs go in the repo-rootdocs/. Claude Code and Codex both resolve this exact token via text substitution at skill-load time; renaming it breaks doc loading on both hosts (anthropics/claude-code#48230, #47789, #44057). For AWS Kiro — which does no such substitution —install-kiro.shand the release-zip generator hard-copy the skills andsed-replace the token with the absolute plugin path at install time. MCP subprocesses are separate from skill loading: Codex does not exposeCLAUDE_PLUGIN_ROOTthere, so.mcp.jsonmust preserve the user'sPWDasSIMULATOR_WORK_DIRand resolve the installed plugin root separately.- MCP tools. When you add or rename a tool, update the MCP-tools table in the root
README.mdand §4 ofdocs/ARCHITECTURE.md. - Curated tools live in Go under
internal/tools/<domain>.go(declared as typedOperations), not generated from a spec. The drift gate (internal/tools/testdata/papi-openapi.json) validates them against the backend. - Don't hand-edit generated files:
public/*(usemake discovery). Refresh the drift spec from pong-server (yarn dump-openapi), don't write it by hand.
House rules
- Graph-sync logic (
internal/engines/sync_graph.go/push_graph.go) now has unit tests for its core helpers and diff / inject paths (graphsync_test.go), but the full create/recreate orchestration and edge-placement branches are only partly covered — change it carefully and extend the tests when you touch those paths. - Keep TLS verification on by default; never log or commit tokens /
.env. - Don't bump the plugin version in a PR. A PR only appends a bullet under the
## [Unreleased]section at the top ofCHANGELOG.md(### Added/Changed/Fixed). The version — across the six manifests plus a datedCHANGELOGsection — is minted once at release time bymake release VERSION=x.y.z. See the "Versioning & releases" convention inAGENTS.md.
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.

