memoweft: Instructions file for Codex

AGENTS.md

memoweft AGENTS.md is an instructions file for Codex, OpenCode from memoweft/memoweft. It costs 360 tokens per session, scanned A, original, MIT.

Repository-specific instructions for working on the MemoWeft project. They tell an agent which project files and documentation to read first, and how to check and report changes.

In plain words
What is it for?
Use them when changing MemoWeft code, especially when deciding which README, configuration, source, and test files to inspect before editing.
Why use it?
They reduce the risk of editing the wrong area or relying on outdated entry points. They also set expectations for verification and for reporting anything not checked.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md.

This is memoweft/memoweft's own configuration. It tells Codex and OpenCode how to work on memoweft itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything memoweft configures →

Reuse

Borrowing it

Nothing to install: this file belongs to memoweft/memoweft. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/memoweft/memoweft/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/memoweft/memoweft

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for memoweft AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/memoweft/memoweft/agents-md/github.svg)](https://agentmods.dev/instructions/memoweft/memoweft/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/memoweft/memoweft/agents-md"><img src="https://agentmods.dev/badge/instructions/memoweft/memoweft/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for memoweft AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/memoweft/memoweft/agents-md"><img src="https://agentmods.dev/badge/instructions/memoweft/memoweft/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 360 This file is loaded in full into every session.
When invoked 360 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00360 $0.00360
Opus 5.5 $0.00144 $0.00144
Sonnet 5.5 $0.00072 $0.00072
Haiku 4.5 $0.00036 $0.00036

Measured 12d ago against content hash 44899ea9e2df, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

memoweft AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 16 lines

What it actually says

MemoWeft Core 维护入口

先读本仓库 README,按任务查看 package.json、py/pyproject.toml 与实际源码、测试。

规矩在哪

工作规矩只有一份:WeftMate 仓库的 AGENTS.md。维护者是 WeftMate 的总代理(WeftMate D111);产品决定在 WeftMate 的 DECISIONS,本仓库不另抄一份。这里只记本仓库特有的技术事实,和 WeftMate AGENTS 冲突时以后者为准。

本仓库特有的

  • 形成、召回、删除语义、修订链的问题在这里修;WeftMate 只负责调用、展示和换版本,不在宿主重复实现内核语义。
  • 修 bug 先写一条会失败的行为测试。
  • GitHub 规则集:只许压缩合并(squash);必需检查 CI Gate;所有审查线程须已解决(自动代码审查会留线程,合并前先看)。
  • Core 合进 main 后,在 WeftMate 开单独的 PR 换版本:.github/workflows/ci.yml 的 observed-core 和 scripts/memory-runtime/lock.json。
  • 测试用隔离目录和合成数据;公开 PR、问题和日志不放密钥、密码、令牌和真实记忆内容。
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago Changed · -8 lines · -174 tokens per session 44899ea9e2df
  2. 20d ago Changed · +18 lines · +425 tokens per session 45343a49f0b3
  3. 29d ago First seen · 6 lines · 109 tokens per session scan A 3248e93f2828

Subscribe to this mod's changes

memoweft AGENTS.md is an instructions file published in the GitHub repository memoweft/memoweft (6 stars, last pushed 4d ago), licensed MIT. It adds 360 tokens to every session, about $0.0014 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-08.

Related

memoweft AGENTS.md compared with instructions from other repositories

memoweft AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
memoweft AGENTS.mdmemoweft/memoweftInstructions file64d agoMITA360Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode