/contentforge:cf-environment [--verbose]from ContentForge
Detects whether Claude Code runs in Cowork or local environment and reports which ContentForge capabilities work there, including filesystem access, MCP transports, and subprocess invocation.
Ships in ContentForge. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Script location. If your host does not set
${CLAUDE_PLUGIN_ROOT}, the scripts are in this plugin'sscripts/folder, next toskills/. Run them with Python 3.10 or newer:python, orpython3wherepythonis not found (macOS, many Linux systems).
Detect where ContentForge is running and report which of its capabilities work in that environment. ContentForge has different real-world behavior on each surface because filesystem access, MCP transports, and subprocess invocation all differ.
~/Documents/ContentForge/ is empty after a runpython "${CLAUDE_PLUGIN_ROOT}/scripts/plugin-metadata.py" --section environment
This returns JSON with environment (one of cowork-sandbox,
claude-code-windows, claude-code-mac, claude-code-linux,
linux-sandbox-uncertain, unknown — six possible values), filesystem
indicators, a cowork_warning field that's non-null when a sandbox
(confirmed or suspected) is detected, and a signals object (strong /
weak lists) showing exactly which detection heuristics fired — useful
for --verbose or when a user disputes the classification.
Render one of the matrices below based on the JSON environment. The six
values map to three matrices: cowork-sandbox AND linux-sandbox-uncertain
both use the Cowork matrix (uncertain gets a one-line caveat first, see
below); claude-code-windows / -mac / -linux share the local matrix;
unknown gets its own fallback.
cowork-sandboxCowork is the recommended environment for teams as of v3.12.9 — it has the friendliest UX, lowest setup friction, and works for non-CLI users. But it requires one extra setup step (connecting Google Drive) because the sandbox filesystem doesn't persist. After Drive is wired, everything works.
Also check: is a Drive MCP available in this session? Scan your available tools for mcp__*drive* or the Anthropic-platform Drive integration. The capability matrix below splits on that.
=== ContentForge in Cowork ===
| Capability | Cowork + Drive | Cowork alone |
|---------------------------------------------|-------------------|----------------|
| /plugin commands | YES | YES |
| HTTP MCP connectors (Slack, HubSpot, ...) | YES | YES |
| npx / stdio MCP connectors | NO | NO |
| | | |
| Final .docx delivery | -> Drive folder | -> sandbox (gone after session) |
| Brand profile persistence | -> Drive | sandbox only |
| Per-phase checkpoint files | -> Drive | sandbox only |
| /contentforge:resume across sessions | YES (via Drive) | NO |
| Team sharing of outputs | YES (Drive) | NO |
| Files visible to user without download | YES (Drive) | NO |
| Full 10-phase pipeline | YES | LOGICAL ONLY -- outputs sandbox-only |
If Cowork + Drive: This is the recommended team setup. Run /contentforge:cf-cowork-setup once to wire the Drive folder layout, then use ContentForge normally. Every .docx, brand profile, and run record lands in My Drive/ContentForge/... where your team can access it from anywhere.
If Cowork without Drive: Connect Drive first. Easiest path: Cowork → Settings → Integrations → Google Drive → Connect (60 seconds). Then run /contentforge:cf-cowork-setup. Until that's done, generated files will only exist for the current session and won't be retrievable after you close the chat.
Local Claude Code (CLI or IDE extension) is the alternative if you don't want to use Drive — files land directly in ~/Documents/ContentForge/<brand>/... on your machine. But for team usage, Cowork+Drive is simpler.
linux-sandbox-uncertainOnly weak signals fired (e.g., a container marker plus a Docker-style username or a local socks5h proxy) — not a confirmed Cowork session marker. This could be a real cloud sandbox the detector doesn't yet recognize by name, or a local Linux container / WSL setup with no sandbox risk at all. Treat it as a possible sandbox rather than guessing wrong in either direction.
Show this line first, before anything else:
Detection was uncertain (weak sandbox signals only — see the probe's cowork_warning): treating this environment as a possible cloud sandbox. Verify where your files land before relying on them.
Then render the exact same matrix as cowork-sandbox above (including the Drive-MCP scan and the "If Cowork + Drive" / "If Cowork without Drive" branches) — capabilities-wise, an unconfirmed sandbox must still be treated as if writes might not reach the host.
claude-code-windows, claude-code-mac, claude-code-linux=== ContentForge in local Claude Code (<platform>) ===
| Capability | Works locally? |
|---------------------------------------------|------------------------------|
| /plugin commands | YES |
| All HTTP MCP connectors | YES |
| npx / stdio MCP connectors | YES (requires Node.js) |
| Google Drive via Anthropic platform | LIMITED -- depends on |
| | whether the host Claude |
| | Code session has the |
| | Drive integration |
| Google Drive via Pipedream / Composio | YES (HTTP) |
| Google Drive via service-account JSON | YES |
| Reading files from your host | YES |
| Writing to ~/Documents/ContentForge/ | YES |
| Writing to ~/.claude-marketing/ | YES |
| Dual-copy save (host + tracking dir) | YES |
| /contentforge:resume across sessions | YES (checkpoints persist) |
| Running the full 10-phase pipeline | YES, full functionality |
This is the reference environment. Every ContentForge feature is designed
to work here. Use the env var CONTENTFORGE_PUBLISH_DIR to redirect the
visible-copy folder to a Dropbox / OneDrive / shared team drive if your
team has one.
unknown=== ContentForge in an unrecognized environment ===
Environment heuristics couldn't classify this runtime. The plugin will run,
but file-system behavior may differ from the documented assumptions.
Probe data (raw):
<dump indicators from JSON>
Recommended: report this environment in a GitHub issue at
https://github.com/indranilbanerjee/contentforge/issues so we can extend
the environment detector to recognize it.
If --verbose is passed, also include the raw indicators block from the
JSON (platform, Python version, cwd, home dir, writable_cwd boolean). This
helps debug edge cases like a permissions-locked home dir.
Before v3.12.8, ContentForge documentation implicitly assumed the local Claude Code environment. Cowork users would run /contentforge:create-content, see the success message, then ask "where are my files?" and find empty Windows folders. The root cause is that Cowork's bash sandbox can't write to the user's host -- it writes to its own Linux sandbox FS.
v3.12.8 surfaces this honestly with this skill plus an automatic warning in /contentforge:cf-help when the cowork-sandbox environment is detected.
scripts/plugin-metadata.py --section environment -- the underlying probe/contentforge:cf-help -- automatically surfaces the Cowork warningWhat SKILL.md sets; muted values are Claude Code's defaults
lowThree short reads, in order
environment-detection, cowork, contentforge, capability-matrix
contentforge@neels-plugins is listed by indranilbanerjee/neels-plugins — review the source before installing
npx claudepluginhub indranilbanerjee/neels-plugins --plugin contentforge22 skills in this plugin
/batch-processBatch-produce many content pieces as one resumable queue, highest priority first. "write these 15 posts"/cf-add-integrationAdd a custom MCP connector for any external API or service. "hook up our internal CMS"/cf-aeo-checkRe-check a published piece's AEO: cited in AI Overviews and AI answers, tracked over time. "did AI cite our article"/cf-analyticsShow content analytics: quality-score trends, slowest pipeline phase and alerts over 7-90 days. "how is production going"/cf-auditAudit a content library for stale posts and topic gaps; ranks what to refresh or retire. "which posts need refreshing"/cf-briefWrite a research-backed content brief from a keyword or topic: intent, competitors, outline. "brief me on this topic"Other plugins' skills for the same job