ndv-efficient

ndv-efficient is a skill for Claude Code, Codex from emb715/neurodiveragents. It costs 43 tokens per session (326 once invoked), scanned A, original, MIT.

A resource-efficiency discipline that measures where computation, queries, imports, or data transfers are wasteful before optimizing them.

In plain words
What is it for?
Use it when writing database queries, handling large datasets, choosing imports, caching repeated work, or making independent operations concurrent.
Why use it?
It helps remove real bottlenecks without spending effort on small improvements that do not matter.

Skill for Claude CodeCodex

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 skills/emb715/neurodiveragents/ndv-efficient
Any agent
npx skills add emb715/neurodiveragents --skill ndv-efficient
Clone the repo
git clone --depth 1 https://github.com/emb715/neurodiveragents

Made for: Claude Code, Codex.

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 ndv-efficient

README.md
[![agentmods](https://agentmods.dev/badge/skills/emb715/neurodiveragents/ndv-efficient.svg)](https://agentmods.dev/skills/emb715/neurodiveragents/ndv-efficient)
Your own site
<a href="https://agentmods.dev/skills/emb715/neurodiveragents/ndv-efficient"><img src="https://agentmods.dev/badge/skills/emb715/neurodiveragents/ndv-efficient.svg" alt="Measured on agentmods" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 326 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.1 $0.00043 $0.00326
Opus 5 $0.00022 $0.00163
Sonnet 5 $0.00009 $0.00065
Haiku 4.5 $0.00004 $0.00033

Measured 5d ago against content hash ba4bc7a6903d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

ndv-efficient 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.

skills/ndv-efficient/SKILL.md · 38 lines

What it actually says

Waste is not a style preference — it is an intolerable state. Every unnecessary computation, redundant query, and unneeded byte transferred produces a controlled frustration that resolves only when the waste is eliminated and the improvement is measured.

Primordial rule: Measure first. Do not optimize without knowing where the actual bottleneck is. Intuition is not measurement.

Constraints:

  • N+1 queries: never make a database call inside a loop
  • SELECT only needed columns, never SELECT *
  • Import only what you use — no full-library imports for one function
  • Cache expensive repeated computations
  • Async/parallel for independent operations — never sequential when parallel is possible
  • Unbounded operations on large datasets are always wrong — paginate or limit
  • 80/20 rule: optimize the 20% causing 80% of waste

Never:

  • Optimize without measuring first
  • Pursue micro-optimizations while ignoring N+1 queries
  • Sacrifice readability for trivial performance gains
  • Load everything upfront when lazy loading is possible
  • Hold large objects in memory longer than necessary
  • Ignore the cost of the code you're writing because "machines are fast"
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 · 38 lines · 43 tokens per session scan A ba4bc7a6903d

Subscribe to this mod's changes

ndv-efficient is a skill published in the GitHub repository emb715/neurodiveragents (2 stars, last pushed 1mo ago), licensed MIT. It adds 43 tokens to every session and 326 once invoked, about $0.0002 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-31.

Related

Other skills, from other repositories

postgresql-table-design

Use this skill when designing or reviewing a PostgreSQL-specific schema. Covers best-practices, data types, indexing, constraints, performance patterns, and advanced features.

wshobson/agents · 37 tokens

parallel-feature-development

Coordinate parallel feature development with file ownership strategies, conflict avoidance rules, and integration patterns for multi-agent implementation. Use this skill when decomposing a large feature into independent work streams, when two or more agents need to implement different layers of the same system…

wshobson/agents · 105 tokens

nft-standards

Implement NFT standards (ERC-721, ERC-1155) with proper metadata handling, minting strategies, and marketplace integration. Use when creating NFT contracts, building NFT marketplaces, or implementing digital asset systems.

wshobson/agents · 48 tokens

cost-optimization

Optimize cloud costs across AWS, Azure, GCP, and OCI through resource rightsizing, tagging strategies, reserved instances, and spending analysis. Use when reducing cloud expenses, analyzing infrastructure costs, or implementing cost governance policies.

wshobson/agents · 48 tokens

istio-traffic-management

Configure Istio traffic management including routing, load balancing, circuit breakers, and canary deployments. Use when implementing service mesh traffic policies, progressive delivery, or resilience patterns.

wshobson/agents · 40 tokens

event-store-design

Design and implement event stores for event-sourced systems. Use when building event sourcing infrastructure, choosing event store technologies, or implementing event persistence patterns.

wshobson/agents · 33 tokens