/cogni-trends:trend-bookletfrom cogni-trends
Builds a comprehensive browsable TIPS booklet cataloging all ~60 trend-scout candidates organized by dimension, subcategory, and horizon with citations and theme back-references. Companion to the curated trend-synthesis report.
Ships in cogni-trends. 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; scripts run unread.
Produce the comprehensive TIPS catalog tips-trend-booklet.md — every trend-scout candidate, organized dimension → subcategory → horizon, with summary, citations, theme back-references, and keywords. Companion artefact to the curated investment-themes report from /trend-synthesis.
Where /trend-synthesis produces a curated argument over a small set of investment themes, this skill produces the full reference catalog of all ~60 candidates so readers can see the complete landscape:
cogni-trends:trend-booklet-formatter agentstips-trend-booklet.md) with an orphan appendixtips-trend-booklet-index.json) for downstream tooling/verify-trend-report (if claims not yet verified) or /trends-resumeNo web research — evidence comes from enriched-trends-{dimension}.json produced by /trend-research.
Full German and English support. Inherits language from the research manifest. The booklet uses booklet-specific section headings (BOOKLET_TITLE, DIMENSION_HEADER, etc.) defined in references/i18n/labels-en.md and references/i18n/labels-de.md.
/trend-research completed with .metadata/trend-research-output.json presenttips-value-model.json (used to compute theme back-references; orphan candidates fall back to the appendix)/verify-trend-report (operates on tips-trend-report.md, not the booklet directly, but worth recommending if the user has run /trend-synthesis too)Reads ALL state from disk. Context compaction is safe and recommended before starting. Phase 2 dispatches 4 parallel formatter agents that self-load per-dimension evidence; the orchestrator only handles the index, assembly, and metadata.
| Variable | Purpose | Example |
|---|---|---|
CLAUDE_PLUGIN_ROOT | Plugin installation (skills, references) | ~/.claude/plugins/marketplaces/cogni-trends |
PROJECT_AGENTS_OPS_ROOT | Workspace root where projects live (optional) | User's workspace directory |
Pure orchestrator. Shell commands needed:
bash scripts/build-booklet-index.sh — build the per-candidate indexcat file1 file2 ... > output — assemble the booklet from per-dimension formatter outputsrm -f pattern — cleanup of stale booklet artefacts on re-runRead references only when needed for the specific phase:
| Reference | Read when... |
|---|---|
| $CLAUDE_PLUGIN_ROOT/references/language-resolution.md | Language detection (Phase 0.0) |
| references/booklet-structure.md | Phase 2–3 — dimension/subcategory/horizon nesting + per-entry block template |
| references/candidate-to-theme-backref.md | Phase 1 — algorithm to walk value model and map candidates to themes |
| references/booklet-length-tiers.md | Phase 0 — compact / standard / exhaustive density definitions |
| references/i18n/labels-en.md | English booklet headings |
| references/i18n/labels-de.md | German booklet headings |
Phase 0 → Phase 1 → Phase 2 → Phase 3 → Phase 4
│ │ │ │ │
│ │ │ │ └ Update metadata, recommend /verify-trend-report or /trends-resume
│ │ │ └ Assemble booklet + sidecar index, render orphan appendix
│ │ └ 4 parallel formatter agents → .logs/booklet-{dimension}.md
│ └ Build per-candidate index via build-booklet-index.sh → .logs/booklet-index.json
└ Locate research output, drift check, density tier prompt, cleanup
Read $CLAUDE_PLUGIN_ROOT/references/language-resolution.md. Set INTERACTION_LANGUAGE.
If --project-path was provided, use it. Otherwise run discover-projects.sh --json. Filter to projects with .metadata/trend-research-output.json. 0 → HALT ("Run /trend-research first"); 1 → auto-select; 2+ → AskUserQuestion.
Read {PROJECT_PATH}/.metadata/trend-research-output.json. Apply the same drift detection rules trend-synthesis uses (see trend-research/references/research-manifest-schema.md § Drift Detection):
candidates_hash and value_model_hash/trend-researchRead references/booklet-length-tiers.md for tier definitions. The tier controls per-entry word budgets (summary length, max citations) and is independent from the synthesis report's length tier.
Resume rule: if tips-project.json already contains a booklet_density field, skip the question and continue with that value.
Otherwise present 3 options via AskUserQuestion:
Default is standard. Persist the choice to tips-project.json:
{ "booklet_density": "standard" }
bash -O nullglob -c 'rm -f \
"{PROJECT_PATH}/.logs/booklet-index.json" \
"{PROJECT_PATH}/.logs/booklet-"*.md \
"{PROJECT_PATH}/tips-trend-booklet.md" \
"{PROJECT_PATH}/tips-trend-booklet-index.json"'
Research outputs are owned by /trend-research; synthesis outputs are owned by /trend-synthesis. Booklet cleanup touches only its own artefacts.
Run the index builder script:
bash "${CLAUDE_PLUGIN_ROOT}/skills/trend-booklet/scripts/build-booklet-index.sh" "${PROJECT_PATH}"
The script walks tips-value-model.json + .metadata/trend-scout-output.json + the 4 enriched-trends-{dimension}.json files (paths from the research manifest) and emits .logs/booklet-index.json. It emits the canonical {"success": bool, "data": ..., "error": ...} JSON envelope on stdout.
The index format and theme-backref algorithm are documented in:
candidate_ref → [theme_id, theme_name, role]Index shape (one entry per candidate, ~60 total):
[
{
"candidate_ref": "externe-effekte/act/1",
"name": "EU AI Act Compliance",
"dimension": "externe-effekte",
"subcategory": "regulation",
"horizon": "act",
"keywords": ["AI Act", "compliance", "..."],
"claims_refs": ["claim_ee_001", "claim_ee_002"],
"theme_backrefs": [
{ "theme_id": "it-001", "theme_name": "Intelligent Grid & Asset Optimization", "role": "trend" }
]
},
{
"candidate_ref": "externe-effekte/observe/4",
"name": "Orphan signal X",
"dimension": "externe-effekte",
"subcategory": "society",
"horizon": "observe",
"keywords": ["..."],
"claims_refs": [],
"theme_backrefs": []
}
]
Orphan candidates (in value_model.orphan_candidates or with no theme_backrefs) carry theme_backrefs: [] so the formatter places them in the appendix bucket.
Validate the script returned success: true. On failure, surface the error field and HALT.
Dispatch 4 cogni-trends:trend-booklet-formatter agents in a single parallel message — one per Smarter Service dimension. Each agent reads:
enriched-trends-{dimension}.json (path from the research manifest).logs/booklet-index.jsoncompact | standard | exhaustive)Each agent writes .logs/booklet-{dimension}.md.
Per agent (4 parallel):
subagent_type: "cogni-trends:trend-booklet-formatter"
model: sonnet
prompt: |
PROJECT_PATH: {PROJECT_PATH}
DIMENSION: {dimension_slug}
DIMENSION_INDEX: {1 | 2 | 3 | 4 — TIPS order}
LANGUAGE: {LANGUAGE from manifest}
DENSITY_TIER: {compact | standard | exhaustive}
ENRICHED_TRENDS_PATH: {path from manifest.files.enriched_trends[dimension]}
BOOKLET_INDEX_PATH: {PROJECT_PATH}/.logs/booklet-index.json
LABELS: {JSON object with booklet i18n labels:
DIMENSION_HEADER, SUBCATEGORY_HEADER, HORIZON_LABEL_ACT/PLAN/OBSERVE,
ENTRY_SUMMARY_HEADER, ENTRY_CITATIONS_HEADER, ENTRY_THEMES_HEADER,
ENTRY_KEYWORDS_HEADER}
Before dispatching for a dimension, check if .logs/booklet-{dimension}.md exists and is >2000 bytes. If so, skip — display "Skipping booklet formatter (resume): {dimension}".
Each agent returns:
{
"ok": true,
"dimension": "externe-effekte",
"entries_formatted": 14,
"orphans_in_dimension": 1,
"booklet_file": ".logs/booklet-externe-effekte.md"
}
If ok: false: retry once. HALT on second failure. The 4 agents are independent; one failing does not block the others, but assembly (Phase 3) requires all four files.
Write .logs/booklet-header.md with YAML frontmatter and a brief intro paragraph:
---
title: "{BOOKLET_TITLE}"
subtitle: "{BOOKLET_SUBTITLE}"
industry: {INDUSTRY_EN}
subsector: {SUBSECTOR_EN}
language: {LANGUAGE}
generated_by: trend-booklet
source_skills:
- trend-scout
- value-modeler
- trend-research
booklet_density: {standard | compact | exhaustive}
total_candidates: 60
total_themes_referenced: {N}
total_orphans: {N}
generated_at: "{ISO-8601}"
---
# {BOOKLET_TITLE}
*{BOOKLET_SUBTITLE}*
{2-3 sentence intro paragraph: this booklet catalogs every trend-scout
candidate organized by Smarter Service dimension → subcategory → horizon.
Companion to `tips-trend-report.md` (the curated investment themes report).
Orphan candidates without a current investment theme appear in the appendix.}
Use i18n labels for BOOKLET_TITLE, BOOKLET_SUBTITLE, etc.
Verify all files exist and concatenate in TIPS order:
FILES="{PROJECT_PATH}/.logs/booklet-header.md"
for DIM in externe-effekte digitale-wertetreiber neue-horizonte digitales-fundament; do
FILES="$FILES {PROJECT_PATH}/.logs/booklet-${DIM}.md"
done
cat $FILES > "{PROJECT_PATH}/tips-trend-booklet.md"
The orphan appendix is rendered inside each dimension's section by the formatter (orphans in that dimension go under an ## {ORPHAN_APPENDIX_HEADER} H2 at the end of the dimension's content). This keeps orphans dimension-local rather than as a single global appendix — readers see all candidates in their dimension context.
Write {PROJECT_PATH}/tips-trend-booklet-index.json — the structured companion to the markdown:
{
"booklet_path": "tips-trend-booklet.md",
"language": "{LANGUAGE}",
"booklet_density": "standard",
"total_candidates": 60,
"total_themes_referenced": {N},
"total_orphans": {N},
"by_dimension": {
"externe-effekte": { "candidates": 15, "orphans": 1, "file": ".logs/booklet-externe-effekte.md" },
"digitale-wertetreiber": { ... },
"neue-horizonte": { ... },
"digitales-fundament": { ... }
},
"index": [ /* same shape as .logs/booklet-index.json */ ]
}
The downstream visualizer cogni-trends:trends-dashboard can consume this sidecar instead of parsing the markdown.
tips-project.json and Scout Output MetadataUpdate {PROJECT_PATH}/tips-project.json:
{
"updated": "ISO-8601",
"booklet_density": "{tier}"
}
Add to {PROJECT_PATH}/.metadata/trend-scout-output.json:
{
"trend_booklet_complete": true,
"trend_booklet_path": "tips-trend-booklet.md",
"trend_booklet_index_path": "tips-trend-booklet-index.json",
"trend_booklet_density": "{tier}",
"trend_booklet_total_candidates": 60,
"trend_booklet_total_orphans": {N},
"trend_booklet_generated_at": "ISO-8601"
}
The booklet does not write a content_hash_at_booklet because verify-trend-report operates on the synthesis report, not the booklet. Drift detection on the booklet runs at next-invocation time (Phase 0.2's manifest-hash check), which is sufficient.
Trend Booklet Complete
─────────────────────
Booklet: {PROJECT_PATH}/tips-trend-booklet.md
Density: {tier} ({per-entry budget summary})
Candidates: 60 entries across 4 dimensions
Orphans: {N} (in dimension appendices)
Index sidecar: {PROJECT_PATH}/tips-trend-booklet-index.json
Next step → ...
Next-step logic:
tips-trend-report.md exists AND verify_trend_report_complete != true: recommend /verify-trend-report/trends-resumeThis keeps the user moving toward the verified canonical report, falling back to the dashboard for re-orientation otherwise.
| Scenario | Action |
|---|---|
.metadata/trend-research-output.json missing | HALT: Run /trend-research first |
| Manifest hashes don't match current scout/value-model state | WARN; allow proceed on confirmation (catalog is more drift-tolerant than synthesis) |
tips-value-model.json missing | HALT: Run value-modeler first — booklet needs theme back-references |
| <60 candidates in scout output | WARN: proceed but note coverage is incomplete; some dimensions may have empty buckets |
build-booklet-index.sh returns success: false | HALT with the script's error field |
Formatter agent returns ok: false | Retry once; HALT on second failure with dimension name |
| One dimension has 0 ACT-horizon candidates | Render the empty bucket with a one-line note (not a hard error) |
| One dimension has 0 candidates total | Render the empty section with a note (very unusual; surface the underlying scout-output gap) |
Upstream:
trend-research produces .metadata/trend-research-output.json and the per-dimension enriched-trends artefacts (required)value-modeler produces tips-value-model.json (required for theme back-references)Pipeline: trend-scout → value-modeler → trend-research → trend-booklet (± trend-synthesis) → verify-trend-report
Sibling: /trend-synthesis consumes the same research manifest to produce the curated investment-themes report. The two skills are independent; either can run first. They produce different deliverables for different reader needs (curated argument vs. full reference catalog).
Downstream consumer of the sidecar index:
cogni-trends:trends-dashboard — lists candidates in the dashboard viewLog files in {PROJECT_PATH}/.logs/:
booklet-index.json — per-candidate index with theme back-references (intermediate)booklet-{dimension}.md — per-dimension formatter output (4 files)booklet-header.md — frontmatter + intro paragraphOutput files in {PROJECT_PATH}/:
tips-trend-booklet.md — assembled final booklettips-trend-booklet-index.json — structured sidecar index| Issue | Check |
|---|---|
| Empty dimension section | Check trend-scout candidate distribution; some scout outputs lack PLAN/OBSERVE for one dimension |
| Theme back-references missing | Check tips-value-model.json value chains include all candidate refs |
| Orphan appendix unexpectedly large | Inspect value_model.orphan_candidates — value-modeler may have skipped MECE coverage |
| Per-entry summary too long/short | Verify booklet_density matches the agent's per-tier word budget |
evals/evals.json (opens in a new tab)references/booklet-length-tiers.md (opens in a new tab)references/booklet-structure.md (opens in a new tab)references/candidate-to-theme-backref.md (opens in a new tab)references/i18n/labels-de.md (opens in a new tab)references/i18n/labels-en.md (opens in a new tab)scripts/build-booklet-index.sh (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
trend-catalog, trend-booklet, tips-framework, trend-research
npx claudepluginhub cogni-work/insight-wave --plugin cogni-trends9 skills in this plugin
/trend-researchRun the research groundwork stage of the TIPS trend pipeline. Reads agreed
trend-scout candidates, optionally deep-researches 3–5 ACT-horizon trends,
enriches every candidate with web-sourced quantitative evidence, and writes
the research manifest `.metadata/trend-research-output.json` — the gate
downstream skills consume. Required pipeline:
trend-scout → value-modeler → trend-research → (trend-synthesis and/or
trend-booklet) → verify-trend-report. Use when: (1) trend-scout and
value-modeler have completed, (2) the user wants to refresh evidence without
rewriting prose, (3) the user mentions "enrich trends", "deep research trends",
"research evidence", "refresh trend evidence", "prepare trend report",
"run the trend research stage". Always use this skill when trend-scout output
exists and the user wants any kind of evidence-enrichment pass over the
candidate set — even if they don't say "trend-research" verbatim. Auto-recommends
`/trend-synthesis` and `/trend-booklet` at the end.
/trends-catalogManage persistent industry catalogs that accumulate TIPS knowledge across pursuits. Use whenever the user mentions "industry catalog", "catalog", "initialize catalog", "import to catalog", "promote to catalog", "catalog status", "list catalogs", "create catalog", "export catalog", "catalog analytics", "cross-pursuit", "reusable patterns", "industry knowledge base", or wants to manage the persistent repository of TIPs, Solution Templates, SPIs, Metrics, and Collaterals that new pursuits inherit from. Also trigger when the user has completed value-modeler curation (Phase 5) and wants to actually persist the recommendations.
/trend-scoutInteractive trend scouting workflow with industry selection, bilingual support (DE/EN), and downstream pipeline integration. Scouts trends across 4 dimensions (each trend gets full TIPS expansion). Creates research projects with 60 industry-contextualized trend candidates that feed directly into value-modeler or trend-report. Use when: (1) Starting smarter-service research with industry context, (2) User wants to scout trends for a specific industry and subsector, (3) User mentions "trend scouting", "industry trends", "trend scout", (4) Preparing input for the TIPS pipeline (value-modeler, trend-report).
/trends-dashboardGenerate an interactive HTML dashboard showing the full TIPS project lifecycle.
Use whenever the user mentions tips dashboard, trend dashboard, TIPS overview,
"show me the trends", "visualize tips", "tips project view", TIPS status dashboard,
or wants to see all trend scouting data in a browser — even if they don't say "dashboard".
Also trigger at the end of heavy TIPS sessions (after trend-report, value-modeler, or
catalog import) as a capstone visualization.
/trends-resumeResume, continue, or check status of a TIPS trend scouting project.
Use whenever the user mentions "continue tips", "resume tips", "resume trends",
"where was I", "tips status", "what's next", "continue the project",
"resume trend project", "check scan progress", "trend status",
"weiter mit trends", "trends fortsetzen", "tips fortsetzen",
"wo war ich", "trends status", "trendprojekt fortsetzen", "stand der trends",
or opens a session that involves an existing cogni-trends project —
even if they don't say "resume" or "fortsetzen" explicitly.
/trend-synthesisCompose the canonical TIPS trend report from `/trend-research` artefacts,
organized around the four Smarter Service dimensions
(Forces → Impact → Horizons → Foundations) with investment themes nested as
anchored theme-cases, closing on a "Capability Imperative" synthesis.
Produces `tips-trend-report.md` plus
`tips-trend-report-claims.json`.
Required pipeline: trend-scout → value-modeler → trend-research
→ trend-synthesis → verify-trend-report. Use when: (1) `/trend-research`
has completed and written `.metadata/trend-research-output.json`, (2) the
user wants a written trend report, (3) the user mentions "trend report",
"TIPS report", "write up trends", "compose trend report", "synthesize trends",
"investment themes report", "strategic trend report", (4) preparing a
deliverable from enriched evidence. Always use this skill when the research
manifest exists and the user wants the prose report — even if they don't say
"synthesis" verbatim. Auto-recommends `/verify-trend-report` at the end.
Other plugins' skills for the same job