agentsclimarketplace

Fpf narrative

Skill dimonier/skills/skills/fpf-narrative

Custom agent skills that could be used by AI agents

Install
npx -y skills add dimonier/skills --skill fpf-narrative

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 4 stars4 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Generate compact, unambiguous FPF-structured output at F4-F5 formality level. Use when writing for AI agent consumers or FPF-literate humans where token economy and auditability matter: diagnostics, architecture decisions, code reviews, status reports, trust assessments, system compositions. Replaces verbose prose (F0) with typed-slot notation (~65% token savings, lossless). Do NOT use for: casual chat, teaching, non-technical audiences, creative tasks.

SKILL.md

20.8 KB, as published. Nobody here has run it

FPF Narrative Prose — Runtime

CONCEPTS

Ontology: output IS U.Episteme with filled U.EpistemeSlotRelation. Rendering IS Describe_EoC_DescEp: EntityOfConcern → DescriptionEpisteme.

U.System acts. U.Episteme does NOT. U.Work = run-time (Tᴿ), immutable. U.Method / U.MethodDescription = design-time (Tᴰ). Tᴰ and Tᴿ never mix in one slot.

U.Role = mask. U.RoleAssignment = System#Role:Context. Roles NEVER in parts lists. Holarchies = substantive holons only.

U.Transformation = bounded change of a holon under conditions. Base narrative unit (actions, events). U.Capability = system ability/envelope to enact a Method under conditions.

U.ClaimGraph = claim body of an Episteme (nodes=claims, edges=relations). U.ReferenceScheme = how claims bind to entities as statements about EntityOfConcern.

Γ aggregation: weakest-link. F_eff = min(F_i). R_eff = max(0, min(R_i) − Φ(CL_min)). All 5 Quintet invariants checked when [aggregation] present.

F-G-R-CL replaces "probably": F = formality (F0-F9), G = scope (supported only), R = [0,1], CL = congruence (CL0-CL3). Φ(CL): lower CL → larger penalty.

Evidence: verifiedBy (formal), validatedBy (empirical). SCR: scr://<domain>/<id>. ED: k × max(0, today − valid_until). valid_until null = perpetual (axioms/laws only). ED actions: Refresh / Deprecate / Waive.

ADI: ≥3 hypotheses in Abduction. ≥1 prediction per hypothesis. ≥2 tested in Induction (✓/✗). Never 1 hypothesis. Never delete falsified.

Strict distinctions: Role≠Function, MethodDesc≠Method≠Work, System≠Episteme, Episteme≠Carrier, Collective≠Set. Scan every output before emitting.

External transformer: holder(Agent) ≠ Target. No self-magic. Self-action → Reflexive Split: System = {Regulator, Regulated} with HolonDelimitation and HolonBoundaryCrossing.

FORMAT SELECTION

ConsumerTaskAudit?Formality
AI agentDiagnostics, ADR, review, trustYesF4-F5
AI agentStatus, work logSometimesF3-F4
FPF-literate humanADR, safety caseYesF4-F5
FPF-literate humanStatus, casual reviewNoF3 hybrid
Non-technical humanAnyNoF0 plain
Mixed (agent + human)AnyYesF4-F5 + 1-sentence plain

Rules: Default F0. Upgrade per table. Downstream consumer needs F4-F5 → whole chain uses F4-F5. Consumer unknown → F3 hybrid. Teaching → F0-F2 regardless.

Fallback:

SituationAction
Non-technical humanF0. No FPF notation.
Educational/trainingF0-F2.
Casual dialogue/chatF0.
Creative/brainstormingF0.
Consumer rejects FPFF0 or F3 hybrid.

Rendering mode: retelling-fidelity (recoverable to source-like text) vs structural-analysis (expose structure). Reconstruction-oriented task → retelling-fidelity: no generalization/conclusions in sourceClaims, do not erase source instances via pattern-compression.

OUTPUT TEMPLATE

```episteme id="<id>" context="<BoundedContext>"
section:
 claim-value [confidence: high/medium/low] [src: scr-ref]
 claim-value:
  sub-value

[aggregation]:           # only when claims compose
 F_eff = min(F_i)
 R_raw = min(R_i) along cutset
 R_eff = max(0, R_raw − Φ(CL_min))
 G_eff = SpanUnion({G_i})
 invariants:
  IDEM: ✓/✗  COMM: ✓/✗  LOC: ✓/✗  WLNK: enforced/cutset  MONO: holds/conditional

[assurance]:             # only when trust assessment
 F_eff = value
 G_eff = coverage
 R_eff = max(0, min(R_i) − Φ(CL_min))
 CL_min = CLk (edge description)
 Cutset: bottleneck path

[reasoning]:             # only when diagnostic/ADR
 Abduction:
  H₁: hypothesis
  ...  (≥3, recommend 5)
 Deduction:
  H₁ → prediction
  ...
 Induction:
  test(H₁): method → result ✓/✗
  test(H₂): method → result ✓/✗  (≥2 tested)
  src: scr-ref
 Conclusion: selected hypothesis; R = high/medium/low; falsified: [H…]

[evidence]:              # only when source has evidence
  verifiedBy: [proof-ids | pending]
  validatedBy: [test-ids | pending]
  valid_until: ISO-date | null
  ED: number

[style]:                  # optional; form descriptor; guides reconstruction, never becomes prose
  genre: <required — e.g. Russian folk tale / diagnostic report / ADR>
  register: <required — e.g. oral-colloquial, archaic / technical-neutral>
  voice: <optional; e.g. 3rd-person narrator, formulaic>
  devices: <optional; e.g. repetition-with-increment, rhyming refrain, epithets>
  signature: <optional; verbatim recurring surface, if load-bearing — e.g. song, catchphrase>
```
  • id and context on opening fence line are required.
  • Section names: free-form, source-derived. Dotted-notation for hierarchy.
  • Claims: indented values. No claim: prefix. Deeper indent = sub-claim.
  • [confidence] only when source expresses uncertainty.
  • [src] only when source has explicit reference.
  • [bracketed] sections: NEVER add unless source contains corresponding material.
  • sourceClaims = ONLY propositions present in or directly recoverable from the source. Interpretation, strategy analysis, method-step labels, cross-episode generalization, and conclusions the source does not state → [bracketed]. Litmus: "asserted by source, or inferred by renderer?" Inferred → bracket it.
  • [aggregation]: all-or-nothing. If present → all 5 invariants + fields present.
  • [reasoning]: ≥3 hypotheses, ≥2 tested. Never 1 hypothesis. Never delete falsified.
  • [evidence]: SCR: scr://domain/id. ED formula. valid_until null = perpetual.
Source typeTypical sectionsTypical bracketed
DiagnosticRootCause, Trigger, Path, Fix[reasoning] + [evidence]
ADRDecision, Context, Rationale, Tradeoffs[assurance] + [evidence]
ReviewIssue, Current, Problem, Fixnone
StatusProgress, Done, InProgress, Blockednone
Compositionparts[aggregation]
Trust claimclaim[assurance]
Explanation/bodysource-derivednone
Narrative sourcesource-derived sections[style]

[style] rules:

  • Optional. Fill when reconstruction must reproduce a recognizable source form (narrative, tale, legal, marketing).
  • genre + register required if [style] present; voice, devices, signature optional.
  • [style] is fpfMetadata: its content does NOT emit as prose claims.
  • Exception: reconstruction reads [style] as form instruction (genre/register/voice/devices, signature verbatim). All other [bracketed] omitted.
  • signature: optional within optional [style]. Fill only when a load-bearing recurring signature exists (refrain, catchphrase); otherwise omit.

FORMATTING RULES

Markers

MarkerMeaningRequired when
[confidence: high/medium/low]Claim certaintyUncertain claim
[pending]UnverifiedUnverified claim
[src: scr-ref]Source referenceSource-backed claim
Causality/sequenceTrigger chain
@Time windowWork record
#RoleAssignmentAction performer
Tᴰ / TᴿDesign-time / Run-timeMethod vs Work separation

Prohibitions

#NEVERWrongCorrect
1Preambles"I've reviewed your code…"Start with episteme id="..." context="..." fence
2Pleasantries"Hope this helps!"End at last slot value
3Unmarked uncertainty"probably a race condition"[confidence: medium]
4Mixed Tᴰ/Tᴿ"MethodDescription executed at 3pm"Tᴰ and Tᴿ in separate slots
5Episteme actions"The spec decided to require X"System#Role:Ctx updated carrier
6Role in partOfparts: [Cell, MonitorRole]RoleAssignment only
7Prose-in-slotsProblem: "service is down…"Typed sub-slots
8Non-English outputSlot values in Russian, etc.English; exceptions: proper names, wordplay, domain terms, quoted material

Mandatory per claim type

Claim typeMust include
Uncertainty[confidence: high/medium/low]
Source-backed[src: scr-ref]
Trust/reliabilityF, G, R, CL tuple
AggregationΓ flavor + Quintet invariants
EvidenceSCR reference
Action/executionSystem#Role:Context + Method or Work

HYBRID MODE

  • FPF block self-contained (parsable without plain text).
  • Plain text must not contradict or broaden FPF block.
  • Separate blocks with clear division.

RECONSTRUCTION CONSTRAINTS

Take ONLY source claims. Omit all [bracketed] content.

NEVER include in reconstructed prose:

FPF in sourceMust become in prose
[confidence: h/m/l]Omit; use ordinary qualifiers
[src: scr://...]Omit
[pending]Omit
U.* prefixesPlain words, no U.
Tᴰ / TᴿOmit or use ordinary equivalents
Γ_*Never appear
ComponentOf, ConstituentOf, PortionOf, PhaseOf"part of", "belongs to", or restructure
PhaseOf"during", "at time", or restructure sentence
PortionOf"part of", "amount of"
[aggregation], [assurance], [reasoning], [evidence] contentOmit entirely

Section names of the Episteme are scaffolding, not prose headings. Do NOT emit them as titles/labels in the reconstruction.

Reconstruction MUST be connected narrative in the genre and voice of the source (a tale reads as a tale, a diagnostic as a diagnostic), not a labelled dump of sections.

Pattern-compressed repetition (pattern: X → Y → Z, each encounter extends … by one) MUST be re-expanded into concrete instances in the reconstruction, matching the source's own unfolding.

FPF in sourceReconstruction must
Setup: / Encounters: section labelsDissolve into narrative flow; no heading
pattern: Predator threatens → sings → rolls awayRe-expand each encounter as its own passage
each encounter extends escaped-from list by oneActually list the growing sequence per encounter

Result: connected prose in the source's genre — section labels dissolved, repetition re-expanded, no brackets, no reference tokens, no FPF vocabulary.

If [style] is present, the reconstruction MUST adopt its genre, register, voice, and devices, and reproduce any signature verbatim. [style] is read as a form instruction; its lines never appear as labelled claims. All other [bracketed] sections remain omitted.

REFLEXIVE SPLIT

Rule: holder(Agent) ≠ Target. No self-magic. Self-action → split System into Regulator and Regulated:

ReflexiveSplit(System: <ID>):
 Regulator: <Subsystem₁>#TransformerRole:<InternalCtx>
 Regulated: <Subsystem₂>
 HolonDelimitation: <relation between Regulator and Regulated inside containing holon>
 HolonBoundaryCrossing: <relation crossing the delimitation (signal, control, flow)>
 Method: <U.Method>
 MethodDescription: <U.MethodDescription> [src: scr://…]
 Work: <U.Work> @ <time>, resources: <Γ_work>
 Evidence:
  externalObserver: <System#ObserverRole:Ctx>
  verifiedBy: [<proof-ids>]

EXAMPLES

Diagnostic (~80 tokens, 68% savings vs F0)

```episteme id="AuthService crashes" context="ProductionOps"
RootCause:
 JWTVerify executes after RateLimit [confidence: high]
Trigger:
 unauth req → RL exhaustion → legit lockout → cascade fail
Path:
 RateLimit → JWTVerify → null user → NPE → crash
Fix:
 reorder: JWTVerify → RateLimit [confidence: high]
 add null-check before user.* [confidence: medium]

[reasoning]:
 Abduction:
  H₁: middleware order incorrect (JWT after RL)
  H₂: RL pool exhaustion under unauth flood
  H₃: missing null-check on user object
  H₄: race in token refresh under load
  H₅: config mismatch session timeout vs refresh interval
 Deduction:
  H₁ → unauth reqs counted against RL
  H₁ → RL exhaustion blocks legit users
  H₂ → cascade: RL full → 429 → retry storm → crash
 Induction:
  test(H₁): reorder middleware → crashes stop ✓
  test(H₄): load test 1000 req/s → no race ✗
  src: scr://test/repro-2025-07-03

[evidence]:
 verifiedBy: [proof: middleware-order.sc, src: scr://proof/mw-042]
 validatedBy: [test: auth-load-2025-07, src: scr://test/alt-789]
 valid_until: 2026-01-01
 ED: 0
```

ADR (~100 tokens, 67% savings vs F0)

```episteme id="PrimaryDB" context="DataLayer"
Decision:
 PostgreSQL v16 as primary OLTP store
Context:
 NewPlatform#DataLayer:StorageCtx
Rationale:
 team: existing PostgreSQL operational knowledge; no MongoDB/CockroachDB ops experience
 system: PostgreSQL handles projected load with ≥3x headroom
 failure: PostgreSQL proven reliability vs MongoDB unknown failure modes for team
Tradeoffs:
 +cost: higher than managed NoSQL; acceptable within budget
 +overhead: ORM layer required; acceptable for team productivity

[assurance]:
 F_eff = F2 (structured plan, not yet deployed)
 G_eff = OLTP workload; analytical queries out of scope
 R_eff = max(0, 0.85 − Φ(CL1))
 CL_min = CL1 (plausible; pending load test validation)
 Cutset: load projection validation gap

[evidence]:
 validatedBy: [load-projection-model, src: scr://plan/capacity-2025-07]
 validatedBy: [team-survey, src: scr://hr/skills-matrix-2025]
 valid_until: 2026-01-01
 ED: 0
```

Status (~55 tokens, 61% savings vs F0)

```episteme id="AuthModule" context="ProjectTracking"
Progress: 72%
Done:
 Registration
 Login
InProgress:
 PasswordReset (ETA: 2026-07-08)
Blocked:
 TwoFactorAuth
 Issue: SMS provider contract pending
 RootCause: legal review not complete
 Fix: awaiting signature [pending]
Overall:
 on-track, ETA: 2026-07-15
 Risk: if SMS contract unsigned by Jul 9 → descope 2FA from release
```

SELF-CHECK

Answer all. If any answer is NO, repair.

#CheckMust be YES
1Formality selected from decision table?YES
2At least one section with ≥1 indented claim?YES
3[confidence] only when source has uncertainty?YES
4[src] only when source has explicit reference?YES
5Zero preambles, zero pleasantries, zero claim: prefix?YES
6No Episteme acting — all action verbs on System#Role:Context?YES
7No Role in parts/composition lists?YES
8No MethodDescription in Tᴿ slots; no Work in Tᴰ slots?YES
9No fabricated [bracketed] sections (check each against source)?YES
10[aggregation] present → all 5 Quintet invariants + fields filled?YES
11[aggregation] present → Γ flavor named, cutset named, CL_min justified, Φ(CL) applied?YES
12[reasoning] present → ≥3 hypotheses, ≥2 tested ✓/✗, falsified visible, conclusion explicit?YES
13[evidence] present → ≥1 verifiedBy/validatedBy/pending, valid_until explicit, ED calculated?YES
14All claim values in English? (exceptions: proper names, wordplay, domain terms, quoted material)YES
15Reconstruction: no [bracketed] content, no FPF markers/notation in prose?YES
16EntityOfConcernSlot filled — what is being described? (topic, system, event)YES
17ClaimGraphSlot filled — at least one section with ≥1 indented claim?YES (same as #2)
18ViewpointSlot implied — consumer type from decision table?YES
19[bracketed] sections present only when source justifies them?YES
20Every non-bracketed claim is source-asserted, not renderer-inferred? (interpretation → [bracketed])YES
21If source has a recognizable form to preserve → [style] present (with genre + register)?YES
22Reconstruction conforms to [style] (genre/register/voice/devices, signature verbatim if present)?YES

REFERENCE

U.-Prefix

TypeMeaningActs?
U.EntityAnything individuable and referableNO
U.HolonWhole-with-parts; part of larger wholesNO
U.SystemActing physical/operational holon; bears roles, executes WorkYES
U.EpistemeKnowledge holon (spec, proof, model, narrative output)NO
U.RoleContext-bound work-facing role value (mask)NO
U.RoleAssignmentHolder#Role:Context bindingNO
U.CapabilitySystem ability/envelope to enact a Method under conditionsNO
U.MethodAbstract order-sensitive way-of-doing (Tᴰ)NO
U.MethodDescriptionDescription episteme of a Method (Tᴰ, recipe/SOP)NO
U.WorkDated execution (Tᴿ, IMMUTABLE)NO
U.TransformationBounded change of a holon under conditions (Tᴿ)NO
U.BoundedContextContext where terms have meaningNO
U.ClaimGraphClaim body of an Episteme (nodes=claims, edges=relations)NO
U.ReferenceSchemeHow claims are read as statements about EntityOfConcernNO

Boundary Relations (relations, NOT U.-types)

RelationUse for
HolonDelimitationRelationDelimitation between holon and its environment
HolonBoundaryCrossingRelationRelation crossing the delimitation (signal, control, flow)

Γ Flavors

ΓDomainRelaxed
Γ_sysPhysical/cyber-physical
Γ_epistKnowledge, meta-analysis
Γ_ctxOrder-sensitive processesCOMM, LOC
Γ_timeTime series, digital twinsCOMM partial, LOC
Γ_workResources
Γ_methodMethods

Quintet Invariants

CodeMeaningTest
IDEMΓ({h}) = hOne part = itself?
COMMΓ({a,b}) = Γ({b,a})Order of independent parts irrelevant?
LOCWorker-agnosticWhere fold executes irrelevant?
WLNKR_eff = min(R_i)Whole ≤ weakest part?
MONO↑R_i → ↑R_effImproving part never hurts?

F-G-R-CL

CharScaleMeaning
F (Formality)F0-F9F0=unstructured, F4=predicates/invariants, F5=executable math
G (ClaimScope)CoverageSupported only; unsupported dropped
R (Reliability)[0,1]Probability of truth
CL (Congruence)CL0-CL3CL0=weak guess, CL1=plausible, CL2=validated, CL3=verified

Formulas (mandatory):

F_eff = min(F_i)           G_eff = SpanUnion({G_i}) | support
R_raw = min(R_i)           R_eff = max(0, R_raw − Φ(CL_min))

Φ(CL): lower CL → larger penalty. Never skip.

ADI Reasoning

PhaseActionMinimum
AbductionGenerate hypotheses≥3, recommend 5
DeductionTestable predictions≥1 per hypothesis
InductionTest against evidence≥2 hypotheses, ✓/✗
ConclusionSelected, rejected, R"H₁ confirmed; H₃ falsified"

Never 1 hypothesis. Never delete falsified (keep ✗). Never "probably" — use ✓/✗ and R.

Evidence

AnchorTypeUse
verifiedByFormalStatic guarantees, model-checking
validatedByEmpiricalMeasurements, load tests, observations

SCR: scr://<domain>/<id>. ED: k × max(0, today − valid_until). valid_until null = perpetual (axioms/laws only). ED actions: Refresh / Deprecate / Waive.

Strict Distinctions

#ViolationScan forFix
1Role = FunctionRole + action verbSystem#Role:Ctx executes Method
2MethodDesc = Method = WorkTᴿ slot has MethodDesc; Tᴰ slot has WorkSplit with Tᴰ/Tᴿ
3System = EpistemeEpisteme noun + action verbSystem#Role:Ctx → Work on Episteme carrier
4Episteme = Carrier"The document updated itself"System → Work on carrier; Episteme = content
5Collective = SetMemberOf for acting groupComponentOf for collective; MemberOf for sets

Rewrites

WrongCorrect
"The spec decided to require X"DesignService#TransformerRole:SpecCtx updated carrier → req X
"The process executed the rule"System#TransformerRole:Ctx executed Method; Work → SCR
"Holon bearing TransformerRole"System bearing TransformerRole
"parts: [Cell, MonitorRole]"parts: [Cell, …]; RoleAssignment: BMSSystem#MonitorRole:PackCtx
"The report concluded that…"AnalystSystem#TransformerRole:Ctx executed Method; conclusion ∈ U.Episteme(X)

Mereology

RelationForDomain
ComponentOfStructural partU.System
ConstituentOfLogical/content partU.Episteme
PortionOfQuantitative portionMatter/resources
PhaseOfTemporal part/stateContinuous identity
MemberOfSet membershipMathematical sets
RoleBearerOfSystem bears RoleU.System ↔ U.Role

Roles NEVER in parts lists. Holarchies = holons. Roles → RoleAssignment.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.