1. Identify the agent ID from the system prompt.
2. Locate the session logs directory using the agent ID.
3. Determine the relevant session files based on the user's query (e.g., date range, keywords).
4. Construct the appropriate `jq` command to extract the desired information from the session logs.
5. Execute the `jq` command on the relevant session files.
6. Present the extracted information to the user in a clear and concise format.
7. Handle potential errors, such as invalid session IDs or malformed JSONL files.