evernote-cost-tuning

Featured

Optimize Evernote integration costs and resource usage. Use when managing API quotas, reducing storage usage, or optimizing upload limits. Trigger with phrases like "evernote cost", "evernote quota", "evernote limits", "evernote upload".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Evernote Cost Tuning ## Overview Optimize resource usage and manage costs in Evernote integrations, focusing on monthly upload quotas, storage efficiency, image compression, and account limit monitoring. ## Prerequisites - Understanding of Evernote account tiers (Basic: 60MB/mo, Premium: 10GB/mo, Business: 20GB/mo) - Access to user quota information via `user.accounting` - Monitoring infrastructure for alerts ## Instructions ### Step 1: Quota Monitoring Query `userStore.getUser()` to access `user.accounting` which contains `uploadLimit`, `uploaded`, and `uploadLimitEnd`. Calculate remaining quota and percentage used. ```javascript async function getQuotaStatus(userStore) { const user = await userStore.getUser(); const { uploadLimit, uploaded, uploadLimitEnd } = user.accounting; return { totalMB: Math.round(uploadLimit / 1024 / 1024), usedMB: Math.round(uploaded / 1024 / 1024), remainingMB: Math.round((uploadLimit - uploaded) / 1024 / 1024), percentUsed: Math.round((uploaded / uploadLimit) * 100), resetsAt: new Date(uploadLimitEnd) }; } ``` ### Step 2: Resource Optimization Compress images before attaching to notes. Resize large images to a maximum dimension (e.g., 1920px). Convert PNG screenshots to JPEG for smaller file sizes. Skip attaching files that exceed the single-note size limit (25MB for Basic, 200MB for Premium). ```javascript function estimateNoteSize(content, resources = []) { const contentBytes = Buffer.byteLength(content,...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category