cf-switch-backend

cf-switch-backend is a skill for Claude Code from indranilbanerjee/contentforge. It costs 29 tokens per session (1,835 once invoked), scanned A, original, MIT.

A skill for switching ContentForge's tracking and file-delivery system between Google Sheets and Drive, Airtable, or the local filesystem. It can also check the current backend and optionally copy existing records and files to the new one.

In plain words
What is it for?
Use it to change ContentForge's active backend, inspect its current setup, or migrate tracking records and output files without deleting the original data.
Why use it?
It removes the manual work of changing storage systems and helps preserve existing tracking data during the move.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths; mentions Claude Code; mentions Codex.

Part of the contentforge plugin — 22 skills, 9 commands, 13 agents shipped together

Good fit Use it to change ContentForge's active backend, inspect its current setup, or migrate tracking records and output files without deleting the original data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/indranilbanerjee/contentforge/cf-switch-backend
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add indranilbanerjee/contentforge --skill cf-switch-backend
Clone the repo
git clone --depth 1 https://github.com/indranilbanerjee/contentforge

Made for: Claude Code.

Or install contentforge, the plugin that ships this one along with the rest of its 22 skills, 9 commands, 13 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cf-switch-backend

README.md
[![agentmods](https://agentmods.dev/badge/skills/indranilbanerjee/contentforge/cf-switch-backend/github.svg)](https://agentmods.dev/skills/indranilbanerjee/contentforge/cf-switch-backend)
Your own site
<a href="https://agentmods.dev/skills/indranilbanerjee/contentforge/cf-switch-backend"><img src="https://agentmods.dev/badge/skills/indranilbanerjee/contentforge/cf-switch-backend/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cf-switch-backend

Your own site · 80×15
<a href="https://agentmods.dev/skills/indranilbanerjee/contentforge/cf-switch-backend"><img src="https://agentmods.dev/badge/skills/indranilbanerjee/contentforge/cf-switch-backend.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,835 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 50
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 60
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 66
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • medium Rogue Agent · line 50
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00029 $0.01835
Opus 5.5 $0.00012 $0.00734
Sonnet 5.5 $0.00006 $0.00367
Haiku 4.5 $0.00003 $0.00184

Measured 1mo ago against content hash 351dd79f9d19, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cf-switch-backend scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

skills/cf-switch-backend/SKILL.md · 184 lines

How it starts

The opening of the file, as written. The whole thing — 184 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Switch Tracking Backend

Switch ContentForge's tracking and delivery backend between Google Sheets + Drive, Airtable, or Local filesystem. Optionally migrate existing tracking data and output files to the new backend.

Execution gate

Before any record or file is copied, or the brand profile changes, run the dry run (what would move, from where to where, how many records and files) and ask the user to type yes (Step 4). Anything else cancels with no files changed. Migration is additive and never deletes source data.

When to Use

  • Switching from local (default) to a cloud backend for collaboration
  • Migrating from Google to Airtable (or vice versa) for simpler auth
  • Downgrading to local when cloud access isn't needed
  • Checking current backend status before switching

Running in Cowork? The "local" backend writes to the ephemeral sandbox filesystem — files vanish at session end. For Cowork team setups, use the Google (Drive) route and run /contentforge:cf-cowork-setup first to wire the Drive folder layout.

How to Use

/contentforge:cf-switch-backend airtable
/contentforge:cf-switch-backend google_sheets
/contentforge:cf-switch-backend local
/contentforge:cf-switch-backend --status

What This Command Does

Step 1: Identify Current Backend

Read the active brand profile's tracking.backend field.

Report current state:

Current backend: local
Records: 47 tracking records (~/.claude-marketing/{brand}/tracking/tracking.json)
Output files: 42 files in ~/.claude-marketing/{brand}/outputs/{YYYY}/{MM}/

Step 2: Validate Target Backend

If switching to Airtable:

  1. Check AIRTABLE_TOKEN environment variable exists
  2. If missing, guide through setup:
    • Go to airtable.com/create/tokens
    • Create a Personal Access Token with data.records:read and data.records:write scopes
    • Select the base that will hold tracking data
    • Set the environment variable: export AIRTABLE_TOKEN=patXXXXXXXX
  3. Ask for the Airtable Base ID (from the base URL: airtable.com/appXXXXXXXXX/...)
  4. Verify access by running:
    python {scripts_dir}/airtable-tracker.py --action init --base-id {base_id}
    

Read the full file on GitHub · 184 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +4 lines · -145 tokens per session 351dd79f9d19
  2. 1mo ago Changed · +12 lines 801efc149e8d
  3. 3mo ago First seen · 168 lines · 174 tokens per session scan A 0676c9a563fc

Subscribe to this mod's changes

cf-switch-backend is a skill published in the GitHub repository indranilbanerjee/contentforge (34 stars, last pushed 22d ago), licensed MIT. It adds 29 tokens to every session and 1,835 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

cf-switch-backend compared with skills from other repositories

cf-switch-backend next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cf-switch-backendindranilbanerjee/contentforgeSkill3422d agoMITA29Claude Code
four-core-documentsindranilbanerjee/digital-marketing-proSkill99122d agoMITA30Claude Code
seo-planindranilbanerjee/digital-marketing-proSkill99122d agoMITA26Claude Code
c2pa-metadataindranilbanerjee/digital-marketing-proSkill99122d agoMITA30Claude Code
growth-planindranilbanerjee/digital-marketing-proSkill99122d agoMITA34Claude Code
competitor-pagesindranilbanerjee/digital-marketing-proSkill99122d agoMITA28Claude Code
import-guidelinesindranilbanerjee/digital-marketing-proSkill99122d agoMITA27Claude Code