界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

framer-cost-tuning

framer-cost-tuning

【效率与协作】Optimize Framer costs through tier selection, sampling, and usage monitoring. Use when analyzing Framer billing, reducing API costs, or implementing usage monitoring and budget alerts. Trigger with phrases like "framer cost", "framer billing", "reduce framer costs", "framer pricing", "framer expensive", "framer budget".

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: framer-cost-tuning description: 'Optimize Framer costs through tier selection, sampling, and usage monitoring.

Use when analyzing Framer billing, reducing API costs,

or implementing usage monitoring and budget alerts.

Trigger with phrases like "framer cost", "framer billing",

"reduce framer costs", "framer pricing", "framer expensive", "framer budget".

' allowed-tools: Read, Grep version: 1.5.0 license: MIT author: Jeremy Longshore jeremy@intentsolutions.io tags:

  • saas
  • framer compatibility: Designed for Claude Code

Framer Cost Tuning

Prerequisites

Current plan/billing information, aggregate usage, a cost owner, required availability/features, and a staging site for changes.

Instructions

Measure aggregate usage, evaluate plan or asset changes against current terms, obtain owner approval, and test any performance/publishing effect before production.

Output

Record the measurement period, approved change, expected effect, owner, verification date, and rollback state. Do not include visitor data or billing credentials.

Error Handling

Revert changes that reduce required publishing, domain, privacy, or performance behavior; quarantine unexpected usage or access changes for review.

Examples

Test an asset optimization on a fictional staging page, compare aggregate performance, and promote only after the site owner approves the evidence.

Overview

Optimize Framer costs across plans and features. The Server API is free during beta. Main costs are Framer site plans, custom domains, and team seats.

Framer Plans

PlanPriceCMS ItemsCustom DomainPages
Free$0100No2
Mini$5/mo200Yes150
Basic$15/mo1,000Yes300
Pro$30/mo10,000YesUnlimited
EnterpriseCustomUnlimitedYesUnlimited

Cost Optimization Strategies

Step 1: CMS Item Budgeting

// Track CMS item usage to avoid plan overages
async function checkCMSUsage(client: any) {
  const collections = await client.getCollections();
  let totalItems = 0;
  for (const col of collections) {
    const items = await col.getItems();
    totalItems += items.length;
    console.log(`${col.name}: ${items.length} items`);
  }
  console.log(`Total CMS items: ${totalItems}`);
  // Pro plan: 10,000 limit
  console.log(`Usage: ${((totalItems / 10000) * 100).toFixed(1)}% of Pro limit`);
}

Step 2: Minimize Publish Frequency

// Batch CMS updates before publishing (each publish rebuilds the site)
async function batchUpdateAndPublish(updates: Array<{ collection: string; items: any[] }>) {
  const client = await getClient();
  for (const update of updates) {
    const col = (await client.getCollections()).find(c => c.name === update.collection);
    if (col) await col.setItems(update.items);
  }
  // Single publish after all updates
  await client.publish();
}

Step 3: Development vs Production Sites

Use a free plan site for development and testing. Only pay for the production site.

Resources

Next Steps

For architecture patterns, see framer-reference-architecture.

我的收藏