/ai-driven-development:fpf-problem-solvingfrom ai-driven-development
Applies the First Principles Framework (FPF) Library with 36 domain frameworks for rigorous reasoning: decompose problems, architect systems, decide under uncertainty, establish causality, design control loops, and apply field methods for strategy, OKR, operations, research, and systems engineering.
Ships in ai-driven-development. 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.
Read when SKILL.md points to them.
A transdisciplinary architecture for reasoning — an "Operating System for Thought" that turns raw intelligence, human or machine, into organisationally usable reasoning: bounded contexts, auditable artefacts, multi-view descriptions and disciplined hand-offs.
The Library has two layers, both stored locally:
sections/) — transdisciplinary patterns with IDs such as A.7, C.11.DUA, F.19.dpfs/) — methods of one field, with IDs such as GOALS.7,
STR.18, RMP.7, most of them grouped into four Suites (Management, Engineering, Foundational
Thinking, Human Capability Engineering). A DPF method builds on the Core patterns it names.Use FPF whenever you need to think more rigorously than the situation's default:
Paths are relative to this skill's directory. One script resolves every reference and says where to start:
python3 scripts/find_pattern.py C.11.DUA # card: use when / not when, family, section lines
python3 scripts/find_pattern.py C.38 C.40 SYSE.24 # one card each, to choose
python3 scripts/find_pattern.py HCD.12:4.1 # the line of a section
python3 scripts/find_pattern.py GOALS # a framework: entries (situation → start with), patterns
python3 scripts/find_pattern.py FPF # the Core's practical entries and parts
python3 scripts/find_pattern.py --search okr # ranked English-word search
Without Python: grep -F "| C.11.DUA |" PATTERN-INDEX.md (file in the third column).
| What you have | Go to |
|---|---|
| A pattern ID, section reference or DocID — "apply F.19", "use C.11.DUA", "GOALS.7", "HCD.12:4.1", "EXD" | Resolve it with find_pattern.py and read that file (Step 2) once the text, answer or task to apply it to is at hand. Skip the maps. |
| A familiar trouble in work with an agent, a text, sources, an explanation, options or a plan | Map C — Common troubles |
| A question inside a field — strategy, goals/OKR, operations, marketing, finance, research, decisions, systems engineering, software architecture, delivery and reliability, AI-agent work, knowledge access, mathematics, explanation, teaching people | Map B — Domain frameworks |
| A general thinking need — decompose, identify, decide, compare, establish cause, architect, revise, publish | Map A — Core router |
| Nothing above fits, or you are unsure | find_pattern.py --search <one to three English words> (translate a non-English request; partial matches are weak evidence), or find_pattern.py FPF for the Core's practical entries |
Before reading a pattern:
find_pattern.py. If
none fits, ask the user one clarifying question rather than forcing a pattern.For a general thinking need, read references/core-router.md: one row per need, with the Core section and the patterns to start with. Its groups and needs:
find_pattern.py <DocID> prints a framework's entries and patterns — usually the fastest second step;
a Suite name (Management, Engineering, Foundational, HCE) prints its "Choose an entry" table.
| Field | Frameworks (DocID — what it works on) |
|---|---|
| Management | STR — direction, investment, business models, the strategizing mantra STR.18 · GOALS — goals and OKR/CFR: achievement evidence (GOALS.2), feasibility across shared people and capacity (GOALS.3), revising or ending a goal (GOALS.4), assigning work to AI agents (GOALS.7) · OPS — operations, service delivery, queues, capacity · ADM — requests, permissions, obligations, records · CGOV — corporate governance · MA — management accounting, costs, forecasts · FIN — corporate finance · MKT — markets and customers, offers, acquisition, distribution, market entry · CUST — client variation and repeatable offerings · EAM — engineering asset renewal and replacement · LDR — leadership, joint direction · CB — communities and participation · OCE — organizational change: roles, authority, capabilities · HRM — workforce, selection, reward, voice |
| Engineering | SYSE — systems engineering: system and use concepts, architecture, build/buy/reuse (SYSE.24), integration; its software and AI-agent parts are the next row · KCAE — finding, reading and using documentary knowledge, search that finds nothing · SIE — semantic integration across separately governed meanings · CAD — control architecture: observations, memory, planning and feedback · MNT — maintenance and restoration after failure |
| Software and AI-agent engineering | SYSE, by its software and agent parts — software arrangements (layers, pipelines, plugins, services, events) compared by mechanism (SYSE.6:4.4); domain behaviour made explicit with EventStorming (SYSE.54); a delivery and recovery path (SYSE.30–SYSE.41, connected in SYSE.Reference:5 §5.2): builds, CI and flaky feedback (SYSE.31), environments, schema or data migration with a recovery boundary (SYSE.34), deployment and partial failure (SYSE.41), release exposure (SYSE.35), reliability objectives and alerts (SYSE.36, SYSE.37), diagnosis and restoration (SYSE.38), capacity, retries and overload (SYSE.40); agent work and support (SYSE.42–SYSE.52, entries in find_pattern.py SYSE): using a tool's result, external memory, dividing work across agents, testing an agent, its execution procedure |
| Foundational thinking | MATH — mathematical objects, proofs · MMP — mathematical modeling of a subject question · PHY — physical accounts and idealizations · CMP — algorithms under correctness and resource conditions · NOT — notation: tables, diagrams, formulas people can read, trace and change |
| Human capability | HCD — human capability development: what to teach for later work, programmes, feedback, assessment, transfer · SOM — somatic movement, effort and coordination |
| Decisions and research | PSDA — decision design: reformulate the problem, construct alternatives, compare consequences and uncertainty · RMP — research method: frame and design research, criticize evidence, synthesize studies (RMP.7) |
| Explanation and narrative | EXD — explanation design: what the recipient needs explained, examples, repair in dialogue · NSTD — followable narratives and working accounts that keep relations, uncertainty and source returns |
| Economics and finance modeling | ECO — exchange, commitments, incentives, shared resources, coordination · FDM — financial positions, rights, obligations, payment flows |
| Practice change and spread | IS — implementation facilitation: put an evidence-informed practice to use locally · DTM — how practices persist and spread, and how protective action changes outcomes |
| Rhythm, music and dance | RHY — embodied rhythmics · MDPE — music and dance practice engineering |
The Library's own map of how these fields connect: dpfs/_index.md (catalogue) and
library/reference/_index.md (Library Architectural Reference).
Frequent situations in work with an agent, as people notice them. The first ID is where to start; an ID
after · covers the neighbouring case named before it. For a near miss, compare cards: find_pattern.py C.42 A.11.OP.
| What went wrong | Pattern |
|---|---|
| The answer itself | |
| Bureaucratic, mumbling text with needless caveats | F.19 |
| Asked for expertise, the agent repeats "not proven, not verified" instead of giving a judgment from the available evidence | C.11.DUA |
| After a long dig into details, the original question is still unanswered | C.39.QR |
| "Make it three times shorter" drops what matters or turns "sometimes helps" into "always works" | A.6.3.CSC |
| A written plan passed off as done work, a description as a running system, a tool as a skill | A.7 |
| Working with an agent over time | |
| Hand over a job without nudging after every step: the result, means, authority and a clear "done" | GOALS.7 |
| Continue after a break or a handoff from the right place, with what is done and what remains | A.15.10 |
| After "no, I meant something else", redo the reasoning and conclusions that depended on it | B.5.RR |
| A discussion that goes nowhere: work through objections, combine useful ideas, reach an answer | B.5.SD when no shared answer has been built · CB.13 when no one has the mandate to decide (unsure which: ask) |
| Explaining and writing | |
| Explain exactly where the reader stopped understanding, with an example that shows how it works | EXD.4 repair in dialogue · EXD.2 the example · EXD.1 when it is unclear what needs explaining |
| Turn scattered thoughts into a text people can follow that still sounds like its author | NSTD.1 purpose and what must survive · NSTD.3 missing connections · B.5.WN while they are still working notes |
| A twenty-section review that never shows how the whole subject fits together and why | C.39.WA |
| A table, diagram or formula nobody can search, trace or change | NOT.7 · NOT.6 when a formula, table and diagram must change together |
| Sources and evidence | |
| Recover what an author means by familiar words before inventing a meaning | F.0.1 |
| "Author A thinks…, author B…" — compare their ideas and show what follows from them together | F.0.2 |
| Choose what is worth reading for the question instead of fifty random links | F.1 |
| "Nothing found" — reformulate queries, read the sources themselves, state what they give the answer | KCAE.SEARCH · KCAE.ASSESS for what a found source supports |
| Trace each important claim to a source that actually supports it | A.10 |
| A pile of studies: where they agree, why they differ, how many independent results versus retellings | RMP.7 |
| Explanations and options | |
| The agent falls for the first plausible explanation | B.5.2 |
| "It is all because of X" → how X produces the result, rival causes, observations that tell them apart | C.28.CM |
| Five "different" options that are one idea under five names | C.40 · ways to obtain one result → C.38 · structures of a system → C.32 |
| "We have only two options and both are bad" — restate the problem, find other moves, compare consequences | PSDA.1 → PSDA.5 → PSDA.8 |
| Systems, strategy and ways of working | |
| "Improve collaboration" or "adopt AI" without a way to get the result: who does what, with what, how actions connect | C.39 |
| A project whose answers to "for whom and why", "how it works", "what it is made of" and "who builds it" do not line up | A.1.STM |
| Only one system design on the table: alternative structures, what each part does, and what each sacrifices | C.32 (it starts from one described system, C.30) · from an outside need through structure to a decision → C.32.P2S |
| Buy, build or "give it to AI": the same result compared by implementation, upkeep and later exit | C.38 · inside an engineering project → SYSE.24 |
| A fashionable practice, a rewrite or a replacement versus how you already work: the real gain, switching and running costs | C.11.CRC |
| "Collect metrics and make a plan" → who chooses which action from which observations, and when to change the decision | C.43 |
| Strategy versus reality: the wanted result, the way to it, and enough people and money for every promise | STR.18 · field detail: MKT market, MA costs, FIN finance |
| Improving work | |
| What to improve next: where effort is lost or a useful result is missed, and which change pays off | C.39.WI |
| Remove make-work while keeping the needed result — including "time saved" by an agent that costs an hour to fix | C.42 · whether a mandatory step, check or record (proposed or already required) earns its place → A.11.OP |
| Reviews that actually improve the result: check that edits help, keep what worked, stop endless polishing | E.23 |
| Training after which people can do the new work, checked in the work rather than in a retelling | HCD.1 what later work needs · HCD.11 check in representative work · HCD.12 transfer |
Resolve every ID from a map with find_pattern.py: its use when and not when lines say whether the
pattern fits before you open the file. A framework's entries run Situation → Start with → Stop or return.
:1 Problem frame (does it fit the case?) and :4 Solution
first; some patterns open with :0 Use this when. Use :7 Conformance Checklist to check your own
result and :8 Anti-patterns to spot a known failure. :12 Relations names neighbouring patterns.
find_pattern.py prints the line of each part, so a long file can be read by line range.Use plain language for the user. Introduce FPF-internal names (U.Holon, Gamma, F-G-R)
only when they add precision the user needs. Stop at the first useful result — a practical entry's
"Stop or return" line says when (E.11.PUA). Cite the full ID (for example GOALS.7:4) when the user
may want to read the source. Your own answer is subject to the first group of Map C: say plainly what
you conclude (F.19, C.11.DUA) and bring it back to the original question (C.39.QR).
PATTERN-INDEX.md maps every ID to its file (generated). sections/ is the Core, one folder per Part with
an _index.md; dpfs/ the frameworks (dpfs/_index.md catalogue, Suite and framework _index.md
entries); library/USING-FPF.md the upstream rules for references, editions and citations.
Adapted from the FPF Library by Anatoly Levenchuk (ailev/FPF, upstream
commit 9d38fbfe4ce5b72d8fe05e839cbca0025a5b31cf), licensed under CC BY 4.0:
split into section files with generated indexes and local links; routing and Map C (a paraphrase of
Anatoly Levenchuk's cheatsheet of frequently used patterns) added. Not endorsed by the FPF author. Full
notice and the list of changes: README.md. Skill packaging and scripts: MIT.
FPF-SKILL-UPDATE-GUIDE.md (opens in a new tab)PATTERN-INDEX.md (opens in a new tab)README-RU.md (opens in a new tab)README.md (opens in a new tab)dpfs/_index.md (opens in a new tab)dpfs/dtm/01-dtm-reference-1---the-working-problem-and-field.md (opens in a new tab)dpfs/dtm/02-dtm-reference-2---how-the-language-holds-the-problem-togethe.md (opens in a new tab)dpfs/dtm/03-dtm-reference-3---a-connected-worked-inquiry.md (opens in a new tab)dpfs/dtm/04-dtm-reference-4---protection-and-the-simultaneous-method-ver.md (opens in a new tab)dpfs/dtm/05-dtm-reference-5---what-counts-as-a-useful-result.md (opens in a new tab)dpfs/dtm/06-dtm-reference-6---rationale-synthesis-and-alternatives.md (opens in a new tab)dpfs/dtm/07-dtm-reference-7---external-methods-and-publication-use.md (opens in a new tab)dpfs/dtm/08-dtm-reference-end.md (opens in a new tab)dpfs/dtm/09-dtm-1---distinguish-dependence-cooperation-and-parasitic-use.md (opens in a new tab)dpfs/dtm/10-dtm-2---build-a-transmission-law-from-exposure-and-uptake.md (opens in a new tab)dpfs/dtm/11-dtm-3---couple-change-within-carriers-to-spread-between-them.md (opens in a new tab)dpfs/dtm/12-dtm-4---find-conditions-for-variant-invasion-persistence-and.md (opens in a new tab)dpfs/dtm/13-dtm-5---separate-selection-within-and-among-collectives.md (opens in a new tab)dpfs/dtm/14-dtm-6---model-competition-and-facilitation-between-variants.md (opens in a new tab)dpfs/dtm/15-dtm-7---locate-diversion-of-a-shared-control-or-cooperation.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub codealive-ai/ai-driven-development --plugin ai-driven-development22 skills in this plugin
/agentic-readinessAudit and improve repositories for reliable agentic work across Codex and Codex App, Claude Code, and OpenCode. Use when reviewing AGENTS.md or CLAUDE.md quality and discovery, instruction routing in monorepos or meta-repos, agent settings, MCP configuration, skills, subagents, context budgets, or repository organization for coding agents./bug-fix-protocol8-step disciplined bug-fix protocol that treats every production bug as two failures — the code defect itself and the testing system that allowed it through. Use when fixing a production bug, investigating a regression, writing a post-mortem, or auditing a missed defect. Triggers on "fix this bug", "production bug", "regression test", "post-mortem", "test gap", "why did the tests miss this"./clipboardCopy text to clipboard with optional rich formatting. Triggers on "copy to clipboard", "copy that", "pbcopy", "copy formatted", "copy rich text"./code-that-fits-in-your-headHeuristics for the shape of code inside one code base, after Mark Seemann's Code That Fits in Your Head (2021), updated for coding agents: units small enough to hold in mind, invariants in types, APIs hard to misuse, explicit effects. Use when writing or reviewing code, refactoring accidental complexity or a Big Ball of Mud, controlling technical debt in generated code, designing a type, an invariant or an in-code API, decomposing a long function or a tangled module, replacing a method or class side by side (Strangler), reading or measuring an unfamiliar code base, debugging a defect by hypothesis and bisection, setting up a maintainable code base, or turning a recurring finding into a lint or CI gate. Not for choosing, writing or repairing tests, TDD included (pragmatic-verification), choosing a design, state ownership, migration or rollout, or threat modelling (pragmatic-architecture), security audits, production incident response, performance profiling, or language and framework tutorials./coding-agents-managementManages MCP servers, lifecycle hooks, agent settings, permissions, rules, and plugins across Antigravity (App 2.0, IDE, CLI agy), Claude Code/Desktop, Codex CLI/App, OpenCode, Devin, Cursor, Grok Build, Gemini CLI, Qwen Code, Kimi Code, Hermes, Oh My Pi (omp), and VS Code. Use when adding or debugging MCP servers, automating tool hooks, configuring TOML/JSON/JSONC settings and sandboxes, or scaffolding, validating, and publishing plugins. Do not use for authoring, auditing, optimizing, or deduplicating standalone SKILL.md skills — use skills-management instead./fetch-url-as-markdownFetch a web page (URL) and return clean Markdown via local trafilatura, with Exa MCP as a fallback for JS-rendered or anti-bot pages. Use when the user asks to read, fetch, scrape, summarize, or quote a URL — prefer this over the built-in WebFetch tool. Don't use for binary files (PDFs, images, archives) or for fetching API/JSON endpoints.Other plugins' skills for the same job