{"skill":{"slug":"mindmap","displayName":"Mindmap","summary":"Create and visualize mind maps in the terminal with branching and export. Use when brainstorming ideas, organizing thoughts, exporting mind map structures.","description":"---\nname: MindMap\ndescription: \"Create and visualize mind maps in the terminal with branching and export. Use when brainstorming ideas, organizing thoughts, exporting mind map structures.\"\nversion: \"2.0.0\"\nauthor: \"BytesAgain\"\nhomepage: https://bytesagain.com\nsource: https://github.com/bytesagain/ai-skills\ntags: [\"mindmap\",\"brainstorm\",\"ideas\",\"organize\",\"thinking\",\"productivity\"]\n---\n\n# MindMap\n\nMulti-purpose utility tool for managing structured data entries. Add, list, search, remove, and export data items — all stored locally in a simple log-based format with full history tracking.\n\n## Commands\n\nAll commands are invoked via `mindmap <command> [args]`.\n\n| Command | Description |\n|---------|-------------|\n| `run <args>` | Execute the main function — logs and confirms execution |\n| `config` | Show the configuration file path (`$DATA_DIR/config.json`) |\n| `status` | Show current status (reports \"ready\") |\n| `init` | Initialize the data directory (creates `$DATA_DIR` if needed) |\n| `list` | List all data entries from the data log |\n| `add <text>` | Add a new dated entry to the data log |\n| `remove <item>` | Remove an entry (logs the removal) |\n| `search <term>` | Search the data log for a keyword (case-insensitive via `grep -i`) |\n| `export` | Export all data from the data log to stdout |\n| `info` | Show version and data directory path |\n| `help` | Show the built-in help message |\n| `version` | Print version string (`mindmap v2.0.0`) |\n\n## Data Storage\n\n- **Location:** `~/.local/share/mindmap/` (override with `MINDMAP_DIR` environment variable, or `XDG_DATA_HOME`)\n- **Data log:** `data.log` — stores all entries added via `add`, one per line, prefixed with `YYYY-MM-DD`\n- **History:** `history.log` — every command execution is recorded with a timestamp for auditing\n- **Format:** Plain text, one entry per line\n\n## Requirements\n\n- Bash 4+\n- Standard Unix utilities (`date`, `grep`, `cat`, `basename`)\n- No external dependencies, no API keys, no network access needed\n\n## When to Use\n\n1. **Quick note-taking** — Use `mindmap add` to jot down ideas, tasks, or observations from the terminal without leaving your workflow\n2. **Data collection** — Accumulate structured entries over time (e.g. daily logs, observations, measurements) and export them for analysis\n3. **Search and retrieval** — Use `mindmap search` to quickly find entries matching a keyword across your entire data log\n4. **Automation pipelines** — Integrate `mindmap add` and `mindmap export` into shell scripts or cron jobs for automated data collection and reporting\n5. **Lightweight project tracking** — Track items, remove completed ones, and list remaining work — all from the command line without heavyweight tools\n\n## Examples\n\n```bash\n# Initialize the data directory\nmindmap init\n\n# Add a new entry\nmindmap add \"Brainstorm: redesign landing page layout\"\n\n# Add another entry\nmindmap add \"TODO: review pull request #42\"\n\n# List all entries\nmindmap list\n\n# Search for entries containing \"redesign\"\nmindmap search \"redesign\"\n\n# Export all data to a file\nmindmap export > backup.txt\n\n# Check status\nmindmap status\n\n# Show version and data path\nmindmap info\n\n# Run a custom operation\nmindmap run \"process weekly report\"\n```\n\n## Output\n\nAll command output goes to stdout. Redirect to save:\n\n```bash\nmindmap list > all-entries.txt\nmindmap export > export-backup.txt\n```\n\n## Configuration\n\nSet the `MINDMAP_DIR` environment variable to change the data directory:\n\n```bash\nexport MINDMAP_DIR=\"$HOME/my-mindmap-data\"\nmindmap init\n```\n\nDefault location: `~/.local/share/mindmap/`\n\n---\n\n*Powered by BytesAgain | bytesagain.com | hello@bytesagain.com*\n","tags":{"latest":"2.0.1"},"stats":{"comments":0,"downloads":1895,"installsAllTime":8,"installsCurrent":8,"stars":2,"versions":10},"createdAt":1773521878954,"updatedAt":1778491910241},"latestVersion":{"version":"2.0.1","createdAt":1773830818810,"changelog":"update","license":"MIT-0"},"metadata":{"setup":[],"os":null,"systems":null},"owner":{"handle":"bytesagain-lab","userId":"s174pq5f3gzez3838vt2642fmx848f1d","displayName":"bytesagain-lab","image":"https://avatars.githubusercontent.com/u/271735676?v=4"},"moderation":{"isSuspicious":false,"isMalwareBlocked":false,"verdict":"clean","reasonCodes":["review.llm_review"],"summary":"Review: review.llm_review","engineVersion":"v2.4.24","updatedAt":1780089958703}}