Agent skill

Apple Notes Cost Tuning

by jeremylongshore in jeremylongshore/tons-of-skills-marketplace

Apple Notes cost optimization — it is free, focus on iCloud storage management.

MITAuto-check passed

Install Apple Notes Cost Tuning

skills CLI
$ npx skills add jeremylongshore/tons-of-skills-marketplace --skill apple-notes-cost-tuning -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace apple-notes-cost-tuning --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/.curated/apple-notes-cost-tuning .claude/skills/apple-notes-cost-tuning && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
apple-notes-cost-tuning
GitHub stars
2.8k
Token cost
~1.5k tokens
SKILL.md length
464 words
Files
1
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Apple Notes cost optimization — it is free, focus on iCloud storage management.

  • Works in 4 steps: Use System Settings or the iCloud… → Measure aggregate storage indicators for… → Propose a reversible archive plan with… → …
  • SKILL.md covers Overview, Prerequisites, Instructions and iCloud Storage Tiers, plus 7 more sections
  • Calls osascript and jq

What it does

Apple Notes Cost Tuning is an agent skill from jeremylongshore/tons-of-skills-marketplace. Apple Notes cost optimization — it is free, focus on iCloud storage management. Trigger: "apple notes cost".

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: Designed for Claude Code

The repository describes itself as: Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com. The licence is MIT.

Example prompts

  • “apple notes cost”
  • “/apple-notes-cost-tuning”

Requirements

  • Compatibility (from SKILL.md): Designed for Claude Code
  • Pre-approved tools (allowed-tools): Read, Write, Edit, Bash(osascript:*), Grep

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Use System Settings or the iCloud account owner as the source of truth for current capacity and plan decisions.
  2. Measure aggregate storage indicators for an approved scope; avoid exporting or enumerating unrelated notes to estimate cost.
  3. Propose a reversible archive plan with retention, encryption, reconciliation, and explicit deletion approval.
  4. Do not move notes between accounts automatically—account moves can change sharing, sync, and recovery behavior.

What it can do on your machine

Read from SKILL.md and the folder at commit cfae287. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit
    • Bash(osascript:*)
    • Grep

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • osascript
    • jq

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • support.apple.com
    • developer.apple.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Designed for Claude Code

    From compatibility in the SKILL.md frontmatter.

Context cost

Apple Notes Cost Tuning loads about 1.5k tokens when it runs. Until then it costs about 33 tokens; SKILL.md has 464 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~33
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from jeremylongshore/tons-of-skills-marketplace at commit cfae287, republished under its MIT licence (© jeremylongshore). 464 words, ~1,506 tokens.

Download SKILL.mdSave it as .claude/skills/apple-notes-cost-tuning/SKILL.md (or your agent's skills folder).
name
apple-notes-cost-tuning
description
Apple Notes cost optimization — it is free, focus on iCloud storage management. Trigger: "apple notes cost".
allowed-tools
Read, Write, Edit, Bash(osascript:*), Grep
compatibility
Designed for Claude Code
version
1.6.0
license
MIT
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
saas, macos, apple-notes, automation

Apple Notes Cost Tuning

Overview

Apple Notes itself is free with every Apple ID. The only real cost is iCloud storage, which is shared across Photos, iCloud Drive, Mail, Notes, and device backups. For automation workflows, the main cost drivers are large embedded attachments (images, PDFs, scans) that inflate iCloud usage, and the "On My Mac" account that uses local disk instead. Understanding what consumes storage lets you keep notes within the free 5 GB tier or choose the right iCloud+ plan for your organization.

Prerequisites

  • Current pricing and storage policy from Apple or the organization; the table is illustrative and must not be used as a purchase quote.
  • Approval for any archive, deletion, or account move, plus an encrypted backup and restore test.
  • A scoped audit that reports aggregate measures only, not account names, note titles, or content.

Instructions

  1. Use System Settings or the iCloud account owner as the source of truth for current capacity and plan decisions.
  2. Measure aggregate storage indicators for an approved scope; avoid exporting or enumerating unrelated notes to estimate cost.
  3. Propose a reversible archive plan with retention, encryption, reconciliation, and explicit deletion approval.
  4. Do not move notes between accounts automatically—account moves can change sharing, sync, and recovery behavior.

iCloud Storage Tiers

PlanStoragePrice/moApprox Notes Capacity
Free5 GB$0~50,000 text-only notes
iCloud+ 50 GB50 GB$0.99Unlimited text; moderate attachments
iCloud+ 200 GB200 GB$2.99Shared with Family Sharing
iCloud+ 2 TB2 TB$9.99Enterprise/heavy media
iCloud+ 6 TB6 TB$29.99Large teams with shared albums + notes
iCloud+ 12 TB12 TB$59.99Maximum tier

Storage Audit Script

bash
#!/bin/bash
# Audit Apple Notes storage consumption
echo "=== iCloud Storage Overview ==="
# Total iCloud usage (approximate from system)
df -h ~/Library/Mobile\ Documents/ 2>/dev/null | tail -1

echo ""
echo "=== Notes Content Audit ==="
osascript -l JavaScript -e '
  const Notes = Application("Notes");
  const accounts = Notes.accounts();
  let report = [];
  accounts.forEach(a => {
    const notes = a.notes();
    let totalChars = 0;
    let withAttachments = 0;
    notes.forEach(n => {
      totalChars += n.body().length;
      if (n.attachments().length > 0) withAttachments++;
    });
    report.push(a.name() + ": " + notes.length + " notes, ~" +
      Math.round(totalChars / 1024) + "KB text, " +
      withAttachments + " with attachments");
  });
  report.join("\n");
'

Optimization Strategies

Show full SKILL.md (187 more words)Show less
Move Large Notes to "On My Mac"
javascript
// Move attachment-heavy notes to local account (no iCloud cost)
const Notes = Application("Notes");
const localAccount = Notes.accounts().find(a => a.name() === "On My Mac");
const icloud = Notes.defaultAccount;

// Find notes with large bodies (likely have embedded images)
const largeNotes = icloud.notes().filter(n => n.body().length > 100000);
largeNotes.forEach(n => {
  console.log(`Large note: ${n.name()} (${Math.round(n.body().length / 1024)}KB)`);
});
// Manual move: drag notes to "On My Mac" in Notes.app sidebar
Archive Old Notes to Markdown
bash
# Export old notes to local markdown files, then delete from iCloud
ARCHIVE_DIR="$HOME/notes-archive/$(date +%Y-%m)"
mkdir -p "$ARCHIVE_DIR"
osascript -l JavaScript -e '
  const Notes = Application("Notes");
  const cutoff = new Date(Date.now() - 180 * 24 * 60 * 60 * 1000); // 6 months ago
  Notes.defaultAccount.notes()
    .filter(n => n.modificationDate() < cutoff)
    .map(n => JSON.stringify({ title: n.name(), body: n.body() }))
    .join("\n");
' | while IFS= read -r line; do
  title=$(echo "$line" | jq -r '.title' 2>/dev/null) || continue
  safe=$(echo "$title" | tr '/:*?"<>|' '-' | head -c 80)
  echo "$line" | jq -r '.body' > "$ARCHIVE_DIR/$safe.html"
done
echo "Archived to $ARCHIVE_DIR — review before deleting from Notes"

Error Handling

IssueCauseSolution
iCloud storage fullAttachments in Notes + Photos + BackupsAudit per-app usage in System Settings > Apple ID > iCloud
"On My Mac" account missingDisabled in Notes preferencesNotes > Settings > enable "On My Mac" account
Notes sync pausedStorage quota exceededDelete large attachments or upgrade iCloud plan
Cannot determine note sizesJXA body() returns HTML, not raw bytesEstimate: HTML chars x 1.5 for actual storage with formatting

Output

The cost review produces an aggregate usage trend, documented assumptions, current-price reference, and a reversible recommendation. It excludes note content, titles, account names, and any action that deletes or relocates a note.

Examples

If aggregate storage is approaching the approved quota, prepare a pilot archive of synthetic or pre-approved records on an encrypted local volume, verify the backup and retention policy, then ask the owner to approve the actual archive and any deletion separately.

Resources

Next Steps

For monitoring iCloud sync health, see apple-notes-observability. For archiving and data export, see apple-notes-data-handling.

© jeremylongshore, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/.curated/apple-notes-cost-tuning of jeremylongshore/tons-of-skills-marketplace.

Open the folder on GitHubat commit cfae287

Compare with similar skills

Apple Notes Cost Tuning next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Apple Notes Cost Tuning compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Apple Notes Cost Tuning this skilljeremylongshore/tons-of-skills-marketplace2.8k—~1.5kAutomated safety check: PassMIT
Cost Trackingaffaan-m/ECC277k1 repos~1.3kAutomated safety check: PassMIT
Cost Conversationruvnet/ruflo74k—~407Automated safety check: NotesMIT
Cost Reportruvnet/ruflo74k—~830Automated safety check: NotesMIT
Clade Cost Tuningjeremylongshore/tons-of-skills-marketplace2.8k—~1.3kAutomated safety check: PassMIT
Langfuse Cost Tuningjeremylongshore/tons-of-skills-marketplace2.8k—~2.4kAutomated safety check: PassMIT

Similar skills

  • Cost Tracking

    affaan-m/ECC

    Track and report Claude Code token usage, spending, and budgets from the local ECC cost-tracker metrics log.

    277k GitHub starsUsed in 1 repo~1.3k tokens
    AI & LLM EngineeringAuto-check passed
  • Cost Conversation

    ruvnet/ruflo

    Per-conversation cost view — list every session in cost-tracking with started-at, message count, top model, and total cost

    74k GitHub stars~407 tokensUpdated yesterday
    AI & LLM EngineeringAuto-check: notes
  • Cost Report

    ruvnet/ruflo

    Generate a cost report showing token usage and USD costs by agent and model

    74k GitHub stars~830 tokensUpdated yesterday
    AI & LLM EngineeringAuto-check: notes
  • Clade Cost Tuning

    jeremylongshore/tons-of-skills-marketplace

    Optimize Anthropic API costs — model selection, prompt caching, batches, Use when working with cost-tuning patterns.

    2.8k GitHub stars~1.3k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Langfuse Cost Tuning

    jeremylongshore/tons-of-skills-marketplace

    Monitor and optimize LLM costs using Langfuse analytics and dashboards.

    2.8k GitHub stars~2.4k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Anth Cost Tuning

    jeremylongshore/tons-of-skills-marketplace

    Optimize Anthropic Claude API costs with model routing, prompt caching, batching, and spend monitoring.

    2.8k GitHub stars~2.1k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed

More from jeremylongshore/tons-of-skills-marketplace

All 3,342 skills in this repo
  • Performing Security Code Review

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to conduct a security-focused code review using the security-agent plugin.

    2.8k GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check: notes
  • Adapting Transfer Learning Models

    jeremylongshore/tons-of-skills-marketplace

    Build this skill automates the adaptation of pre-trained machine learning models using transfer learning techniques.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Agent Context Loader

    jeremylongshore/tons-of-skills-marketplace

    Execute proactive auto-loading: automatically detects and loads agents.md files.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Aggregating Performance Metrics

    jeremylongshore/tons-of-skills-marketplace

    Aggregate and centralize performance metrics from applications, systems, databases, caches, and services.

    2.8k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Analyzing Capacity Planning

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to analyze capacity requirements and plan for future growth.

    2.8k GitHub stars~947 tokensUpdated today
    Auto-check passed
  • Analyzing Database Indexes

    jeremylongshore/tons-of-skills-marketplace

    Process use when you need to work with database indexing. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~2k tokensUpdated today
    Auto-check passed

Questions about Apple Notes Cost Tuning

What does Apple Notes Cost Tuning do?

Apple Notes cost optimization — it is free, focus on iCloud storage management. Apple Notes Cost Tuning is an agent skill from jeremylongshore/tons-of-skills-marketplace. Apple Notes cost optimization — it is free, focus on iCloud storage management.

How do I install Apple Notes Cost Tuning in Claude Code?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill apple-notes-cost-tuning -a claude-code`. Or copy the skill folder (skills/.curated/apple-notes-cost-tuning in jeremylongshore/tons-of-skills-marketplace) into .claude/skills/apple-notes-cost-tuning in your project. Claude Code loads it when a task matches its description.

How do I install Apple Notes Cost Tuning in Codex?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill apple-notes-cost-tuning -a codex`. Or copy the skill folder (skills/.curated/apple-notes-cost-tuning in jeremylongshore/tons-of-skills-marketplace) into .agents/skills/apple-notes-cost-tuning in your project. Codex loads it when a task matches its description.

Can I use Apple Notes Cost Tuning in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill apple-notes-cost-tuning -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/apple-notes-cost-tuning, .gemini/skills/apple-notes-cost-tuning, .github/skills/apple-notes-cost-tuning and .opencode/skills/apple-notes-cost-tuning in your project.

What does Apple Notes Cost Tuning need to run?

Going by SKILL.md and its folder, Apple Notes Cost Tuning needs the command-line tools its instructions call (osascript and jq). Its frontmatter pre-approves these tools: Read, Write, Edit, Bash(osascript:*), Grep. Compatibility (from SKILL.md): Designed for Claude Code.

Does Apple Notes Cost Tuning access the network?

SKILL.md names 2 domains. As links in the text: support.apple.com and developer.apple.com. This is read from the text; nothing was executed.

Is Apple Notes Cost Tuning safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Apple Notes Cost Tuning use?

Apple Notes Cost Tuning is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Apple Notes Cost Tuning use?

About 1.5k tokens (SKILL.md is roughly 6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Apple Notes Cost Tuning?

Skills that share tags, products or a category with Apple Notes Cost Tuning: Cost Tracking (affaan-m/ECC, 277k stars), Cost Conversation (ruvnet/ruflo, 74k stars), Cost Report (ruvnet/ruflo, 74k stars) and Clade Cost Tuning (jeremylongshore/tons-of-skills-marketplace, 2.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Apple Notes Cost Tuning?

jeremylongshore (a GitHub user) maintains it in jeremylongshore/tons-of-skills-marketplace, which has 2,827 GitHub stars. The repository holds 3,342 skills in this directory. The repository was last updated on October 10, 2026.

Source: jeremylongshore/tons-of-skills-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.