Skip to content

v1.2.0 — Framework catalog + hook patterns

Choose a tag to compare

@NirvanaGuha NirvanaGuha released this 23 May 20:18
· 5 commits to main since this release

Headline

Thoth's writing logic went from one template per post type to a 20-framework catalog with composable hook patterns, all rotated automatically across recent posts. Generated posts should feel substantially less interchangeable.

What's new

Framework catalog (20 frameworks)

skill/references/post-types.md is restructured. Each post type now has 4 named frameworks at full schema — origin, shape, must-have / must-not-have, anti-pattern, worked spine, and skip-when conditions. The generator picks one per post, rotating against the last 4.

Type Frameworks (★ = default)
Personal quiet-reveal ★, then-now-because, the-confession, gratitude-specific
Work decision-log ★, failed-experiment, constraint-driven-story, pre-mortem
Thought-leadership heretical-claim-receipts-stake ★, first-principles-reframe, steel-man-then-dismantle, changed-my-mind
Educational pmrg ★, anti-pattern-catalog, curse-of-knowledge-unwind, cookbook
Promotional story-first-promo ★, i-built-this-because, receipt-stack-soft-ask, anti-launch

Hook pattern library (13 patterns)

New file skill/references/hook-patterns.md. Hooks are independent of frameworks — any compatible hook can pair with any framework. The library covers personal/work, thought-leadership, educational, and promotional surfaces, with a per-type compatibility matrix.

Examples: inverted-truism, micro-confession, constraint-reveal, changed-my-mind, bad-advice, stat-anchored, origin-first, counter-anti-promo.

/thoth frameworks command

Read-only catalog browser:

  • /thoth frameworks — compact list of all 20 frameworks grouped by type.
  • /thoth frameworks <name> — single framework's full spec.
  • /thoth frameworks hooks — compatibility matrix for the 13 hook patterns.
  • /thoth frameworks hooks <name> — single hook's full spec.

Smarter generation

The /thoth (generate post) dispatch now picks type → framework → hook → topic with explicit rotation windows (last-4 for frameworks, last-3 for hooks) and archetype/topic-fit filters. Thoth announces the picks before drafting so you can interrupt:

"Today: Thought-leadership (10pp under target). Framework: heretical-claim-receipts-stake (5 posts since last used). Hook: inverted-truism. Topic: AI workflows vs prompt training. Drafting now."

Schema changes

history.yaml gains framework and hook_pattern fields per post. Older rows are treated as unknown and excluded from rotation filters — no migration needed.

Voice check additions

Two new items run before each post is emitted:

  • Does the draft actually follow the chosen framework's Shape block, or did it slide into a generic Classic arc?
  • Does the opener match the chosen hook pattern?

Upgrade

/thoth update

(or amskills update thoth from the shell.) Persona data at ~/.thoth/ is independent of the skill folder and is not touched.

After upgrade, try /thoth frameworks to browse the catalog.

Files

11 files changed, +1,719 / -197 lines.

  • skill/references/post-types.md restructured (282 → 1,406 lines)
  • skill/references/hook-patterns.md new (278 lines)
  • skill/references/content-mix.md — selection algorithm extended
  • skill/SKILL.md — /thoth dispatch + /thoth frameworks + voice check + version
  • skill/references/commands.md, top-level README.md — command-table updates
  • CLAUDE.md — "Add a framework" / "Add a hook" rows
  • CHANGELOG.md — 1.2.0 entry
  • Version bumps across skill.json, cli/package.json, .claude-plugin/plugin.json

Full diff: v1.1.3...v1.2.0