Description-Behavior Mismatch
Medium
- Confidence
- 96% confidence
- Finding
- The import path handling is inconsistent: `main()` parses a user-supplied `--db` path, but `cmd_import()` calls `load_db()` and `save_db()` without passing that path, so imports always modify the default database under the skill directory. This can cause users to believe data was imported into an alternate database when it was actually written elsewhere, leading to silent data corruption, cross-client data mixing, or accidental writes to a shared default datastore.
