AI coding agent skill for the First Principles Framework (FPF) by Anatoly Levenchuk.
FPF is a transdisciplinary reasoning architecture for systems engineering, knowledge coordination, and mixed human/AI teams.
FPF is a thinking amplifier — it helps you plan deeper and make better decisions by systematically exploring relevant alternatives instead of anchoring on the first idea.
This skill functions as agentic RAG — retrieval-augmented generation driven by the agent itself, with no external vector database or embedding pipeline. The upstream FPF specification is split into a two-level hierarchy (15 directories, 349 files). SKILL.md provides a thinking-verb router that maps the user's intent to the right section, including choosing a practical entry, applying a pattern to its first useful result, recovering candidate Methods from Work evidence, steering ongoing Work, comparing finite configuration changes, clarifying learning claims, navigating a DPF suite, assembling framework publication forms, synthesizing architecture across non-isomorphic practice structures, developing capability for named Work, synthesizing source ontologies without flattening their local meanings, recovering project/process/case subjects and roles, tracing outside-use dependencies, distinguishing relations from occurrences, transforming epistemes, reasoning about decisions, causality, time, architecture, and structural adequacy, publishing stable multi-view artifacts, governing ontic admission, refreshing SoTA packs, and tracing provenance. The agent then navigates _index.md files to pick the narrowest sub-section and loads only that into context. The agent is the retriever, the router, and the reasoner — all in one loop.
npx skills add CodeAlive-AI/fpf-problem-solving-skill -gsections/
05-part-a---kernel-architecture-cluster/
_index.md # TOC with descriptions of all sub-sections
01-a-0---onboarding-glossary.md # 248 lines
02-a-1---holon-ontic-foundation.md # 356 lines
... # 25 sub-sections total
09-part-c---kernel-extension-specifications/
_index.md
... # 77 sub-sections
... # 15 directories total
The agent reads _index.md first, picks the right sub-section file, and loads only that.
| # | Section | Sub-sections |
|---|---|---|
| 01 | Title page | 0 |
| 02 | Table of Contents | 0 |
| 03 | FPF Readme | 9 |
| 04 | Preface | 21 |
| 05 | Part A — Kernel Architecture | 25 |
| 06 | A.IV.A — Signature Stack & Boundary | 27 |
| 07 | A.V — Constitutional Principles | 43 |
| 08 | Part B — Trans-disciplinary Reasoning | 25 |
| 09 | Part C — Kernel Extensions | 77 |
| 10 | Part D — Ethics & Conflict | 5 |
| 11 | Part E — Constitution & Authoring | 64 |
| 12 | Part F — Unification Suite | 22 |
| 13 | Part G — SoTA Patterns Kit | 15 |
| 14 | Part H — Reserved | 0 |
| 15 | Part I — Annexes | 1 |
When the upstream FPF specification changes, two things need updating:
Clone the official upstream ailev/FPF into a temporary skill layout outside this repository, then run the splitter there and replace the tracked sections/ tree with the generated result:
tmpdir="$(mktemp -d)"
mkdir -p "$tmpdir/skill/scripts"
git clone https://github.com/ailev/FPF.git "$tmpdir/skill/FPF"
cp scripts/split_spec.py "$tmpdir/skill/scripts/split_spec.py"
python3 "$tmpdir/skill/scripts/split_spec.py"
rsync -a --delete "$tmpdir/skill/sections/" sections/
rm -rf "$tmpdir"The section files are raw content — SKILL.md is the navigation layer on top.
After regenerating, review whether the thinking-verb router, use cases, or Section INDEX
in SKILL.md need updating to reflect new, changed, or removed content.
See FPF-SKILL-UPDATE-GUIDE.md for the full methodology: what to check, how to validate router entries, and how to run an FPF self-audit on the skill file itself.
- FPF specification: Anatoly Levenchuk — github.com/ailev/FPF
- Skill packaging: CodeAlive-AI
MIT