Noshy: Instructions file for Codex

AGENTS.md

Noshy AGENTS.md is an instructions file for Codex, OpenCode from Noshkoto/Noshy. It costs 771 tokens per session, scanned A, original, Apache-2.0.

Project instructions for Noshy, a memory layer for AI agents. It stores facts, decisions, and preferences so later sessions can reuse earlier context.

In plain words
What is it for?
It guides work on persistent memory using SQLite, optional vector search, optional language-model extraction, keyword and semantic lookup, graph traversal, and schema migration.
Why use it?
It helps agents avoid starting each session without prior knowledge and sets rules for deduplication, searching, importing, and keeping the core dependency-free.

Instructions file for CodexOpenCode

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

This is Noshkoto/Noshy's own configuration. It tells Codex and OpenCode how to work on Noshy 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 Noshy configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Noshkoto/Noshy. 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/Noshkoto/Noshy/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/Noshkoto/Noshy

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 Noshy AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/noshkoto/noshy/agents-md/github.svg)](https://agentmods.dev/instructions/noshkoto/noshy/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/noshkoto/noshy/agents-md"><img src="https://agentmods.dev/badge/instructions/noshkoto/noshy/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 Noshy AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/noshkoto/noshy/agents-md"><img src="https://agentmods.dev/badge/instructions/noshkoto/noshy/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 771 This file is loaded in full into every session.
When invoked 771 The same file — it is already loaded in full.
Security scan A 1 finding. 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.00771 $0.00771
Opus 5.5 $0.00308 $0.00308
Sonnet 5.5 $0.00154 $0.00154
Haiku 4.5 $0.00077 $0.00077

Measured 2mo ago against content hash d06df4ccd5c5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Noshy AGENTS.md scanned grade A with 1 finding 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 2mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- **Test with the HTTP API** — `python3 server.py http --port 8721` then curl against `/tools/call`.
AGENTS.md · 62 lines

How it starts

The opening of the file, as written. The whole thing — 62 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Noshy — AI agent instructions

You are working on Noshy, a persistent memory layer for AI agents. It gives agents cross-session memory that accumulates automatically.

What Noshy is

Noshy stores facts, decisions, and preferences extracted from conversations. It injects context at session start so agents don't start from zero. It uses SQLite under the hood, with optional vector embeddings for semantic search, and optional LLM-powered extraction for quality.

Architecture principles

  1. Memory should be invisible. The user shouldn't think about it. Extraction happens at session end, injection at session start, everything else is automatic.

  2. Dedup aggressively. Storing "fixed the proxy binding" twice is worse than storing it once with higher weight. Jaccard similarity at 40% threshold catches near-duplicates.

  3. Search three ways. Keyword for exact finding, semantic for meaning-based recall, graph traversal for connected memories. All three run on every query.

  4. Import everything. ICM schema compatibility is a first-class feature. Migration should be one command.

  5. Zero deps is a feature. The core runs on Python 3.10 stdlib. Embeddings and LLM extraction are optional layers users opt into.

How to work on this codebase

  • Python 3.10+ — no async required, no fancy features. Keep it readable.
  • Single-file modules — one concern per file. store.py (data), extractor.py (LLM), embed.py (vectors), context.py (session), server.py (API), hooks.py (automation).
  • SQLite with WAL — journal_mode=WAL, busy_timeout=5000. Parameterized queries only. Never string-interpolate user input into SQL.
  • Test with the HTTP API — python3 server.py http --port 8721 then curl against /tools/call.
  • Commit messages — short, active voice. "Fix dedup threshold" not "Fixed dedup threshold".

What not to do

  • Don't add new dependencies without a very strong reason. Zero deps is a selling point.
  • Don't add a web framework. The stdlib HTTP server is fine for an API that only Hermes talks to.
  • Don't over-engineer the schema. ICM compatibility is good. More tables need to prove their worth.
  • Don't break the MCP tool contract. If you rename a tool, update both the schema and handler.

Read the full file on GitHub · 62 lines

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. 2mo ago First seen · 62 lines · 771 tokens per session scan A d06df4ccd5c5

Subscribe to this mod's changes

Noshy AGENTS.md is an instructions file published in the GitHub repository Noshkoto/Noshy (5 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 771 tokens to every session, about $0.0031 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Noshy AGENTS.md compared with instructions from other repositories

Noshy AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Noshy AGENTS.mdNoshkoto/NoshyInstructions file52mo agoApache-2.0A771Codex, 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