flatten

Merge content from multiple notes in a collection into a single output note.

10|Updated Jul 22, 2025
One-click install
npx skills add https://github.com/bdambrosio/Cognitive_workbench --skill flatten
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flatten
Source: https://github.com/bdambrosio/Cognitive_workbench/tree/main/src/primitives/flatten
Command: npx skills add https://github.com/bdambrosio/Cognitive_workbench --skill flatten

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the need to merge the content of multiple items within a collection into a single, unified note, simplifying data aggregation.

Core Features & Use Cases

  • Content Merging: Combines text from all notes within a collection into one output note.
  • Data Consolidation: Useful for summarizing information spread across several related notes.
  • Use Case: If you have a collection of notes detailing different aspects of a project, flatten can merge them into a single comprehensive project summary note.

Quick Start

Use the flatten skill to merge all items in the 'project_notes' collection into a single note named 'project_summary'.

Frequently Asked Questions about flatten

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I merge multiple notes in a collection into a single summary?

To merge multiple notes in a collection into a single summary, aggregate the content from all items into one unified output note. This data consolidation process combines disparate information sources into a comprehensive document.

What is the best way to consolidate information spread across several notes?

The best way to consolidate information spread across several notes is to perform content merging on a target collection. This data aggregation technique combines text from all related notes into a single comprehensive summary output.

Can I combine text from different collection items into one note?

Yes, you can combine text from different collection items into one note. Content merging facilitates data consolidation by aggregating information from disparate sources within a target collection and producing a single unified output note.

Do I need a specific input format to flatten collection content?

To flatten collection content, you need a target collection as input. The process requires multiple notes within that collection to aggregate, and it produces a single note as output, performing the inverse operation of splitting data.

When should I avoid merging notes into a single file?

You should avoid merging notes into a single file when you need to maintain the discrete boundaries of individual collection items. Content merging aggregates all text into one output note, making it difficult to separate the disparate sources later.