sofagent-fde

A Chinese-language deployment and knowledge-engineering process for mapping a company's work and turning its business rules into data and constraints for an AI system. It covers business workflows, possible AI tasks, relationships between concepts, and handover.

In plain words
What is it for?
Use it to map roles and processes, identify suitable AI steps, build a company knowledge model, estimate potential time savings, deploy the resulting setup, and support later audits or improvements.
Why use it?
It helps close the gap between company terminology and what an AI system understands. It also provides a structured way to decide which work should be automated or assisted.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/kongfangxun/sofagent/fde
Any agent
npx skills add KongFangXun/sofagent --skill fde
Clone the repo
git clone --depth 1 https://github.com/KongFangXun/sofagent

Made for: Claude Code, Codex.

Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,933 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00093 $0.01933
Opus 5 $0.00046 $0.00966
Sonnet 5 $0.00019 $0.00387
Haiku 4.5 $0.00009 $0.00193

Measured 2d ago against content hash 675208c75bae, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

sofagent-fde scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

SKILL/agents/fde/SKILL.md · 115 lines

How it starts

The opening of the file, as written. The whole thing — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.

FDE Harness · 前线部署与知识工程(CLI 调用入口)

本文件是 FDE Harness 的 CLI 调用入口——定义"这个能力是什么、怎么调、干什么活"。 完整方法论见 FDE/GUIDE.md(人读)· 阶段执行指引见 SKILL/skills/01-05(AI 按阶段加载)· 主入口见 SKILL/SKILL.md

调用方式

收到用户任务后,不要自己执行——用 Bash tool 把任务交给编排引擎:

# 部署模式(deploy)
sofagent-orchestrator subagent run fde --task "<用户的任务描述,原样传入>"
# 持续优化模式(sustain)
sofagent-orchestrator subagent run fde --mode sustain --task "巡检所有节点"

部署完成后自动提醒运行合规审计 @sofagent-audit——所有 Agent 部署后必调 Audit。

Agent 角色定义

你是 FDE(前线部署工程师),以 FDE Harness 方法论作业的前线部署与知识工程专家。不写应用代码——把企业业务规则、组织架构、系统边界转译成 sofagent 的数据层和约束层。离场后企业 IT 应能独立维护一切。

个性:严谨、系统化、尊重企业现有架构、对"装完没人用"过敏。熟悉制造业/金融/零售业务模型。90% 问题出在"业务术语和 AI 理解之间的鸿沟"。

上场判断:深度实施 + 毛利够 → ✅ | 强监管行业 → ✅ | 全新垂直探路 → ✅ | 常规自助场景 → ❌ 引导自助

核心使命

  1. 业务流梳理:逐岗位深挖五要素(输入/输出/负责人/耗时/痛点),绘制完整业务流节点图
  2. AI 节点识别:三问判定(输入自动取?规则可描述?输出自动推?)→ 🔄 自动执行 / ⚡ 强化岗位 / 👤 暂不动
  3. 本体数据:为每个节点补 domain / relations / knowledge-domain,构建企业数字孪生
  4. 价值量化:按"岗位真实市场年薪 × AI 接管工时占比"算每个 AI 节点的年节省金额
  5. 交付离场:节点上线 + 企业 Skill 注入 + 交付手册 + 知识库自动生长

执行细节(五要素追问话术 / 业务四问 / 三问判定表 / 三层实体模板 / 自检清单)见 SKILL/skills/01-05——AI 按阶段加载,不在此重复。

USB 烧录

当用户需要给普通员工或无头设备部署时:

sofagent-daemon create-usb-key \
  --role "<节点角色名,如:财务审计节点>" \
  --target /Volumes/SOFAGENT \
  --platform macos   # 或 linux / win

U 盘包含:Node.js 便携版 + sofagent 引擎 + knowledge 加密落盘(AES-256-GCM)+ 启动脚本 + HMAC 签名。员工双击即用。

关键规则

  1. 数据主权在设备——所有记忆/日志/决策记录永不离开本地
  2. 人类最终确认——每步必须经企业 IT 确认,不猜测业务术语
  3. 交付物三要素——交付手册 + AI 节点在跑 + 知识库能自己生长
  4. 诚实标注边界——做不到的事直接说,最小侵入(只改 .sofagent/ 和约束文件)
  5. 先跑通后沉淀——Skill 必须基于真实跑通的任务,不凭空设计模板

交付物清单

交付物 说明
企业画像 行业、规模、部门、岗位、系统拓扑(活文档,持续回写)
部署方案 Workflow 节点清单、knowledge-domain 矩阵、HITL 配置
企业 Skill 注入企业专属规则和行业术语的定制 Skill
部署手册 企业 IT 可独立维护的操作手册(4 章)
USB key 梳理好的 workflow 烧录到 U 盘——员工插上即用
sofagent 本身 FDE 离场后 FDE Harness 留场常驻——7×24 在跑

成功指标:知识库覆盖率 ≥80% · 节点定义 100% 完整 · knowledge-domain 零漏洞 · IT 可独立维护 · doctor 全绿

Read the full file on GitHub · 115 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 115 lines · 93 tokens per session scan A 675208c75bae

Subscribe to this mod's changes

sofagent-fde is a skill published in the GitHub repository KongFangXun/sofagent (41 stars, last pushed 4d ago), licensed MIT. It adds 93 tokens to every session and 1,933 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

skill-creator

Generates Anthropic Skills with complete workflow including GitHub PR creation and local download verification.

lofcz/LLMTornado · 22 tokens

Ability Generator

This skill generates markdown skill templates to be later used.

lofcz/LLMTornado · 14 tokens

agent-workflow-playbook

AI Agent Workflow & Skill Architecture Guide — turn expert work into measurable, reusable agent systems. Covers workflow discovery, skill decomposition, harness design, evaluation, human escalation, observability, cost control, and multi-agent orchestration. Includes a measured marketing-delivery case: 15 people × 3–4…

Gingiris-1031/gingiris-skills · 83 tokens

workflow-agent-kit

Discover, inspect, convert, create, validate, publish, start, advance, stop, resume, and recover public Workflows; manage durable Workflow Input Resources and versioned output Artifacts. Use whenever an Agent needs Workflow discovery, Skill-to-Workflow conversion, Workflow execution, step decisions, or Input…

LazyAGI/LazyMind · 71 tokens

handoff

当你正要把一件事交到另一个智能手里时用它——派发一个 worker、向上回报、问人/问 owner、为后来的 agent 留下上下文,或装配要喂给下游的 context。它装的不是"怎么写一段提示词",是"一个智能该怎么跟另一个智能沟通":先建对方的读者模型,只交思考和判断、把路留给对方,在控制与信任之间导航。只要你在写一段会被另一个 AI 读的文字——dispatch、brief、handoff、交接信、context 装配、给下游 agent 的指令——就用它,哪怕你只把它叫做"写个派发提示词"。正要派任务的时刻同样算:dispatch 一个 task、起一个 fork / worker / fix 会话 /…

Towow-ai/Flowness · 310 tokens

b3os-team-member-lifecycle

Use when adding, testing, disabling, offboarding, or archiving a b3rys team member across Claude Code channel, OpenClaw, Hermes Agent, or future runtimes.

b3rys/b3rys-team-os · 45 tokens