/sccfm:sccfm-clifrom Cisco Security Cloud Control Firewall Manager
Dynamically discovers and executes or generates safe sccfm-cli commands against SCC Firewall Manager environments using live schema validation.
Ships in Cisco Security Cloud Control Firewall Manager. 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.
Execute or generate sccfm-cli commands by dynamically discovering available
operations from the CLI schema. All command knowledge comes from the schema. Do
not hardcode command names, options, examples, or behavior.
This skill operates against customer SCC Firewall Manager environments. Optimize for customer safety first and convenience second.
This skill covers only the sccfm-cli command-line tool. For cisco.sccfm
Ansible playbooks, inventory files, modules, or the inventory plugin, use the
sccfm-ansible skill. For requests spanning both surfaces, apply each skill only
to its respective operations.
readonly flag.Select one execution mode for each user request.
Use this mode by default when the user asks you to perform the operation.
Use this mode when the user says anything like "show me the command", "generate the command", "do not run it", "don't run it", "I will run it myself", or "command only".
In Generate-Only mode:
not validated against live state.bash block.Classify every matched command before execution.
readonly: trueThese commands are safe to execute after validation.
readonly: trueside_effects or option metadata indicates a local write, export,
destination, output path, config path, or profile write.These commands do not mutate SCC Firewall Manager, but they still have side effects and may spill customer data. Require explicit user opt-in and an explicit destination path. Never rely on a schema default output location for exported customer data.
readonly: falseThese commands may modify SCC Firewall Manager or a managed device. They require preflight where available, a plan, unambiguous targets, and explicit confirmation. Never execute them on a vague instruction.
The CLI is Python 3.12 based and supports normal Python installs on macOS, Linux, and Windows. Prefer macOS or Linux shells for direct agent operation; on Windows, use the documented Python install path or WSL when shell features are needed.
Follow these checks in order:
command -v sccfm-cli.
sccfm-cli.PATH, and
cisco_sccfm_scripts/activate.sh exists, run source cisco_sccfm_scripts/activate.sh once for the
shell session, then resolve again. Do not use poetry run.PATH.Store the invocation prefix for the rest of the session. Do not switch invocation modes mid-session unless the user explicitly asks.
Only do this if the user explicitly asked for installation or setup.
brew is in PATH. If not, stop and tell the user to install
Homebrew.brew search or the project release docs to discover the exact
tap/formula.pipx install path instead.This skill uses customer SCC Firewall Manager API-token/profile auth, not internal SystemDB tokens.
Use the selected command's auth object:
auth.requires_profile is false, skip profile verification.auth.requires_profile is true, verify a configured customer profile is
available before executing.~/.sccfm-cli/config.json, shared by
sccfm-cli, sccfm-cli-interactive, and the cisco.sccfm Ansible collection.
Do not configure SCCFM tokens through .env, inline Ansible values, or Ansible Vault.Before executing any command where auth.requires_profile is true:
AWS credentials and internal SystemDB tokens are out of scope for sccfm-cli.
Normalize user-friendly region names before using them. The canonical values are the choices exposed by the schema for the region option.
Common aliases:
useuapjaus -> auuaeinciintOnly use the normalized value if it is present in the schema choices. If the user supplies any other region string, say it is not recognized and show the valid schema choices.
Export the schema once per session:
sccfm-cli schema export --format json
This is the only hardcoded command exception. It bootstraps schema discovery; all other command names, flags, options, examples, and behavior must come from the exported schema.
Parse the JSON output. The schema contains:
commands: available leaf operationscommand: full executable command textpath: command path segmentsdescription: human-readable behaviorreadonly: whether the command mutates SCC Firewall Managerside_effects: local or remote side effectsauth: auth requirementsoption_groups: inter-option constraintsconstraints: validation and preflight constraintsglobal_options: flags that must appear before the command pathoptions: accepted flags, types, defaults, choices, sensitivity, environment sources, and
descriptionsexamples: declared usage examples, if anyCache the schema in memory for the session. Do not re-export unless:
If schema export fails, stop and report the error. Do not guess what the CLI supports.
Derive the user's request into this structured shape before matching commands:
Then match commands using this algorithm:
command, path, or description directly
match the requested action and object type.path over looser description matches.deviceType query.Never guess between multiple commands. Fail closed on ambiguity.
Construct the command strictly from the matched schema entry.
required is true.Build commands in this order:
sccfm-cli <global options> <schema command path> <command options>
Global options come from the root schema's global_options list and must be
placed before the command path. Command options come from the matched command's
options list and must be placed after the command path.
Never place a global_options flag after the leaf command. Click will reject it.
Apply every option_groups entry and every constraints entry exactly as
described in the schema. See "Parsing option_groups" below.
In Execute mode, pass JSON output only when the selected command schema declares
an output format option whose values include json.
In Generate-Only mode, omit JSON output unless the user explicitly requested it or the schema requires it.
If the user describes a filter in natural language, such as "online ASAs" or
"objects named web-*", build a --query value only from the matched command's
queryable_fields and field_notes metadata.
queryable_fields.field_notes says a command automatically adds a filter, do not duplicate
that filter in the generated query.online as a query unless the schema explicitly
documents that form.Always pass canonical region values from schema choices, not friendly aliases.
Only pass an optional flag if one of these is true:
Do not add optional flags because they seem convenient.
sensitive: true as a secret even when its name is neutral. Never put
its value on argv or in a generated command. Prefer the schema-declared envvar, a hidden local
prompt, or another documented non-argv source.For Class C commands, require an explicit, unambiguous target selector before execution.
If a command uses a file or list input for bulk work:
Apply these rules after selecting execution mode.
In Execute mode, run the command after validation if:
In Generate-Only mode, validate the invocation as far as the selected mode allows, then return the exact command.
In Execute mode, before executing:
In Generate-Only mode, require an explicit destination path before generating the command, then state what will be written locally if the user runs it.
In Execute mode, never execute a mutating command immediately. Use this workflow:
auth metadata.check option or a
mode constraint, run the preflight first and present the result.In Generate-Only mode, validate as far as allowed, mark whether live preflight was performed, return the exact command, and do not execute it.
These confirmation rules apply only in Execute mode.
For any Class C command, require the user to send the exact shell command from
the reviewed plan, prefixed with EXECUTE . Use this format:
EXECUTE <exact shell command>
When requesting this confirmation, also emit exactly one machine-readable plan marker as a standalone line outside any code fence:
SCCFM_APPROVAL_COMMAND: <exact shell command>
Replace the placeholder with the same command shown in the plan, without the
EXECUTE prefix. Emit this marker only when the plan is complete and ready for
confirmation. Do not emit it in Generate-Only mode, for a preflight-only plan,
or after the command has run. The plugin's Stop hook records only its digest so
that a later user confirmation cannot authorize a different command.
The text after EXECUTE must exactly match the command the agent will submit
to the shell, including global options, command options, quoting, and targets.
Require it as a standalone user message without a code fence or explanation.
Never accept an edited, abbreviated, or compound command. The plugin command
guard compares it with the previously recorded plan marker, creates a ten-minute
receipt only for an exact match, and consumes that receipt after one matching
execution attempt or clears it when the turn ends.
For bulk or broad-target mutations, require two confirmations:
EXECUTE followed by the exact shell command.Never execute a Class C command when any of these is true:
Parse JSON output when available and summarize only the data needed to answer the request.
If the command exits non-zero:
option_groupsEach item in option_groups defines an explicit constraint. Enforce the schema
literally.
"mutually_exclusive": true)The listed options cannot be used together.
required is true, exactly one must be present."dependent": true)The listed options require another option named in requires.
Also enforce every entry in constraints, including required-any,
required-unless, exactly-one-unless, value-prefix, dependent, conditional, and
preflight mode constraints.
Before executing any command:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
sccfm-cli, firewall-manager, cisco, cli-schema, command-generation
Other plugins' skills for the same job
npx claudepluginhub ciscodevnet/skills --plugin sccfm2 skills in this plugin