Guide · Agent skill
How to use the Timesketch Incident Timeline Builder agent skill
Updated · written with AI from the project's own documentation and checked against our catalogue data
This guide explains the Timesketch Incident Timeline Builder agent skill, a set of instructions and helper scripts that lets an AI agent walk an incident responder through building a shared forensic timeline in Timesketch. It is written for people who have not used agent skills before. By the end you will know how to install the skill, how to ask for help with a natural request, and what the agent can and cannot do for you.
Quick start
- 1Download and unzip the skill. Download the ZIP from this page and unzip it so SKILL.md sits in a folder named building-incident-timeline-with-timesketch.
- 2Place it where your agent can read it. Copy the folder to ~/.claude/skills/ or a project's .claude/skills/, or upload it under Settings → Capabilities → Skills in the Claude apps.
- 3Set up a lab Timesketch server. Follow the Docker deployment in the skill, with at least 8 GB RAM and Docker Compose, and sign in with your Timesketch credentials.
- 4Make a request in plain language. Describe your case, your data (Plaso, CSV or JSONL) and what you need, such as a sketch or a search.
- 5Import the data. Use timesketch_importer with a sketch name and timeline name, or let the agent guide you through the same steps.
- 6Run analyzers and search. Run the built-in analyzers, then search for suspicious activity and tag the relevant events.
- 7Write up the story. Build an investigation story in the sketch and fill in the report template for the incident report.
What is an agent skill and what does this one do?
An agent skill is a folder of instructions, reference files and optional scripts that an AI agent loads when a task matches the skill's description. This skill, building-incident-timeline-with-timesketch, is about reconstructing the order of events during an intrusion using Timesketch, an open-source collaborative forensic timeline tool.
Once active, the agent can guide you through setting up a Timesketch server, importing data from Plaso output, CSV or JSONL files, running analyzers, searching for suspicious activity such as lateral movement or PowerShell execution, and writing up the attack narrative as a story.
- Ingest Plaso (.plaso) files, CSV or JSONL timelines into a sketch
- Run built-in analyzers such as Sigma Analyzer and Chain of Events Analyzer
- Search for indicators like Windows event 4104 (PowerShell) or logon type 3 (network logon)
- Structure findings into an investigation story and a case report template
Install the skill from the ZIP
Download the ZIP file for this skill from this page and unzip it. The folder must contain SKILL.md at its top level, along with the assets, references and scripts folders.
For Claude Code, place the unzipped folder in ~/.claude/skills/ to make it available in all projects, or in a project's .claude/skills/ folder to limit it to that project.
In the Claude apps, you can instead upload the skill under Settings → Capabilities → Skills.
- Personal install: ~/.claude/skills/building-incident-timeline-with-timesketch/
- Project install: .claude/skills/building-incident-timeline-with-timesketch/ inside your project
- Claude apps: Settings → Capabilities → Skills, then upload the skill
Prepare your environment before you start
The skill assumes you have a test or lab environment. It recommends testing before touching production evidence, and it assumes familiarity with incident response concepts and log formats. It does not teach those basics.
The skill's documented requirements are Python 3.8+ with the requests library (used by scripts/agent.py), a Timesketch server (Docker deployment recommended, with at least 8 GB RAM and Docker Compose), a Timesketch username and password for API login, Plaso (log2timeline) for parsing disk images and event logs, and the timesketch_importer command-line tool.
- Python 3.8 or newer with requests installed
- Timesketch server reachable over the network, ideally a lab instance
- At least 8 GB RAM and Docker Compose for the Docker deployment
- Timesketch username and password for the API
- Plaso (log2timeline) and timesketch_importer available on the command line
Trigger the skill with natural requests
You do not need special syntax. Describe the incident task in plain language and mention timelines or Timesketch. The agent should match the request to this skill from its description, which covers reconstructing event sequences and joint analyst tagging.
Good requests name the goal, the data you have and the authorization context. For example, say you have a Plaso file from a workstation and want a sketch built, or that three analysts need to annotate the same timeline.
- "Help me build a Timesketch timeline from this Plaso file for case 2025-001."
- "Import these CSV events into a Timesketch sketch and run the analyzers."
- "Search the sketch for PowerShell execution and lateral movement indicators."
- "Draft an attack narrative story from the tagged events for the incident report."
Work through the ingestion and analysis steps
The skill documents four ingestion methods: Plaso integration for comprehensive parsing, CSV import for quick triage, JSONL import for structured data, and Sigma rule integration. For a Plaso file, the agent will typically use timesketch_importer with a sketch name and timeline name. The skill also covers creating a sketch, adding timelines, running analyzers, and filtering with the Timesketch query language.
The skill's search examples include finding events by user, PowerShell execution (event_identifier:4104), and network logons (event_identifier:4624 with LogonType 3). Always check results against the original evidence before drawing conclusions.
timesketch_importer -s "Case-2025-001" -t "Endpoint-WKS01" evidence.plasoUse the helper scripts carefully
The skill includes scripts/agent.py and scripts/process.py. The skill's own description says the Python helper scripts can call the Timesketch API to log in, list or create sketches, and run timeline import and analysis steps. The API reference shows the login endpoint (POST /login/) and sketch endpoints under /api/v1/sketches/.
Because these scripts send credentials and data to a live server, review them before running and point them only at a lab instance you are authorized to use.
- Read scripts/agent.py and scripts/process.py before running them
- Confirm the host URI and credentials point to the intended server
- Keep credentials out of shared notes and chat logs
Document the investigation
The skill includes assets/template.md, a forensic timeline investigation report template with sections for case information, evidence sources, investigation objectives, an attack timeline summary with ATT&CK technique columns, and key findings. The workflow guidance suggests building a story in Timesketch, annotating key events, and exporting it for the incident report.
- Fill in case information and evidence sources first
- Track objectives such as initial access, compromised accounts and persistence
- Record UTC times and ATT&CK technique IDs in the attack timeline table
What people use it for
- Reconstructing the order of logons, process execution and file activity on a compromised Windows workstation from a Plaso file.
- Running a quick CSV triage timeline from a few exported event logs before deciding whether a full collection is needed.
- Letting several analysts tag and annotate the same sketch while they work on one intrusion.
- Automating repeatable timeline imports into a lab Timesketch instance using the helper scripts.
Frequently asked questions
How do I install the Timesketch agent skill?
Download the ZIP from this page and unzip it so SKILL.md is at the top of the building-incident-timeline-with-timesketch folder. Place that folder in ~/.claude/skills/ for personal use or in a project's .claude/skills/ folder, or upload it in the Claude apps under Settings → Capabilities → Skills.
What do I need to run this skill?
The skill lists Python 3.8+ with the requests library, a Timesketch server (Docker recommended, at least 8 GB RAM and Docker Compose), a Timesketch username and password, Plaso (log2timeline), and the timesketch_importer command-line tool. It also assumes incident response knowledge.
Is this skill free and what is its licence?
The skill is licensed under Apache-2.0. Timesketch is described in the skill as an open-source tool developed by Google. Check the licence files in the source repository for the exact terms that apply to each part.
Does the skill run scripts and use the network?
Yes on both counts. It includes Python scripts (scripts/agent.py and scripts/process.py) that call the Timesketch API over the network, and it uses commands such as log2timeline.py and timesketch_importer. Review the scripts and use a lab server you are authorized to access.
Can I use this skill on systems I am not authorized to investigate?
No. The skill itself says to confirm authorization, and forensic evidence handling and legal authority are outside what it checks. Only use it on systems and evidence you are allowed to investigate.
What are alternatives to Timesketch for timeline analysis?
The skill mentions Dissect as an alternative to Plaso for artifact parsing, with a target-query example that writes to a Timesketch case. For other tools, the skill does not compare options, so check the documentation of each tool before choosing.
New agent skills, repos and AI tools — every week
The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.
Our verdict
This skill suits incident responders and DFIR analysts who already understand forensic artifacts and want an agent to help build and annotate a shared Timesketch timeline in a lab. It is not a training resource for beginners and should not be used on evidence you are not authorized to examine or on production data before a tested lab run.
Download the skill