DROP TABLE IF EXISTS agent_skill;
DROP TABLE IF EXISTS skill_file;
DROP TABLE IF EXISTS skill;
ALTER TABLE agent ADD COLUMN IF NOT EXISTS skills TEXT NOT NULL DEFAULT '';
