AGENTS.md@opencode-pluginA
AGENTS.md@opencode-plugin from unvulcanised-watercress762/mem9 is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add unvulcanised-watercress762/mem9/opencode-plugin/AGENTS.md@git:20260311.296a7e2Pins git:20260311.296a7e2 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- AGENTS.md file
- Repository
- unvulcanised-watercress762/mem9
- Path
opencode-plugin/AGENTS.md- Versions recorded
- 2
- Latest version
- git:20260311.296a7e2, committed Mar 11, 2026
- First version recorded
- Mar 11, 2026
- Size
- 1,393 bytes
- Repository stars
- 3
- License
- Apache-2.0
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
## Overview
TypeScript OpenCode plugin that injects memories via hooks and exposes five memory tools backed by mem9 API.
## Commands
```bash
cd opencode-plugin && npm run typecheck
```
## Where to look
| Task | File |
|------|------|
| Plugin wiring | `src/index.ts` |
| Config and shared types | `src/types.ts` |
| Backend interface | `src/backend.ts` |
| REST API client | `src/server-backend.ts` |
| Tool definitions | `src/tools.ts` |
| Hook wiring | `src/hooks.ts` |
| Setup skill | `skills/mem9-setup/SKILL.md` |
## Local conventions
- Plugin startup is fail-soft: missing env vars log a warning and return `{}`.
- `MEM9_TENANT_ID` is required; `MEM9_API_URL` defaults to `https://api.mem9.ai`.
- Default API URL is `https://api.mem9.ai` when no `MEM9_API_URL` is set.
- Tool handlers return JSON strings with `{ ok, ... }` payloads.
- Known 404s return `null`/`false`; unexpected errors are re-thrown.
## TypeScript style
- Double quotes, semicolons, explicit return types.
- `import type` for type-only imports.
- Use `??` for config fallback chains where appropriate.
## Anti-patterns
- Do NOT invent a local persistence mode; this package is server-backed.
…Read the whole file at its exact version.
How to install
mdr add unvulcanised-watercress762/mem9/opencode-plugin/AGENTS.md@sha256:cd19061e8f858a33The line at the top of this page pins the label git:20260311.296a7e2, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_biy7b3hkcf4zwbh3)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, all committed on Mar 11, 2026.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260311.296a7e2 latest | 2026-03-11 | 296a7e2 | 1,393 B | A | view · diff |
| git:20260311.e617ba8 | 2026-03-11 | e617ba8 | 1,262 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (1393 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
unvulcanised-watercress762/mem9 · 3 stars · license Apache-2.0 · pushed 2026-10-14 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_biy7b3hkcf4zwbh3 GET https://markdownregistry.com/api/v1/resolve?ref=unvulcanised-watercress762/mem9/opencode-plugin/AGENTS.md GET https://markdownregistry.com/api/v1/blob/cd19061e8f858a330556f4306db4e40782f36de65f9859beaf6930bcd77f6222
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.