nemp-pro-export

nemp-pro-export is a command for coding agents from SukinShetty/Nemp-memory. It costs 16 tokens per session (4,209 once invoked), scanned A, original, MIT.

A command that exports Nemp project memories into rule files for Codex CLI, Cursor, Windsurf, and optionally Claude Code.

In plain words
What is it for?
Generating AGENTS.md, Cursor and Windsurf rule files, synchronizing CLAUDE.md, or checking which exports exist.
Why use it?
It keeps instructions and saved project context consistent across several coding assistants instead of maintaining each tool’s file separately.

Command

Part of the Nemp-memory plugin — 1 skill, 24 commands, 1 hook shipped together

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 commands/sukinshetty/nemp-memory/nemp-pro-export
Clone the repo
git clone --depth 1 https://github.com/SukinShetty/Nemp-memory

Or install Nemp-memory, the plugin that ships this one along with the rest of its 1 skill, 24 commands, 1 hook.

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 nemp-pro-export

README.md
[![agentmods](https://agentmods.dev/badge/commands/sukinshetty/nemp-memory/nemp-pro-export.svg)](https://agentmods.dev/commands/sukinshetty/nemp-memory/nemp-pro-export)
Your own site
<a href="https://agentmods.dev/commands/sukinshetty/nemp-memory/nemp-pro-export"><img src="https://agentmods.dev/badge/commands/sukinshetty/nemp-memory/nemp-pro-export.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,209 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00016 $0.04209
Opus 5 $0.00008 $0.02105
Sonnet 5 $0.00003 $0.00842
Haiku 4.5 $0.00002 $0.00421

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

Security

Grade A, and why

nemp-pro-export 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 5d 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.

commands/nemp-pro-export.md · 553 lines

How it starts

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

/nemp-pro:export

Export project memories to AI tool rule files used by Codex CLI (AGENTS.md), Cursor (.cursor/rules/nemp-memory.mdc), and Windsurf (.windsurfrules). Keeps your entire AI toolchain in sync from a single source of truth: .nemp/memories.json.

Usage

/nemp-pro:export --codex      # Generate AGENTS.md for Codex CLI
/nemp-pro:export --cursor     # Generate .cursor/rules/nemp-memory.mdc for Cursor
/nemp-pro:export --windsurf   # Generate .windsurfrules for Windsurf
/nemp-pro:export --all        # Generate all three + sync CLAUDE.md
/nemp-pro:export --status     # Check which export files exist

Arguments

  • --codex (optional): Export to AGENTS.md in project root (Codex CLI format)
  • --cursor (optional): Export to .cursor/rules/nemp-memory.mdc (MDC frontmatter format)
  • --windsurf (optional): Export to .windsurfrules in project root (plain markdown)
  • --all (optional): Run all three exports and trigger CLAUDE.md sync
  • --status (optional): Report which export files exist and their last modified timestamps

Instructions

When the user invokes /nemp-pro:export, follow these steps:

Step 1: Parse Arguments

Extract the subcommand from the user's input:

--codex      → Export to AGENTS.md
--cursor     → Export to .cursor/rules/nemp-memory.mdc
--windsurf   → Export to .windsurfrules
--all        → Run all three exports + CLAUDE.md sync
--status     → Show export file status
(no args)    → Show Usage block above and stop

If no argument is provided or the argument is unrecognised, display the Usage block above and stop.


Memory Reading Logic (used by all export subcommands)

Before generating any export file, perform these steps to load and prepare memories. This logic is shared by --codex, --cursor, --windsurf, and --all.

Step 2: Read memories.json

Read .nemp/memories.json using the Read tool:

[ -f ".nemp/memories.json" ] && cat .nemp/memories.json

If the file does not exist, stop and show:

Read the full file on GitHub · 553 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. 5d ago First seen · 553 lines · 16 tokens per session scan A 7320441003c9

Subscribe to this mod's changes

nemp-pro-export is a command published in the GitHub repository SukinShetty/Nemp-memory (128 stars, last pushed 2mo ago), licensed MIT. It adds 16 tokens to every session and 4,209 once invoked, about $0.0001 per session on Opus 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-08-30.