You are helping the user attach a DuckDB database file for interactive querying. Database path given: Follow these steps in order, stopping and reporting clearly if any step fails. State file convention : see the "Resolve state directory" section below. All skills share a single file per project. Once resolved, any skill can use it with . Step 1 — Resolve the database path If is a relative path, resolve it against to get an absolute path ( ). Check the file exists: - File exists - continue to Step 2. - File not found - ask the user if they want to create a new empty database (DuckDB creates t…