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.

Install it, pinned
mdr add unvulcanised-watercress762/mem9/opencode-plugin/AGENTS.md@git:20260311.296a7e2

Pins 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

The exact contents, by fingerprint
mdr add unvulcanised-watercress762/mem9/opencode-plugin/AGENTS.md@sha256:cd19061e8f858a33

The 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_biy7b3hkcf4zwbh3.svg)](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.

versioncommittedcommitsizeaudit
git:20260311.296a7e2 latest2026-03-11 296a7e2 1,393 BA view · diff
git:20260311.e617ba82026-03-11 e617ba8 1,262 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • 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

GitHub

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.

More from unvulcanised-watercress762/mem9

AGENTS.md AGENTS.md file
unvulcanised-watercress762/mem9 · AGENTS.md
git:20260314.66abd3e · audit A · 3 stars
CLAUDE.md CLAUDE.md file
unvulcanised-watercress762/mem9 · CLAUDE.md
git:20260311.e617ba8 · audit B · 3 stars
AGENTS.md@benchmark/MR-NIAH AGENTS.md file
unvulcanised-watercress762/mem9 · benchmark/MR-NIAH/AGENTS.md
git:20260312.12684e6 · audit A · 3 stars
AGENTS.md@claude-plugin AGENTS.md file
unvulcanised-watercress762/mem9 · claude-plugin/AGENTS.md
git:20260311.e617ba8 · audit A · 3 stars
mem9-recall SKILL.md skill
unvulcanised-watercress762/mem9 · claude-plugin/skills/mem9-recall/SKILL.md · Search shared memories from past sessions. Use when the user's question could benefit from historical context, past…
git:20260311.5fd7187 · audit A · 3 stars
mem9-setup SKILL.md skill
unvulcanised-watercress762/mem9 · claude-plugin/skills/mem9-setup/SKILL.md · Setup Mem9 persistent memory. Triggers: set up mem9, install mem9, configure memory, enable memory.
git:20260311.296a7e2 · audit A · 3 stars
mem9-store SKILL.md skill
unvulcanised-watercress762/mem9 · claude-plugin/skills/mem9-store/SKILL.md · Save important information to shared memory. Use when the user asks you to remember, note down, or save something for…
git:20260311.5fd7187 · audit A · 3 stars
AGENTS.md@cli AGENTS.md file
unvulcanised-watercress762/mem9 · cli/AGENTS.md
git:20260312.512cdb8 · audit A · 3 stars
AGENTS.md@dashboard/app AGENTS.md file
unvulcanised-watercress762/mem9 · dashboard/app/AGENTS.md
git:20260313.dbc6267 · audit A · 3 stars
DESIGN.md@docs DESIGN.md file
unvulcanised-watercress762/mem9 · docs/DESIGN.md
git:20260312.8b2f2c8 · audit A · 3 stars
AGENTS.md@e2e AGENTS.md file
unvulcanised-watercress762/mem9 · e2e/AGENTS.md
git:20260318.0a88734 · audit B · 3 stars
AGENTS.md@openclaw-plugin AGENTS.md file
unvulcanised-watercress762/mem9 · openclaw-plugin/AGENTS.md
git:20260311.e617ba8 · audit A · 3 stars

Every file in unvulcanised-watercress762/mem9

Browse by kind, by grade A, or by owner.