FOUDF

FOUDF is a skill for Claude Code, Codex from kings0527/agent-skills. It costs 0 tokens per session (4,261 once invoked), scanned A, original, MIT.

A general framework for thinking through complex decisions with many connected factors and uncertain outcomes. It examines relationships, layers of explanation, probabilities, limits, and how people or systems affect one another.

In plain words
What is it for?
Use it to compare technology architectures, choose between treatment options, assess policies, or make other difficult decisions involving trade-offs.
Why use it?
It helps avoid judging each factor separately when the factors can interact or create chain reactions. It also makes assumptions, uncertainty, and possible failure points easier to notice.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to compare technology architectures, choose between treatment options, assess policies, or make other difficult decisions involving trade-offs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kings0527/agent-skills/foudf
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.

Any agent
npx skills add kings0527/agent-skills --skill foudf
Clone the repo
git clone --depth 1 https://github.com/kings0527/agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for FOUDF

README.md
[![agentmods](https://agentmods.dev/badge/skills/kings0527/agent-skills/foudf/github.svg)](https://agentmods.dev/skills/kings0527/agent-skills/foudf)
Your own site
<a href="https://agentmods.dev/skills/kings0527/agent-skills/foudf"><img src="https://agentmods.dev/badge/skills/kings0527/agent-skills/foudf/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for FOUDF

Your own site · 80×15
<a href="https://agentmods.dev/skills/kings0527/agent-skills/foudf"><img src="https://agentmods.dev/badge/skills/kings0527/agent-skills/foudf.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,261 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00000 $0.04261
Opus 5 $0.00000 $0.02131
Sonnet 5 $0.00000 $0.00852
Haiku 4.5 $0.00000 $0.00426

Measured 9d ago against content hash c8c3a7fc38cf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

FOUDF 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 9d 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.

FOUDF/SKILL.md · 261 lines

How it starts

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

Five-Operator Universal Decision Framework (FOUDF)

五算子通用决策框架

skill_name: Five_Operator_Universal_Framework
version: 3.0
domain: 跨领域通用(技术/商业/政策/人际关系/健康/教育)
trigger: 当用户提出涉及多变量、长链条、高不确定性、需要权衡取舍的复杂决策问题时自动启用
warning: 本框架适用于任何复杂系统分析,严禁将其限定于金融投资领域

⚠️ 领域无关性声明

本框架是"元认知工具",非"金融工具"。

五个算子分别对应:

  • 拓扑学(关系结构)
  • 认识论(表象与本质)
  • 统计学(不确定性量化)
  • 物理学(边界条件)
  • 博弈论(智能体互动)

它们适用于:选择大学专业、评估技术架构、分析亲密关系、制定公共政策、医疗方案选择等任何涉及复杂权衡的场景。


1️⃣ Operator: System(系统/拓扑算子)

抽象定义 **任何对象都是关系网络中的节点。**分析该节点与网络的连接方式(度中心性、中介中心性)、信息流方向、反馈回路极性(正/负反馈)、级联失效路径。

跨领域映射

领域 网络节点 连接关系 级联风险
金融 资产标的 政策-地缘-天气-库存 政策干预导致价格冻结
技术 微服务模块 API调用链、数据库依赖 单点故障引发雪崩
人际关系 你的职业选择 家庭期望、社会评价、经济需求 父母反对→情感勒索→决策瘫痪
公共政策 垃圾分类政策 市民习惯-回收产业-执法成本 执法成本过高→政策名存实亡
医疗 某治疗方案 药物相互作用、生活方式、心理状态 药物A改善X但恶化Y症状

检查清单

  • 绘制关系图:至少识别3个直接关联节点和1个间接关联节点
  • 反馈极性:是正反馈(马太效应/恶性循环)还是负反馈(调节平衡)?
  • 鲁棒性测试:移除哪个节点会导致网络崩溃?(单点故障识别)
  • 涌现特性:整体是否具备部分之和没有的特性?(如:个体理性→集体非理性)

常见误区

  • 原子论谬误:将系统拆解为独立变量逐一优化,忽视涌现特性
  • 静态快照:忽视动态演化(如:今天的关系状态≠明天的状态)

2️⃣ Operator: Layer(分层/穿透算子)

抽象定义 **现象与本质之间存在多个解释层。**必须区分:符号层(名称/标签)、操作层(机制/流程)、结构层(架构/关系)、本质层(物理/社会/心理现实)。你在哪一层下注?上一层的变化如何穿透到下一层?

跨领域映射

领域 符号层 操作层 本质层
金融 "某资产产品"(产品名) 期货合约+管理费率 对赌气候/政策的衍生品
技术 "云原生架构"(buzzword) K8s+微服务+DevOps流程 组织沟通结构的技术外化(康威定律)
教育 "名校文凭"(标签) 课程考核+社交网络 社会阶层筛选信号(Signaling)
亲密关系 "他不爱我了"(感受描述) 互动频率下降+冲突回避 依恋类型不匹配+需求未被看见
医疗 "抑郁症"(诊断标签) 药物+心理咨询+作息调整 炎症反应+社会孤立+认知模式纠缠

检查清单

  • 层间损耗:上层变化传递到下层的信息损耗率是多少?
  • 延迟时间:政策出台(结构层)到个体感知(体验层)需要多久?
  • 错配识别:是否存在"上层繁荣、下层枯竭"?(如:公司财报好但员工 burnout)

常见误区

  • 范畴错误:把某层属性套用到另一层(如:把"名校标签"等同于"能力提升")
  • 表层依赖:被符号层包装误导(如:"有机食品"标签≠实际无农药)

3️⃣ Operator: Probability(概率/分布算子)

抽象定义 **世界不是二元开关,而是概率分布。**任何预测都应表述为情景树:各分支的概率权重、条件概率更新机制、期望值计算、方差/偏度/肥尾风险。

Read the full file on GitHub · 261 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 261 lines · 0 tokens per session scan A c8c3a7fc38cf

Subscribe to this mod's changes

FOUDF is a skill published in the GitHub repository kings0527/agent-skills (5 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 4,261 tokens. 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-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens