cyotee/cyotee-claude-plugins/async-vault-nav-freshness

Claude Code and agent skill by cyotee/cyotee-claude-plugins

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Reviews ERC-7540 / async deposit-redeem vaults with on-chain NAV: invalidate maps, ownership nonces, calculator versions, claim algebra, idle reservations. Use for PortfolioVault-style funds, Enzyme Onyx queues, or any async vault that freezes share price at approval.

Install

npx vskill@latest install cyotee/cyotee-claude-plugins/async-vault-nav-freshness

SKILL.md

The same SKILL.md was published earlier as cyotee/cyotee-claude-plugins/async-vault-nav-freshness.

Async vault NAV freshness (ERC-7540 class)

When to use

  • requestDeposit / requestRedeem + manager approve* + claim
  • NAV computed in batches from loan/position ledgers
  • Share price uses last finalized NAV, not spot balances

Freshness conjunction checklist

Any mutator of NAV inputs must hit one of:

  1. Explicit _invalidateNav() / zero lastNavUpdate
  2. Holdings nonce bump (NFT set change)
  3. Calculator config version bump
  4. Be proven NAV-neutral (1:1 offset in finalize formula)
Two-signal pattern
Input classTypical signal
NFT ownership setownershipNonce
Idle USDC, curated list, ledger cashflowsexplicit invalidate
Discount/portfolio factorsconfigurationVersion

Do not assume nonce covers waterfall/ledger changes.

ERC-7540 claim algebra

  • Mint/burn shares at approve (price lock)
  • Claim uses floor proportional math: require assets > 0 && shares > 0
  • Fuzz: Σ pending / Σ claimable vs globals used in NAV finalize
  • Full claim must clear both sides (no permanent XOR strand)

Idle reservation

text
idleLiquidity = balance − pendingDeposit − claimableRedeem

All capital-deploy paths must use idle, not raw balanceOf, or redeem reserves can be double-spent.

High-frequency false positives

PatternWhy often reject
USDC donation without invalidateIntentional anti-DoS; multi-shareholder threat model dependent
Pending open sale offer vs NAVOps/backend gate; often design-ack
DPD drift within maxNavAgeDocumented staleness bound
Zero-NAV bootstrapKnown; seed donation required
Dead shares price bias earlyDocumented

Review order

  1. List every vault mutator → map to invalidate/nonce/version
  2. Trace approveDeposit / approveRedemption against _requireFreshNav
  3. Trace claim/cancel counters
  4. Trace collectCashflows / fund / buy — curated-list gates
  5. Exchange lock interaction (listed loans: unlocker withdraw routing)

References

  • Strata-adjacent Tare PortfolioVault (Sherlock 2026) patterns
  • Enzyme Onyx ERC7540-like queues
  • security-research: programs/sherlock-tare/notes/patterns-for-skills.md

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Grok Build (Cursor)
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/cyotee/cyotee-claude-plugins/async-vault-nav-freshness/badge)](https://verified-skill.com/skills/cyotee/cyotee-claude-plugins/async-vault-nav-freshness)

Something wrong with this skill or its page? Tell us.