Skip to content
Back to skills

nreki-optimizer

ASecurity

Read only the symbols a task needs and validate multi-file signature changes or renames in RAM before writing.

  • 11 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 4, 2026
developmentgo

Works with

  • claude code
  • terminal

Security analysis

A100/100

Pro scans all 18 files and shows the line behind each finding

Scanned December 4, 2026

npx -y skills add Ruso-0/Nreki --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of nreki-optimizer?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for nreki-optimizer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ruso-0-nreki-optimizer/badge)](https://www.skillsdirectory.com/skills/ruso-0-nreki-optimizer)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: nreki-optimizer
description: Read only the symbols a task needs and validate multi-file signature changes or renames in RAM before writing.
---

# NREKI ACTIVE
If nreki_* tools fail, native Read/Edit/Write still work. While a NREKI server runs, the Claude Code hook blocks a Read of a code file once when its requested lines exceed ~6k tokens (a whole big file or a long offset/limit range), answering with the symbol list: Read a shorter range (offset/limit) or repeat the Read.

Every tool result stays in your context for the rest of the session, so ask for the smallest answer.

## Find and read
- Start: `nreki_navigate action:"context" query:"<the task, as given>"` returns the code the task names (symbols verbatim with line ranges, other mentions, importers) in one call. Often that is all you need to read before editing.
- `nreki_navigate action:"fast_grep"`: exact text, gives file:line + symbol. `action:"search"`: concept search. `map` is an overview, not a way to find code.
- `nreki_code action:"compress" focus:"a,b,c"`: only those symbols, several per call. Small files and line ranges: native Read.
- `outline` lists a file's symbols. If it says `[BUDGET LIMIT REACHED]`, read the omitted symbols with `compress focus` before editing them.

## Edit
- Use native Edit for simple single-file changes, including HTML, CSS, JSON and Markdown.
- Use `nreki_code action:"batch_edit"` for multi-file changes, signatures with callers and renames (`prepare_refactor` first). Include every affected caller. Outside named symbols, use `symbol:"<top-level>"` with a unique patch anchor.
- In `batch_edit`, use `mode:"patch"` (search_text -> replace_text inside the symbol; indentation is matched loosely). Symbols over 100 lines require it (`NREKI_SYMBOL_LIMIT`). `mode:"replace"` with `new_code:""` deletes a symbol. Payloads over 80 lines are rejected: split them. Several patches to one symbol go in one batch, each matching the ORIGINAL source.
- Do not weaken types to `any`/`unknown`. `batch_edit` rejects `@ts-ignore`/`@ts-expect-error`/`@ts-nocheck`, `# type: ignore`, `# pyright: ignore`, `# noqa` or a blanket `eslint-disable`. NREKI may add a missing import itself; keep it.

## Verify
- The `[Validated: …]` footer says what was checked. Skip tsc only when it says re-running is redundant; if it says syntax only, NOT checked or LSP offline, run the compiler/tests before finishing.
- Errors that were already in the file never block an edit: only new ones do.
- Long terminal output: `nreki_code action:"filter_output"`. `BREAK & BUILD` or `DECOMPOSE`: stop and rethink.

## Memory
- `nreki_guard action:"set_plan" text:"PLAN.md"`, `action:"memorize" text:"<notes>"` (survive context compaction).
- `action:"engram" path:"…" symbol:"…" text:"ASSERT: <rule>"`: a note on a symbol; `ASSERT` notes survive code changes.

Files in this skill

  • .claude/settings.json18 B
  • AGENTS.md1.9 KB
  • ARCHITECTURE.md21.3 KB
  • CONTRIBUTING.md4.1 KB
  • SKILL.md2.8 KB
  • TECH_DEBT.md28.7 KB
  • bin/nreki.cjs346 B
  • docs/KNOWN_DIVERGENCES.md4.1 KB
  • docs/demo.cast6.1 KB
  • docs/demo.svg41.9 KB
  • docs/furia-threshold-review.md7.6 KB
  • docs/furia-v11.4.0-review.md8.1 KB
  • docs/hologram-mode-verify.md6.1 KB
  • docs/nreki-vscode-benchmark.md12.8 KB
  • docs/sprint-6.5-empirical.md5.7 KB
  • docs/sprint-6.6-comparative.md21.4 KB
  • docs/sprint-6.7-type-aware.md17.8 KB
  • docs/sprint-6.8-token-economics.md15.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.