$npx -y skills add Soul-Brews-Studio/arra-oracle-skills-cli --skill mineExtract a specific topic from a single session JSONL file using 4 parallel subagents. Use when user says "mine", "extract topic", "find in session", or wants to search a session for a keyword.
| 1 | # /mine — Oracle Mining |
| 2 | |
| 3 | Extract a specific topic from a single session JSONL file. |
| 4 | |
| 5 | ## Usage |
| 6 | |
| 7 | ``` |
| 8 | /mine worktree # Mine latest session for "worktree" |
| 9 | /mine ghost-agents abc12345 # Mine specific session |
| 10 | ``` |
| 11 | |
| 12 | ## How It Works |
| 13 | |
| 14 | Detects whether the first argument is a session ID (hex) or treats it as a keyword for the most recent session. Launches 4 parallel subagents that all read the same JSONL file and filter by keyword (case-insensitive): |
| 15 | |
| 16 | | Agent | Role | |
| 17 | |-------|------| |
| 18 | | **What You Said** | Human messages containing keyword, timeline of mentions | |
| 19 | | **What AI Did** | Assistant responses, tool calls, bash commands with keyword | |
| 20 | | **Files + Code** | Write/Edit operations, git commits, actual code snippets (truncated 50 lines) | |
| 21 | | **Connections** | Spawned agents, skill invocations, MCP calls, co-occurring themes, URLs | |
| 22 | |
| 23 | ## Output |
| 24 | |
| 25 | Compiled report with timestamps, keyword frequency, and sections for each agent's findings. Concludes with 1-3 sentence summary. |
| 26 | |
| 27 | ## Rules |
| 28 | |
| 29 | - Strictly processes one JSONL file |
| 30 | - Uses local timezone conversion |
| 31 | - Case-insensitive matching |
| 32 | - Displays actual code rather than summaries |
| 33 | - No output writes to trace logs |
| 34 | |
| 35 | ARGUMENTS: $ARGUMENTS |