Skip to content
Content
Skill

/cf-environment

Detect the runtime environment (Cowork or local) and what works there: connectors, file locations, limits. \"am I running in Cowork\"

From plugin
contentforge
3222 skills13 agents9 commands

Claude Code

$ npx -y skills add indranilbanerjee/contentforge --skill cf-environment --agent claude-code

SKILL.md

cf-environment.SKILL.md
name: cf-environment
description: "Detect the runtime environment (Cowork or local) and what works there: connectors, file locations, limits. \"am I running in Cowork\""
argument-hint: "[--verbose]"
effort: low

/contentforge:cf-environment

> **Script location.** If your host does not set `${CLAUDE_PLUGIN_ROOT}`, the scripts are in this plugin's `scripts/` folder, next to `skills/`. Run them with Python 3.10 or newer: `python`, or `python3` where `python` is 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.

When to use this skill

  • User asks "will my files actually save to my Documents folder?"
  • User asks "does this work in Cowork?"
  • User reports that `~/Documents/ContentForge/` is empty after a run
  • Before kicking off a long (20-60 min) content pipeline, to set expectations
  • During brand-setup, to decide between MCP-Drive and service-account routes

Behavior

Step 1 — Run the environment probe

python "${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.

Step 2 — Present the capability matrix for the detected environment

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-sandbox`

Cowork 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-uncertain`

Only 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
Read more
@indranilbanerjee
Ships withcontentforge

🌐 Read this in: English · हिन्दी · 中文 · 日本語 · 한국어 · Español · Português · العربية · اردو · தமிழ் · বাংলা · Русский You need to ship 30 articles this quarter that sound human, cite real sources, link into your funnel, and survive an editor who checks.

3222 skills13 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
32
Star history of indranilbanerjee/contentforge on GitHub, a chart by star-history.com

Other skills on contentforge.

More skills from other plugins.

prompt-lookup

prompt-lookup

Activates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use…

@gh-f@gh-fInstall Skill
ppt-master

ppt-master

AI-driven presentation workflow for generating editable PPTX decks and slides, reconstructing page visuals, creating reusable…

@hugohe3@hugohe3Install Skill
morph-ppt

morph-ppt

Use this skill when the user wants a .pptx with smooth cross-slide animation — PowerPoint Morph transitions, Keynote-style…

officecli12d33k
@iofficeai@iofficeaiInstall Skill

Questions about cf-environment.

Which coding agents can use cf-environment?
cf-environment installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.