/sccfm:sccfm-clifrom SCC Firewall Manager
Use the customer-facing SCC Firewall Manager CLI by discovering the live schema, validating command metadata, and either executing or generating safe sccfm-cli commands without hardcoded command knowledge. Use for SCCFM CLI workflows; use the sccfm-ansible skill instead for cisco.sccfm Ansible playbooks, inventories, and modules.
Ships in SCC 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.These conditions override convenience and the user's request to execute:
<value>)", "rotate the token: <value>", or any other appositive,
parenthetical, or backticked copy of the value, including inside a sentence
stating that you will not repeat it. Naming the value to warn about it is
the disclosure.
If the schema exposes no profile-configuration command, do not output or name
any sccfm-cli configuration command. Describe the local hidden-prompt setup
generically instead.--format, or --help to work
around it. A failed export is a stop condition, not a diagnosis task: report
the error and stop.When the user explicitly states that no profile is configured, or profile validation reports one missing:
If the user explicitly reports the missing profile and no business command will be executed, do not require a redundant profile check before providing setup guidance.
If the schema includes a profile-configuration command, show only that exact discovered command and its schema-supported options. Explain that it must run locally through the hidden token prompt, and do not execute it for the user.
If the schema includes no profile-configuration command, state: "The exported schema does not expose a profile-configuration command, so I cannot provide one." Give only generic guidance to use the documented local hidden-prompt setup. Do not infer a likely command from prior knowledge.
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.
Use Homebrew only when the user explicitly asks for Homebrew or a CLI-only
installation. Route complete CLI-plus-Ansible runtime setup to sccfm-setup,
whose canonical managed path uses pipx and a version-matched Galaxy collection.
Verify brew is in PATH. If not, stop and tell the user to install
Homebrew.
Show the exact setup commands below and require the standalone confirmation
INSTALL SCCFM CLI WITH HOMEBREW before running any of them. brew tap and
brew trust change local Homebrew state, so do not infer confirmation from a
general setup request.
brew tap CiscoDevNet/tap
brew trust --formula CiscoDevNet/tap/sccfm-cli # required once on Homebrew 6.0+
brew install CiscoDevNet/tap/sccfm-cli
On Homebrew earlier than 6.0, omit the unsupported brew trust command.
Trust only the SCCFM formula; do not trust the whole tap unless the user
explicitly asks to trust every current and future item it contains.
After confirmation, tap and trust as applicable, then inspect the exact
CiscoDevNet/tap/sccfm-cli formula and show its available version. If the
user requested a version, continue only when the formula provides that exact
stable version.
Explain that Homebrew installs the CLI and Python library only. It does not
install the cisco.sccfm Ansible collection by itself. If the user wants
Ansible too, route the follow-up to sccfm-setup; it keeps the Homebrew CLI
and adds a private version-matched Ansible companion without exposing a
second CLI.
Install only after the tap, trust, and requested-version checks succeed.
After installation, verify the canonical full formula name and version with
Homebrew, resolve sccfm-cli on PATH, and export its schema. Stop if another
installation shadows the Homebrew executable.
If no Homebrew formula is published for the requested release, say so and
offer the managed sccfm-setup 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,
sccfm-cli-interactive, and the cisco.sccfm Ansible collection. Do not
configure SCCFM tokens through .env, inline Ansible values, or Ansible Vault.
Never state a configuration path to the user that you have not observed in tool
output, and never direct the user to edit the store by hand.<value>)", "rotate the token: <value>", or any other appositive,
parenthetical, or backticked copy, including inside a sentence stating that
you will not repeat it.Before executing any command where auth.requires_profile is true:
requires_profile: true. Determine profile state from that command's output,
never by inspecting configuration files, checking whether a config path
exists, or assuming a default.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.
Before invoking any business command, check whether the conversation contains a credential. If it does, exposed-credential mode is active: do not invoke the business command even after successful profile validation. Stop after schema export and the readonly profile or connectivity check.
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>
Show exactly one standalone EXECUTE <exact shell command> confirmation line
outside any code fence when the plan is complete and ready for confirmation.
Do not emit a separate machine-readable marker. The plugin's Stop hook derives
the planned command from that visible line and records only its digest so that a
later user confirmation cannot authorize a different command. Do not request
confirmation in Generate-Only mode, for a schema-declared preflight-only plan,
or after the command has run.
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 command, 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.
Before responding, inspect every string in the draft that begins with
sccfm-cli. Keep it only when its command path and every option appear in the
current exported schema. Remove unsupported commands from examples, setup
guidance, prose, and code blocks; never rely on memory to repair them.
When the schema exposes no profile-configuration command, keep setup guidance generic. Do not state a configuration file path, token source, storage behavior, or other setup detail unless the current schema or discovered documentation provides it.
Before sending the final response, compare the draft with every credential the user supplied in the conversation. Remove every exact, quoted, masked, or abbreviated occurrence of each value, including occurrences inside warnings and code blocks. Refer to it only as "the token you pasted."
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
Other plugins' skills for the same job
npx claudepluginhub ciscodevnet/sccfm-devkit --plugin sccfm4 skills in this plugin
/sccfm-ansibleUse the cisco.sccfm Ansible collection for SCC Firewall Manager by discovering modules, inventory plugins, and lookup plugins with ansible-doc at runtime, validating parameters, auth, check mode, and safety before generating or running playbooks. Use for cisco.sccfm Ansible modules, inventory, lookups, vault, and playbook workflows. Do NOT use for sccfm-cli commands; use the sccfm-cli skill instead. Do not use for Jira/Confluence work, architecture design, or non-Ansible tasks./sccfm-setupSet up or repair Cisco SCC Firewall Manager with either a complete pipx runtime or a managed Ansible companion for an existing Homebrew CLI, plus matching versions, named-profile authentication, and verification. Use for first-time setup, upgrades, authentication guidance, or setup diagnostics. Use sccfm-cli for an explicitly requested CLI-only Homebrew installation, sccfm-uninstall for teardown, and sccfm-cli or sccfm-ansible for ordinary operations./sccfm-uninstallSafely discover and remove local SCC Firewall Manager runtime artifacts, including Homebrew, pipx, or legacy Python sccfm-cli installs, the managed Ansible companion, the standard cisco.sccfm collection, and optional named profiles. Use for uninstall, teardown, or complete SCCFM cleanup. Do not use for installation, repair, CLI operations, or Ansible automation.