AGENT SKILL

chainforge

Chain-of-reasoning (spoken, ends in a decision) — a diagram is a formalized relationship structure, never decoration — never begin by drawing; determine what exists, how it relates, what changes, what causes what, where the boundaries are, and what loops, and only then ask what it should look like; every visual primitive must possess an interpretable function.

License 许可
MIT
最近更新
2026-11-13
Stars
★ 0
Forks
0

01 前言 Front Matter

kind
chain-of-reasoning
name
chainforge
description
Chain-of-reasoning (spoken, ends in a decision) — a diagram is a formalized relationship structure, never decoration — never begin by drawing; determine what exists, how it relates, what changes, what causes what, where the boundaries are, and what loops, and only then ask what it should look like; every visual primitive must possess an interpretable function.

03 SKILL.md 正文

This is a chain of reasoning (CoR) — a SPOKEN, paragraphical reasoning chain that ends in a DECISION. Say it as a paragraph; keep the moves in order.

CoR (custom syntax)

[RequirementParse] ⇒ [EntityExtraction] ⇒ [RelationTyping] ⇒ [BoundaryLayering] ⇒ [FlowTopology] ⇒ [GraphValidation] ⇒ [Render] ⇒ |LegibilityAudit|

Say it as a paragraph, in order

State your reasoning as ONE paragraph that performs, in order, 8 moves: RequirementParse, EntityExtraction, RelationTyping, BoundaryLayering, FlowTopology, GraphValidation, Render, and finally converges on LegibilityAudit. [RequirementParse: …the intended question…] → [EntityExtraction: …what exists…] → [RelationTyping: …how are those things related…] → [BoundaryLayering: …where are the boundaries…] → [FlowTopology: …what changes, what loops…] → [GraphValidation: …orphan nodes, ambiguous arrows…] → [Render: …topology before styling…] → [LegibilityAudit: …can a viewer infer the reading order…]

Inner attention chain (use silently to generate the above)

Attention chain — Chainforge

Attend, in order:

  1. RequirementParse
  2. EntityExtraction
  3. RelationTyping
  4. BoundaryLayering
  5. FlowTopology
  6. GraphValidation
  7. Render Hold: LegibilityAudit ← converge attention here, then act

04 同仓库更多 Skills

sancovp
sancovp/chaincompiler

skill2framework

Turn an already-built AIOS/package into a framework chapter — narrative blog + deep-dive blog → chapter → {aios}-volume index skill → plugin → folded into the author's SkillTome.

★ 0
sancovp
sancovp/chaincompiler

package-plugin

WHAT: package a framework as a Claude Code PLUGIN (its operational face) — run skill2framework.package_plugin to assemble plugin.json + skills/{aios}-volume/SKILL.md + the chapter bundled under resources/, with the skill's chapter links repathed to the bundle. WHEN: when a framework skill + chapter exist and need the installable plugin, or when the user says package the framework / plugin / skill2framework (any of).

★ 0
sancovp
sancovp/chaincompiler

narrative-blog

WHAT: produce Blog 1 of a framework CHAPTER — the narrative chapter-opener — for an already-built AIOS/package by reconstructing its journey from its own dir (CLAUDE.md, README, dev log) and FILLING skill2framework.JourneyCore, then rendering with render_blog1 (never hand-write the blog). WHEN: when making a framework/chapter from something already built, when you need the story post that opens a chapter, or when the user says blog organ / narrative blog / skill2framework (any of).

★ 0
sancovp
sancovp/chaincompiler

framework-skill

WHAT: generate the FRAMEWORK SKILL for an already-built AIOS — the {aios}-volume (its SkillVolume face): one skill that indexes the AIOS's skills + rules + how they relate (as a diagram), gives a decision tree for what to do when, and ROUTES the agent into the AIOS dir. WHEN: when producing the index/router face of a framework package, or when the user says framework skill / volume / skill2framework (any of).

★ 0
sancovp
sancovp/chaincompiler

fold-into-tome

WHAT: the TERMINAL stage — fold a finished framework into the author's SkillTome (the top-level holder + search of all their frameworks) by running skill2framework.fold_into_tome, which registers the framework as a row on a tome volume node's generated ## Frameworks table via skilltree's bind op. WHEN: when a framework package is finished and must be registered in the author's tome/volume, or when the user says fold into the tome / nomicon / skill2framework fold (any of).

★ 0
sancovp
sancovp/chaincompiler

deepdive-blog

WHAT: produce Blog 2 of a framework CHAPTER — the mechanical deep-dive ('how it actually works') — for an already-built AIOS/package by reading its impl docs (README architecture sections, design docs, the code's module docstrings) and assembling a faithful mechanics-only article that links back to Blog 1. WHEN: when producing the deep-dive half of a chapter, when you need the technical how-it-works post Blog 1 links to, or when the user says blog 2 / deep dive / skill2framework (any of).

★ 0