enowx-rag AGENTS.md

Project instructions for setting up enowx-rag, a retrieval system that stores and finds project-specific information for coding agents.

In plain words
What is it for?
They help install enowx-rag, configure its MCP server, and onboard a project with agent instruction files and a memory collection.
Why use it?
They explain which setup path to use and prevent missing steps when installing the skill, server, embeddings, and project memory.

Instructions file for CodexOpenCode

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/enowdev/enowx-rag/agents-md
Clone the repo
git clone --depth 1 https://github.com/enowdev/enowx-rag

Made for: Codex, OpenCode.

Per session 1,652 This file is loaded in full into every session.
When invoked 1,652 The same file — it is already loaded in full.
Security scan B 1 finding. Scan, not verified.
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 $0.01652 $0.01652
Opus 5 $0.00826 $0.00826
Sonnet 5 $0.00330 $0.00330
Haiku 4.5 $0.00165 $0.00165

Measured 2d ago against content hash d027079d435b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

enowx-rag AGENTS.md scanned grade B 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 2d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

| Codex (OpenAI) | TOML | `[mcp_servers.*]` | `~/.codex/config.toml` |
AGENTS.md · 115 lines

How it starts

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

Agent instructions: install enowx-rag skill and MCP server

This project includes a per-project RAG memory MCP server (enowx-rag) and a skill.

When asked to install, set up, or configure RAG memory, first decide which of two paths applies:

  • Path A — Full setup from scratch: enowx-rag is not installed yet. Do the full flow below (skill, build the Go server, choose embedder, install the MCP server in every tool, then onboard the project). Start at section 1.
  • Path B — Onboard a new project: the enowx-rag MCP server is already installed and its tools are available (e.g. you can call rag_create_project / rag_retrieve_context). Skip the build/backend/tool-install steps and jump straight to section 5 (generate AGENTS.md + CLAUDE.md and create the project collection), plus install the skill (section 1). This is the common case for every project after the first.

To tell them apart: check whether the enowx-rag MCP tools are already available. If they are, use Path B. If they are not (or you are unsure and the binary isn't built), use Path A.

1. Install the skill

The skill lives at skill/enowx-rag.md in this repository. It is not Factory-Droid-only — install it into whatever skill directory your tool reads. The skill can be global (shared across projects) or project-local.

Pick the destination directory for the current tool. Common locations:

  • Factory Droid (global): ~/.factory/skills/enowx-rag/skill.md
  • Project-local skill: .agents/skills/enowx-rag/skill.md or .factory/skills/enowx-rag/skill.md in the project root
  • Any other skill folder your tool loads — do not assume ~/.factory. Ask the user if you are unsure which directory their tool uses.

Copy the skill into the chosen directory, e.g. (global Factory Droid):

mkdir -p ~/.factory/skills/enowx-rag
cp /Users/enowdev/Project/enowx-rag/skill/enowx-rag.md ~/.factory/skills/enowx-rag/skill.md

Or project-local:

mkdir -p .agents/skills/enowx-rag
cp /Users/enowdev/Project/enowx-rag/skill/enowx-rag.md .agents/skills/enowx-rag/skill.md

Read the full file on GitHub · 115 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. 2d ago First seen · 115 lines · 1,652 tokens per session scan B d027079d435b

Subscribe to this mod's changes

enowx-rag AGENTS.md is an instructions file published in the GitHub repository enowdev/enowx-rag (39 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 1,652 tokens to every session, about $0.0083 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens

buildNext

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

next.js AGENTS.md

Instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

spec-kit AGENTS.md

Instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,040 tokens

langchain AGENTS.md

Instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,345 tokens