ssshooter/mind-elixir-core/plaintext-format
Claude Code and agent skill by ssshooter/mind-elixir-core
- community
Checking that the SKILL.md file is still in the repository.
Guide for understanding and converting Mind Elixir plaintext format. Covers format specification, parsing, and conversion to Mind Elixir data structure.
Install
npx vskill@latest install ssshooter/mind-elixir-core/plaintext-formatSKILL.md
Mind Elixir Plaintext Format
This skill explains the Mind Elixir plaintext format specification and how to convert between it and the Mind Elixir JSON data structure. The plaintext format is ideal for human editing, AI generation, and streaming scenarios.
1. Format Overview
The plaintext format uses indentation-based syntax similar to Markdown lists. Each line represents a node in the mind map, and indentation (2 spaces per level) defines the hierarchy.
Basic Structure
Key Rules:
- Root node starts with
-(dash followed by space) - Each child is indented by 2 spaces relative to its parent
- Each node line starts with
-followed by a space and the topic text
2. Advanced Features
2.1 Node References (IDs)
Assign custom IDs to nodes for cross-referencing using [^id] syntax:
Format: [^customId] at the end of the topic text.
2.2 Node Links
Create connections between nodes using the > prefix and arrow syntax:
Bidirectional Links
Format: > [^sourceId] (delta1X,delta1Y) <-Label-> (delta2X,delta2Y) [^targetId]
(delta1X,delta1Y): Offset of the control point from the start node.(delta2X,delta2Y): Offset of the control point from the end node.
[!TIP]Optional Coordinates: When manually writing or generating plaintext (e.g., via AI), you can omit the(x,y)coordinates. Mind Elixir will automatically calculate default balanced offsets when rendering. However, when you export data back to plaintext, these coordinates will be included to preserve any manual adjustments made in the UI.
Unidirectional Links
Formats:
- Forward:
> [^sourceId] >-Label-> [^targetId]
2.3 Node Styling
Apply inline styles using JSON-like syntax:
Format: {"property": "value", "property2": "value2"} at the end of the topic text.
Common Properties:
color: Text color (hex code)background: Background color (hex code)fontSize: Font size (number as string, e.g., "16")
2.4 Summary Nodes
Create summary nodes that visually group previous siblings:
Formats:
} Summary text- Summarizes all previous siblings}:N Summary text- Summarizes the previous N siblings (e.g.,}:2for last 2 nodes)
2.5 Complete Example
3. Conversion API
3.1 Plaintext to Mind Elixir Data
Mind Elixir provides a built-in converter for plaintext parsing:
3.2 Mind Elixir Data to Plaintext
You can also convert an existing mind map back to the plaintext format, which is useful for exporting and saving data:
3.3 Integration Example
4. Use Cases
4.1 AI-Generated Mind Maps
The plaintext format is ideal for LLM generation:
4.2 File-Based Mind Maps
Store mind maps as .txt or .md files:
4.3 Collaborative Editing
The plaintext format is merge-friendly for version control:
5. Error Handling
Always wrap parsing in try-catch blocks:
6. Best Practices
- Consistent Indentation: Always use 2 spaces per level
- Unique IDs: When using references, ensure IDs are unique within the document
- Link Placement: Links can be placed anywhere, but keep them near related nodes for readability
- Validation: Validate plaintext before parsing, especially for user input
- Streaming: For streaming scenarios, parse incrementally and handle partial data gracefully
7. Format Specification Summary
| Feature | Syntax | Example | |
|---|---|---|---|
| Node | - Topic | - My Node | |
| Node with ID | - Topic [^id] | - Node A [^id1] | |
| Node with Style | - Topic {"prop": "value"} | - Node {"color": "#ff0000"} | |
| Bidirectional Link | > [^id1] (x,y) <-Label-> (x,y) [^id2] | > [^a] (10,20) <-connects-> (-10,-20) [^b] | |
| Forward Link | > [^id1] (x,y) >-Label-> (x,y) [^id2] | > [^a] (10,20) >-leads to-> (-10,-20) [^b] | |
| Summary (all) | } Summary text | } Overview | |
| Summary (N nodes) | }:N Summary text | }:3 Last three items |
8. TypeScript Types
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/plaintext-format/SKILL.md
Popularity
- Repository stars
- 3,058
- Repository forks
- 407
- Repository npm downloads, 7 days
- 9,345
- 7-day trend score
- 61
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 18 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ssshooter/mind-elixir-core/plaintext-format)