Forward 标志

Forward

社区
automateyournetwork
forward

通过上游 forward-mcp 服务器执行快照保障、路径搜索、感知应用的路径搜索、NQE、检查、漏洞、差异、配置、生命周期、采集和拓扑工作流。

概览

发布者automateyournetwork
代码仓库netclaw
技能名称forward
星标数
680
复刻数
189
附带文件
仅含指令
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 automateyournetwork 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Forward AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/automateyournetwork/netclaw/tree/main/workspace/skills/forward
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/automateyournetwork/netclaw.git /tmp/netclaw
mkdir -p .claude/skills
cp -r /tmp/netclaw/workspace/skills/forward .claude/skills/forward
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Forward,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Forward。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Forward 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Forward Skill

Skill: /forward MCP Server: forward-mcp Source: https://github.com/forwardnetworks/forward-mcp

Use When

Use this skill for Forward snapshot assurance, collection, and analysis:

  • Discover Forward networks, snapshots, and devices
  • Verify paths and reachability
  • Discover and run NQE checks
  • Review predefined checks, failed checks, and vulnerability analysis
  • Compare NQE, snapshot, and config diffs
  • Search configurations
  • Analyze blast radius for a source location to destination IPv4 subnets
  • Review hardware and OS lifecycle support
  • Find missing devices inferred during collection
  • Support lab or real-network collection workflows

Startup

  1. Start with get_default_settings to see configured defaults.
  2. If no default network is set, use list_networks with a small limit and ask the user which network to use.
  3. Prefer explicit network_id and snapshot_id values for repeatable results.
  4. Use bounded limits by default. Use all_results only when the user needs the complete dataset.
  5. In Forward SaaS, prefer FORWARD_API_BASE_URL=https://fwd.app and set FORWARD_INSTANCE_ID for local cache partitioning when multiple SaaS orgs or accounts are used on the same NetClaw host.

Tool Routing

User intentPreferred tools
"List Forward networks"list_networks
"Use this network by default"set_default_network
"Show collection sources"list_classic_devices, get_classic_device
"Add lab devices"upsert_classic_devices
"Show collector status"get_collector_status
"Start collection"start_collection_task, get_collector_task, then wait_for_latest_snapshot; use start_collection only for legacy flows
"Show snapshots"list_snapshots, get_latest_snapshot
"List devices"list_devices, get_device_basic_info
"Find missing collection neighbors"get_missing_devices
"Trace paths"search_paths_bulk, then search_paths for one-off traces
"Trace app-aware paths"list_l7_applications, then search_paths_bulk or search_paths with app_id, url, or domain
"Show blast radius"suggest_blast_radius_sources, then get_blast_radius
"Find NQE checks"search_nqe_queries, list_nqe_queries
"Run an NQE check"run_nqe_query_by_id; use start_nqe_query for long-running checks
"Write or run ad-hoc NQE"Prefer search_nqe_queries first; use run_nqe_query only when no built-in query fits and async NQE for long-running or large results
"Show predefined checks"list_predefined_checks
"Show failed checks or intent status"list_checks, then get_check
"Show vulnerabilities or CVE exposure"search_nqe_queries, then run_nqe_query_by_id with the /Security/CVEs/... query IDs
"Draw topology from Forward"get_snapshot_topology, then search NQE for CDP/LLDP and protocol-peer evidence when needed
"Summarize large results"get_nqe_result_summary, get_nqe_result_chunks, analyze_nqe_result_sql
"Search configs"search_configs
"Compare NQE or intent/check results"get_nqe_diff
"Summarize snapshot diffs"get_snapshot_diff_summary
"Show route, ACL, NAT, interface, check, or vulnerability diffs"get_snapshot_diff
"Compare snapshots/configs"get_config_diff
"Check hardware or OS support"get_device_hardware, get_hardware_support, get_os_support
"Show locations"list_locations, get_device_locations

NQE Discovery Notes

Forward MCP owns the NQE catalog. Do not copy catalog contents into NetClaw. For natural-language NQE requests:

  1. Prefer first-class tools when they match the intent, such as get_device_basic_info, get_device_hardware, get_hardware_support, or get_os_support.
  2. Otherwise use search_nqe_queries with the user's intent.
  3. Use list_nqe_queries only when the directory or query family is already known.
  4. Preserve the returned FQ_... query ID in the answer and execute it with run_nqe_query_by_id.
  5. Keep limits bounded unless the user asks for complete data.

Use run_nqe_query for ad-hoc NQE source only after checking whether a built-in query already answers the question and the expected result fits a bounded synchronous call. For long-running or large queries, use start_nqe_query, poll get_nqe_query_status, then fetch rows with get_nqe_query_result. These execute raw NQE or query IDs through Forward's native NQE APIs; they do not create or save a new query in the NQE Library. Keep ad-hoc queries narrow, set limits by default, and explain when the result is from custom source rather than a built-in Forward query. Use all_results: true only when the user needs the complete table.

Constructing Ad-Hoc NQE

Prefer built-in query IDs when they fit. When a question needs raw NQE, build it incrementally and execute it through Forward MCP:

  1. Start with a tiny selector such as foreach d in network.devices select { Name: d.name }.
  2. Add one model surface at a time, then run start_nqe_query, poll get_nqe_query_status, and page with get_nqe_query_result.
  3. Keep filters inside NQE instead of post-processing large result sets.
  4. Use schema-native types and OneOf patterns. Enumerations can be compared as NatType.LB; data-bearing OneOf values use when ... is.

Useful raw NQE patterns:

On-prem load balancer VIPs, DNAT-style rewrites, and backend targets:

nqe
foreach device in network.devices
foreach natEntry in device.natEntries
where natEntry.natType == NatType.LB
foreach rewrite in natEntry.rewrites
select {
  LoadBalancer: device.name,
  Vip: natEntry.headerMatches.ipv4Dst,
  Ports: natEntry.headerMatches.tpDst,
  Backends: rewrite.ipv4Dst,
  BackendPorts: rewrite.tpDst
}

Other VIPs in the same subnet:

nqe
targetSubnet = ipSubnet("110.240.240.0/24");
foreach device in network.devices
foreach natEntry in device.natEntries
where natEntry.natType == NatType.LB
foreach vip in natEntry.headerMatches.ipv4Dst
where vip in targetSubnet
foreach rewrite in natEntry.rewrites
select {
  LoadBalancer: device.name,
  Vip: vip,
  Ports: natEntry.headerMatches.tpDst,
  Backends: rewrite.ipv4Dst
}

Cloud VPC load balancers:

nqe
foreach cloudAccount in network.cloudAccounts
foreach vpc in cloudAccount.vpcs
foreach loadBalancer in vpc.loadBalancers
foreach rule in loadBalancer.loadBalancerRules
foreach backend in rule.backends
let server = when backend is
               server(backendServerData) -> backendServerData;
               otherwise -> null : BackendServer
where isPresent(server)
select {
  CloudAccount: cloudAccount.name,
  Vpc: vpc.name,
  LoadBalancer: loadBalancer.name,
  FrontendIps: rule.frontendIps,
  FrontendPorts: rule.frontendPorts,
  BackendIps: server.backendIps,
  BackendPorts: server.backendPorts
}

VIP route propagation:

nqe
targetVip = ipSubnet("110.240.240.240/32");
foreach device in network.devices
foreach vrf in device.networkInstances
where isPresent(vrf.afts.ipv4Unicast)
foreach route in vrf.afts.ipv4Unicast.ipEntries
where targetVip in route.prefix
where length(route.prefix) >= 24
foreach nextHop in route.nextHops
select {
  Device: device.name,
  Vrf: vrf.name,
  Prefix: route.prefix,
  OriginProtocol: nextHop.originProtocol,
  NextHopType: nextHop.nextHopType,
  NextHopIp: nextHop.ipAddress,
  Interface: nextHop.interfaceName
}

For topology, start with get_snapshot_topology for native directed links. Then search for both link evidence and protocol-peer evidence when needed. CDP/LLDP can describe physical neighbors; peer queries such as BGP can describe relationships Forward models beyond discovery protocols.

If search_nqe_queries or list_nqe_queries reports that the query index is empty, do this only in a persistent OpenClaw session and only after user confirmation:

  1. Run hydrate_database with regenerate_embeddings: false.
  2. Run refresh_query_index.
  3. Retry search_nqe_queries or list_nqe_queries.

Safety Rules

Default to read-only Forward tools. Require explicit human confirmation before tools that create, update, delete, clear, hydrate, rebuild, start/cancel collection, or set persistent defaults. This includes collector/source, credential, network, snapshot, location, entity/relation, observation, local cache/index, and set_default_network operations. Creating new Forward networks requires full org admin privileges; do not use create_network unless the user explicitly confirms that role. Updating an existing Forward network requires network admin privileges.

Never put Forward credentials in repository files. Use ~/.openclaw/.env. For private CA deployments, use FORWARD_CA_CERT_PATH; do not disable TLS verification.

Workflows

Diffs

  1. Use get_snapshot_diff_summary first for a bounded overview.
  2. Use get_snapshot_diff for focused route, ACL, NAT, interface, check, file/config, inventory-query, routing-loop, or vulnerability diffs.
  3. Use get_nqe_diff for arbitrary NQE and intent-style query diffs.
  4. Use get_config_diff when the user specifically asks for config text drift.

Blast Radius

  1. Use suggest_blast_radius_sources if the source name or location filter is uncertain.
  2. Use get_blast_radius with source_device for a device source, or source when the prompt already supplies Forward LocationFilter JSON.
  3. Keep dst_subnets, timeout_seconds, and paging_options bounded.
  4. Use blast radius for security/exposure questions; use NQE for tabular snapshot facts and search_paths_bulk for specific path traces.

Checks and CVEs

  1. Use list_checks with statuses such as FAIL, WARN, or ERROR to triage intent/check state for a snapshot.
  2. Use get_check for the detailed rows behind a specific failed check.
  3. Use list_predefined_checks when the user asks what built-in checks exist.
  4. Use NQE for CVE posture. Prefer search_nqe_queries for natural-language discovery, then run_nqe_query_by_id.
  5. Useful built-in CVE query paths include /Security/CVEs/CVE violations by CVE, /Security/CVEs/CVE violations by device, /Security/CVEs/CVE violation details by device, and /Security/CVEs/Vendor CVE metadata.
  6. Use get_nqe_diff for CVE query drift between snapshots. Use get_snapshot_diff with diff_type: "vulnerabilities" for the Forward vulnerability diff domain.

Collection and Lab Demo

  1. Treat collection setup and start/cancel actions as admin workflows.
  2. Use them only on lab/admin networks or after explicit user confirmation.
  3. Treat collector installation/onboarding as a separate prerequisite. Anyone can install or onboard a collector, but a network admin must assign that collector to the target network. The stable Linux collector download URL is https://fwd.app/api/software/client?type=LINUX.
  4. Before starting collection, run get_collector_status and list_classic_devices.
  5. Prefer start_collection_task, poll it with get_collector_task, then use wait_for_latest_snapshot. Use start_collection only when task creation is unavailable in the target deployment.

Topology Drawing

  1. Prefer Forward NQE evidence for collected topology questions: link queries plus relevant protocol-peer queries.
  2. If the NQE result only shows management-plane neighbors or incomplete links in a real or emulated network, use the originating topology source as the edge source and Forward as the collected assurance source.
  3. Use the available lab backend, source-of-truth, inventory, or discovery tool to identify device names, management IPs, physical links, and credentials before Forward collection.
  4. Before start_collection, confirm the assigned Forward collector can reach the target management network. If not, the missing step is collector installation, assignment, or routing.
  5. Render a normalized node/edge list with Draw.io, Markmap, or another diagram skill. Never infer links from names or management IPs alone.

Result Discipline

  • Summarize large tables before presenting them.
  • Preserve network IDs, snapshot IDs, query IDs, and device names in the answer.
  • When a path or NQE result is inconclusive, say what data was missing and which next read-only Forward tool should be run.
  • For config and NQE diffs, separate intended changes from unexpected changes.
  • For snapshot diffs, start with counts/summary and drill into the changed domain that matters.

常见问题

Forward AI 技能有什么作用?

通过上游 forward-mcp 服务器执行快照保障、路径搜索、感知应用的路径搜索、NQE、检查、漏洞、差异、配置、生命周期、采集和拓扑工作流。

为什么在 TypingMind 中使用 Forward?

因为您只需安装一次,就能搭配任何模型使用。Forward 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Forward?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/automateyournetwork/netclaw/tree/main/workspace/skills/forward。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Forward?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Forward 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Forward 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Forward AI 技能免费吗?

是的。automateyournetwork 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇