
Security News
minimatch Patches 3 High-Severity ReDoS Vulnerabilities
minimatch patched three high-severity ReDoS vulnerabilities that can stall the Node.js event loop, and Socket has released free certified patches.
@cubis/foundry
Advanced tools
Workflow-first installer for multi-platform AI agent environments.
cbx installs workflows, skills, wrappers, and rule files for:
cbx_config.json only)/plan, /create, etc.)$workflow-*, $agent-*)AGENTS.md, GEMINI.md, etc.)ENGINEERING_RULES.md, TECH.md)npm install -g @cubis/foundry
Recommended environment setup:
export POSTMAN_API_KEY="<your-postman-api-key>"
export STITCH_API_KEY="<your-stitch-api-key>" # Antigravity StitchMCP only
cbx workflows install --platform codex --bundle agent-environment-setup --postman
Important:
--yes if you want interactive Postman workspace selection.workspaceId.cbx workflows install --platform antigravity --bundle agent-environment-setup --postman
This also manages default StitchMCP wiring for Antigravity.
cbx workflows install --platform copilot --bundle agent-environment-setup --postman
Default install scope is global.
Behavior:
ENGINEERING_RULES.md, TECH.md) are workspace files.Codex:
~/.agents/skills<workspace>/.agents/workflows<workspace>/AGENTS.md~/.codex/AGENTS.mdAntigravity:
~/.gemini/antigravity/skills<workspace>/.agent/workflows<workspace>/.agent/rules/GEMINI.md~/.gemini/GEMINI.mdCopilot:
~/.copilot/skills<workspace>/.github/copilot/workflows<workspace>/AGENTS.md and <workspace>/.github/copilot-instructions.md~/.copilot/copilot-instructions.mdcbx_config.json only)cbx_config.json is the single supported credentials/config source.
Paths:
~/.cbx/cbx_config.json<workspace>/cbx_config.jsonPostman and Stitch now support multiple named profiles with active selection.
{
"postman": {
"profiles": [
{
"name": "default",
"apiKey": null,
"apiKeyEnvVar": "POSTMAN_API_KEY",
"workspaceId": null
}
],
"activeProfileName": "default",
"mcpUrl": "https://mcp.postman.com/minimal"
},
"stitch": {
"profiles": [
{
"name": "default",
"apiKey": null,
"apiKeyEnvVar": "STITCH_API_KEY"
}
],
"activeProfileName": "default",
"mcpUrl": "https://stitch.googleapis.com/mcp"
}
}
Compatibility fields (apiKey, apiKeyEnvVar, apiKeySource, defaultWorkspaceId) are still mirrored for older consumers, but profile fields are authoritative.
# List profiles
cbx workflows config keys list --service all --scope global
# Add profile (env-alias-first)
cbx workflows config keys add --service postman --name team-a --env-var POSTMAN_API_KEY_TEAM_A --scope global
cbx workflows config keys add --service stitch --name prod --env-var STITCH_API_KEY_PROD --scope global
# Switch active profile
cbx workflows config keys use --service postman --name team-a --scope global
# Remove non-active profile
cbx workflows config keys remove --service postman --name old-profile --scope global
Alias commands are also available:
cbx skills config keys ...cbx workflows install --platform codex --bundle agent-environment-setup --postman
If POSTMAN_API_KEY is available and --yes is not used, installer can show workspace chooser and save selected workspaceId in active Postman profile.
cbx workflows install --platform codex --bundle agent-environment-setup --postman --postman-workspace-id "<workspace-id>" --yes
Clear workspace ID:
cbx workflows install --platform codex --bundle agent-environment-setup --postman --postman-workspace-id null --yes
If config already exists and you want to overwrite saved values:
cbx workflows install --platform codex --bundle agent-environment-setup --postman --overwrite --yes
Antigravity includes managed Stitch MCP support using active Stitch profile from cbx_config.json.
Default managed command template:
{
"StitchMCP": {
"$typeName": "exa.cascade_plugins_pb.CascadePluginCommandTemplate",
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://stitch.googleapis.com/mcp",
"--header",
"X-Goog-Api-Key: ur stitch key"
],
"env": {}
}
}
Managed MCP definition files (.cbx/mcp/...):
~/.cbx/mcp/<platform>/postman.json<workspace>/.cbx/mcp/<platform>/postman.jsonRuntime target patching:
Codex:
~/.codex/config.toml (via codex mcp add/remove)<workspace>/.vscode/mcp.jsonAntigravity:
~/.gemini/settings.json (mcpServers)<workspace>/.gemini/settings.json (mcpServers)Copilot:
~/.copilot/mcp-config.json (servers)<workspace>/.vscode/mcp.json (servers)cbx workflows install --platform <codex|antigravity|copilot> --bundle agent-environment-setup
cbx workflows remove <bundle-or-workflow> --platform <platform>
cbx workflows doctor --platform <platform> --scope <project|global>
cbx workflows sync-rules --platform <platform> --scope <project|global>
# Show config (+ computed status block)
cbx workflows config --scope global --show
# Edit active Postman workspace ID
cbx workflows config --scope global --edit
cbx workflows config --scope global --workspace-id "<workspace-id>"
cbx workflows config --scope global --clear-workspace-id
--show now includes computed status:
cbx rules init --platform <platform> --scope project --overwrite
cbx rules tech-md --overwrite
cbx skills ... remains as a compatibility alias for cbx workflows ....
MCP startup failed: Environment variable POSTMAN_API_KEY ... is not setCause:
Fix:
export POSTMAN_API_KEY="<key>"
cbx workflows config --scope global --show
Then confirm status.postman.effectiveSource is env.
apiKeySource looks unset even after exportUse:
cbx workflows config --scope global --show
Check these fields:
status.postman.storedSourcestatus.postman.effectiveSourcestatus.postman.effectiveEnvVarIf stored source is env but effective source is unset, your env var alias is missing in the running process.
If installer says config was skipped:
--overwrite, orcbx workflows config / cbx workflows config keys ... to mutate existing config.Installer now auto-cleans nested duplicate skills (for example duplicates under postman/*).
Run refresh install:
cbx workflows install --platform codex --bundle agent-environment-setup --overwrite --yes
cbx_config.jsonBehavior is now hard-fail. Create/repair cbx_config.json first:
cbx workflows config --scope global --clear-workspace-id
cbx_config.json is now the only supported config source for Postman/Stitch credentials.profiles[] + activeProfileName).config keys commands added (list/add/use/remove).config --show now reports stored vs effective auth source.npm install -g @cubis/foundry
cbx workflows install --platform codex --bundle agent-environment-setup --overwrite --yes
cbx workflows config --scope global --show
FAQs
Cubis Foundry CLI for workflow-first AI agent environments
The npm package @cubis/foundry receives a total of 1,832 weekly downloads. As such, @cubis/foundry popularity was classified as popular.
We found that @cubis/foundry demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
minimatch patched three high-severity ReDoS vulnerabilities that can stall the Node.js event loop, and Socket has released free certified patches.

Research
/Security News
Socket uncovered 26 malicious npm packages tied to North Korea's Contagious Interview campaign, retrieving a live 9-module infostealer and RAT from the adversary's C2.

Research
An impersonated golang.org/x/crypto clone exfiltrates passwords, executes a remote shell stager, and delivers a Rekoobe backdoor on Linux.