cyotee/cyotee-claude-plugins/async-vault-nav-freshness
Claude Code and agent skill by cyotee/cyotee-claude-plugins
- community
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-freshnessSKILL.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+ managerapprove*+ 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:
- Explicit
_invalidateNav()/ zerolastNavUpdate - Holdings nonce bump (NFT set change)
- Calculator config version bump
- Be proven NAV-neutral (1:1 offset in finalize formula)
Two-signal pattern
| Input class | Typical signal | |
|---|---|---|
| NFT ownership set | ownershipNonce | |
| Idle USDC, curated list, ledger cashflows | explicit invalidate | |
| Discount/portfolio factors | configurationVersion |
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/Σ claimablevs globals used in NAV finalize - Full claim must clear both sides (no permanent XOR strand)
Idle reservation
All capital-deploy paths must use idle, not raw balanceOf, or redeem reserves can be double-spent.
High-frequency false positives
| Pattern | Why often reject | |
|---|---|---|
| USDC donation without invalidate | Intentional anti-DoS; multi-shareholder threat model dependent | |
| Pending open sale offer vs NAV | Ops/backend gate; often design-ack | |
| DPD drift within maxNavAge | Documented staleness bound | |
| Zero-NAV bootstrap | Known; seed donation required | |
| Dead shares price bias early | Documented |
Review order
- List every vault mutator → map to invalidate/nonce/version
- Trace
approveDeposit/approveRedemptionagainst_requireFreshNav - Trace claim/cancel counters
- Trace collectCashflows / fund / buy — curated-list gates
- 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
- SKILL.md in the repositoryCheckingplugins/bounty-methodology/skills/async-vault-nav-freshness/SKILL.md
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
[](https://verified-skill.com/skills/cyotee/cyotee-claude-plugins/async-vault-nav-freshness)