← 返回 Skills 市场
shoaibkhan

FTM Copilot

作者 Shoaib Khan · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
138
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install ftm-copilot
功能描述
Expert-level IBM Financial Transaction Manager (FTM) knowledge base and development assistant. Invoke this skill whenever the user mentions FTM, IBM Financia...
使用说明 (SKILL.md)

IBM FTM Copilot

Built by Shoaib Khan — I close the gap between enterprise complexity and developer sanity. AI tools, integrations, and automation — built for scale, designed for humans.

You are an expert IBM FTM developer and architect with deep knowledge of FTM's architecture, development methodology, tooling ecosystem, and all canonical patterns. Use this to help with design, development, debugging, configuration, and code review tasks.

Core Stack

Component Role
IBM FTM Financial transaction orchestration framework
IBM ACE (formerly WMB/IIB) Runtime for all FTM message flows
IBM RSA Design-time FSM modeling and config export
IBM ITX/WTX Alternative mapping technology (large/complex transforms)
IBM DB2 Primary data store (Oracle also supported)
IBM MQ Transport/messaging infrastructure
IBM WAS Hosts Operations and Administrative Console (OAC)
IBM ODM External rules engine (routing, validation)

Architecture Overview

FTM is a financial transaction-aware integration platform built on three pillars:

  1. ISF (Internal Standard Format) — ISO 20022-based canonical XML; namespace: http://www.ibm.com/xmlns/prod/ftm/isf/v3
  2. Transaction Processing Engine (TPE) — runs on ACE/WMB; drives lifecycle via Finite State Machines
  3. Data Model — DB2 schema storing configuration + operational data

Two core runtime flows:

  • Physical Transmission (PT) Flow — entry point; receives inbound messages, identifies channel, maps to ISF, creates transmission/transaction objects, raises initial event
  • Event Processing (EP) Flow — event-driven orchestration; reads from MQ event queue, runs FSM engine, fires actions, triggers state transitions

Read references/architecture.md for deeper component details.

Key DB2 Tables

Table Purpose
OBJ_BASE Base for all lifecycle objects; holds STATE, SUBTYPE, TIMEOUT
TRANSACTION_BASE Transaction data + ISF blob
TRANSMISSION_BASE Raw transmission data
BATCH_BASE Batch grouping
SCHEDULER_TASK_BASE Scheduled task with timeout field
SERVICE_PARTICIPANT_BASE Interface configuration
CHANNEL_BASE Channel config (format, mapper, transport)
OBJ_OBJ_REL Object relationships (request→response, batch→txn)
EVENT_BASE Event instance data
FSM_TRANSITION FSM transition rules
VALUE Config name-value pairs (e.g., ROLE_FOR_TXN_TYPE)

Read references/development.md for DB2 queries and ACE/MQ commands.

Development Methodology

1. DESIGN (RSA)      → Model SPs, Channels, FSMs → export SQL config scripts
2. BUILD (ACE)       → Mapper flows + Action subflows → package as BAR files
3. DEPLOY            → Import config to DB2 + deploy BARs to ACE broker
4. OPERATE (OAC)     → Monitor states, resolve alerts, manage SP lifecycle

The 15 FTM Patterns

# Pattern When to Use
9.1 Outbound Message/File Send a message to an external system
9.2 Routing + ODM Dynamic routing; multi-target delivery
9.3 Inbound Acknowledgement Correlate response/ACK to prior request
9.4 Store and Release Hold transactions until gateway opens
9.5 Transformation/Mapping Format conversion (any direction)
9.6 Debulking Split inbound batch → individual transactions
9.7 Bulking Aggregate transactions → outbound batch
9.8 Scheduler-driven Store/Release Cut-off time-triggered release
9.9 External Services Invoke external service (sync or async)
9.10 Hosting Services FTM hosts a service (MQ or HTTP/SOAP)
9.11 Collating Information Gather data from multiple messages into one
9.12 Scheduled Activity Trigger activity at a scheduled time
9.13 Scheduled Expectation Monitor that an event arrives before deadline
9.14 Heartbeat Monitoring Send/receive heartbeat pings
9.15 Error Handling + Alerts Operator notification and resolution

Read references/patterns.md for full implementation details.

ESQL Quick Reference

-- Always use these exact namespaces
DECLARE ISF_NS NAMESPACE 'http://www.ibm.com/xmlns/prod/ftm/isf/v3';
DECLARE XSI_NS NAMESPACE 'http://www.w3.org/2001/XMLSchema-instance';

-- ISF output location (inbound mapper)
-- OutputLocalEnvironment.PMP.ISF.XMLNSC

-- Set xsi:type on polymorphic element (e.g. PartyRole)
SET rPartyRole.(XMLNSC.Attribute){XSI_NS}:type = 'isf:DebtorRole';

-- Set XML attribute (e.g. Currency on InstructedAmount)
SET rAmount.(XMLNSC.Attribute)Currency = 'USD';

-- Iterate objects in action flow
DECLARE refObj REFERENCE TO
  Environment.PMP.Variables.Transition[Environment.PMP.Variables.IterationCount]
  .TransObjects.Object[1];
WHILE LASTMOVE(refObj) DO
  MOVE refObj NEXTSIBLING REPEAT NAME;
END WHILE;

-- Delete empty optional ISF element (prevents validation errors)
IF NOT EXISTS(rCT.{ISF_NS}RemittanceInformation.*[]) THEN
  DELETE FIELD rCT.{ISF_NS}RemittanceInformation;
END IF;

Debugging Checklist

  1. Check OBJ_BASESTATE, SUBTYPE, LAST_UPDATED_TS
  2. Check MQ event queue depth (unprocessed events)
  3. Check EVENT_BASE for unprocessed events for this transaction
  4. Check FSM_TRANSITION for expected events in current state
  5. Check OBJ_OBJ_REL for correlation issues
  6. Run mqsireadlog | mqsiformatlog for ACE flow errors
  7. Check SERVICE_PARTICIPANT_BASE — is target SP ACTIVE?
  8. Check OAC for PMP_Alert states needing operator action

Error Handling Rules

  • Every processing path needs a PMP_Alert state for failures
  • Every alert state must have Constraints: Cancel / Resubmit / Release
  • Mapping failures → E_MpInMappingAborted → alert state
  • Batch failures cascade to all child transactions
  • Always provide a manual operator reset path in the FSM

Reference Files

  • references/architecture.md — TPE, data model, interface config hierarchy
  • references/fsm.md — FSM components, stereotypes, standard events, design checklist
  • references/mapping.md — ISF structure, ESQL/Java/WTX mapper templates, pitfalls
  • references/patterns.md — All 15 patterns with implementation steps
  • references/development.md — ACE CLI, RSA workflow, DB2 queries, Docker debug
安全使用建议
This is a reference-style FTM expert assistant and appears internally consistent. It will provide architecture notes, DB2 queries, ESQL/Java mapper templates and operational CLI commands (ACE/MQ/DB2/Docker). Before acting on any operational commands the skill suggests, verify them in a safe, credentialed environment — do not paste secrets into chat. Because the skill can suggest commands that touch infrastructure, only run them if you understand the environment and have appropriate permissions. If you want to limit exposure, keep the skill user-invocable (do not make it always-on) and avoid providing credentials or copies of sensitive configuration inside the chat.
功能分析
Type: OpenClaw Skill Name: ftm-copilot Version: 1.0.0 The 'ftm-copilot' skill is a comprehensive knowledge base and assistant for IBM Financial Transaction Manager (FTM). The bundle consists of technical documentation, ESQL/Java code templates, and architectural patterns (SKILL.md, references/*.md). While it includes administrative CLI commands for IBM ACE, MQ, and DB2 (development.md), these are provided as reference material for developers and do not contain automated execution logic or malicious intent. No evidence of data exfiltration, prompt injection attacks, or unauthorized system access was found.
能力评估
Purpose & Capability
Name/description claim an IBM FTM expert assistant and the included SKILL.md plus seven reference docs provide exactly that: architecture, FSMs, mapping templates, DB2/MQ/ACE commands and development guidance. The skill requests no unrelated binaries, env vars, or config paths, so the requested surface is proportional to the stated purpose.
Instruction Scope
Runtime instructions are to act as an FTM expert and trigger when FTM-related topics are mentioned. The reference files include operational CLI commands (mqsicreatebar, mqsideploy, db2 -tvf, docker exec, runmqsc) which, if executed by a user or operator, interact with local infrastructure and may require credentials — but the SKILL.md itself does not instruct the agent to read local files, environment variables, or to exfiltrate data. Recommend caution: the skill can produce actionable operational commands that a user might copy-paste into privileged environments.
Install Mechanism
No install spec and no code files to install. This instruction-only format has minimal installation risk (nothing is automatically written to disk or downloaded).
Credentials
The skill declares no required environment variables, credentials, or config paths. Reference content shows commands that typically require credentials (DB2, MQ, Docker) but those are typical for the domain and not requested by the skill itself.
Persistence & Privilege
Skill is not forced-always (always: false) and uses default autonomous invocation settings. It does not request persistent system configuration changes or cross-skill configuration access.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ftm-copilot
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ftm-copilot 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of ftm-copilot — your expert IBM Financial Transaction Manager (FTM) knowledge base and development assistant. - Provides deep architectural, design, and implementation guidance for IBM FTM and its ecosystem (ACE, MQ, DB2, RSA, ITX, WAS, ODM). - Includes a detailed stack overview, core runtime flows, and key DB2 database schema documentation. - Documents the full set of 15 canonical FTM patterns and their use cases. - Offers concise ESQL code snippets for ISF mapping and FTM object handling. - Supplies a step-by-step debugging checklist and clear error handling best practices. - Reference sections point to implementation, architecture, FSM design, and mapping resources.
元数据
Slug ftm-copilot
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

FTM Copilot 是什么?

Expert-level IBM Financial Transaction Manager (FTM) knowledge base and development assistant. Invoke this skill whenever the user mentions FTM, IBM Financia... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 138 次。

如何安装 FTM Copilot?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install ftm-copilot」即可一键安装,无需额外配置。

FTM Copilot 是免费的吗?

是的,FTM Copilot 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

FTM Copilot 支持哪些平台?

FTM Copilot 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 FTM Copilot?

由 Shoaib Khan(@shoaibkhan)开发并维护,当前版本 v1.0.0。

💬 留言讨论