memory SKILL.md skillA
memory from devcodex-labs/devcodex is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add devcodex-labs/devcodex/memory@git:20261018.e641aa6Pins git:20261018.e641aa6 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- devcodex-labs/devcodex
- Path
content/skills/memory/SKILL.md- Versions recorded
- 10
- Latest version
- git:20261018.e641aa6, committed Oct 18, 2026
- First version recorded
- Aug 29, 2026
- Size
- 35,285 bytes
- Repository stars
- 432
- License
- AGPL-3.0
管理会话记忆的读取与写入。三层记忆体系:Agent 日记 / 需求记忆 / 项目总记忆。.
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
## 文件路径
```text
<active-root>/.memory/clients/<agent>/tasks/YYYYMMDD.md
```
<!-- devcodex:include shared/memory/active-root-layout.md -->
### MCP memory scope(workspace-namespace)
<!-- devcodex:include shared/memory/workspace-selection.md -->
<!-- devcodex:include shared/memory/ambiguous-workspace-error.md -->
- `<agent>` 确定规则(优先级从高到低):
1. **当前实际宿主(优先)**:以当前会话/工具链可验证的宿主事实为准,产物必须写入对应宿主目录,例如当前在 Codex 中执行时写 `.memory/clients/codex/`,不得被历史 profile 覆盖。
2. **Profile agent 兜底**:仅当当前实际宿主无法可靠判断时,才按当前 `ContextReadPlan` 读取已选项目的 effective Profile config 中的 `"agent"` 作为 fallback hint;workspace-namespace 使用 workspace base + project overlay,旧布局才使用 `.devcodex/profile/config.json`。它不能覆盖当前会话事实。
3. **无法判断**:写入 `unknown-agent`,并在报告或记忆中记录宿主无法识别的原因。
枚举值固定,全部小写连字符分隔:
- Copilot in VS Code:`copilot` 或 `vscode-copilot`
- Claude Code(CLI/桌面端):`claude-code` ⚠️ 禁止使用裸 `claude`(与 Claude API/Claude.ai 区分)
- Codex:`codex`(通过 `AGENTS.md` / `.agents/skills/` / `.codex/hooks.json` 适配)
- Cursor IDE:`cursor`
- JetBrains Copilot:`jetbrains-copilot`
- Grok Build / Grok CLI(xAI):`grok`(`DEVCODEX_AGENT=grok` 或 `GROK_AGENT` 等;禁止长期误绑 `codex`)
…Read the whole file at its exact version.
How to install
mdr add devcodex-labs/devcodex/memory@sha256:7167c5085e23edf4The line at the top of this page pins the label git:20261018.e641aa6, 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_bqvfnnraqvubxggv)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 10 versions of this file, between Aug 29, 2026 and Oct 18, 2026, about one every 6 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261018.e641aa6 latest | 2026-10-18 | e641aa6 | 35,285 B | A | view · diff |
| git:20261017.f684a0e | 2026-10-17 | f684a0e | 34,975 B | A | view · diff |
| git:20261017.ff16c84 | 2026-10-17 | ff16c84 | 34,591 B | A | view · diff |
| git:20261017.e96e3c4 | 2026-10-17 | e96e3c4 | 34,184 B | A | view · diff |
| git:20260912.8688be4 | 2026-09-12 | 8688be4 | 33,458 B | A | view · diff |
| git:20260908.d536d09 | 2026-09-08 | d536d09 | 33,422 B | A | view · diff |
| git:20260907.36d3d18 | 2026-09-07 | 36d3d18 | 33,284 B | A | view · diff |
| git:20260906.8d1c8e1 | 2026-09-06 | 8d1c8e1 | 32,921 B | A | view · diff |
| git:20260830.8b59a2d | 2026-08-30 | 8b59a2d | 32,675 B | A | view · diff |
| git:20260829.ef3a006 | 2026-08-29 | ef3a006 | 31,504 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (35285 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
devcodex-labs/devcodex · 432 stars · license AGPL-3.0 · pushed 2026-10-27 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_bqvfnnraqvubxggv GET https://markdownregistry.com/api/v1/resolve?ref=devcodex-labs/devcodex/memory GET https://markdownregistry.com/api/v1/blob/7167c5085e23edf4eac7300fad76286829527d31a17f8ab609b203c50318b962
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: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from devcodex-labs/devcodex
Every file in devcodex-labs/devcodex